[one-users] Xen onevm - please give more information

marimuthu.balasubramanian at wipro.com marimuthu.balasubramanian at wipro.com
Thu Jan 15 07:31:42 PST 2009


Hi Javier,

Thanks for your valuable input. I found the reason. The front end
machine(wipro-desktop) requires ssh (without password) by itself to copy
the image from front end to node. Now onevm command is working. It is
running another virtual machine in the node1. But we are unable to open
console for the newly created virtual machine. Do you have any idea?
The error message is "console is not configured". We are using openSUSE
11 as OS.

I request you to give some more inputs to explore the openNEbula case
study 4. (http://www.opennebula.org/doku.php?id=documentation:uc4)

We have four machines 
1. First machine openNEbula installed on ubuntu OS.  - "Front end"

2. Second machine web server installed as "load balancer" on openSUSE
OS.
Note: Is it mandatory to monitor "load balancer" machine using
openNEbula.
We are planning to monitor only the nodes through openNEbula 
Can it be ok?

3. Third machine(node1 on openSUSE OS with Xen):  

4. Fourth machine(node2 on openSUSE OS with Xen): 

We are planning to follow below steps to create VM image
Separate machine (openSUSE OS with Xen).
1. Install web server and sample web application
2. Create VM  image for the virtual machine.
3. Transfer VM image through ftp to "Front end" machine. Here "Front
end" machine is also used as a image repository.

First I will run the onehost,onevnet and onevm commands for node1. the
openNEbula will transfer the VM image to node1 and run the new virtual
machine. 

Onevm command gives the status of the virtual machine. 

Is their any way to test the status web server using openNEbula?

What are commands I have to use to clone the image from node1 to node2?

How can I test whether the request is going to node1 or node2 using
openNEbula?

What are the monitoring and management capabilities are available in the
openNEbula?

Note: Configure node1 & node2 in the load balancer.

Regards
Marimuthu










-----Original Message-----
From: Javier Fontan [mailto:jfontan at fdi.ucm.es] 
Sent: Tuesday, January 13, 2009 8:25 PM
To: Marimuthu Balasubramanian (WT01 - Innovation Group)
Cc: ONE Users
Subject: Re: [one-users] Xen onevm - please give more information


Hello,

Log files are not telling much information, what version are you using?

The problem seems to be executing transfer scripts. To get more
information on how it can be crashing you can execute manually the
scripts this way:

$ bash -xv $ONE_LOCATION/lib/tm_commands/ssh/tm_clone.sh
wipro-desktop:/home/wipro/vm-image/disk0
10.101.102.41:/opt/VM_DIR/55/images/
disk.0

$ bash -xv $ONE_LOCATION/lib/tm_commands/ssh/tm_mkswap.sh 1024
10.101.102.41:/opt/VM_DIR/55/images/disk.1

Those are the commands executed for the transfer.0 file you have sent
me. I have just added -xv parameters to bash so it gives more
information on what is executing. I hope that this will tell us what is
happening.

Bye



On Jan 12, 2009, at 4:13 PM, marimuthu.balasubramanian at wipro.com wrote:

> Hi,
>
> Find the log files
>
> transfer.0.log
> CLONE wipro-desktop:/home/wipro/vm-image/disk0 10.101.102.41:/opt/ 
> VM_DIR/55/images/disk.0 MKSWAP 1024 
> 10.101.102.41:/opt/VM_DIR/55/images/disk.1
>
>
> VM.log
>
> Mon Jan 12 18:42:14 2009 [DiM][I]: New VM state is ACTIVE.
> Mon Jan 12 18:42:14 2009 [LCM][I]: New VM state is PROLOG.
> Mon Jan 12 18:42:14 2009 [TM][E]: Error excuting image transfer
> script: Error message not available
> Mon Jan 12 18:42:14 2009 [DiM][I]: New VM state is FAILED Mon Jan 12 
> 19:04:16 2009 [DiM][I]: New VM state is DONE.
>
>
> Regards
> Marimuthu
> Wipro Technologies
> Bangalore
>
>
>
> -----Original Message-----
> From: Javier Fontan [mailto:jfontan at fdi.ucm.es]
> Sent: Mon 1/12/2009 3:19 PM
> To: Marimuthu Balasubramanian (WT01 - Innovation Group)
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] Xen onevm - please give more information
>
>
> Hello,
>
> Could you please send vm.log and transfer.0 file located in 
> $ONE_LOCATION/var/<vmid> directory? vmid seems to be 47 from the 
> information you have sent us. In vm.log should me more information 
> about the command it was executing when it failed.
>
> Bye
>
> On Jan 12, 2009, at 5:05 AM, marimuthu.balasubramanian at wipro.com
> wrote:
>
> > Hi,
> >       Thanks for your reply. We are able to move further. But when
> we
> > submit VM template using "onevm" command the status is displayed as 
> > "failed". The following error message is logged in the log file.
> >
> > "Message received: TRANSFER FAILURE 47 Error message not available"
> >
> > The VM Template details are :
> > =============================
> >
> > NAME    = nodevm
> > CPU      = 0.5
> > MEMORY   = 128
> > OS       = [kernel="/boot/vmlinuz-2.6.25.18-0.2-xen",initrd=
> > "/boot/initrd-2.6.2 5.18-0.2.xen",root="sda4" ]
> > DISK     =
> > [source="/home/wipro/vm-image/disk0",target="sda4",readonly="no"]
> > DISK    =
> > [type="swap",size=1024,target="sdb"]
> > NIC     = [MAC = "00:03:0D:AD:D4:76",
> >            bridge = eth0"]
> >
> > Machine details are
> > ===================
> > 1.  Machine 1 (Front-end) at ip 10.101.102.66: This has  Open Nebula

> > installed on Ubuntu OS. The machine is NFS server. 2.  Machine 2
> > (node) at ip 10.101.102.46 : This has Xen installed on Open Suse 11 
> > (OS).
> >
> > The machine 2(Node) has boot partition at /dev/sda4 partion. My 
> > doubt is whether we have to specify "/dev/sda4" or just "sda4". I 
> > have just mentioned the "swap" as mentioned in the document. Is the 
> > swap details are related to machine 2(node).
> > What is criteria to specify the size of the swap?
> >
> > Regards
> > Marimuthu
>
> --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher 
> DSA Research Group: http://dsa-research.org Globus GridWay 
> Metascheduler: http://www.GridWay.org OpenNebula Virtual 
> Infrastructure Engine: http://www.OpenNebula.org
>
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive use of the 
> addressee(s) and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately and destroy all copies of this message and any 
> attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient 
> should check this email and any attachments for the presence of 
> viruses. The company accepts no liability for any damage caused by any

> virus transmitted by this email.
>
> www.wipro.com
>

--
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher DSA
Research Group: http://dsa-research.org Globus GridWay Metascheduler:
http://www.GridWay.org OpenNebula Virtual Infrastructure Engine:
http://www.OpenNebula.org


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com



More information about the Users mailing list