santh
Contributor
Contributor

How to change the Virtual Machine name in SAN storage

Dear All,

I want to change the display Virtual machine name and also to change the virtual machine .vmdk file inside of the SAN storage .

Next problem was how to configure VLAN in vmware.

Regards,

Santh

0 Kudos
9 Replies
mike_laspina
Champion
Champion

Hi,

There are two ways to accomplish it.

The hard way - direct re-names of files and editing of the vm definition files.

The easy way - Clone it and keep the UUID. Once its up then destroy the old one.

http://blog.laspina.ca/ vExpert 2009
0 Kudos
mike_laspina
Champion
Champion

VLAN's - Easy just create a VM Network and enter the VLAN ID you want to use lets say 100. Then set the connecting physical for that vmnic port to tagged on VLAN 100.

http://blog.laspina.ca/ vExpert 2009
0 Kudos

The best way to do that would be to, power down the VM and do a migration from your VC. While your going thru the questions, it asks you if you want to move it to a different LUN, here you want to do that so it can change all the required files names to the new name you want. Now if you need it back to the previous LUN just do the same steps without changing the VM name.

Hope that helped. Smiley Happy

Hope that helped. 🙂
0 Kudos
mike_laspina
Champion
Champion

Ahh, I think that would not allow a rename which is what he wants?

http://blog.laspina.ca/ vExpert 2009
0 Kudos

Actually Mike, Thats how I've changed all my VM's names to the new naming convention our company required. Its pretty simple but its time consuming when migrating back and forth. Thats the only down side to this.

Hope that helped. Smiley Happy

Hope that helped. 🙂
0 Kudos
mike_laspina
Champion
Champion

I just verified it. Using migrate does not give you a option to rename.

http://blog.laspina.ca/ vExpert 2009
0 Kudos

Mike, IM SORRY, I forgot to put 1 step in first. Rename your VM to the server name you want then do my steps, LOL Sorry brother, I just did it in my environment and was telling myself, "Why can't Mike do it, Its soooo simple, Look I'm doing it now and its working just like I stated" And just realized that I renamed the VM to the name I wanted FIRST. zzzzzzzzzzzzzz A little late working.

Hope that helped. Smiley Happy

Hope that helped. 🙂
0 Kudos
mike_laspina
Champion
Champion

No probs bud. Thats why we test stuff, we are human...

http://blog.laspina.ca/ vExpert 2009
0 Kudos
norregaard
Expert
Expert

Another way to do this is the following:

  • Rename the VM in Virtual Center

  • SVMotion the VM from one LUN to another.

This will change the name of the .vmdk file to correspond with the name in VC.

GUI based VC plugin for SVMotion can downloaded here:

http://sourceforge.net/project/showfiles.php?group_id=228535

0 Kudos