To perform a partial import, first view the available targets in the export, then select the target to import.

Note
Why import only part of an export?

A partial import is useful when you only need to import selected items from an export, such as:

  • specific namespaces

  • specific deployable units

  • specific profile tables

  • individual services

  • individual resource adaptor entities

  • container configuration settings.

For example, you can use a partial import to recreate resource adaptor entities without also activating them.

It is also possible to exclude certain configuration steps by setting an exclusion property. For example to exclude the persistence configuration you would use -Dexclude-persistence-cfg=true as part of the command. These exclusion properties exist for all configuration targets.

View targets

To list the available targets in the export, use rhino-import -l. For example:

$ cd /path/to/export
$ rhino-import -l
Buildfile: ./build.xml

Main targets:

Other targets:

 activate
 activate-all
 activate-all-ra-entities
 activate-all-services
 activate-ra-entity-sipra
 activate-service-SIP Notification Service-OpenCloud-1.1
 activate-service-SIP Presence Service-OpenCloud-1.1
 activate-service-SIP Profile Location Service-OpenCloud-1.0
 activate-service-SIP Proxy Service-OpenCloud-1.8
 activate-service-SIP Publish Service-OpenCloud-1.0
 activate-service-SIP Registrar Service-OpenCloud-1.8
 all
 create-all-profile-tables
 create-all-ra-entities
 create-ra-entity-sipra
 create-sip-registrations-profile-table
 deploy
 deploy-all
 deploy-all-dus
 deploy-du-javax-slee-standard-types.jar
 deploy-du-jsip-library-1.2.du.jar
 deploy-du-jsip-ratype-1.2.du.jar
 deploy-du-ocsip-ra-2.3.1.19.du.jar
 deploy-du-ocsip-ratype-2.2.du.jar
 deploy-du-sip-presence-event.jar
 deploy-du-sip-presence-service.jar
 deploy-du-sip-profile-location-service.jar
 deploy-du-sip-proxy-service.jar
 deploy-du-sip-registrar-service.jar
 import-access-control-cfg
 import-auditing-cfg
 import-container-configuration
 import-license-cfg
 import-limiting-cfg
 import-logging-cfg
 import-object-pool-cfg
 import-persistence-cfg
 import-runtime-cfg
 import-snmp-cfg
 import-snmp-configuration
 import-snmp-node-cfg
 import-snmp-parameter-set-type-cfg
 import-staging-queues-cfg
 import-threshold-cfg
 import-threshold-rules-cfg
 init
 install-all-dus
 install-deps-of-du-javax-slee-standard-types.jar
 install-deps-of-du-jsip-library-1.2.du.jar
 install-deps-of-du-jsip-ratype-1.2.du.jar
 install-deps-of-du-ocsip-ra-2.3.1.19.du.jar
 install-deps-of-du-ocsip-ratype-2.2.du.jar
 install-deps-of-du-sip-presence-event.jar
 install-deps-of-du-sip-presence-service.jar
 install-deps-of-du-sip-profile-location-service.jar
 install-deps-of-du-sip-proxy-service.jar
 install-deps-of-du-sip-registrar-service.jar
 install-du-javax-slee-standard-types.jar
 install-du-jsip-library-1.2.du.jar
 install-du-jsip-ratype-1.2.du.jar
 install-du-ocsip-ra-2.3.1.19.du.jar
 install-du-ocsip-ratype-2.2.du.jar
 install-du-sip-presence-event.jar
 install-du-sip-presence-service.jar
 install-du-sip-profile-location-service.jar
 install-du-sip-proxy-service.jar
 install-du-sip-registrar-service.jar
 login
 management-init
 post-deploy-config
 pre-deploy-config
 set-subsystem-tracer-levels
 verify-all-dus
 verify-du-javax-slee-standard-types.jar
 verify-du-jsip-library-1.2.du.jar
 verify-du-jsip-ratype-1.2.du.jar
 verify-du-ocsip-ra-2.3.1.19.du.jar
 verify-du-ocsip-ratype-2.2.du.jar
 verify-du-sip-presence-event.jar
 verify-du-sip-presence-service.jar
 verify-du-sip-profile-location-service.jar
 verify-du-sip-proxy-service.jar
 verify-du-sip-registrar-service.jar
Default target: all

Select target

To import a selected target, run rhino-import with the target specified.

Warning If you don’t specify a target, this operation will import the default (all).

For example, to recreate all resource adaptor entities included in the export:

$ cd /path/to/export
$ rhino-import . create-all-ra-entities
Buildfile: ./build.xml

management-init:
     [echo] Open Cloud Rhino SLEE Management tasks defined

login:
[slee-management] Establishing new connection to localhost:1199
[slee-management] Connected to localhost:1199 (101) [Rhino-SDK (version='2.5', release='0.0', build='201609201052', revision='eb71e6f')]

init:
[slee-management] Setting the active namespace to the default namespace

install-du-jsip-library-1.2.du.jar:
[slee-management] Install deployable unit file:du/jsip-library-1.2.du.jar

install-deps-of-du-jsip-library-1.2.du.jar:

install-du-jsip-ratype-1.2.du.jar:
[slee-management] Install deployable unit file:du/jsip-ratype-1.2.du.jar

install-deps-of-du-jsip-ratype-1.2.du.jar:

install-du-ocsip-ratype-2.2.du.jar:
[slee-management] Install deployable unit file:du/ocsip-ratype-2.2.du.jar

install-deps-of-du-ocsip-ratype-2.2.du.jar:

install-du-ocsip-ra-2.3.1.19.du.jar:
[slee-management] Install deployable unit file:du/ocsip-ra-2.3.1.19.du.jar

install-deps-of-du-ocsip-ra-2.3.1.19.du.jar:

verify-du-ocsip-ra-2.3.1.19.du.jar:
[slee-management] Verifying deployable unit file:du/ocsip-ra-2.3.1.19.du.jar

deploy-du-ocsip-ra-2.3.1.19.du.jar:
[slee-management] Deploying deployable unit file:du/ocsip-ra-2.3.1.19.du.jar

create-ra-entity-sipra:
[slee-management] Deploying ResourceAdaptorID[name=OCSIP,vendor=OpenCloud,version=2.3.1]
[slee-management] [Failed] Component ResourceAdaptorID[name=OCSIP,vendor=OpenCloud,version=2.3.1] already deployed
[slee-management] Create resource adaptor entity sipra from ComponentID[name=OCSIP,vendor=OpenCloud,version=2.3.1]
[slee-management] Bind link name OCSIP to sipra
[slee-management] Set trace level of RAEntityNotification[entity=sipra] root tracer to Info
[slee-management] Setting resource adaptor entity sipra starting priority to 0
[slee-management] Setting resource adaptor entity sipra stopping priority to 0

create-all-ra-entities:

BUILD SUCCESSFUL
Total time: 5 seconds
Previous page Next page
Rhino Version 3.1