IBM Tivoli Monitoring, Version 6.3

tacmd editgroupmember

Description

Use the tacmd editgroupmember command to edit a groupmember definition. Situation and collection groupmembers cannot be edited by using this command. You must log in by using the login command before running the editgroupmember command.

CLI syntax

Editing a bundle group member:

tacmd editgroupmember
                      {-g|--group} BUNDLE_GROUP_NAME
                      {-m|--member}MEMBER_NAME
                      {-t|--grouptype} BUNDLE
                      {-y|--productType} PRODUCT_TYPE
                      [{-v|--version} VERSION]
                      [{-i|--platform} VERSION]
                      [-p|--property|--properties NAME=VALUE  ...]
                      [{-f|--force}]

Editing a deployment group member:

tacmd editgroupmember
                      {-g|--group} DEPLOY_GROUP_NAME
                      {-m|--member} MEMBER_NAME
                      {-t|--grouptype} DEPLOY  
                      {-p|--property|--properties} NAME=VALUE ...
                      [{-f|--force}]

Editing multiple members by using member file:

tacmd editgroupmember
                      {-g|--group} GROUP_NAME
                      {-x|--file} MEMBER_FILE

where:
-g|--group
Specifies the group name whose member has to be edited.
-m|--member
Specifies the member name to be edited.
-t|--grouptype
Group type name. Acceptable type names are DEPLOY or BUNDLE.
-v|--version
Specifies the version number of the deployment bundle being added as a bundle group member.
-y|--productType
Specifies the product type code. The product value corresponds to the value that is displayed in the Product Code field as a result of running the viewDepot or listBundles command.
-i|--platform
Specifies the platform code of the product. The platform value corresponds to the value that is displayed in the Host Type field as a result of running the viewDepot or listBundles command.
-p|--property|--properties
Specifies one or more NAME=VALUE or SECTION.NAME=VALUE pairs that identify the configuration property to be changed for the group member. See Configuration options and properties for information on these options.
-x|--file
Specifies the file containing one or more group members to edit.
-f|--force
Edits the specified group without prompting for confirmation from the user.

CLI example

This example edits the property of deployment member w099o002.tivlab.raleigh.ibm.com belonging to the group NewWindowsDeployGroup:
tacmd editGroupMember -g NewWindowsDeployGroup -m w099o002.tivlab.raleigh.ibm.com 
-p KDYRXA.installDir=c:\\IBM\\ITM KDYRXA.RXAusername=SYSADMIN 
KDYRXA.RXApassword=****
This example edits the bundle member specified in the first column of the CSV file which belongs to the bundle group NewBundleGroup:
   tacmd editGroupMember -g NewBundleGroup -x c:\bulk_bundle_list.csv
The CSV file's format includes the following: member,type,cmdLine_options,properties
In the example above, the bulk_bundle_list.csv CSV file contents are the following:
member type cmdLine_options properties
unixBundle BUNDLE -y UX KDYRXA.RXAprotocol=rxec KDYRXA.RXAport=67
db2Bundle BUNDLE -y UD -v 062000001
f50pa2d.tivlab.raleigh.ibm.com BUNDLE -y UD INSTANCE=db2inst3
amssol19.tivlab.raleigh.ibm.com BUNDLE -y UM UA.CONFIG='file2.mdl'

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback