Saturday, 25 October 2014

Solusvm master and slave installation for KVM/XEN/OPenvZ

Solus Vm master means>> Normal solusVm that we are used as the up to node level handling
==============================
Note:

>> CANNOT Install a SolusVM Master on a Xen/KVM Slave Directly >> install your SolusVm Master on a Xen VPS which is hosted on this slave.

This Script should NEVER be used to upgrade SolusVM to the latest version, doing so will destroy your installation of SolusVM

DO NOT use this installer on servers that contain any other control panel (cPanel, Directadmin etc..) Always use a clean install of CentOS/RHEL/Scientific!
===============================

Supported Host Operating Systems

    CentOS 5/6
    RHEL 5/6
    Scientific Linux 5/6

Reload the vps and make the partition as below
KVM                           Xen                 OpenVZ
=====                       =======          ===========
/ 50 GB                      / 50 GB           /  10GB
swap 4GB                     Swap 4GB            swap 4GB
Remaining As Logical Volume   ""                  /vz remaining space

SolusVm master installation
========
SSH First system
============
wget http://soluslabs.com/installers/solusvm/install
chmod 755 install
./install
========
For Openvz Installation alternate methord
    cd /etc/yum.repos.d
    wget http://download.openvz.org/openvz.repo
rpm --import  http://download.openvz.org/RPM-GPG-Key-OpenVZ
yum -y install ovzkernel-xen
yum -y install vzctl vzctl-lib vzquota

Remembering to disable SELinux as required.
=====
For better understanding through pictorial way,please follow the link
==
http://docs.solusvm.com/v2/Content/Installation/Installing-Master.htm
==
1> enter
2> 2
3>1
4>1
5> select your Option
====
Once the installer is complete you will be presented with the slave keys and any further instructions for your install type.

Note:
If you need to install a master that 'won't' host any virtual servers, select option 1 (recommended)

If you need to install a master that 'will' host virtual servers, select option 2
====


Once installed go to http://myipaddress:5353/admincp/ and login using (uname) vpsadmin (pword) vpsadmin
==============
==================
=======================
Installing a Slave
====
 Same steps as In master Installation
Install SolusVM Slave
    wget http://soluslabs.com/installers/solusvm/install
   chmod 755 install
   ./install

   Once the installation Complete >> Copy the key and pass
 ======================

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

 ID Key .......... : 6IK10OCRJEZWXYWME909GQW5RR6
 ID Password ..... : EEFbx0bH6QfJhLUs5VyBAWXwXXeIAGuT1kV0k2koEWbEbhsQrNb

 Edit /boot/grub/menu.lst and set the Xen kernel to boot (usually default=0)

 IMPORTANT!! Run: php -f /usr/local/solusvm/includes/xenkernel.php after you have rebooted into the Xen kernel!

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


=======
EX:

1. Partition layout:
    /dev/sda1    --    /boot            (1024MB)
    /dev/sda2    --    LVM PV
                -VolGroup00
                --LogVol01    /    (24544MB)
                        swap    (8192MB)
    /dev/sda3    --    LVM PV
                -VolGroup01    unmounted, rest of space
=======
2)

 Install Xen do the following first
    yum -y install xen-kernel xen xen-devel
 Install KVM dowsn't need to alter the kernel 
 Install OpenVZ No need of slave(or you could create a slave openvz )
   Then Do the following
    cd /etc/yum.repos.d
    wget http://download.openvz.org/openvz.repo
rpm --import  http://download.openvz.org/RPM-GPG-Key-OpenVZ
yum -y install ovzkernel-xen
yum -y install vzctl vzctl-lib vzquota
=========

//
vi /boot/grub/menu.lst
    Set default boot option to 0
    Insert “dom0_mem=512M” without quotes after the kernel.

 Example:
  
default=0
timeout=3
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.17.1.el5.028stab070.7xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-194.17.1.el5.028stab070.7 dom0_mem=512M
        module /vmlinuz-2.6.18-194.17.1.el5.028stab070.7xen ro root=/dev/VolGroup00/LogVol00
        module /initrd-2.6.18-194.17.1.el5.028stab070.7xen.img

//

Formore info please go throgh the following link

 http://wiki.solusvm.com/index.php/Lighttpd_hotfix

===
========
========
============
========




1 comment:

  1. That's great and all but what do you do once you have the key, the API on the master has it's own key and you can't change it.

    ReplyDelete