<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:10pt"><div><span class="Apple-style-span" style="font-size: medium;"><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><span class="Apple-style-span" style="font-size: medium;">Hello</span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><span class="Apple-style-span" style="font-size: medium;"><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><span class="Apple-style-span" style="font-size: medium;">      Thanks for the reply. Now I use </span><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; "><span class="Apple-style-span" style="font-size: medium;">virsh -c "xen:///" define libvirt-ttylinux.xml (domain is created) and "virsh
 start ttyimage"  the image starts and shuts down immediately. This time I can view the domain even after the shut down.</span></span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;">So is there any reason for the image being shutdown immediately?</span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font
 class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;">What else should I check??</span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;">Thanks in advance.</span></font></div><div style="font-family: 'times new roman', 'new york', times, serif; "><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><font class="Apple-style-span" face="arial,
 helvetica, sans-serif"><br></font><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"></font>> Hello,<br>> <br>>   I am using Scientific Linux 5.4 and xen. I want to deploy a sample ttyimage by creating a domain using virsh create.<br>> <br>> My configuration file is :<br>> -----------------------------------------------------------------------------------------------------<br>> <?xml version="1.0" encoding="utf-8"?><br>> <domain type='xen'><br>>     <name>ttyimage</name><br>>     <os><br>>         <type>linux</type><br>>         <kernel>/boot/vmlinuz-2.6.18-164.2.1.el5xen</kernel><br>>      </os><br>>     <memory>65536</memory><br>>     <vcpu>1</vcpu><br>> 
    <on_poweroff>destroy</on_poweroff><br>>     <on_reboot>restart</on_reboot><br>>     <on_crash>destroy</on_crash><br>>     <devices><br>>         <graphics type='vnc' port='5900'/><br>>         <disk type='file'><br>>             <source file='/usr/local/ttylinux-xen-libvirt/ttylinux-xen.img' /><br>>             <target dev='sda' /><br>>         </disk><br>>         <interface type='bridge'><br>>             <source bridge='virbr0' /><br>>             <mac address='00:1d:60:ec:ae:1c' /><br>>             <target dev='testnimb-0' /><br>>     
    </interface><br>>     </devices><br>> </domain><br>> -------------------------------------------------------------------------------------------------------<br>> <br>> when I use  "virsh -c "xen:///" create libvirt-ttylinux.xml " to create a domain, the domain is crated and i can view the image (in paused mode) using the virt-manager. and when I resume the image it ,disappears (domain gets destroyed) after nearly 10 seconds.....<br>>  Further when I use vncviewer localhost::5900 when the image is running (during the 10 sec) ,i can view the console. But it closes once the domain is destroyed.<br>> <br>> Can someone explain why the image is not stable??? how can I make the domain to be stable????<br>> <br>> Thanks in advance<br><br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br>Using 'virsh create guest.xml' cmds can simply activate the guest, which
 only exist active domain instead of define domain,<br>and the guest will disappear if it isn't in define domain and you carry out some operations, e.g. 'destroy' or 'shutdown' or<br>'save' etc. so you should correctly use virsh cmds:<br>FYI,<br>virsh -c xen:/// define libvirt-ttylinux.xml<br>virsh start guestname<br><br>Alex<br></div></div><div style="position:fixed"></div>


</div><br>Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php</body></html>