Cloud CM-IPMP Instrukcja Naprawy Strona 146

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 201
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 145
user@host:~/rhino/examples/sip$ ant deploysipra
Buildfile: build.xml
management-init:
[echo] OpenCloud Rhino SLEE Management tasks defined
login:
[slee-management] establishing new connection to : 127.0.0.1:1199/admin
deploysipra:
[slee-management] Install deployable unit file:lib/ocjainsip-1.2-ra.jar
[slee-management] Create resource adaptor entity sipra from OCSIP 1.2, Open Cloud
[slee-management] Bind link name OCSIP to sipra
[slee-management] Activate RA entity sipra
BUILD SUCCESSFUL
Total time: 22 seconds
This compiles the SIP resource adaptor, assembles the RA jar file, deploys it into the SLEE, creates an instance of the SIP
Resource Adaptor and finally activates it.
The SIP RA can similarly be uninstalled using the Ant target
undeploysipra
, as shown below:
user@host:~/rhino/examples/sip$ ant undeploysipra
Buildfile: build.xml
management-init:
[echo] OpenCloud Rhino SLEE Management tasks defined
login:
[slee-management] establishing new connection to : 127.0.0.1:1199/admin
undeploysipra:
[slee-management] Deactivated resource adaptor entity sipra
[slee-management] Unbound link name OCSIP
[slee-management] Removed resource adaptor entity sipra
[slee-management] uninstalled: DeployableUnit[url=file:lib/ocjainsip-1.2-ra.jar]
BUILD SUCCESSFUL
Total time: 11 seconds
Note the
slee-management
task in the Ant output above is a custom Ant task that wraps around the Rhino SLEE management
interface . For more information on using the management interfaces please refer to chapter 5.
22.5.3 Specifying a Location Service
The example SIP Registrar and Proxy services require a SIP Location Service. The Location Service stores SIP registrations,
mapping a user’s public SIP address to actual contact addresses.
In the SIP examples, the Location Service functionality is implemented using an SBB with a Local Interface. A Local interface
defines a set of operations which may be invoked directly by other SBBs. Two implementations of this interface are provided
with the examples. The default implementation uses the SLEE ActivityContext Naming Facility to store the mapping between
public and contact addresses. This is deployed by default, and no further configuration is necessary. There is also a JDBC
Location Service, which stores the mappings in an external database. Other implementations are possible, for example LDAP.
The Registrar and Proxy SBBs do not need to know the details of the Location Service implementation, since they just use a
standard interface.
The JDBC Location Service can be enabled by setting a property in
build.properties
:
Open Cloud Rhino 1.4.3 Administration Manual v1.1 137
Przeglądanie stron 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 200 201

Komentarze do niniejszej Instrukcji

Brak uwag