I’m going to start writing tutorials for SolusVM with my experiences, problems which I faced and their solutions. This post is the first post in this series.
SolusVM is GUI based VPS management system with full OpenVZ, Linux KVM, Xen Paravirtualization and Xen HVM support.
SolusVM allowed master to run on OpenVZ virtualized server, you cannot install it on XEN or KVM. Master can run on a separate vps or a server without any virtualization where you can add OpenVZ, XEN and KVM slaves.
Installation :
Installation of SolusVM is explained in their Wiki, however it do not explained that you need to install OpenVZ/Xen/KVM kernel before installing SolusVM.
System requirement for OpenVZ node
1 2 3 |
/ 10GB SWAP 2 times RAM (if RAM <=2GB otherwise RAM + 2GB is plenty) /vz remaining space (templates & virtual servers will be stored here) |
Installing OpenVZ kernel
Download latest kernel RPM from OpenVZ website.
I’m going CentOS6.3 x64 server for which latest kernel is 042stab059.7.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
[root@server ~]# wget http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab059.7/vzkernel-2.6.32-042stab059.7.x86_64.rpm --2012-08-27 00:07:07-- http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab059.7/vzkernel-2.6.32-042stab059.7.x86_64.rpm Resolving download.openvz.org... 64.131.90.11 Connecting to download.openvz.org|64.131.90.11|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 28724472 (27M) [application/x-rpm] Saving to: “vzkernel-2.6.32-042stab059.7.x86_64.rpm” 100%[=========================================================>] 28,724,472 5.60M/s in 7.4s 2012-08-27 00:07:15 (3.72 MB/s) - “vzkernel-2.6.32-042stab059.7.x86_64.rpm” saved [28724472/28724472] [root@server ~]# rpm -ivh vzkernel-2.6.32-042stab059.7.x86_64.rpm warning: vzkernel-2.6.32-042stab059.7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID a7a1d4b6: NOKEY Preparing... ########################################### [100%] 1:vzkernel ########################################### [100%] |
Once kernel is installed, open /boot/grub/grub.conf
1 |
[root@server ~]# nano -w /boot/grub/grub.conf |
and set default = 0
1 |
default = 0 |
and Change CentOS from
1 2 3 4 |
title CentOS (2.6.32-042stab059.7) root (hd0,0) kernel /vmlinuz-2.6.32-042stab059.7 ro root=/dev/sda2 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD$ initrd /initramfs-2.6.32-042stab059.7.img |
to OpenVZ
1 2 3 4 |
title OpenVZ (2.6.32-042stab059.7) root (hd0,0) kernel /vmlinuz-2.6.32-042stab059.7 ro root=/dev/sda2 rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD$ initrd /initramfs-2.6.32-042stab059.7.img |
Disable SELINUX from /etc/selinux/config
1 |
SELINUX=disabled |
and reboot server, and this time it will boot from new OpenVZ kernel
1 2 |
[root@server ~]# uname -a Linux server.solusvmtest.com 2.6.32-042stab059.7 #1 SMP Tue Jul 24 19:12:01 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux |
Installation of SolusVM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
[root@server ~]# wget http://soluslabs.com/installers/solusvm/install --2012-08-27 00:19:47-- http://soluslabs.com/installers/solusvm/install Resolving soluslabs.com... 94.23.159.36 Connecting to soluslabs.com|94.23.159.36|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 13811 (13K) [text/plain] Saving to: “install” 100%[=========================================================>] 13,811 46.1K/s in 0.3s 2012-08-27 00:19:48 (46.1 KB/s) - “install” saved [13811/13811] [root@server ~]# chmod 755 install [root@server ~]# ./install o----------------------------------------------------------------o | :: SolusVM Installer v3.0.0 (2012/06/01) | 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.0 (2012/06/01) | 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.0 (2012/06/01) | 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): Please enter a valid option: 1 cat: /tmp/svmversion.txt: No such file or directory o----------------------------------------------------------------o | :: SolusVM Installer v3.0.0 (2012/06/01) | 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): 1 Checking fastest mirror .... Using files.us.az.soluslabs.com o----------------------------------------------------------------o | :: SolusVM Installer v3.0.0 (2012/06/01) | 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): 2 Please Wait, Installing Dependencies for RHEL 6... o----------------------------------------------------------------o | :: SolusVM Installer v3.0.0 (2012/06/01) | o----------------------------------------------------------------o | | | /!\ Warning! this installer will remove MySQL and destroy /!\ | | /!\ any databases associated with it. To quit the /!\ | | /!\ installer press ctrl+c now or hit [ENTER] to start /!\ | | /!\ the installation process. /!\ | | | o----------------------------------------------------------------o Processing, please wait... Installing SSL Certificate... Installing WebServer... Starting WebServer... Installing SQL Server... Configuring SQL Server... Downloading Installation Files... Downloading Basic Templates... Installing OpenVZ for RHEL 6... Installation Complete! Installation log : /tmp/install.log SolusVM Master Login Information: ================================= Admin Area .......... : http://123.123.123.123:5353/admincp Admin Area (SSL) .... : https://123.123.123.123:5656/admincp Client Area ......... : http://123.123.123.123:5353 Client Area (SSL) ... : https://123.123.123.123:5656 Admin Username ...... : vpsadmin Admin Password ...... : vpsadmin It is advised that you change the default admin password on your first login. Edit /boot/grub/grub.conf and make sure the server is set to boot into the OpenVZ kernel. Please set SELINUX=disabled in /etc/selinux/config before rebooting. Thankyou for choosing SolusVM. |
Once installed, SolusVM master can be accessible at
http://myipaddress:5353/admincp/
1 2 |
username: vpsadmin password: vpsadmin |
“to OpenVZ” code is same “and Change CentOS from”
The titel has changed. Not more.