sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
7. 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 Replacing a Dataless Node Disk ## Replacing the Disk on the Vice-Master Node This section describes how to replace the disk on the vice-master node. ### To Replace the Vice-Master Node Disk Verify that the new disk is the same hardware type and can have the same disk partition configuration as the old disk. Replace the hardware by using the hardware documentation on `http://www.sun.com/products-n-solutions/hardware/docs/`. Reformat the new disk by recreating the format of the old disk. You must restore the local file system from backup. Restore the disk configuration. Install the Solaris operating system on the vice-master node. 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. 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. Log in to the master node as superuser. Accept a replication restart:
       # nhcrfsadm -a
8. When the replication has resumed, resynchronize the vice-master node with the master node:
       # nhcrfsadm -f all
9. Do not perform a switchover before the vice-master node is synchronized with the master node. Verify that the synchronization is completed:
       # /usr/opt/SUNWesm/sbin/scmadm -S -M
10. 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. Verify that the node is configured correctly:
        # nhadm check
6. Power on the dataless nodes or diskless nodes. ## Replacing a Dataless Node Disk This section describes how to replace a dataless node disk. ### To Replace a Dataless Node Disk Verify that the new disk is of the same hardware type as the old disk. Replace the hardware by referring to information in the hardware documentation on `http://www.sun.com/products-n-solutions/hardware/docs/`. Reformat the new disk by recreating the format of the old disk. 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. Power on the dataless node. Verify that the node is configured correctly:
       # nhadm check
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems