HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

p
parremove(1M) parremove(1M)
The -h option is required if this option is used.
If this option is specified, the command prompts for the password.
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 through IPMI over LAN can be enabled or disabled by logging on to
the service processor and using the SA
command from the Command Menu.
The
-u and -g options are mutually exclusive.
-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).
-k s_lock:p_lock Note: The
-k option is intended for use by system management tools which invoke
the
parremove command programmatically. Command line users should avoid this
option.
The -k option specifies the lock keys provided by Partition Manager (
parmgr )for
Complex Configuration Data and Partition Configuration Data.
Lock keys should always be specified in pairs. If either lock key is not available, enter
-1 as a placeholder. For example, if the s_lock key is available but the p_lock key is
not, then the option should be specified as
-k s_lock:-1.
-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 complex to be
modified is the one in which this target partition resides.
The -h option is required if this option is used.
If this option is specified, the command prompts for the password.
username specifies a configured user name on the target partition.
Note: This command is a Web-Based Enterprise Management (WBEM) Client Appli-
cation. 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.
RETURN VALUE
The parremove command exits with one of the following values:
0 Successful completion.
1 Error condition occurred.
EXAMPLES
Remove the inactive partition whose PartitionNumber is 2:
parremove -p 2
Remove an inactive partition in the same complex as the remote host Penzance:
parremove -p 0 -u RemoteAdmin: -h Penzance
RemoteAdmin must have superuser permissions on Penzance. The command prompts for the password.
DEPENDENCIES
This command uses the Web-Based Enterprise Management (WBEM) product and some of its configuration
settings. If you encounter connection errors when using the -u option, check that the following two condi-
tions are satisfied:
Use the cimconfig command (see cimconfig(1M) in the WBEM product documentation) to verify (and
correct if necessary) the setting of the following two variables:
enableRemotePrivilegedUserAccess=true
enableHttpsConnection=true
The target partition’s digital certificate has been appended to the local partition’s Shared Authentication
Store. For the nPartition commands, the Shared Authentication Store is stored in the file:
142 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007