Changes

From SME Server
Jump to navigationJump to search
1,991 bytes added ,  15:23, 23 June 2020
no edit summary
Line 12: Line 12:  
=== CPU ===
 
=== CPU ===
 
* Host CPU or emulate
 
* Host CPU or emulate
 +
It seems, after googling around a bit, that Host CPU mode is the preferred mode.
 +
 
* Sockets and cores
 
* Sockets and cores
   Line 26: Line 28:  
* Bridge, NAT or Route?
 
* Bridge, NAT or Route?
 
* Bandwidth options
 
* Bandwidth options
 +
 +
 +
==Cloning a virtual SME Server==
 +
When you clone a virtual SME server, you might want to reset some unique variables on the cloned machine. Several things (will) have changed like install date and MAC addresses. Visualization platforms will automatically change the MAC addresses of the NIC's for the cloned machine.
 +
 +
After cloning and first boot, log in as root and issue the following commands
 +
config delprop sysconfig SystemID
 +
config setprop sysconfig InstallEpoch `date +%s`
 +
rm -f /etc/udev/rules.d/70-persistent-net.rules
 +
Then run the console application and reconfigure the server to your wishes, where you '''must''' perform a signal-event post-upgrade; signal-event reboot for all changes to take effect.
       
== Installation options of a Virtual SME Server ==
 
== Installation options of a Virtual SME Server ==
 
=== Kernel options ===
 
=== Kernel options ===
* LVM (option nolvm)
+
*
* Raid (option raid=none)
  −
 
      
== SME Server configuration settings ==
 
== SME Server configuration settings ==
Line 48: Line 58:  
=== Clock/frequency ===
 
=== Clock/frequency ===
 
As per suggestions in [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 virtual Linux Guests, adjusting the guest Frequency will improve the guests speed.
 
As per suggestions in [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 virtual Linux Guests, adjusting the guest Frequency will improve the guests speed.
 +
 +
{{Note box|It is suggested that this is not required for RHEL/CentOS 6}}
    
You can check if your guest server can benefit from these boot options:
 
You can check if your guest server can benefit from these boot options:
Line 86: Line 98:     
Some assumptions:
 
Some assumptions:
;Your main IP address:
+
;Your main Proxmox server IP address:
 
* IP address 62.20.20.250
 
* IP address 62.20.20.250
 
* Netmask 255.255.255.0
 
* Netmask 255.255.255.0
Line 94: Line 106:  
* 200.30.30.1
 
* 200.30.30.1
 
* 10:10:00:00:20:20 - you DID set the MAC didn't you ?
 
* 10:10:00:00:20:20 - you DID set the MAC didn't you ?
 +
 +
{{Note box|Proxmox now have a single IP you can use for all your VMs : 62.210.0.1}}
    
=== Proxmox configuration ===
 
=== Proxmox configuration ===
Line 113: Line 127:  
It doesn't matter which one is 0 or 1 as long as the settings are correct.
 
It doesn't matter which one is 0 or 1 as long as the settings are correct.
    +
{{Note box|You still cannot set a different gateway IP in the console configuration due to subnet checking.}}
 +
 +
After setup you can run:
 +
 +
config set GatewayIP 62.210.0.1
 +
 +
/etc/e-smith/events/actions/update-ifcfg
 +
signal-event post-upgrade;signal-event reboot
   −
=== SME Configuration ===
+
{{Warning box|The following sections for v8 and v9 should no longer be relevant with the inclusion of the virtual adaptor code in SME server now}}
 +
 
 +
=== SME V8 Configuration ===
 
Now do your standard SME installation.
 
Now do your standard SME installation.
   Line 157: Line 181:  
  }
 
  }
 
  EOF
 
  EOF
 +
 +
(See below for SME v9 configuration)
    
If you have got it right then you should be able to run the following without error :
 
If you have got it right then you should be able to run the following without error :
Line 198: Line 224:  
  LocalIP=192.168.98.1
 
  LocalIP=192.168.98.1
 
  LocalNetmask=255.255.255.0
 
  LocalNetmask=255.255.255.0
 +
 +
=== SME V9 Configuration ===
 +
 +
Things have changed slightly for v9
 +
 +
Use the same db settings and templates as for v8.
 +
 +
You can make one small change to the template. Replace :
 +
 +
  my $gw = $ExternalInterface{'Gateway'};
 +
 +
With
 +
 +
  my $gw = $GatewayIP;
 +
 +
 +
To update the config files you now need to run :
 +
 +
/etc/e-smith/events/actions/update-ifcfg
 +
signal-event post-upgrade;signal-event reboot
 +
 +
Note that you will not see MAC addresses in the Internal Interface settings as you did in v8
    
== Xen ==
 
== Xen ==
Line 262: Line 310:     
  virt-manager
 
  virt-manager
 +
 +
 +
SME v9
 +
 +
Please see the forum post for instructions on v9
      Line 273: Line 326:  
== VMware ==
 
== VMware ==
 
* Contribs.org [[Vmware|Wiki page]] on installing VMware on SME Server
 
* Contribs.org [[Vmware|Wiki page]] on installing VMware on SME Server
 +
* [[VMware_Tools|Wiki page]] on installing SME Server as a VMWare guest
 
* Interesting guide from [http://support.theenterprisecloud.com/kb/default.asp?id=355&Lang=1&SID= Verizon] on performance tuning.
 
* Interesting guide from [http://support.theenterprisecloud.com/kb/default.asp?id=355&Lang=1&SID= Verizon] on performance tuning.
  

Navigation menu