Changes

Jump to navigation Jump to search
1,940 bytes removed ,  08:22, 9 November 2013
m
moved guest options to separate page
Line 34: Line 34:  
Go to the phpvirtualbox panel at the url https://your-sme-ip/phpvirtualbox on your local-network. You can not reach this contrib trought internet.
 
Go to the phpvirtualbox panel at the url https://your-sme-ip/phpvirtualbox on your local-network. You can not reach this contrib trought internet.
 
Your credentials are the user admin of SME Server but you can add more users by the [[Phpvirtualbox#DB_Configuration|DB Configuration]].
 
Your credentials are the user admin of SME Server but you can add more users by the [[Phpvirtualbox#DB_Configuration|DB Configuration]].
  −
===Optional : Change your guests kernel boot options===
  −
  −
Optionally, for best results with SME 8.x '''Guests''', modify /etc/grub.conf, adding "divider=10 clocksource=acpi_pm" to the kernel boot options in order to reduce the idle CPU load with Virtual Box.
  −
  −
Accordingly to [http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427 this article from VmWare] and this one from [https://blogs.oracle.com/fatbloke/entry/speeding_up_your_linux_guests Oracle] on Linux Guests, you may find important informations on how and why modify your kernel options.
  −
  −
you can test this command line to see if you are concerned by this chapter mainly if the you have the same result as below :
  −
  −
[root@sme8 ~]# grep CONFIG_HZ /boot/config-`uname -r`
  −
# CONFIG_HZ_100 is not set
  −
# CONFIG_HZ_250 is not set
  −
CONFIG_HZ_1000=y
  −
CONFIG_HZ=1000
  −
  −
For example, if your kernel boot line is:
  −
kernel /vmlinuz-2.6.18-348.6.1.el5 ro root=/dev/main/root
  −
change it to:
  −
kernel /vmlinuz-2.6.18-348.6.1.el5 ro root=/dev/main/root divider=10 clocksource=acpi_pm
  −
  −
{{Tip box|if you subsequently update SME Server '''Guest''' to use a newer kernel, you may need to change your kernel boot line to reflect the update.}}
  −
  −
Timing related options are important within Virtual Guests and to the amount of 'pressure' it puts on the host and level/increasing CPU usage of the host and guest. By default SME Server uses the NTP deamon for 'timing' related matters, but by default is focussed on the above mentioned 1000HZ, hence the kernel option 'divider=10', thus reducing the timing cycles/context switching requests on the host. See the above VMWare document mentioned (Way at the bottom).
  −
  −
On a Virtual SME guest server the ntpd [[DB_Variables_Configuration#SupportLargeDrift|SupportLargeDrift]] DB variable can be enabled as follows:
  −
config setprop ntpd SupportLargeDrift enabled
  −
and
  −
service ntpd restart
  −
to activate the new configuration. This will adjust /etc/ntp.conf to 'better' settings for a virtual guest. By setting the above value to 'disabled', the NTP service and configuration will revert back to SME Server defaults.
      
===Kernel Upgrade===
 
===Kernel Upgrade===
Line 122: Line 93:  
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
and select the smeserver-foo component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-foo|title=this link}}.  
 
and select the smeserver-foo component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-foo|title=this link}}.  
 +
 +
=== SME guest server configuration ===
 +
To optimize and/or fine-tune your SME guest server running on your phpvirtualbox host, please see [[Virtualization#SME_Server_configuration_settings|this page]]
 +
    
''' remove the nowiki tags from your page '''
 
''' remove the nowiki tags from your page '''
 
  <nowiki><noinclude>[[Category: Contrib]]</noinclude></nowiki>
 
  <nowiki><noinclude>[[Category: Contrib]]</noinclude></nowiki>

Navigation menu