5.5 HP StorageWorks X9720 Network Storage System Administrator Guide (AW549-96026, March 2011)

hostgroups. To do this, mount ifs1 on the clients hostgroup, ifs2 on hostgroup A, ifs3 on
hostgroup C, and ifs4 on hostgroup D, in any order. Then, set Tuning 1 on the clients hostgroup
and Tuning 2 on hostgroup B. The end result is that all clients in hostgroup B will mount ifs1 and
implement Tuning 2. The clients in hostgroup A will mount ifs2 and implement Tuning 1. The clients
in hostgroups C and D respectively, will mount ifs3 and ifs4 and implement Tuning 1.
The following diagram shows an example of global and local settings in a hostgroup tree.
To set up 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 set up lower levels of hostgroups, declare a parent
element for hostgroups.
Optionally, you can specify a domain rule for a hostgroup. Use only alphanumeric characters and
the underscore character (_) in hostgroup names.
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 tree and optionally declare a domain rule for it:
<installdirectory>/bin/ibrix_hostgroup -c -g GROUPNAME [-D DOMAIN]
2. Create all other levels by specifying a parent for the group and optionally a domain rule:
<installdirectory>/bin/ibrix_hostgroup -c -g GROUPNAME [-D DOMAIN] [-p PARENT]
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:
<installdirectory>/bin/ibrix_hostgroup -m -g GROUP -h MEMBER
For example, to add the specified host to the finance group:
<installdirectory>/bin/ibrix_hostgroup -m -g finance -h cl01.hp.com
Adding a domain rule to a hostgroup
To set up automatic hostgroup assignments, define a domain rule for hostgroups. A domain rule
restricts hostgroup membership to clients on a particular cluster subnet. The management console 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
Creating hostgroups for X9000 clients54