SmartServerGroup - updateByName
SmartServerGroup - updateByName
Description :
This command updates the definition of the destination smart group, based on the definition of the source smart group. Note, the source and the destination smart group cannot have the same parent group.
Return type : com.bladelogic.om.infra.model.group.smartgroup.SmartGroup
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
srcSmartGroupPath | String | Path to the source smart group. |
destSmartGroupPath | String | Path to the destination smart group. |
Example
The following example finds the source and destination smart server groups by name, then updates the destination smart server group.
Script
blcli SmartServerGroup updateByName /f2/newSmartGroup /f1/oldSmartGroup
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*