
$ ./client/bin/rhino-console
Interactive Rhino Management Shell
[Rhino@localhost (#0)]
Use the
install
command to install the deployable unit. Alternatively, the
installlocaldu
command can be used.
> install file:examples/sip/lib/ocjainsip-1.2-ra.jar
installed: DeployableUnit[url=file:examples/sip/lib/ocjainsip-1.2-ra.jar]
The resource adaptor entity is created using the
createraentity
command:
> listResourceAdaptors
ResourceAdaptor[OCSIP 1.2, Open Cloud]
> createRAEntity "OCSIP 1.2, Open Cloud" "sipra"
Created resource adaptor entity sipra
SBBs use a link name to refer to resource adaptor entities. To ensure that the link name exists, it should be defined using the
bindralinkname
command:
> listRAEntities
sipra
> bindRALinkName sipra OCSIP
Bound sipra to link name OCSIP
The resource adaptor entity needs to be activated. When activated, it will connect to remote resources and start firing and
receiving events.
> activateRAEntity sipra
Activated resource adaptor entity sipra
The state of the RA Entity can be seen by doing:
> getRAEntityState sipra
RA entity sipra state is Resource Adaptor Active
At this state, the resource adaptor is deployed and configured appropriately.
In the next section, the registrar service is deployed and activated.
5.5 Installing a Service
The operations used in this example for setup of the registrar application are:
• Installing the Location Service.
• Installing the Registrar Service.
• Activating the Registrar Service.
• Viewing the service state.
5.5.1 Installing a Service using the Web Console
The
Deployment MBean
is used to deploy a service.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 31
Comentarios a estos manuales