Line 73: |
Line 73: |
| Detailed info on the guest cpu(s) | | Detailed info on the guest cpu(s) |
| cat /proc/cpuinfo | | cat /proc/cpuinfo |
− |
| |
− |
| |
− | == SME Server as a Host server ==
| |
− | === Phpvirtualbox ===
| |
− | * [[Phpvirtualbox]] SME Contrib
| |
| | | |
| === Proxmox === | | === Proxmox === |
Line 84: |
Line 79: |
| | | |
| == SME v8 on Proxmox at Online.net == | | == SME v8 on Proxmox at Online.net == |
| + | This is based on work by Daniel here: https://wikit.firewall-services.com/doku.php/tuto/virtualisation/netwok_conf_sur_dedibox |
| | | |
− | This is based on work by Daniel here :
| + | === Online.net configuration === |
− | | + | {{Warning box|You need a second IP (failover) address. Assign it to your server and make sure you set the MAC for this IP before you do anything else - '''failure to do so may block your network !!'''<br /> |
− | https://wikit.firewall-services.com/doku.php/tuto/virtualisation/netwok_conf_sur_dedibox
| + | ''The problem is that your IP is NOT on the same network range as your gateway so we have to fool the system.'' |
− | | + | }} |
− | You need a second IP (failover) address. Assign it to your server and make sure you set the MAC for this IP before you do anything else - failure to do so may block your network !!!!! | |
− | | |
− | The problem is that your IP is NOT on the same network range as your gateway so we have to fool the system. | |
− | | |
− | Some assumptions :
| |
− | | |
− | Your main IP address :
| |
− | | |
− | Ip address 62.20.20.250
| |
− | Netmask 255.255.255.0
| |
− | Gateway 62.20.20.1
| |
− | | |
− | Your secondary IP address :
| |
− | | |
− | 200.30.30.1
| |
− | 10:10:00:00:20:20 - you DID set the MAC didn't you ?
| |
− | | |
− | Proxmox.
| |
− | | |
− | Make sure you set your default keyboard - it makes life much easier !
| |
− | | |
− | We will use the vmbr0 that is set up, but we need to create a dummy one so we can put SME in server/gateway mode and use Daniels scripts.
| |
− | | |
− | Create a new network interface. Call it vmbr1
| |
| | | |
− | Do NOT set IP address/subnet/bridge ports etc.
| + | Some assumptions: |
| + | ;Your main IP address: |
| + | :IP address 62.20.20.250 |
| + | :Netmask 255.255.255.0 |
| + | :Gateway 62.20.20.1 |
| | | |
− | Next, create your KVM for SME. Make sure that you give it two network adaptors - one is vmbr0 and one is vmbr1
| + | ;Your secondary IP address : |
| + | :200.30.30.1 |
| + | :10:10:00:00:20:20 - you DID set the MAC didn't you ? |
| | | |
− | vmbr0 should have the following settings :
| |
| | | |
− | Model : virtio
| + | === Proxmox configuration === |
− | MAC : 10:10:00:00:20:20 (as per your mac that you set)
| |
| | | |
− | After you have created the KVM add a second adaptor :
| + | {{Note box|Make sure you set your default keyboard - it makes life much easier!!}} |
| | | |
− | vmbr1 should have the following settings : | + | We will use the '''vmbr0''' that is set up, but we need to create a dummy one so we can put SME in server/gateway mode and use Daniels scripts: |
− | Model : virtio | + | * Create a new network interface and call it '''vmbr1''' |
− | MAC : should be the MAC of your main IP address | + | * Do NOT set IP address/subnet/bridge ports etc. |
| + | * Create your KVM for SME. Make sure that you give it two network adaptors - one is '''vmbr0''' and one is '''vmbr1''' |
| + | ** vmbr0 should have the following settings : |
| + | ::Model: virtio |
| + | ::MAC: 10:10:00:00:20:20 (as per your mac that you set) |
| + | *After you have created the KVM add a second adaptor: |
| + | **vmbr1 should have the following settings: |
| + | ::Model: virtio |
| + | ::MAC: should be the MAC of your main IP address |
| | | |
| 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. |
| | | |
| | | |
| + | === SME Configuration === |
| Now do your standard SME installation. | | Now do your standard SME installation. |
| | | |
Line 139: |
Line 124: |
| | | |
| you can use your second IP address for the external interface, but you will have to set a subnet mask and gateway IP that it likes e.g.: | | you can use your second IP address for the external interface, but you will have to set a subnet mask and gateway IP that it likes e.g.: |
− | | + | :IP : 200.30.30.1 |
− | IP : 200.30.30.1 | + | :Subnet : 255.255.255.0 |
− | Subnet : 255.255.255.0 | + | :Gateway : 200.30.30.1 |
− | Gateway : 200.30.30.1 | |
| | | |
| One you have rebooted your network will not be working correctly so we need to follow Daniels guide to fix it : | | One you have rebooted your network will not be working correctly so we need to follow Daniels guide to fix it : |
| + | db configuration set ExternalIP 200.30.30.1 |
| + | db configuration set ExternalNetmask 255.255.255.255 |
| + | db configuration set GatewayIP 62.20.20.1 |
| + | /etc/e-smith/events/actions/initialize-default-databases |
| | | |
− | db configuration set ExternalIP 200.30.30.1
| + | mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/network/ |
− | db configuration set ExternalNetmask 255.255.255.255
| |
− | db configuration set GatewayIP 62.20.20.1
| |
− | /etc/e-smith/events/actions/initialize-default-databases
| |
− | | |
− | mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/network/ | |
| | | |
− | | + | echo '# GATEWAYDEV disabled for dedibox network' > /etc/e-smith/templates-custom/etc/sysconfig/network/40GATEWAYDEV |
− | echo '# GATEWAYDEV disabled for dedibox network' > /etc/e-smith/templates-custom/etc/sysconfig/network/40GATEWAYDEV | + | echo ' # GATEWAY disabled for dedibox network ' > /etc/e-smith/templates-custom/etc/sysconfig/network/50GATEWAYto pass in THIS_DEVICE MORE_DATA \ n " Unless ( defined $ THIS_DEVICE ) ; |
− | echo ' # GATEWAY disabled for dedibox network ' > /etc/e-smith/templates-custom/etc/sysconfig/network/50GATEWAYto pass in THIS_DEVICE MORE_DATA \ n " Unless ( defined $ THIS_DEVICE ) ; | |
| | | |
| my $ device = $ ExternalInterface { Name } ; | | my $ device = $ ExternalInterface { Name } ; |
Line 175: |
Line 157: |
| | | |
| 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 : |
| + | expand-template /etc/sysconfig/network-scripts/ifcfg-$(db configuration getProp ExternalInterface Name) |
| + | expand-template /etc/sysconfig/network-scripts/route-$(db configuration getProp ExternalInterface Name) |
| | | |
− | expand-template / etc / sysconfig / network-scripts / ifcfg-$ ( db configuration getProp ExternalInterface Name )
| + | Check all the network settings look correct and then: |
− | expand-template / etc / sysconfig / network-scripts / route-$ ( db configuration getProp ExternalInterface Name )
| + | signal-event post-upgrade;signal-event reboot |
− | | |
− | Check all the network settings look correct and then : | |
− | | |
− | signal-event post-upgrade;signal-event reboot | |
− | | |
− | You should now be able to connect to your Proxmox box on your primary IP address, and your SME server on your added IP
| |
− | | |
| | | |
− | Your network setting should look similar to this :
| + | You should now be able to connect to your Proxmox box on your primary IP address, and your SME server on your added IP. |
| | | |
− | EthernetDriver1=virtio_net | + | Your network setting should look similar to this: |
− | EthernetDriver2=virtio_net | + | EthernetDriver1=virtio_net |
− | ExternalDHCP=off | + | EthernetDriver2=virtio_net |
− | ExternalIP=200.30.30.1 | + | ExternalDHCP=off |
− | ExternalInterface=interface | + | ExternalIP=200.30.30.1 |
| + | ExternalInterface=interface |
| Broadcast=(whatever) | | Broadcast=(whatever) |
| Configuration=static | | Configuration=static |
| Driver=virtio_net | | Driver=virtio_net |
− | Gateway=62.20.20.1 (gateway for your main IP address) | + | Gateway=62.20.20.1 #gateway for your main IP address |
− | HWAddress=10:10:00:00:20:20 (MAC that you set for 2nd IP address) | + | HWAddress=10:10:00:00:20:20 #MAC that you set for 2nd IP address |
− | IPAddress=200.30.30.1 (your 2nd IP address) | + | IPAddress=200.30.30.1 #your 2nd IP address |
| Name=eth1 | | Name=eth1 |
| Netmask=255.255.255.255 | | Netmask=255.255.255.255 |
− | Network=200.30.30.1 (your 2nd IP address) | + | Network=200.30.30.1 #your 2nd IP address |
− | ExternalNetmask=255.255.255.255 | + | ExternalNetmask=255.255.255.255 |
− | GatewayIP=62.20.20.1 (gateway for your main IP address) | + | GatewayIP=62.20.20.1 #gateway for your main IP address |
| | | |
| Following your 'local network' and is the range when you VPN : | | Following your 'local network' and is the range when you VPN : |
− | | + | InternalInterface=interface |
− | InternalInterface=interface | |
| Broadcast=192.168.98.255 | | Broadcast=192.168.98.255 |
| Configuration=static | | Configuration=static |
| Driver=virtio_net | | Driver=virtio_net |
− | HWAddress=fe:aa:16:19:e8:bf (MAC for 'virtual' adaptor) | + | HWAddress=fe:aa:16:19:e8:bf #MAC for 'virtual' adaptor |
| IPAddress=192.168.98.1 | | IPAddress=192.168.98.1 |
| NICBondingOptions=miimon=200 mode=active-backup | | NICBondingOptions=miimon=200 mode=active-backup |
Line 217: |
Line 194: |
| Netmask=255.255.255.0 | | Netmask=255.255.255.0 |
| Network=192.168.98.0 | | Network=192.168.98.0 |
− | LocalIP=192.168.98.1 | + | LocalIP=192.168.98.1 |
− | LocalNetmask=255.255.255.0 | + | LocalNetmask=255.255.255.0 |
| + | |
| | | |
− | === Xen ===
| + | == Xen == |
| | | |
− | === QEMU/KVM ===
| + | == QEMU/KVM == |
| | | |
− | === VMware === | + | <br /> |
| + | = SME Server as a Host server = |
| + | == Phpvirtualbox == |
| + | * [[Phpvirtualbox]] SME Contrib |
| + | |
| + | |
| + | == VMware == |
| * Contribs.org [[Vmware|Wiki page]] on installing VMware on SME Server | | * Contribs.org [[Vmware|Wiki page]] on installing VMware on SME Server |
− | * Inetresting 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. |
| + | |
| | | |
| [[Category:Virtualisation]] | | [[Category:Virtualisation]] |