Hello, Is it possible to set the xen to boot the domU one by one when server starts, as currently we have 20 domU, and if boot them together, the the hard disk will be very very slow. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mr. Teo En Ming (Zhang Enming)
2009-Nov-07 16:28 UTC
Re: [Xen-users] boot the domU one by one when server starts
Hi, Are you currently using symlinks in /etc/xen/auto which point to guest config files in /etc/xen? Maybe you could write a system V init script or a custom script in /etc/rc.local which allows staggered creation of guests. Use some sort of delay. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com My Secondary Blog: http://enmingteo.wordpress.com My Youtube videos: http://www.youtube.com/user/enmingteo Email: space.time.universe@gmail.com Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore On Sun, Nov 8, 2009 at 12:21 AM, Jingyun He <jingyun.ho@gmail.com> wrote:> Hello, > Is it possible to set the xen to boot the domU one by one when server > starts, > as currently we have 20 domU, and if boot them together, the the hard > disk will be very very slow. > > Thanks. > > _______________________________________________ > 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
Laurent CARON
2009-Nov-07 18:11 UTC
Re: [Xen-users] boot the domU one by one when server starts
On 07/11/2009 17:21, Jingyun He wrote:> Hello, > Is it possible to set the xen to boot the domU one by one when server starts, > as currently we have 20 domU, and if boot them together, the the hard > disk will be very very slow. >Hi, cd /etc/xen/config/........ && for i in * do ...... (start VM, .....)...... sleep 60 (or whatever time you think is right to start a VM) done _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users