+ Post New Thread
Results 1 to 7 of 7
*nix Thread, VMware Clone and udev in Technical; Now i know this is abit naughty as your not really suposed to run the free vmware server as a ...
  1. #1


    Join Date
    Oct 2006
    Posts
    3,409
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    VMware Clone and udev

    Now i know this is abit naughty as your not really suposed to run the free vmware server as a production server but for various reasons, mainly being cost and disaster recovery once im gone (the only *somewhat* linux savvy man in the school/area) thats whats happening, unless someone has a better idea?


    Anyway the idea is I backup the VM by use of the "Advanced VB script for backup of VMs on Windows hosts", which stops the VM, copies the VM files, starts the VM, and then zips the copied files.
    Disaster recovery would then be a simple case of unzipping the files and opening them in vmware.

    Well thanks to udev its not that simple as when the VM is recreated so is the mac address on the eth, causing the network to be down.

    Easy way to fix it is to simply edit the z25_persistent-net.rules file. Problem is thats not that simple to someone who doesnt know *nix, and hell i was cursing a fair bit at the vi edittor! I should really learn to use it properly but i tend to use an SFTP client... but since the network is down thats no good.


    Can anyone think of a way to correct this without any linux knowledge?
    I guess a way to do it is via a script but id prefer it to be even simpler! (Plus i wouldnt know where to start! )

    My flavour of *nix is debian

    :beer:


    BTW apparently changing the /etc/network/interfaces file to point to the new eth# (in this case eth1) should also work, but for some reason it didnt for me.

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,400
    Thank Post
    636
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: VMware Clone and udev

    Does the VMWare network adapter driver (or VMWare itself) not allow you to change the MAC address?

  3. #3


    Join Date
    Oct 2006
    Posts
    3,409
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: VMware Clone and udev

    Not on the GUI, but you've gave me an idea, an idea i really should have before looking too far into the problem. Silly silly man

    Simple little script, or manual edit of the vmx (VM config) file should do it as it stores the mac in there in plain text.

    Ill post back.

  4. #4


    Join Date
    Oct 2006
    Posts
    3,409
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: VMware Clone and udev

    Yeah thats gunna work. When it says "Do you want to recreate UUIDs?" it just didnt occure to me it would change the mac address, but obviously it would.
    So i juts make sure the recovery instructions clearly state NOT to do this


    Cheers, got me there in the end!

  5. #5

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,400
    Thank Post
    636
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: VMware Clone and udev

    Good stuff

  6. #6
    mortstar's Avatar
    Join Date
    Jan 2007
    Location
    Oxford
    Posts
    341
    Thank Post
    12
    Thanked 29 Times in 18 Posts
    Rep Power
    21

    Re: VMware Clone and udev

    Quote Originally Posted by j17sparky
    Now i know this is abit naughty as your not really suposed to run the free vmware server as a production server...
    Is this true? I thought VMWare used to sell what became VM Server as GSX. The outlay for Virtual Infrastructure or ESX is pretty steep! (When going from £0).

    Also, don't they sell support for VMWare Server?

  7. #7

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,266
    Thank Post
    613
    Thanked 1,566 Times in 1,406 Posts
    Rep Power
    411

SHARE:
+ Post New Thread

Similar Threads

  1. Simple Hard Disc Clone Technique
    By SimpleSi in forum *nix
    Replies: 7
    Last Post: 30th January 2010, 12:01 PM
  2. VMWare MAC ID
    By SOSAGES in forum Thin Client and Virtual Machines
    Replies: 3
    Last Post: 8th October 2007, 03:10 PM
  3. Nivdia dula head in clone mode
    By nicholab in forum Windows
    Replies: 0
    Last Post: 2nd October 2007, 10:24 AM
  4. VMWare
    By 20RickY06 in forum Windows
    Replies: 8
    Last Post: 5th September 2006, 01:01 PM
  5. VMWare and VMWare Player Licensing
    By Ric_ in forum General Chat
    Replies: 7
    Last Post: 12th January 2006, 03:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •