Sun Cluster 2.2 System Administration Guide

11.4.3 How to Return a SPARCstorage Array Tray to Service (Solstice DiskSuite)

These are the high-level steps to return a SPARCstorage Array tray back to service in a Solstice DiskSuite configuration.

If the entire SPARCstorage Array has been serviced, you must perform these steps on each tray.

These are the detailed steps to return a SPARCstorage Array tray back to service in a Solstice DiskSuite configuration.

  1. If the SPARCstorage Array was removed, spin up the drives in the SPARCstorage Array tray. Otherwise, skip to Step 3.

    When you have completed work on a SPARCstorage Array tray, replace the tray in the chassis. The disks will spin up automatically. However, if the disks fail to spin up, run the luxadm(1M) start command to manually spin up the entire tray. There is a short delay (several seconds) between invocation of the command and spin-up of drives in the SPARCstorage Array. In this example, c1 is the controller ID:

    phys-hahost1# luxadm start c1
    
  2. Add all metadevice state database replicas that were deleted from disks on this tray.

    Use the information saved from Step 4 in the procedure "11.4.1 How to Take a SPARCstorage Array Tray Out of Service (Solstice DiskSuite)" to restore the metadevice state database replicas.

    phys-hahost1# metadb -s hahost1 -a deleted-replicas
    

    To add multiple replicas to the same slice, use the -c option.

  3. After the disks spin up, place online all the submirrors that were taken offline.

    Use the metaonline(1M) command appropriate for the disks in this tray.

    phys-hahost1# metaonline -s hahost1 d15 d35
    phys-hahost1# metaonline -s hahost1 d24 d54
    ...

    When the metaonline(1M) command is run, an optimized resync operation automatically brings the submirrors up-to-date. The optimized resync copies only those regions of the disk that were modified while the submirror was offline. This is typically a very small fraction of the submirror capacity.

    Run metaonline(1M) as many times as necessary to bring back online all of the submirrors.


    Note -

    If you used the metadetach(1M) command to detach the submirror rather than metaoffline(1M), you must synchronize the entire submirror using the metattach(1M) command. This typically takes about 10 minutes per Gigabyte of data.


  4. Add back all hot spares that were deleted when the SPARCstorage Array was taken out of service.

    Use the metahs(1M) command as appropriate for your hot spare configuration. Use the information saved from Step 5 in the procedure "11.4.1 How to Take a SPARCstorage Array Tray Out of Service (Solstice DiskSuite)" to replace your hot spares.

    phys-hahost1# metahs -s hahost1 -a hotsparepool cNtXdYsZ
    
  5. Switch each logical host back to its default master, if necessary.

    phys-hahost1# haswitch phys-hahost2 hahost2