Categories

Tuesday 9 April 2013

Xen Vps showing offline after creating it from Solusvm

Hello,

If you are not able to create para virtualized Xen containers from your solusvm control panel, please follow the below procedure.

First check the xen configuration file which will be in /home/xen/vmid/vmid.conf
If it exist then try to start the container with the command xm create /home/xen/vmid/vmid.conf


it will show the exact error or you can refer the error log of xen which is /var/log/xen/xend.log

If you get error as disk image not found then check the image file on the server which will be in /dev/mapper/vmid.img. IF it doen't exist then there should be some issue with configuration of xen vms in the solusvm.

For me below step fixed.

1) I compared the configuration file of newly created xen vps with one which is running and created before. I found difference in the parameters defined in the configuraiton files(/home/xen/vmid/vmid.cfg)

The difference is that kernal and initrd images are different, also the hard disk is showing as sda instead of xvda(xen virtual device)

2)Then check the solusvm xen advanced configuration file /usr/local/solusvm/data/advanced.conf. I found it empty on the slave node where iam creating vps
3) But on the master node the file usr/local/solusvm/data/advanced.conf contains all the data.
4)just copy the configuraiton file from master and copy to the slave node
5)Then restart the solusvm service using the command
/etc/init.d/solsuvm restart
6)then delete and recreated the new vps
7)server should be created and online now.

2 comments:

  1. super i got solve me problem.

    ReplyDelete
    Replies
    1. Great.. Glad to hear that your issue has been solved by this post....

      Delete

Ad