![]() |
![]() |
| ||||||
SPARC: Example--How to Assign a New Minor Number to a Disk Device GroupThis example uses the minor numbers 16000-16002 and 4000-4001. The vxdg reminor command is used to assign the base minor number 5000 to the new disk device group.
|
# scsetup |
The Main Menu is displayed.
To work with VxVM disk device groups, type 4 (Device groups and volumes).
The Device Groups Menu is displayed.
To register a VxVM disk device group, type 1 (Register a VxVM disk group as a device group).
Follow the instructions and enter the name of the VxVM disk group to be registered as a Sun Cluster disk device group.
If you use VxVM to set up shared disk groups for Oracle Parallel Server/Real Application Clusters, you do not register the shared disk groups with the cluster framework. Use the cluster functionality of VxVM as described in the VERITAS Volume Manager Administrator's Reference Guide.
If you encounter the following error while attempting to register the
disk device group, reminor the disk device group.scconf: Failed to add device group - in use
To reminor the disk device group, use the procedure SPARC: How to Assign a New Minor Number to a Disk Device Group (VERITAS Volume Manager). This procedure enables you to assign a new minor number that does not conflict with a minor number used by an existing disk device group.
Verify that the disk device group is registered and online.
If the disk device group is properly registered, information for the new disk device group displays when using the following command.
# scstat -D |
Note - If you change any configuration information for a VxVM disk group or volume that is registered with the cluster, you must synchronize the disk device group by using scsetup(1M). Such configuration changes include adding or removing volumes, as well as changing the group, owner, or permissions of existing volumes. Reregistration after configuration changes ensures that the global namespace is in the correct state. See How to Update the Global Device Namespace.
The following example shows the scconf command generated by scsetup when registering a VxVM disk device group (dg1), and the verification step. This example assumes that the VxVM disk group and volume were created previously.
# scsetup
scconf -a -D type=vxvm,name=dg1,nodelist=phys-schost-1:phys-schost-2
# scstat -D
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
Device group servers: dg1 phys-schost-1 phys-schost-2
-- Device Group Status --
Device Group Status
------------ ------
Device group status: dg1 Online |
To create a cluster file system on the VxVM disk device group, see How to Add a Cluster File System.
If there are problems with the minor number, see SPARC: How to Assign a New Minor Number to a Disk Device Group (VERITAS Volume Manager).
SPARC: How to Register Disk Group Configuration Changes (VERITAS Volume Manager)When you change any configuration information for a VxVM disk group or volume, you need to register the configuration changes for the Sun Cluster disk device group. Registration ensures that the global namespace is in the correct state.
Become superuser on any node in the cluster.
Run the scsetup(1M)
utility.# scsetup
The Main Menu is displayed.
To work with VxVM disk device groups, type 4 (Device groups and volumes).
The Device Groups Menu is displayed.
To register configuration changes, type 2 (Synchronize volume information for a VxVM device group).
Follow the instructions and enter the VxVM disk group that has changed configuration.
Previous Contents Index Next ![]() |