How to move a NSS LUN (RDM or VDMK) to another VM without losing metadata

The case is simple. I have a virtual machine (VM1) how has a RDM connected to it, on witch a NSS volume is created. I want to move this LUN to another virtual machine (VM2) without losing al it’s metadata.

The procedure is as followed:

  1. Decommission the NSS pool from the current OES server.
  2. Disconnect the disk/rdm from the virtual machine.
  3. Connect the disk/rmd to the new virtual machine.
  4. Recommission the NSS pool on the new OES server.
  5. Check if everything is fine!

You can decommission and recommission the NSS pools by using iManager.

To decommison the NSS pool from a server:

  • In iManager goto Storage > Pools. Deactivate the NSS Pool
  • Remove eDirectory objects: eDirectory Administration > Delete Object

To recommission the NSS pool onto the new server:

  • In iManager goto Storage > Pools, Activate the NSS Pool
  • Update eDirectory by clicking on Update eDirectory.
    You have to repeat this for each NSS Pool. Wait a few second for eDirectory to get in sync.

If you find iManager to slow (like me!) you also can you the decom.pl en recom.pl scripts to do it for you. Simpel run the decom.pl [poolname] script on the server where you want the NSS pool from. Move the disk/RDM to the new virtual machine and run recom.pl [poolname] on the new server.
Make sure NSS is loaded!

About Michael
Michael Wilmsen is a experienced VMware Architect with more than 20 years in the IT industry. Main focus is VMware vSphere, Horizon View and Hyper Converged with a deep interest into performance and architecture. Michael is VCDX 210 certified, has been rewarded with the vExpert title from 2011, Nutanix Tech Champion and a Nutanix Platform Professional.

2 Comments to “How to move a NSS LUN (RDM or VDMK) to another VM without losing metadata”

  1. By Mike, July 22, 2009 @ 07:52

    You can download the script here:
    http://www.novell.com/documentation/oes/script/decom_recom.zip

  2. By Mike, July 22, 2009 @ 07:52

    You can download the script here:
    http://www.novell.com/documentation/oes/script/decom_recom.zip

RSS feed for comments on this post.

Leave a Reply

You must be logged in to post a comment.