Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next
Chapter 13

Replacing a Disk

This chapter describes how to replace a disk on the vice-master node or a dataless node. To reduce the risk of loosing data, perform a backup before replacing a disk.

This chapter contains the following sections:

Replacing the Disk on the Vice-Master Node

This section describes how to replace the disk on the vice-master node.

ProcedureTo Replace the Vice-Master Node Disk

  1. Verify that the new disk is the same hardware type and can have the same disk partition configuration as the old disk.

  2. Replace the hardware by using the hardware documentation on http://www.sun.com/products-n-solutions/hardware/docs/.

  3. Reformat the new disk by recreating the format of the old disk.

    You must restore the local file system from backup.

  4. Restore the disk configuration.

    1. Install the Solaris operating system on the vice-master node.

    2. Install the Foundation Services on the vice-master node.

    For information, see the Netra High Availability Suite Foundation Services 2.1 6/03 Custom Installation Guide.

  5. Power on the vice-master node.

    The master node detects that the vice-master node is not synchronized. A message is displayed in the system log file asking whether you want to restart the replication.

  6. Log in to the master node as superuser.

  7. Accept a replication restart:

    # nhcrfsadm -a

  8. When the replication has resumed, resynchronize the vice-master node with the master node:

    # nhcrfsadm -f all

    Do not perform a switchover before the vice-master node is synchronized with the master node.

  9. Verify that the synchronization is completed:

    # /usr/opt/SUNWesm/sbin/scmadm -S -M

    While the synchronization is taking place, the sync label is displayed. When the synchronization is complete, the sync label is replaced by the replicating label.

  10. Verify that the node is configured correctly:

    # nhadm check

  11. Power on the dataless nodes or diskless nodes.

Replacing a Dataless Node Disk

This section describes how to replace a dataless node disk.

ProcedureTo Replace a Dataless Node Disk

  1. Verify that the new disk is of the same hardware type as the old disk.

  2. Replace the hardware by referring to information in the hardware documentation on http://www.sun.com/products-n-solutions/hardware/docs/.

  3. Reformat the new disk by recreating the format of the old disk.

  4. Use the disk backup to restore the file system on the new disk.

    For example, if the backup was created using the ufsdump command, use the ufsrestore command to restore the file system.

  5. Power on the dataless node.

  6. Verify that the node is configured correctly:

    # nhadm check

Previous Previous     Contents     Index     Next Next