Formatting code for VMware


show source only

{{parent page="HomePage"}}

===VMWare===

~ [[VmwarePowercli Shutdown using PowerCli]]

-----
Read: http://www.petri.co.il/virtual_using_vnc_and_vmware_server.htm

===VMWare installation on CentOS 5.0 / Fedora Core6===
vmmod might not build on the above OS. Both 1.0.2 and 1.0.3 exits with errors when running vmware-config.pl. Fortunately, an easy fix is available on [[http://forums.fedoraforum.org/forum/showpost.php?p=731693&postcount=70 FedoraForum]]:

Install the VMware Server rpm by a "rpm -ivh VMWa....."
Download the "vmware-any-any-update107.tar.gz" from http://ftp.cvut.cz/vmware/
Unpack the update and apply it by running **rumme.pl**

===Vmware ocfs2 with vmdk files===
Drop to a shell and create a vmdk file. To get a shell from ESXi, hit "Alt-F1" on the console and then enter "unsupported".

%%
vmware-vdiskmanager -c -s 8Gb -a
%%

On each of the guest, create a new SCSI controller and select "Virtual" type. This allows the file being opened by multiple guests. Then Create a new drive and reference the formatted vmdk file. Choose "Independent" and "persistent". Then proceed to ocfs2 creation.

===Enable snmp monitoring===
http://knowledgebase.solarwinds.com/kb/questions/1340/Enabling+SNMP+on+VMware+ESX%7B47%7DESXi+Server+version+4

===Hot-add disk to linux vm===
After adding a vdisk in VI client, go to the guest OS and issue a scsi rescan command:

%%
echo “- – -” > /sys/class/scsi_host/host0/scan
%%

dmesg will then show you a new drive
%%
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
target0:0:1: Beginning Domain Validation
target0:0:1: Domain Validation skipping write tests
target0:0:1: Ending Domain Validation
target0:0:1: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)
SCSI device sdb: 52428800 512-byte hdwr sectors (26844 MB)
%%
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki