Renaming VM in V-Sphere 5.1

Morning all,

So I need to rename a few VM's and as you know if you rename the host in V-Center it doesn't rename the files and folders on the server. From my understanding if I rename it and then do a Storage V-motion it should give it the correct names on the SAN.

Can someone confirm or tell me a better way of doing it.

Thanks

Alex
LVL 15
Alex Green3rd Line Server SupportAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
That is the only way, to rename in the Inventory, and then perform a Storage vMotion, or Perform a CLONE operation, using the correct name, and then use the CLONE, and destroy the original to ensure, folders and filenames are the same as Inventory name.

You can  rename at the console/command prompt, but it is time consuming, if your have vCenter Server and Storage vMotion and/or CLONE function, these are better options.
0
 
Alex Green3rd Line Server SupportAuthor Commented:
Yeah that's what I thought, to be honest cloning is harder work than just migrating it, plus I'll need to redo the  SID etc.

I'll just migrate it and migrate it back afterwards :D

Thanks Andrew
0
 
Alex Green3rd Line Server SupportAuthor Commented:
Confirmed my thoughts
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Just use the CLONE function, no need to change the SID! (or use a Customization Specifications!)

CLONE function just provides you with a copy, with correctly named files and folders!
0
 
Haresh NikumbhSr. Tech leadCommented:
Agree with Hancock,

you can do it from command prompt but it its time comsuming job and need to do  the every steps carefully.

you can refer below knowledge base which has both option.

now its depend on you which 1 you select to perform this activity

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1029513
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.