Koozali.org: home of the SME Server

ESXi 6.02 and SME as guest

Online Fumetto

  • *
  • 899
  • +1/-0
ESXi 6.02 and SME as guest
« on: August 16, 2016, 12:32:08 PM »
I try install SME 9.1 on esxi 6.server.

No wiki info so think this is the right procedure. Can anyone confirm this?

Install repo key
Code: [Select]
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pubCreate yum repo
Code: [Select]
db yum_repositories set vmware-tools repository \
Name 'VMWare Tools' \
BaseURL 'http://packages.vmware.com/tools/esx/6.0u2/rhel6/$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
Visible no \
status disabled
Update yum.conf
Code: [Select]
expand-template /etc/yum.smerepos.d/sme-base.repocheck for PAE vs non-PAE kernel
Code: [Select]
uname -rInstall NON-PAE tools if "PAE" is not contained in the output from "uname -a"
Code: [Select]
uname -a |grep PAE || yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-noxInstall PAE tools if "PAE" is contained in the output from "uname -a"
Code: [Select]
uname -a |grep PAE && yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-noxVerify tools are running with
Code: [Select]
/etc/vmware-tools/init/vmware-tools-services status
Can use this baserepo line?
Code: [Select]
BaseURL 'http://packages.vmware.com/tools/esx/latest/rhel6/$basearch' \

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: ESXi 6.02 and SME as guest
« Reply #1 on: August 16, 2016, 06:39:56 PM »
I try install SME 9.1 on esxi 6.server.

Hi Fumetto, thank you for your post

Quote
No wiki info so think this is the right procedure. Can anyone confirm this?

well, ask for a wiki account and create it yourself ;-)

Quote
Install repo key
Code: [Select]
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pubCreate yum repo
Code: [Select]
db yum_repositories set vmware-tools repository \
Name 'VMWare Tools' \
BaseURL 'http://packages.vmware.com/tools/esx/6.0u2/rhel6/$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
Visible no \
status disabled

since here, it seems ok to me

Quote

Update yum.conf
Code: [Select]
expand-template /etc/yum.smerepos.d/sme-base.repo

not necessary
you'd call the yum-update event


Code: [Select]
signal-event yum-update

(see in the wiki other repos pages for examples)

Quote
check for PAE vs non-PAE kernel
Code: [Select]
uname -rInstall NON-PAE tools if "PAE" is not contained in the output from "uname -a"
Code: [Select]
uname -a |grep PAE || yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-noxInstall PAE tools if "PAE" is contained in the output from "uname -a"
Code: [Select]
uname -a |grep PAE && yum --enablerepo=vmware-tools install vmware-tools-esx-kmods-PAE vmware-tools-esx-nox

is there any possibility to install the right package without specifying the pae stuff?
did you follow any centos' related howto?


Quote
Verify tools are running with
Code: [Select]
/etc/vmware-tools/init/vmware-tools-services status

how do you start vmware services?

Quote
Can use this baserepo line?
Code: [Select]
BaseURL 'http://packages.vmware.com/tools/esx/latest/rhel6/$basearch' \

if your repo, with this line, works, I'd say yes ;-)

unfortunately I have no ESX6 to test.. BTW, I remember that in some external repo (epel, IIRC) there are OOSS vmtools... wolud you mind to check and report here and in the new wiki page?

thank you


Online Fumetto

  • *
  • 899
  • +1/-0
Re: ESXi 6.02 and SME as guest
« Reply #2 on: August 17, 2016, 12:29:55 PM »
Ok, I try it and now esxi find vmware-tool but but on "guest managed" mode... need more test.

The correct sequence is:
Code: [Select]
rpm --import https://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
Code: [Select]
db yum_repositories set vmware-tools repository \
Name 'VMWare Tools' \
BaseURL 'https://packages.vmware.com/tools/esx/6.0u2/rhel6/$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey https://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub \
Visible no \
status disabled
At this point signal-event yum-update dont work, think signal-event yum-modify can be more good but I do signal-event post-upgrade & reboot.
Then
Code: [Select]
yum --enablerepo=vmware-tools install vmware-tools-esx-kmods vmware-tools-esx-noxvmware-tools autostart at this point.
after reboot service is "online".
Code: [Select]
[root@server ~]# /etc/vmware-tools/init/vmware-tools-services status
vmtoolsd is running

Now need to recover my access code for wiki... :D

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: ESXi 6.02 and SME as guest
« Reply #3 on: August 17, 2016, 09:50:52 PM »
If you need I can document it for you... just ask for my help :D

...

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: ESXi 6.02 and SME as guest
« Reply #4 on: August 18, 2016, 03:15:07 PM »
[edit]

Doh -
I just noticed this has already been addressed...

[irrelevant post about using the "latest" repo instead of the 6.0u2 removed...]
« Last Edit: August 18, 2016, 03:17:54 PM by mmccarn »

Online Fumetto

  • *
  • 899
  • +1/-0
Re: ESXi 6.02 and SME as guest
« Reply #5 on: August 19, 2016, 12:49:09 AM »
If you need I can document it for you... just ask for my help :D
Yes... I need help...  :D
Code: (https://wiki.contribs.org...Special:PasswordReset) [Select]
Internal error
Jump to: navigation, search

Passwords cannot be changed

Return to Main Page.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: ESXi 6.02 and SME as guest
« Reply #6 on: August 19, 2016, 02:46:04 AM »
Wiki page started: https://wiki.contribs.org/ESXi

Sugestions and tips are welcome; flames > /dev/nul
...