Changes

From SME Server
Jump to navigationJump to search
5,813 bytes added ,  14:21, 1 October 2014
Add link to wikipedia page on PAE (Physical Address Extensions)
Line 93: Line 93:  
  service vmware-tools start
 
  service vmware-tools start
    +
====SME Server 8.0 Guest on ESXi 5.0====
 +
Install the relevant repository
 +
db yum_repositories set vmware-tools repository \
 +
  Name 'VMWare Tools' \
 +
  BaseURL 'http://packages.vmware.com/tools/esx/5.0/rhel5/$basearch' \
 +
  EnableGroups no \
 +
  GPGCheck yes \
 +
  GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
 +
  Visible no \
 +
  status disabled
 +
Make the relevant changes stick
 +
signal-event yum-modify
 +
{{Note box| At this point I could not immediately call "yum install ..." for some reason. Just wait a bit if this happens.}}
 +
Import the VMWare RSA key (not sure if this could be done via the db mechanism)
 +
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
 +
Update server to latest packages
 +
yum update
 +
Now, installing VMWare tools involves knowing which type of kernel you have, PAE or non-PAE. To check, do a
 +
uname -r
 +
If the output of the command mentioned above contains ''PAE'', then you have a PAE kernel and the following command should be used to install VMWare Tools
 +
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
Otherwise, you don't have a PAE kernel and the relevant command to install VMWare Tools is
 +
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 +
Link the start script to run level 7
 +
ln -s /etc/init.d/vmware-tools-services /etc/rc7.d/S90vmware-tools-services
 +
Start the service
 +
/etc/init.d/vmware-tools-services start
 +
Everything should be ok now, just restart the machine. If you by any chance wish to use the vmxnet2 adapter instead of the lance, then shutdown the VM, delete the "Flexible"/"Lance" network adapter and add "vmxnet2" in its place. Start the VM. If all goes ok, you'll now have the improved vmxnet NIC.
 +
 +
====SME Server 8.0 Guest on ESXi 5.0 Update 1====
 +
Install the relevant repository
 +
db yum_repositories set vmware-tools repository \
 +
  Name 'VMWare Tools' \
 +
  BaseURL 'http://packages.vmware.com/tools/esx/5.0u1/rhel5/$basearch' \
 +
  EnableGroups no \
 +
  GPGCheck yes \
 +
  GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
 +
  Visible no \
 +
  status disabled
 +
Make the relevant changes stick
 +
signal-event yum-modify
 +
{{Note box| At this point I could not immediately call "yum install ..." for some reason. Just wait a bit if this happens.}}
 +
Import the VMWare RSA key (not sure if this could be done via the db mechanism)
 +
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
 +
Update server to latest packages
 +
yum update
 +
Now, installing VMWare tools involves knowing which type of kernel you have, PAE or non-PAE. To check, do a
 +
uname -r
 +
If the output of the command mentioned above contains ''PAE'', then you have a PAE kernel and the following command should be used to install VMWare Tools
 +
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
Otherwise, you don't have a PAE kernel and the relevant command to install VMWare Tools is
 +
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 +
Link the start script to run level 7
 +
ln -s /etc/init.d/vmware-tools-services /etc/rc7.d/S90vmware-tools-services
 +
Start the service
 +
/etc/init.d/vmware-tools-services start
 +
Everything should be ok now, just restart the machine. If you by any chance wish to use the vmxnet2 adapter instead of the lance, then shutdown the VM, delete the "Flexible"/"Lance" network adapter and add "vmxnet2" in its place. Start the VM. If all goes ok, you'll now have the improved vmxnet NIC.
 +
 +
====SME Server 9 Alpha3 Guest on ESXi 5.1====
 +
Install repo key
 +
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
 +
 +
create yum repo
 +
<nowiki>db yum_repositories set vmware-tools repository \
 +
Name 'VMWare Tools' \
 +
BaseURL 'http://packages.vmware.com/tools/esx/5.1/rhel6/$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
 +
Visible no \
 +
status disabled</nowiki>
 +
 +
Update yum.conf
 +
expand-template /etc/yum.smerepos.d/sme-base.repo
 +
 +
check for PAE vs non-PAE kernel
 +
uname -r
 +
 +
Install NON-PAE tools if "PAE" is not contained in the output from "uname -a"
 +
uname -a |grep PAE || yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 +
 +
Install PAE tools if "PAE" is contained in the output from "uname -a"
 +
  uname -a |grep PAE && yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
 +
There was no action required to cause the vmware tools to start at boot.  Verify tools are running with
 +
/etc/vmware-tools/init/vmware-tools-services status
 +
 +
====SME Server 9 Guest on ESXi 5.5====
 +
Install repo key
 +
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
 +
 +
create yum repo
 +
<nowiki>db yum_repositories set vmware-tools repository \
 +
Name 'VMWare Tools' \
 +
BaseURL 'http://packages.vmware.com/tools/esx/5.5latest/rhel6/$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
 +
Visible no \
 +
status disabled</nowiki>
 +
 +
Update yum.conf
 +
expand-template /etc/yum.smerepos.d/sme-base.repo
 +
 +
check for [http://en.wikipedia.org/wiki/Physical_Address_Extension PAE vs non-PAE] kernel
 +
uname -r
 +
 +
Install NON-PAE tools if "PAE" is not contained in the output from "uname -a"
 +
uname -a |grep PAE || yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-nox
 +
 +
Install PAE tools if "PAE" is contained in the output from "uname -a"
 +
  uname -a |grep PAE && yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox
 +
 +
There was no action required to cause the vmware tools to start at boot.  Verify tools are running with
 +
/etc/vmware-tools/init/vmware-tools-services status
 
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Virtualisation]]
 
[[Category:Virtualisation]]

Navigation menu