Master Installation[edit | edit source]

This guide will go over the steps needed to install SolusVM. Please consult with their installation guide at http://docs.solusvm.com/installation before proceeding further.

Ensure you have PHP installed at /usr/bin/php; the installer will bail otherwise. You will also need glibc.i686 for SolusVM's prebuilt binaries to run. There will not be any errors if this is missing other than the fact that nothing on the control panel works.

Install the pre-requisites:

 yum -y install wget php-cli glibc.i686

Install SolusVM:

wget http://soluslabs.com/installers/solusvm/install
chmod 755 install

[root@default ~]# ./install
 o----------------------------------------------------------------o
 | :: SolusVM Installer                       v3.0.1 (2012/09/13) |
 o----------------------------------------------------------------o
 |                                                                |
 |     Full instructions and information on the usage of this     |
 |         installer are located at the following link:           |
 |                                                                |
 |                 http://install.solusvm.info                    |
 |                                                                |
 |    If at any point you encounter an error with installation    |
 |         you can refer to the following generated logs:         |
 |                                                                |
 |                      /tmp/preinstall.log                       |
 |                       /tmp/install.log                         |
 |                                                                |
 |          Hit [ENTER] to continue or ctrl+c to exit             |
 |                                                                |
 o----------------------------------------------------------------o
 o----------------------------------------------------------------o
 | :: SolusVM Installer                       v3.0.1 (2012/09/13) |
 o----------------------------------------------------------------o
 |                                                                |
 |      What Operating System is installed on this server?        |
 |                                                                |
 |     [1]   RHEL 5.x (RHEL 5, CentOS 5, Scientific Linux 5)      |
 |     [2]   RHEL 6.x (RHEL 6, CentOS 6, Scientific Linux 6)      |
 |                                                                |
 o----------------------------------------------------------------o

    Choose an option (1/2): 2
 o----------------------------------------------------------------o
 | :: SolusVM Installer                       v3.0.1 (2012/09/13) |
 o----------------------------------------------------------------o
 |                                                                |
 |      What version of SolusVM would you like to install?        |
 |                                                                |
 |      [1]   SolusVM Version 1 (latest stable version)           |
 |      [-]   SolusVM Version 2 (currently unreleased)            |
 |                                                                |
 o----------------------------------------------------------------o

    Choose an option (1): 1
cat: /tmp/svmversion.txt: No such file or directory
 o----------------------------------------------------------------o
 | :: SolusVM Installer                       v3.0.1 (2012/09/13) |
 o----------------------------------------------------------------o
 |                                                                |
 |           What file mirror would you like to use?              |
 |                                                                |
 |             [1]   Automatic (Fastest Mirror)                   |
 |             [2]   Europe    (France)                           |
 |             [3]   Europe    (United Kingdom)                   |
 |             [4]   USA       (Texas)                            |
 |             [5]   USA       (Arizona)                          |
 |                                                                |
 o----------------------------------------------------------------o

    Choose an option (1/2/3/4/5): 4
 o----------------------------------------------------------------o
 | :: SolusVM Installer                       v3.0.1 (2012/09/13) |
 o----------------------------------------------------------------o
 |                                                                |
 |         What SolusVM type would you like to install?           |
 |                                                                |
 |           [1]   Master With No Virtualization                  |
 |           [2]   Master With OpenVZ Virtualization              |
 |                                                                |
 |           [3]   Slave With No Virtualization                   |
 |           [4]   Slave With OpenVZ Virtualization               |
 |           [5]   Slave With Xen Virtualization                  |
 |           [6]   Slave With KVM Virtualization                  |
 |                                                                |
 |   If you don't want to include the default os templates you    |
 |   may use the 'no' flag in your option. i.e 1no, 2no etc...    |
 |                                                                |
 o----------------------------------------------------------------o

    Choose an option (1/1no/2/2no/3/3no/4/4no/5/5no/6/6no): 6

Please Wait, Installing Dependencies for RHEL 6...

Processing, please wait...
Installing SSL Certificate...
Installing WebServer...
Starting WebServer...
Downloading Installation Files...
Downloading Basic Templates...
Installing KVM for RHEL 6...
Installation Complete!

Installation log : /tmp/install.log

 Add this slave to your SolusVM master using the following details:

 ID Key .......... : 0FUY8UETOCZCTE4I1D7TZ0LI20QXGV5Y9GHOHMZ9
 ID Password ..... : 1OARS3IY6O4IKFJVSW9JMCRUS7IPJ0GNKQQF4B

IMPORTANT!! You need to setup a network bridge before you can use KVM on this server.
 Please see the following link: http://wiki.solusvm.com/index.php/KVM_Network_Bridge_Setup

 Please set SELINUX=disabled in /etc/selinux/config before rebooting.


Thankyou for choosing SolusVM.

KVM Bridge Setup[edit | edit source]

Follow the instructions at http://docs.solusvm.com/kvm_bridge_setup

However, you'll most probably have a broken network after following their steps. Ensure that you have only the following files defined:

[root@default network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
HWADDR="00:0C:29:16:BB:F8"
IPV6INIT="yes"
ONBOOT="yes"
UUID="f3f6c48c-09fe-4991-94a3-794fdc637c1b"
BRIDGE="br0"

[root@default network-scripts]# cat ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
IPADDR=172.20.1.239
NETMASK=255.255.255.0
ONBOOT=yes
DELAY=0

[root@default network-scripts]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=default
gateway=172.20.1.1

}}

LVM Setup[edit | edit source]

Create a LVM physical volume. You can create one using pvcreate on a device:

pvcreate /dev/md0
vgcreate vol_vm1 /dev/md0

See also: http://www.thegeekstuff.com/2010/08/how-to-create-lvm/


Rebuilding Tips[edit | edit source]

If you do ever rebuild a node, make sure that:

  • IPs remain the same
  • Key/Password remains the same, do so by editing
cat /usr/local/solusvm/data/solusvm.conf
0FUY8UETOCZCTE4I1D7TZ0LI20QXGV5Y9GHOHMZ9:LXT9FUH9UKSW160L7XUGUCLYSXSCO4RJV09TGY

Such that it is KEY:PASSWORD

  • Update the node as normal on the master. If your LVM stuff remains unchanged, then your VMs should boot up.

Troubleshooting[edit | edit source]

vpsadmin / vpsadmin does not work after installation[edit | edit source]

Symptom: When you are trying to login for the first time at http://ip:5353/admincp/login.php with vpsadmin/vpsadmin, you do not get past the login screen. There are no errors displayed regarding a failed login attempt.

Solution: Ensure glib.i686 is installed.

License[edit | edit source]

The license that I had requested follows:

License Type:	SolusVM Enterprise Trial License
License Key:	SVMTL-J8NAS-XO82W-HNEXY-8GNS0-9HKA1-WCL4R
Status:	Active
Registration Date:	7th May 2013
First Payment Amount:	$0.00 USD
Recurring Amount:	$0.00 USD
Billing Cycle:	Free Account
Payment Method:	PayPal
Valid IP:	
License Status:	Reissued