vsdelnode Command

Purpose

Removes virtual shared disk information for a node or series of nodes.

Syntax

vsdelnode node_number

Description

This command is used to remove virtual shared disk data for a node or series of nodes.

The vsdelnode command makes the listed nodes no longer virtual shared disk nodes so that no virtual shared disks can be accessed from them. This command is unsuccessful for any nodes that are servers for any global volume groups.

You can use the System Management Interface Tool (SMIT) to run the vsdelnode command. To use SMIT, enter:

smit delete_vsd

and select the Delete Virtual Shared Disk Node Information option.

Flags

-g
Specifies the Global Volume Group name for the volume group that represents all the virtual shared disks defined on a particular node.
-p
Specifies the primary server node number for the global volume group.
-b
Specifies the secondary node number for the global volume group. If the -b flag is not specified, the secondary node definition will be removed.
-o
Specified as 0, for no recovery on an EIO error, or 1, for recovery on an EIO error.

Parameters

node_number
Specifies the node number of the node whose virtual shared disk information you want to remove.

Security

You must have root authority to run this command.

Restrictions

The recoverable virtual shared disk subsystem must be stopped on the node(s) you are deleting. Otherwise, the results may be unpredictable. For more information, see RSCT for AIX 5L Managing Shared Disks .

You must issue this command from a node that is online in the peer domain. To bring a peer domain online, use the startrpdomain command. To bring a particular node online in an existing peer domain, use the startrpnode command. For more information on creating and administering an RSCT peer domain, refer to RSCT Administration Guide.

Examples

To delete virtual shared disk node information for nodes 3 and 6, enter:
vsdelnode 3 6

Location

/opt/rsct/vsd/bin/vsdelnode