Showing posts with label SolusVM. Show all posts
Showing posts with label SolusVM. Show all posts

Monday, 9 September 2013

Extend Xen Disk Space

Posted by Sarath On Monday, September 09, 2013 1 comment
Xen VMs use lvms and extending disk space from SolusVM control panel may not work properly. So, we will need to extend the lvm manually.
Shutdown VM from SolusVM control panel or use the following command on node :
# xm shutdown vm_ID 
(Replace vm_id with the xen ID of the VPS)
Extend LVM :
# lvextend /dev/Xen/vm_ID_img -L +50G 
(This will increase the main disk size for vm by 50G)
Checking File System for errors :
# e2fsck -f /dev/vg0/vm_ID_img 
Resize File System :
# resize2fs /dev/vg0/vm1_ID_img 
(This will increase the disk's filesystem to the maximum new amount)
Boot up the VM:
# xm create vm_ID /home/xen/vm_ID/vm_ID.cfg 

Done..!! Now check the VPS Disk Space using df command.

Saturday, 7 September 2013

Change SolusVM admin password

Posted by Sarath On Saturday, September 07, 2013 No comments
If you forget or lose your SolusVM Admin password, you can change it using SolusVM php script.
Log into SolusVM master server via SSH. Then you can reset the admin password by running the below command :
Code:
php /usr/local/solusvm/scripts/pass.php --type=admin --comm=change 
--username=<ADMINUSERNAME>

For username mention the admin username for SolusVM , the default Admin username is vpsadmin.
You will get an output similar to this:
Code:
New password: Wc7Q0EbVFUasJ4j
Done..!! Now you can log into SolusVM server with the new password.