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

p
parremove(1M) parremove(1M)
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.
SECURITY WARNING: Specifying the password directly on the command line may
pose a security risk in your environment. The
ps or other related commands can be
invoked in such a way as to display the command line of a process. In this situation,
any authenticated user on the system can potentially see the password while the pro-
cess is executing. Hence, it is highly recommended not to specify the password on the
command line, and instead allow the command to prompt for the password.
Note: Specifying passwd on the command line will not be supported in future
releases.
-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 [passwd] Allows access to the complex specified by the -h
option. The accessed complex is then
considered the target complex. Access is via the service processor’s LAN port.
The
-h option is required if this option is used.
passwd specifies the IPMI password of the service processor. If this field is omitted,
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 via IPMI over LAN can be enabled or disabled by logging on to the ser-
vice processor and using the SA command from the Command Menu.
The -u and -g options are mutually exclusive.
SECURITY WARNING: Specifying the password directly on the command line may
pose a security risk in your environment. The ps or other related commands can be
invoked in such a way as to display the command line of a process. In this situation,
any authenticated user on the system can potentially see the password while the pro-
cess is executing. Hence, it is highly recommended not to specify the password on the
command line, and instead allow the command to prompt for the password.
Note: Specifying passwd on the command line will not be supported in future
releases.
-F Forcibly remove the partition. This option is required if you are removing your own
local partition, which is active by definition, or if you are using the -g
option to
remove an active partition in the target complex. It is ignored otherwise.
If you are removing an active partition, the partition is marked for removal. This
action is irreversible. However, the partition is not actually removed until it is shut-
down using the
-R[-H] option of the shutdown command (see shutdown(1M)).
-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.
RETURN VALUE
The parremove command exits with one of the following values:
0 Successful completion.
1 Error condition occurred.
140 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update