Changes

Jump to navigation Jump to search
3,025 bytes added ,  15:25, 25 November 2021
Line 180: Line 180:  
  /etc/vmware-tools/init/vmware-tools-services status
 
  /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
 +
====SME Server 10 as Guest====
 +
 +
{{#vardefine:contribname| {{lc: {{#titleparts:  open-vm-tools |1}} }} }}
 +
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  open-vm-tools |1}} }} }}
 +
 +
Installation of vmware tools on SME 10 is a bit different. For example, no special repository is now needed. But we do have configure some files. Start by downloading the open-vm-tools package:
 +
yum install open-vm-tools
 +
 +
Set a config key for SME to recognise the service:
 +
config set vmtoolsd service status enabled access private
 +
 +
We will need to create a directory and then a file in it:
 +
 +
mkdir -p /usr/lib/systemd/system/vmtoolsd.service.d
 +
nano /usr/lib/systemd/system/vmtoolsd.service.d/50koozali.conf
 +
 +
Contents of 50koozali.conf should be:
 +
[Install]
 +
WantedBy=sme-server.target
 +
 +
Reconfigure and reboot:
 +
signal-event post-upgrade; signal-event reboot
 +
 +
That should do it! Check that the service is running alright:
 +
systemctl status vmtoolsd
 +
 +
Also check that the hypervisor (ESXi/VMWare workstation or other) detects the vmware tools as running.
 +
 +
We now have a contrib to manage this
 +
 +
===== Version =====
 +
<!-- keep this first element as is, you can add some if needed -->
 +
{{#smeversion: {{#var:smecontribname}} }}
 +
 +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
 +
{{ #smechangelog: {{#var:smecontribname}} }}
 +
 +
=== Uninstall ===
 +
yum remove {{#var:smecontribname}}
 +
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
 +
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
 +
 +
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}
 
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Virtualisation]]
 
[[Category:Virtualisation]]

Navigation menu