Hi Fred, <br><br>I did a system wide installation, so it resides in,<br><br>/var/log/one/<br><br>but the log files are empty, my case it is 12.log which is empty.<br><br>Also, # onevm show 12 gives the below output, No logs are written.<br>
<br><br># onevm show 12<br>VIRTUAL MACHINE 12 INFORMATION<br>ID : 12<br>NAME : centos-base<br>STATE : PENDING<br>LCM_STATE : LCM_INIT<br>START TIME : 10/25 19:17:41<br>END TIME : -<br>
DEPLOY ID: : -<br><br>VIRTUAL MACHINE MONITORING<br>NET_RX : 0<br>USED MEMORY : 0<br>USED CPU : 0<br>NET_TX : 0<br><br>VIRTUAL MACHINE TEMPLATE<br>CONTEXT=[<br> FILES=/service/init.sh /service/certificates /service/service.conf,<br>
TARGET=hdb ]<br>CPU=1<br>DESCRIPTION=Centos 5.5 base image<br>DISK=[<br> CLONE=YES,<br> DISK_ID=0,<br> IMAGE=Centos_base_image,<br> IMAGE_ID=2,<br> READONLY=NO,<br> SAVE=NO,<br> SOURCE=/var/lib/one//images/b69da959cd333e52d102d871da9cacf751bccde1,<br>
TARGET=hda,<br> TYPE=DISK ]<br>DISK=[<br> DISK_ID=1,<br> READONLY=no,<br> SIZE=256,<br> TARGET=hdd,<br> TYPE=swap ]<br>MEMORY=128<br>NAME=centos-base<br>OS=[<br> INITRD=/opt/VMS/initrd-2.6.18-194.17.1.el5xen.img,<br>
KERNEL=/opt/VMS/vmlinuz-2.6.18-194.17.1.el5xen,<br> ROOT=sda ]<br>PUBLIC=YES<br>RANK=FREECPU<br>VMID=12<br><br><br>Could any ne guide me if i am wrong?<br><br>Thanks,<br clear="all">Saravanan Sundaramoorthy<br><br><div class="gmail_quote">
On Mon, Oct 25, 2010 at 6:54 PM, Fred <span dir="ltr"><<a href="mailto:fredericoliveira@gmail.com">fredericoliveira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Saravanan,<br><br><br>I'm quite new working with opennebula, and in the begging I had this kind of problem. So the tip that I can give to you is, take a look at $OPENNEBULA/var/oned.log and when someone create a VM it has a ID you can check with this ID the specific log, at $OPENNEBULA/var/<machine_id>/vm.log.<br>
<br>Logs are very clear, I hope this could help you as It helps me.<br><br>Cheers,<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Oct 25, 2010 at 10:43 AM, Saravanan S <span dir="ltr"><<a href="mailto:dearsaravanan@gmail.com" target="_blank">dearsaravanan@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi all,<br><br>I am quite new to Open nebula, Trien with 2.0 today, <br>
<br>I installed open Nebula from Karan Repo, installed and Configured the setup successfully,<br>
<br>I have a Xen Node on another machine, which i can see with <br>
<br>[root@sios-centos-test centos]# onehost list<br> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT<br> 6 hostx21 default 0 1600 1599 1600 32G 127M on<br><br>[root@sios-centos-test centos]# oneimage list<br>
ID USER NAME TYPE REGTIME PUB PER STAT #VMS<br> 1 user1 Centos-jeos OS Oct 25, 2010 09:36 Yes No rdy 0<br> 2 user1 Centos_base_image OS Oct 25, 2010 11:18 Yes No used 1<br>
<br>when i try to run a vm, it is still in pending state<br><br>[root@sios-centos-test centos]# onevm list<br> ID USER NAME STAT CPU MEM HOSTNAME TIME<br> 7 user1 centos-b pend 0 0K 00 00:40:26<br>
<br>and the configuration file we used to create a VM with <br><br># onevm create vmtest.one<br><br>[root@sios-centos-test centos]# cat vmtest.one <br>NAME = "centos-base"<br>PUBLIC = YES<br>DESCRIPTION = "Centos 5.5 base image"<br>
<br>CPU = 1<br>MEMORY = 512<br><br># --- kernel & boot device ---<br><br>OS = [<br> kernel = "/opt/VMS/vmlinuz-2.6.18-194.17.1.el5xen",<br> initrd = "/opt/VMS/initrd-2.6.18-194.17.1.el5xen.img",<br>
root = "sda" ]<br><br># --- 3 disks ---<br><br>DISK = [<br> image = "Centos_base_image" ]<br><br>DISK = [<br> type = swap,<br> size = 1024,<br> readonly = "no" ]<br><br>
# --- 1 NIC ---<br><br># NIC = [ network = "Private lab 3 LAN" ]<br><br># --- Placement options ---<br><br>RANK = FREECPU<br><br># --- Contextualization ---<br><br>CONTEXT = [<br> files = "/service/init.sh /service/certificates /service/service.conf" ]<br>
<br>Could anyone please guide me creating a vm in xen, with open nebula?<br><br>Thanks,<br>Saravanan Sundaramoorthy<br>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Best Regards,<br><br>Frederico de Oliveira<br>
</font></blockquote></div><br>