Description
This command is used to add
or delete managed systems to or from an existing managed system group
on the server. It can also be used to edit (add or delete system list
names to/from) an existing managed system group in a file.
CLI syntax
tacmd editsystemlist {-l|--list} LIST
{[{-a|--add} SYSTEM …] [{-d|--delete} SYSTEM …]}
[{-f|--force}]
tacmd editsystemlist {-e|--edit} FILENAME
{[{-a|--add} SYSTEM …] [{-d|--delete} SYSTEM …]}
where:
- -l|--list
- Name of the managed system group to be edited. Specify a string
of letters (upper or lower case), numbers, periods (.), at symbols
(@), dollar signs ($), asterisks (*), number signs (#), underscores
(_), colons (:) or blanks ( ) up to a maximum length of 32 characters.
- -a|--add
- Name or names of the managed systems to be added to the managed
system group. Specify a string of letters (upper or lower case), numbers,
periods (.), at symbols (@), dollar signs ($), asterisks (*), number
signs (#), underscores (_), colons (:) or blanks ( ). Note that at
least one of -a|--add or -d|--delete must be specified and both can
be used in the same command invocation.
- -d|--delete
- Name or names of the managed systems to be deleted from the managed
system group. Specify a string of letters (upper or lower case), numbers,
periods (.), at symbols (@), dollar signs ($), asterisks (*), number
signs (#), underscores (_), colons (:) or blanks ( ). Note that at
least one of -a|--add or -d|--delete must be specified and both can
be used in the same command invocation.
- -e|--edit
- Name of the managed system group file to be edited. Specify a
valid file name consisting of letters (upper or lower case), numbers,
underscores (_), colons (:), periods (.), slashes (/), back slashes
(\), or tildes (~).
- -f|--force
- Do not confirm with the user the managed systems to be added or
deleted. If not specified, you are prompted for confirmation.
CLI example
This example updates the managed
system group testList1 on server https://10.102.22.123:3661.
tacmd editsystemlist -l testList1 -a Primary:HDCHASDSTC0422:NT -f
This
example updates the managed system group definition file sys200.xml by
both adding an entry and deleting entries.
tacmd editsystemlist -e sys200.xml
-a Primary:HDCHASDSTC0420:NT hdchasdstc0420ASFSdp:UAGENT00
-d HDCHASDSTC0420:Warehouse