Install Slave
Partition:
Partition | Xen / HVM | KVM | Openvz |
/ | 120GB | 120GB | 10GB |
/swap | 4GB | 8GB | RAM x 2 |
/boot | 2GB | 2GB | 2GB |
Others | Empty LVM | Empty LVM | /vz |
PE Size (physical extent size) | 32GB | 32GB |
1. Install ntp and update timezone
# yum install ntp
# chkconfig ntpd on
# /etc/init.d/ntpd start
2. Update all your service software with yum
# yum update
3. Change root pass
# passwd
4. Change ssh port
# cd /etc/ssh/
# vi sshd_config
( Uncomment and Change Port 22 to Port 22222 )
5. Configure external and internal bridge on the node following this document: http://www.nocser.net/clients/knowledgebase/461/Node-Bridge-Setup.html
6. Run SolusVM installation
mkdir /root/download
mkdir /root/download/solusvm
cd /root/download/solusvm
wget http://soluslabs.com/installers/solusvm/install
chmod 755 install
./install
7. After installation completed, take down the ID Key and password. Then run command below
nano /etc/grub.conf (change default to xen)
Adding module /initramfs-3.<kernel-version>.el6.x86_64.img under module /vmlinuz-3.18.xx
Disable SELINUX at /etc/selinux/config
Reboot server
8. Run this for lighttpd hotfix
cd /usr/local/solusvm/tmp/
wget http://files.soluslabs.com/solusvm/patch/fixlighttpd.sh
chmod 755 fixlighttpd.sh
./fixlighttpd.sh
9. After Server rebooted (For XEN only! Do not run for KVM! ) : php -f /usr/local/solusvm/includes/xenkernel.php
POST-INSTALLATION CHECKLIST
After installation completed:-
1. Take down the ID Key and password. If lost connection / display, refer to the IDKEY:PASSWORD in the node's /usr/local/solusvm/data/solusvm.conf . Request management to activate the license and add into SolusVM.
2. Mount SolusVM ISO & template NFS shared directory, as follows:-
# yum install nfs-utils nfs-utils-lib
# vi /etc/fstab
- Add the following line at bottom of file:-
10.0.28.15:/mnt/msa60-2tb/shared/solusvm /home/solusvm nfs bg,intr,soft 0 0
# chkconfig rpcbind on
# /etc/init.d/rpcbind restart
- Make sure RPC services started OK
- Mount the NFS directory:-
# cd /home
# mv -vi solusvm solusvm.orig
# mkdir solusvm
# mount /home/solusvm
- Make sure mounted OK:-
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_server07-LogVol01 118G 1.5G 111G 2% /
tmpfs 16G 0 16G 0% /dev/shm
/dev/sda1 1.9G 47M 1.8G 3% /boot
10.0.28.15:/mnt/msa60-2tb/shared/solusvm 5.4T 2.8T 2.6T 53% /home/solusvm <---- successfully mounted ISO/template NFS directory
4. Inform management to add into SolusVM Master.
5. Configure SolusVM --> Node --> Auto FTP Backup as follows:-
- IP or Hostname: <refer tech: AUTO FTP BACKUP>
- Username: <refer tech: AUTO FTP BACKUP>
- Password: <refer tech: AUTO FTP BACKUP>
- Directory: <refer tech: AUTO FTP BACKUP>
- Enabled: Tick (Enable)
- Frequency: Weekly
- Runtime: <choose any night time hours, eg 2200>
- Day: Friday
- OpenVZ Backup Type: Online
- KVM/Xen Backup Type: Online
- Click "Update"
Done.
APPENDIX / SPECIAL SECTION: Install Solusvm DNS option
Create a VPS with Solusvm
Install ntp and update date and time
Then run command belowto install glibc
yum install glibc
Update all your server software
yum update
Run installation and select DNS option.
mkdir /root/download
mkdir /root/download/solusvm
cd /root/download/solusvm
wget http://soluslabs.com/installers/solusvm/install
chmod 755 install
./install
Run this for lighttpd hotfix
cd /usr/local/solusvm/tmp/
wget http://files.soluslabs.com/solusvm/patch/fixlighttpd.sh
chmod 755 fixlighttpd.sh
./fixlighttpd.sh