HP NetStorage 6000 User Manual
Page 63
Managing Storage
Allowing Access to Data
4-18
The /etc/hostgrps File
In most cases, you want to specify a group of computers when identifying
Host Access to the NetStorage 6000. In many of these situations, the
wildcard character (*) serves this purpose. However, in some cases it is not
sufficient. You can get around this problem by simply generating a Host
Access entry for each computer, or you can define a group of host
computers that may then be referenced by name (preceded by the @
symbol). A group of host computers may be defined by creating an entry
in the
/etc/hostgrps
file. The file must be edited manually, using a
text editor via the NFS protocol, or the CIFS protocol (assuming that you
have the proper rights).
Groups may be created by adding an entry into the
/etc/hostgrps
file.
Each entry starts with the name of the group, followed by a sequence of
host names to associate with the group. Every name is delimited by a space
character. For example:
# Hostgrps file (group hosts under a name for access control)
general *
mygroup eng6284.stor.hp.com eng6a2c.stor.hp.com
eng8106.stor.hp.co
mygroup 10.58.159.245 hpcust6da6
Note
The host names may appear as fully qualified domain names, IP
addresses, or host names as they appear in DNS or a hosts file. Entries for
a group may span more than one line by entering the group name again at
the beginning of the next line.
The host names must be resolvable through the hosts file, the NIS hosts
file, or DNS.