To
get or set the FCI Interaction mode for a composition,
use the following sis-console commands, Ant task, or related MBean operations.
|
|
This is a SIS feature for IN. |
Console commands
getFCIInteraction
Command |
getfciinteraction <ra-entity> <composition-id>
Get the FCI interaction mode for a composition
|
|---|---|
Example |
To determine the current FCI interaction mode for the composition with identifier $ ./sis-console getfciinteraction sis name=4000,vendor=OpenCloud,version=1.0 FCI interaction mode for CompositionID[name=4000,vendor=OpenCloud,version=1.0] is FCIInteraction[mode=static-service-priorities] |
setFCIInteraction
Command |
setfciinteraction <ra-entity> <composition-id> <mode> [<service-alias>]
Set the FCI interaction mode for a composition. Mode must be
'static-service-priorities', 'nominated-service', 'concatenation', or
'pass-through'. The service-alias argument is required if the
'nominated-service' mode is selected.
|
||
|---|---|---|---|
Example |
To set the FCI interaction mode for the composition with identifier $ ./sis-console setfciinteraction sis name=4000,vendor=OpenCloud,version=1.0 nominated-service SERVICE1 FCI interaction mode for CompositionID[name=4000,vendor=OpenCloud,version=1.0] set to FCIInteraction[mode=nominated-service,nominated-service-alias=SERVICE1]
|
Ant task
updateincomposition
Task |
<updateincomposition>
<composition name="..." vendor="..." version="..."/>
<fciInteraction mode="..." serviceref="..."/>
</updateincomposition>
|
|---|---|
Example |
To set the FCI interaction mode for the composition with identifier <sis-in-management>
<updateincomposition>
<composition name="4000" vendor="OpenCloud" version="1.0"/>
<fciInteraction mode="nominated-service" serviceref="SERVICE1"/>
</updateincomposition>
</sis-in-management>
|
MBean operations
MBean |
|---|
getFCIInteraction
Operation |
public FCIInteraction getFCIInteraction(CompositionID id)
throws NullPointerException, UnrecognizedComponentException,
ManagementException;
|
|---|
setFCIInteraction
Operation |
public void setFCIInteraction(CompositionID id, FCIInteraction fciInteraction)
throws NullPointerException, UnrecognizedComponentException,
InvalidArgumentException, ManagementException;
|
|---|
