To create one level of hostgroups beneath the root, simply create the new hostgroups. You do not
need to declare that the root node is the parent. To create lower levels of hostgroups, declare a
parent element for hostgroups. Do not use a host name as a group name.
To create a hostgroup tree using the CLI:
1.
Create the first level of the treet:
ibrix_hostgroup -c -g GROUPNAME ]
2.
Create all other levels by specifying a parent for the group:
ibrix_hostgroup -c -g GROUPNAME
Adding an X9000 client to a hostgroup
You can add an X9000 client to a hostgroup or move a client to a different hostgroup. All clients
belong to the default clients hostgroup.
To add or move a host to a hostgroup, use the ibrix_hostgroup command as follows:
ibrix_hostgroup -m -g GROUP -h MEMBER
For example, to add the specified host to the finance group:
ibrix_hostgroup -m -g finance -h cl01.hp.com
Adding a domain rule to a hostgroup
To configure automatic hostgroup assignments, define a domain rule for hostgroups. A domain
rule restricts hostgroup membership to clients on a particular cluster subnet. The Fusion Manager
uses the IP address that you specify for clients when you register them to perform a subnet match
and sorts the clients into hostgroups based on the domain rules.
Setting domain rules on hostgroups provides a convenient way to centrally manage mounting,
tuning, allocation policies, and preferred networks on different subnets of clients. A domain rule
is a subnet IP address that corresponds to a client network. Adding a domain rule to a hostgroup
restricts its members to X9000 clients that are on the specified subnet. You can add a domain rule
at any time.
To add a domain rule to a hostgroup, use the ibrix_hostgroup command as follows:
ibrix_hostgroup -a -g GROUPNAME -D DOMAIN
For example, to add the domain rule 192.168 to the finance group:
ibrix_hostgroup -a -g finance -D 192.168
Viewing hostgroups
To view all hostgroups or a specific hostgroup, use the following command:
ibrix_hostgroup -l [-g GROUP]
Deleting hostgroups
When you delete a hostgroup, its members are reassigned to the parent of the deleted group.
56
Creating hostgroups for X9000 clients
[-p PARENT]