Monday, May 5, 2008

ESX 3.0.1 ( VMWARE )

Installing RALUS and Configuring ESX 3.0.1 to Backup Guest O.S's.

1) Download RALUS (BEWS_11D.7170_LINUX-UNIX-MAC-NT4_AGENTS.2.tar.gz) from https://licensing.symantec.com ( This agent is the same which can be used to install on Linux and Unix Flavors.
2) Backup Exec 11D supports ESX 3.0.1.
3) Unzip/Untar the file.
4) After Un-Tar a directory is created "cdimg"
5) cd to "cdimg" and run "installralus" script.
6) Follow the questionere and enter the local server(ESX) and Media server(Backup Server) names.
7) Reboot the server after installation.
8) By default port 10000 is closed on the ESX server,Use VI client to open the ports, On VI client select the server--->Configuration--->Security Profile---> In the right pane select properties--->check mark the option "Symantec Backupexec Option".
9) Telnet port 10000 from media server to check Communication with ESX server.
10) From Media server make the selection list what ever needed to be BackedUp.

------------------------------------------------


Cloning VM on ESX 3.0.1

In Case one doesn't have virtual center installed and want to clone VM on ESX 3.0.1 Follow this procedure.

Here is the process I followed to perform a clone. It worked well and I was successful in getting my cloned VM running.

1) Perform a clean OS shutdown of the guest OS running in the VM. Ideally, this will result in the VM being powered off.
2) Login to the ESX Server using SSH as the root user.
3) Use “vdf –h” to determine where the VMFS filesystems are mounted. In our example, this is /vmfs/volumes/AttachedSCSI
Locate the current VM image (at /vmfs/volumes/AttachedSCSI/MyVM).
4) Run “cp –r /vmfs/volumes/AttachedSCSI/MyVM /vmfs/volumes/AttachedSCSI/MyVM-clone &“
5) Once the copy is finished, go to the new directory (MyVM-clone) and rename all the files to use the new clone name. For example, the string “MyVM” will be in the filename for each file. You should rename the file so that “MyVM-clone” is in the filename instead of “MyVM”.
6) Once you’ve renamed all the files, run “file *” in this directory (MyVM-clone).
Edit all files (back them up first) that are listed as “ASCII text” or “ASCII English text”. In each of those files, you may find references to the old filenames or directory names. Modify the references appropriately to use the new names.
Also edit the MyVM-clone.vmx file to remove the following lines:

ethernet0.generatedAddress = "....."
ethernet0.generatedAddressOffset = "....."
uuid.location = "....."
uuid.bios = "....."
Add the following line to MyVM-clone.vmx:
uuid.action = "keep"
Register the new cloned VM with ESX server by running the following command (this should all be on one line):
vmware-cmd -s register /vmfs/volumes/AttachedSCSI/MyVM-clone/MyVM-clone.vmx

Go to the Virtual Infrastructure client and start the new VM. If the guest OS is linux, you should expect kudzu to detect that the old Ethernet controller was removed and a new one has been added. The benefit of this detection is that it will prompt you to add network configuration information. When you’re prompted, you can choose the appropriate IP configuration/address for this new guest VM. Note that you should make sure that your original VM and the new VM have different IP addresses if you intend to have them running at the same time.

No comments: