Host group definition file
- Organization of this page
Format
host-group-name { host-name-1 host-name-2 : : }
File
Use any file.
Storage directory
- In Windows
-
Any folder
- In UNIX
-
Any directory
Description
This file defines a group of managed hosts in JP1/IM.
When a command is to be executed in JP1/IM by means of an automated action or a JP1/IM - View operation, you can set a group of hosts where the command is to be executed and then execute the command on all of those hosts in the batch mode.
When the definitions are applied
The specified information takes effect after you execute the jcocmddef command.
If you set a logical host in a cluster configuration, set the file at both the primary and secondary nodes.
Information that is specified
- host-group-name
-
Specifies a name for identifying the host group.
Express a host group name using from 1 to 32 alphanumeric characters. The space character and two-byte characters cannot be used.
You execute a command on a host group by specifying the name of the host group. For example, you can specify a host group name in d=execution-host-name-or-group-name in the automated action definition file or in Target host in the Execute Command window.
- host-name
-
Specifies the name of a host that is to be a member of the group.
Express a host name using from 1 to 255 alphanumeric characters. The space character and two-byte characters cannot be used.
Note that only a monitored host defined in a configuration definition file can be specified here.
Deleting a host group
To delete a host group, create an empty definition with the name of the host group that is to be deleted from the host group definition file, and then execute the jcocmddef command.
Editing a host group
To edit an existing host group definition, re-create the host group definition file using the same host group name, and then execute the jcocmddef command.