Mirrors for Moving Partitions

From MicroFocusInternationalWiki
Revision as of 19:43, 17 June 2008 by Snidelydev (Talk | contribs) (Added doc link)

Jump to: navigation, search


This article captures some isntructions that have previously been posted in the oes-nw-storage-media forum.

Why use mirroring for moving?

Sometimes it is desirable to have a partition contiuously online even when being moved to a new storage device. Netware's native mirroring (now called RAID1 in NSS documentation and in the NSSMU command) can help with that. The mirroring process is done in the background while the system is actively accessible.

Some other migration strategies may have short down times equivalent to how long it takes to run a backup on the volumes on the partition in question. The down-time associated with these other methods has decreased, but mirroring may still be a helpful choice.

Note that mirroring can only be done on one system at a time, although the partitions can be moved to other systems later.


Mirroring the old storage to the new storage

My recommendation is as follows (see also mirroring threads in oes-nw-storage-media):

1) as always, have a working backup [e.g., on tape].

2) Go about installing the new disk [For external devices, make the connection -- plug in the cable or enable access in the array manager][For internal drives, shutdown first and reboot afterwards]

3) load NSSMU

4) Select DEVICES, and scroll down to the new device.

5) Press F3 to initialize it

6) return to top level menu and select RAID devices

7) select the partition of interest

8) Press F3 to expand the mirror

9) Select the new device from the popup list.

10) Press F5 occasionally if you want to see the mirror percentage update, otherwise exit.

Removing the Old Storage

1) as always, have a working backup [e.g., on tape].

2) Pull the bad disk out of the system. [if this is a SAN device, you can probably do this with the system up by pulling a cable or by setting it "offline" in the array manager] [for internal drives, you'd shutdown first, and reboot afterwards]

3) load NSSMU

4) Select DEVICES

5) Press F2 to scan devices

6) return to the main NSSMU menu

7) Select RAID devices

8) Select the RAID (mirror) set of interest

9) Select the "offline" partition

10) Press the DELETE key

11) You now have a "complete" mirror, even if it only has 1 partition in it.


There might be an initial peformance bump when you start the mirroring process, but there's a set parameter that can be used to throttle it ("Concurrent Remirror Requests" under the "Disks" category). The author's experience is that loads are generally uuder 5% (and often under 2%) during mirroring with FC HBAs.

For NW6.5 NRM, "Partition Disks" is in the left column, rather than on the volumes page.

For breaking a mirror, the author prefers NSSMU, btw. NRM on NW6 may not handle the choice of partitions correctly; NW6.5 looks a bit better, though.

For breaking the mirror, there used to be a "this will delete all data" warning, the author hasn't seen that now in a recent version of NSSMU.

The only way to preserve the old copy is to disconnect it before breaking the mirror; the OS can't wipe the partition when it is "offline".

Comparing the NRM and NSSMU methods

From NRM: select "Volumes" from the left column, select "Disk Partitions" from the resulting display. Find the new device, and click the "Initialize Partition Table" link. Find the old device, and the partition holding VOL1, and click the "mirror" link. In the page that takes you to, select the new device. Go get a cup of coffee (or a pot, depending on how much data you have to mirror). When the mirroring is complete, click on the "100% mirrored" link, select the old partition, and click on "remove this partition from the mirror group", and if the prompt looks good, answer yes.

From NSSMU: select DEVICES, then scroll down to the new device, and press F3. Answer Y. ESC to get back to the main menu, select PARTITIONS, then scroll down to the old partition, and press F3. Select the new device from the Free Space list. Go get a cup of coffee (or a pot, depending on how much data you have to mirror). When the mirroring is complete, ESC to the main menu and select RAID DEVICES. Select the "device" with VOL1, then select the raid segment that is on the old device, and press DEL. Exit NSSMU.


OES2 NSS Documentation:

Managing Software RAID Devices

Room for Corrections

Looking forward to the sysops' notes on this page.