Sun Cluster 3.0 Installation Guide

How to Change the Pseudo-Device Major Number

Perform this procedure if the pseudo-device major number is not the same for each node of the cluster.

  1. Become superuser on a node that has the major number you want to change.

  2. Edit the /etc/name_to_major file to make the number identical on all nodes.

    Be sure that the number is unique in the /etc/name_to_major file for each node. A quick way to check for uniqueness is to find, by visual inspection, the maximum number assigned on each node in the /etc/name_to_major file, compute the maximum of these numbers, add one, then assign the sum to the vxio driver.

  3. Reboot the node.

    1. Use the scswitch(1M) command to evacuate any resource groups or device groups from the node.


      # scswitch -S -h node
      
      -S

      Evacuates all resource groups and device groups.

      -h node

      Specifies the name of the node from which to evacuate resource or device groups.

    2. Use the shutdown(1M) command to reboot the node.


      # shutdown -g 0 -y -i 6
      
  4. (Optional) If the system reports disk group errors and the cluster does not start, you might need to perform the following steps.

    1. Become superuser on the node.

    2. Use the vxedit(1M) command to change the failing field to off for affected subdisks.

      Refer to the vxedit(1M) man page for more information.

    3. Make sure all volumes are enabled and active.

Where to Go From Here

To set up the root disk group (rootdg), go to "Setting Up a rootdg Disk Group Overview".