Specifications

VMware, Inc. 151
Chapter 3 Using the VMware Management Interface
To increase service console shares through the service console
1Log!into!the!service!console!as!the!root!user.
2Type!cat /proc/vmware/sched/cpu.
3Find!the!line!that!has!console!for!the!name.!
For!example:
4Use!the!echo!command!to!change!the!number!of!service!console!shares:
echo 10000 > /proc/vmware/vm/<name>/cpu/shares
For!the!preceding!output,!type:
echo 10000 > /proc/vmware/vm/125/cpu/shares
Avoiding Management Interface Failures when Many Virtual
Machines Are Registered
If!you!have!a!large!number!of!virtual!machines!registered!on!a!single!ESX!Server!
machine,!the!VMware!Management!Interface!might!shut!down!and!a!Panic out of
memory!message!is!recorded!in!/usr/lib/vmware-mui/apache/logs/error_log.
By!default,!the!Apache!Web!server!uses!24MB!of!memory!to!store!information!about!the!
virtual!machines!on!the!
server.!The!errors!described!above!can!happen!when!this!
amount!of!memory!is!not!adequate!for!the!number!of!virtual!machines.!
To!work!around!the!problem,!open!the!file!/etc/vmware/config!in!a!text!editor!and!
find!the!line!that!begins!with!mui.vmdb.shmSize =.!Increase!the!number!in!quotation!
marks,!which!is!
specified!in!bytes!of!memory.!Restart!the!Apache!server!using!the!
command:
/etc/rc.d/init.d/httpd.vmware restart
Backing Up Virtual Machines
Your!backup!strategy!depends!on!how!you!want!to!protect!your!data!and!recover!from!
problems.!There!are!two!main!goals:
! Recover!individual!files!on!the!virtual!machine!(for!example,!if!a!user!accidentally!
removes!a!file).
vcpu vm name uptime status ...
125 125 console 71272.378 RUN ...
126 126 idle1 71272.378 RUN ...
127 127 idle2 71272.378 RUN ...