HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
p
parmodify(1M) parmodify(1M)
(integer) assigned to the partition when it was created. Note: The partition which is
specified to be modified is called the target partition. The partition in which the command
is executing is called the local partition.
Note: One or more of the following options must be specified.
-u username Specifies the required authorization to access a partition other than the local system (but
can also be used as a loopback access to the local partition).
The -h option is required if this option is used.
username specifies a configured user name on the target partition. If
-u username is
specified, the command will prompt for the password associated with the username.
Note: This command is a Web-Based Enterprise Management (WBEM) Client Application.
The
-u option accesses the target partition using a Secure Sockets Layer (SSL) connection.
If errors are reported, check that the conditions described in the DEPENDENCIES section
are satisfied.
Note: If the commands are used in a script, the user password must be passed in a secured
way. For example,
1. Save the user password in a variable and pass it to the command as,
echo $passwd | parstatus -X -u username -h hostname/IP
2. Save the user password in a file and pass the file as input to the command like,
parstatus -X -u username -h hostname/IP < passwd_file
Note, for security reason, protect the file that has the user password by removing read
permissions for non-privileged users.
-h IPaddress|hostname
This option should only be used in combination with either the -u or -g option.
IPaddress|hostname specifies the IP address or hostname of the target partition (
-u)or
complex (
-g).
-g Allows access to the complex specified by the -h option. The accessed complex is then con-
sidered the target complex. Access is via the service processor’s LAN port.
The -h option is required if this option is used.
If -g is specified, the IPMI password of the service processor should be passed when
prompted.
If an error is reported when you attempt to connect using this option, check to see that
IPMI LAN access has not been disabled on the remote service processor. Access to the
complex via IPMI over LAN can be enabled or disabled by logging on to the service proces-
sor and using the SA command from the Command Menu.
The -u and -g options are mutually exclusive.
Note: If the commands are used in a script, the IPMI password must be passed in a
secured way. For example,
1. Save the user password in a variable and pass it to the command as,
echo $passwd | parstatus -X -g -h hostname/IP
2. Save the user password in a file and pass the file as input to the command like,
parstatus -X -g -h hostname/IP < passwd_file
Note, for security reason, protect the file that has the IPMI password by removing read
permissions for non-privileged users.
-a cell:[celltype]:[use_on_next_boot]:[failure_usage
][:clm_value]
Assigns the specified cell to the target partition. To assign multiple cells to the partition,
multiple -a options should be used.
cell specifies the cell id. It can be specified either in the local (cabinet#/slot#) or global
(cell#) format. For example, the cell located in cabinet 0, slot 1 is identified in the local for-
mat as 0/1 or in the global format as 1.
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 1M−−647