Hi every one, I''m ASHOK VARMA I want to automate the Guest OS installation on many systems (same h/w configuration ) in Paravirtualization mode which inludes the following:: 1. I need a script to achive automation 2. User has to give target IP address of Dom0 3. After that general options like RAM,kernel,disk image etc... taken as input Is there any script that is available already to achive similar task??? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
use kickstart 2008/9/12 ashok varma <project.xen@gmail.com>:> Hi every one, > I''m ASHOK VARMA > > > I want to automate the Guest OS installation on many systems (same h/w > configuration ) in Paravirtualization mode which inludes the following:: > > 1. I need a script to achive automation > 2. User has to give target IP address of Dom0 > 3. After that general options like RAM,kernel,disk image etc... > taken as input > Is there any script that is available already to achive similar task??? > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/09/2008, at 8:03 PM, ashok varma wrote:> Hi every one, > I''m ASHOK VARMA > > > I want to automate the Guest OS installation on many systems (same h/ > w configuration ) in Paravirtualization mode which inludes the > following:: > > 1. I need a script to achive automation > 2. User has to give target IP address of Dom0 > 3. After that general options like RAM,kernel,disk image > etc... taken as input > Is there any script that is available already to achive similar > task???You didn''t mention what guest OS you''re trying to install. I do the above (if I understand you correctly) for RHEL and CentOS domUs with a combination of DHCP and kickstart files. -Tom _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear Tom Lanyon, I want to install fedora 8 as DomU . In the past i installed Fedora 8 as DomU on Fedora 8 DomU by manually i.e configuring guestOS config file as kernel,RAM disk, etc.... On Fri, Sep 12, 2008 at 4:50 PM, Tom Lanyon <tom@netspot.com.au> wrote:> On 12/09/2008, at 8:03 PM, ashok varma wrote: > > Hi every one, >> I''m ASHOK VARMA >> >> >> I want to automate the Guest OS installation on many systems (same h/w >> configuration ) in Paravirtualization mode which inludes the following:: >> >> 1. I need a script to achive automation >> 2. User has to give target IP address of Dom0 >> 3. After that general options like RAM,kernel,disk image etc... >> taken as input >> Is there any script that is available already to achive similar task??? >> > > > You didn''t mention what guest OS you''re trying to install. > > I do the above (if I understand you correctly) for RHEL and CentOS domUs > with a combination of DHCP and kickstart files. > > -Tom >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I facing one more new problem ..... I''m trying to install DomU using virt-install through http (localhost) but i''m getting the following error:::- Below is log ........... ===================* Log Starts*==================[root@Hadoop10 u]# virt-install What is the name of your virtual machine? test How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (path)? /home/hadoop/newguest/test How large would you like the disk (/home/hadoop/newguest/test) to be (in gigabytes)? 4 Would you like to enable graphics support? (yes or no) yes What is the install location? http://192.168.3.173/u/ Starting install... libvir: Xen Daemon error : GET operation failed: Invalid URL location given: [Errno 14] HTTP Error 404: Not Found Domain installation may not have been successful. If it was, you can restart your domain by running ''virsh start test''; otherwise, please restart your installation. Fri, 12 Sep 2008 20:42:37 ERROR Invalid URL location given: [Errno 14] HTTP Error 404: Not Found Traceback (most recent call last): File "/usr/sbin/virt-install", line 485, in <module> main() File "/usr/sbin/virt-install", line 449, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 722, in start_install self._prepare_install(meter) File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 48, in _prepare_install self._installer.prepare(guest = self, meter = meter) File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 681, in prepare self._prepare_kernel_and_initrd(guest, distro, meter) File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 651, in _prepare_kernel_and_initrd distro = distro) File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 581, in acquireKernel progresscb=progresscb, distro=distro, scratchdir=scratchdir) File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 564, in _storeForDistro if store.isValidStore(fetcher, progresscb): File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 445, in isValidStore ignore = fetcher.acquireFile("directory.yast", progresscb) File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 86, in acquireFile raise ValueError, _("Invalid URL location given: ") + str(e) ValueError: Invalid URL location given: [Errno 14] HTTP Error 404: Not Found ===================* End of log*===================================== Any idea .............. On Fri, Sep 12, 2008 at 8:46 PM, ashok varma <project.xen@gmail.com> wrote:> > Dear Tom Lanyon, > > I want to install fedora 8 as DomU . In the past i installed Fedora 8 as > DomU on Fedora 8 DomU by manually i.e configuring guestOS config file as > kernel,RAM disk, etc.... > > > > On Fri, Sep 12, 2008 at 4:50 PM, Tom Lanyon <tom@netspot.com.au> wrote: > >> On 12/09/2008, at 8:03 PM, ashok varma wrote: >> >> Hi every one, >>> I''m ASHOK VARMA >>> >>> >>> I want to automate the Guest OS installation on many systems (same h/w >>> configuration ) in Paravirtualization mode which inludes the following:: >>> >>> 1. I need a script to achive automation >>> 2. User has to give target IP address of Dom0 >>> 3. After that general options like RAM,kernel,disk image etc... >>> taken as input >>> Is there any script that is available already to achive similar task??? >>> >> >> >> You didn''t mention what guest OS you''re trying to install. >> >> I do the above (if I understand you correctly) for RHEL and CentOS domUs >> with a combination of DHCP and kickstart files. >> >> -Tom >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Easy... fedorahosted.org/cobbler Automates the whole think, does bear metal hardware installs and virtual installes (Xen DOMu's or KVM) Sent from my BlackBerry® wireless device -----Original Message----- From: "ashok varma" <project.xen@gmail.com> Date: Fri, 12 Sep 2008 16:03:33 To: <xen-users@lists.xensource.com> Subject: [Xen-users] GuestOS Automation _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ashok varma wrote:> I facing one more new problem ..... > I''m trying to install DomU using virt-install through http > (localhost) but i''m getting the following error:::- > Below is log ........... > > ===================* Log Starts*==================> [root@Hadoop10 u]# virt-install > What is the name of your virtual machine? test > How much RAM should be allocated (in megabytes)? 256 > What would you like to use as the disk (path)? /home/hadoop/newguest/test > How large would you like the disk (/home/hadoop/newguest/test) to be > (in gigabytes)? 4 > Would you like to enable graphics support? (yes or no) yes > What is the install location? http://192.168.3.173/u/ > > > Starting install... > libvir: Xen Daemon error : GET operation failed: > Invalid URL location given: [Errno 14] HTTP Error 404: Not Found > Domain installation may not have been > successful. If it was, you can restart your domain > by running ''virsh start test''; otherwise, please > restart your installation. > Fri, 12 Sep 2008 20:42:37 ERROR Invalid URL location given: [Errno > 14] HTTP Error 404: Not FoundIsn''t the reason clear from this? --Sadique> Traceback (most recent call last): > File "/usr/sbin/virt-install", line 485, in <module> > main() > File "/usr/sbin/virt-install", line 449, in main > dom = guest.start_install(conscb,progresscb) > File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 722, > in start_install > self._prepare_install(meter) > File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", > line 48, in _prepare_install > self._installer.prepare(guest = self, meter = meter) > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > line 681, in prepare > self._prepare_kernel_and_initrd(guest, distro, meter) > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > line 651, in _prepare_kernel_and_initrd > distro = distro) > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > line 581, in acquireKernel > progresscb=progresscb, distro=distro, scratchdir=scratchdir) > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > line 564, in _storeForDistro > if store.isValidStore(fetcher, progresscb): > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > line 445, in isValidStore > ignore = fetcher.acquireFile("directory.yast", progresscb) > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > line 86, in acquireFile > raise ValueError, _("Invalid URL location given: ") + str(e) > ValueError: Invalid URL location given: [Errno 14] HTTP Error 404: Not > Found > > ===================* End of log*=====================================> > Any idea .............. > > On Fri, Sep 12, 2008 at 8:46 PM, ashok varma <project.xen@gmail.com > <mailto:project.xen@gmail.com>> wrote: > > > Dear Tom Lanyon, > > I want to install fedora 8 as DomU . In the past i installed > Fedora 8 as DomU on Fedora 8 DomU by manually i.e configuring > guestOS config file as kernel,RAM disk, etc.... > > > > On Fri, Sep 12, 2008 at 4:50 PM, Tom Lanyon <tom@netspot.com.au > <mailto:tom@netspot.com.au>> wrote: > > On 12/09/2008, at 8:03 PM, ashok varma wrote: > > Hi every one, > I''m ASHOK VARMA > > > I want to automate the Guest OS installation on many > systems (same h/w configuration ) in Paravirtualization > mode which inludes the following:: > > 1. I need a script to achive automation > 2. User has to give target IP address of Dom0 > 3. After that general options like RAM,kernel,disk > image etc... taken as input > Is there any script that is available already to achive > similar task??? > > > > You didn''t mention what guest OS you''re trying to install. > > I do the above (if I understand you correctly) for RHEL and > CentOS domUs with a combination of DHCP and kickstart files. > > -Tom > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear Sadique Puthen, I can able to access the url " http://192.168.3.173/u/" form the web browser. There is no problem of Error 404 in the browser. i face 404 error when using virt-install only!! On Sat, Sep 13, 2008 at 2:39 AM, Sadique Puthen <sputhenp@redhat.com> wrote:> ashok varma wrote: > > I facing one more new problem ..... > > I''m trying to install DomU using virt-install through http > > (localhost) but i''m getting the following error:::- > > Below is log ........... > > > > ===================* Log Starts*==================> > [root@Hadoop10 u]# virt-install > > What is the name of your virtual machine? test > > How much RAM should be allocated (in megabytes)? 256 > > What would you like to use as the disk (path)? > /home/hadoop/newguest/test > > How large would you like the disk (/home/hadoop/newguest/test) to be > > (in gigabytes)? 4 > > Would you like to enable graphics support? (yes or no) yes > > What is the install location? http://192.168.3.173/u/ > > > > > > Starting install... > > libvir: Xen Daemon error : GET operation failed: > > Invalid URL location given: [Errno 14] HTTP Error 404: Not Found > > Domain installation may not have been > > successful. If it was, you can restart your domain > > by running ''virsh start test''; otherwise, please > > restart your installation. > > Fri, 12 Sep 2008 20:42:37 ERROR Invalid URL location given: [Errno > > 14] HTTP Error 404: Not Found > > Isn''t the reason clear from this? > > --Sadique > > > Traceback (most recent call last): > > File "/usr/sbin/virt-install", line 485, in <module> > > main() > > File "/usr/sbin/virt-install", line 449, in main > > dom = guest.start_install(conscb,progresscb) > > File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 722, > > in start_install > > self._prepare_install(meter) > > File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", > > line 48, in _prepare_install > > self._installer.prepare(guest = self, meter = meter) > > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > > line 681, in prepare > > self._prepare_kernel_and_initrd(guest, distro, meter) > > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > > line 651, in _prepare_kernel_and_initrd > > distro = distro) > > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > > line 581, in acquireKernel > > progresscb=progresscb, distro=distro, scratchdir=scratchdir) > > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > > line 564, in _storeForDistro > > if store.isValidStore(fetcher, progresscb): > > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > > line 445, in isValidStore > > ignore = fetcher.acquireFile("directory.yast", progresscb) > > File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", > > line 86, in acquireFile > > raise ValueError, _("Invalid URL location given: ") + str(e) > > ValueError: Invalid URL location given: [Errno 14] HTTP Error 404: Not > > Found > > > > ===================* End of log*=====================================> > > > Any idea .............. > > > > On Fri, Sep 12, 2008 at 8:46 PM, ashok varma <project.xen@gmail.com > > <mailto:project.xen@gmail.com>> wrote: > > > > > > Dear Tom Lanyon, > > > > I want to install fedora 8 as DomU . In the past i installed > > Fedora 8 as DomU on Fedora 8 DomU by manually i.e configuring > > guestOS config file as kernel,RAM disk, etc.... > > > > > > > > On Fri, Sep 12, 2008 at 4:50 PM, Tom Lanyon <tom@netspot.com.au > > <mailto:tom@netspot.com.au>> wrote: > > > > On 12/09/2008, at 8:03 PM, ashok varma wrote: > > > > Hi every one, > > I''m ASHOK VARMA > > > > > > I want to automate the Guest OS installation on many > > systems (same h/w configuration ) in Paravirtualization > > mode which inludes the following:: > > > > 1. I need a script to achive automation > > 2. User has to give target IP address of Dom0 > > 3. After that general options like RAM,kernel,disk > > image etc... taken as input > > Is there any script that is available already to achive > > similar task??? > > > > > > > > You didn''t mention what guest OS you''re trying to install. > > > > I do the above (if I understand you correctly) for RHEL and > > CentOS domUs with a combination of DHCP and kickstart files. > > > > -Tom > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users