Home > Veritas Storage Foundation™ Volume Manager Manual Pages
vxdctl debug level [pathname]
vxdctl defaultdg diskgroup
vxdctl [-f] enable
vxdctl hostid hostid
vxdctl init [hostid]
vxdctl license [init]
vxdctl [-c] mode
vxdctl [-F] set attribute[=value]
vxdctl setversion [version]
vxdctl [-k] stop
vxdctl [-F] unset attribute
The volboot file forms a key element in managing the state of vxconfigd and importing the boot disk group. This file contains a host ID that VxVM uses to establish ownership of physical disks. The host ID is used to ensure that two or more hosts do not interfere with each other when accessing disks on a shared SCSI bus or Storage Area Network (SAN). VxVM also uses host IDs to generate unique ID strings for stamping disks and disk groups.
The volboot file contains the name of the system-wide default disk group if this has been configured. If the root disk is under VxVM control, the volboot file also contains the name of disk group, the boot disk group, to which the root disk belongs.
Note: The purpose of the cluster environment is to allow hosts that can access disks on a shared bus to do so in a coordinated way. In this environment, the host ID is not used to prevent shared access; however, it is used for other internal functions.
vxconfigd operates in one of the following modes: enabled or disabled.
The enabled state is the normal operating state. Most configuration operations are allowed in this state. Entering the enabled state imports all disk groups, and begins the management of device nodes stored in the /dev/vx/dsk and /dev/vx/rdsk directories.
In the disabled state, vxconfigd does not retain configuration information for the imported disk groups, and does not maintain the volume device directories. Most operations are disallowed in this state. Certain failures, such as the volboot file not being loaded or devices not being auto-configured, cause vxconfigd to enter the disabled state automatically.
The action performed by vxdctl depends upon the specified keyword operand(s).
If bootdg is specified as the argument to this command, the default disk group is set to be the same as the currently defined system-wide boot disk group. You can use the command vxdg bootdg to display the currently defined boot disk group.
If nodg is specified as the argument, the default disk group is undefined.
Note: The specified disk group need not currently exist on the system.
By default, VxVM performs a full scan of the device tree when performing device discovery. To discover only newly added disks that are not already known to VxVM, specify the -f option.
If some disks are inaccessible at the time of a hostid operation, it may be necessary to use the vxdisk clearimport operation to clear out the old host ID on those disks when they become reaccessible. Otherwise, you may not be able to re-add those disks to their disk groups.
Note: Be careful when using this command. If the system crashes before the hostid operation completes, some disk groups may not reimport automatically.
If a hostid operand is specified, this string is used; otherwise, a default host ID is used. The default host ID is normally taken as the network node name for the host (see uname(1M)). On systems with a hardware-defined system ID, the default host ID might be derived from this hardware ID.
Note: If only a Base VxVM license is installed, the vxdctl license command displays "DMP (single path enabled)". If either the Full VxVM license or an automatically generated license (such as that for the PHOTON array) is installed, the command displays "DMP (multipath enabled)".
With the init argument specified, the vxdctl license init command requests that vxconfigd re-read any persistently stored license information. If licenses have expired, this can make some features unavailable. If new licenses were added, but are not yet recognized by vxconfigd, this command forces vxconfigd to rescan the licenses, and to make the new licenses available.
where operating_mode is one of enabled, disabled, booted, or not-running.
If the -c flag is specified and vxconfigd is in the enabled mode, the clustered state of vxconfigd is displayed. The output format is:
mode: enabled: clustered_state
where clustered_state is one of cluster inactive, cluster active - role not set, cluster active - MASTER, cluster active - SLAVE. This information is only available if the VxVM cluster feature is enabled.
minprotoversion:minimum protocol version, \ maxprotoversion:maximum protocol version
cluster running at protocolprotocolversion
The protocolversion is a value in the range listed by vxdctl protocolrange. This information is only available if the VxVM cluster feature is enabled.
If a site name is already defined for any imported disk groups, the operation fails unless the -F option is specified.
If specified, the version must be within the protocol version range. If version is not specified, the command displays the current version specified in the volboot file.
- Version of vxconfigd that is currently running.
- Lowest disk group version supported by vxconfigd.
- Highest disk group version supported by vxconfigd.
- Highest kernel version supported by vxconfigd.
- Lowest cluster protocol version supported by the node.
- Highest cluster protocol version supported by the node.
- Cluster protocol version currently running on the node.
The protocol version information is only meaningful for the VxVM cluster feature.
Last updated: 18 Apr 2005
Copyright ©2009 Symantec Corporation
All rights reserved.