[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] streaming server on a virtual machine.



Cool.

How do you multithread a script?

Is it just a matter of launching them in the back ground and going on to the next host w/o waiting for the script to complete?

SAs wanna know :)

- Brian

On Sep 28, 2009, at 12:42 PM, Nathan Eisenberg wrote:

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx ] On Behalf Of Brian Krusic
Sent: Monday, September 28, 2009 10:40 AM
To: John Madden
Cc: Grant McWilliams; xen-users; Mike Wright
Subject: Re: [Xen-users] streaming server on a virtual machine.

Thats a great question.

I provide my own repos which sync to Centos/Plus/RPMForge/Gitco upon
my choosing, normally once a month.

I then test any new updates before going live with a foreach loop,
yumming hosts in my list.

I did the same is an MS$ env and am unsure of a better way.  But I've
never managed more then 1,000 nodes.

Any one care to share there methodology?

- Brian
---------------------------------

This is precisely what I do, and it works very well. I have 'multithreaded' my script so that several systems update in parallel, so that it doesn't take -forever-. I've also broken it out into a couple processes for clustered environments (I have a lot of web clusters) so that only one web server in a cluster ever updates at once.

In essence, my methodology for handling updates to domUs matches my general attitude about them: treat them like normal machines, and use the oldschool voodoo handed down from our fore-admins to manage them. This wheel has already been built. :-)

Best Regards,
Nathan Eisenberg


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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.