boot the domU one by one when server starts

View: New views
3 Messages — Rating Filter:   Alert me  

boot the domU one by one when server starts

by Jingyun He :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.xensource.com/xen-users

Re: boot the domU one by one when server starts

by Mr. Teo En Ming (Zhang Enming)-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
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@...> 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@...
http://lists.xensource.com/xen-users





_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users

Re: boot the domU one by one when server starts

by Laurent CARON-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.xensource.com/xen-users