Cluster Management and Administration
179
they don’t match, the user won’t get anything done after a failover happened.
So, the administrator has to keep definitions equal throughout the cluster.
Fortunately, the C-SPOC utility, as of HACMP Version 4.3 and later, does this
for you. When you create a cluster group or user using C-SPOC, it makes
sure that it has the same group id or user id throughout the cluster.
8.8.1 Listing Users On All Cluster Nodes
To obtain information about all user accounts on cluster nodes (or about a
particular user account), you can either use the AIX
lsuser
command in
rsh
to
one cluster node after another, or use the C-SPOC
cl_lsuser
command, or
the C-SPOC SMIT List all the Users on the Cluster screen. The
cl_lsuser
command executes the AIX
lsuser
command on each node. To obtain a
listing of all user accounts in the cluster, you must specify the
ALL
argument.
If you specify a user name that does not exist on one of the cluster nodes, the
cl_lsuser
command outputs a warning message but continues execution of
the command on other cluster nodes.
8.8.2 Adding User Accounts on all Cluster Nodes
Adding a user to the cluster involves three steps:
1. Add an entry for the new user to the /etc/passwd
file and other system
security files.
2. Create a home directory for the new user.
3. Add the user to a group file.
On AIX systems, you use the
mkuser
command to perform these tasks. This
command adds entries for the new user to various system security files,
including /etc/passwd
and
/etc/security/passwd, adds the new user to a
group, and creates a home directory for the new user. Every user account
has a number of attributes associated with it. When you create a user, the
mkuser
command fills in values for these attributes from the system default
/usr/lib/security/mkuser.default file. You can override these default values by
specifying an attribute and a value on the
mkuser
command line.
If you have a Network Information Service (NIS) database installed on any
cluster node, some user information may not appear when you use the
cl_lsuser
command.
Note
Содержание AIX HACMP
Страница 2: ......
Страница 10: ...viii IBM Certification Study Guide AIX HACMP...
Страница 12: ...x IBM Certification Study Guide AIX HACMP...
Страница 14: ...xii IBM Certification Study Guide AIX HACMP...
Страница 18: ...xvi IBM Certification Study Guide AIX HACMP...
Страница 24: ...6 IBM Certification Study Guide AIX HACMP...
Страница 110: ...92 IBM Certification Study Guide AIX HACMP...
Страница 133: ...HACMP Installation and Cluster Definition 115...
Страница 134: ...116 IBM Certification Study Guide AIX HACMP...
Страница 160: ...142 IBM Certification Study Guide AIX HACMP...
Страница 200: ...182 IBM Certification Study Guide AIX HACMP...
Страница 216: ...198 IBM Certification Study Guide AIX HACMP...
Страница 222: ...204 IBM Certification Study Guide AIX HACMP...
Страница 226: ...208 IBM Certification Study Guide AIX HACMP...
Страница 232: ...214 IBM Certification Study Guide AIX HACMP...
Страница 240: ...Printed in the U S A SG24 5131 00 IBM Certification Study Guide AIX HACMP SG24 5131 00...