Installing a Slave

From SolusVM

Jump to: navigation, search

Please see this guide: Install

Contents

Requirements

SolusVM requires the following specification:

  • OpenVZ - Ensure that you are running an OpenVZ Kernel
  • Xen - Ensure that you are running a Xen Kernel

Installing a Slave

In SSH as root do the following:

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

You will now be presented with the following menu as illustrated below:


Image:Install1.jpg


Select option 2

You will now be presented with the next menu as illustrated below:


Image:Install3.jpg


If you need to install a slave that will host OpenVZ virtual servers, select option 1

If you need to install a slave that will host Xen virtual servers, select option 2

If you need to install a slave that already hosts virtual servers, select option 3

The install will now do it's work.

Remembering to disable SELinux as required.

Once installed, read any instructions given to you at the end!!!

TroubleShooting

There seems to have been a slight problem with our database, please try again later

This usually occurs when the SolusVM MySQL installation has conflicted with an existing MySQL instance.

To fix this problem run the following on the node:

yum remove mysql mysql-client mysql-server

Now run the SolusVM installer again.


I keep getting connection error when adding a slave to the master.

Check the IP Address that is listed in /usr/local/solusvm/data/allow.dat on the slave matches the IP Addess of the master. This file can take more than one ip address but each ip must be on it's own line.

To double check the IP of the master do the following:

curl -s http://checkip.dyndns.org/ | grep -o "[[:digit:].]\+"

The above code should output the correct IP. You can also check the main IP of the node by doing the following:

ifconfig

Make sure the correct IP is listed for eth0.


Volume Group not found

Check if you have inserted the correct VG  (Volume Group) name.
This error also occurs when other settings are configured incorrect, such as the master node IP on the slave.


I get PHP modules errors after install.

SolusVM uses the standard CentOS PHP rpms for its installation so any other version usually breaks the system.

Personal tools
Installation/Upgrading
Customization