________________________________
From: [EMAIL PROTECTED] on behalf of Andrea Righi Sent: Fri 3/16/2007 11:45 AM To: [email protected] Subject: Re: [sisuite-users] Cool! You should try to use the BitTorrent trasnport. It strongly reduces the load on the image server and you should see a huge improvement in the total time of deployment... obviously only if you'll have to reimage your clients... Right on! Well, I'm trying to put together documentation so that my successor will be able to continue working with the system I've set up after I'm gone, so I'll definitely look into setting up bittorrent. I take it that if I compiled from source with make install_server_all that I've got the bittorrent stuff already installed? I've introduced, only in the trunk for now, the new command si_pushoverrides. This implements a new different approach to distribute files to the clients. *snip* The second approach can be used to reset the image to a known state. The command si_updateclient, in fact, performs a re-sync of the whole client filesystem (except some customizable exclusions, see /etc/systemimager/updateclient.local.exclude). *snip* Awesome, /etc/systemimager/updateclient.local.exclude is precisely what I needed to know about. Now I can set it so that the contents of the teacher and student account are left alone, but the entire contents of the administrator account are updated. I don't know how your pushoverrides command will work, but this is what I'm doing right now: I have the differences between clients manifest by setting it up so that on boot, via /etc/rc.local the workstations check to see if their MAC Address (I can't rely on IP addresses since I don't control the DHCP server, so I grep ifconfig for the physical hardware address of the network card) matches that of the Golden Client. If it does, then it knows that it doesn't need to do a damned thing. If it doesn't it next checks to see if /etc/hosts.conf contains the string "nordx--image" (which is the hostname of my golden clients), if it does it launches a script that configures that client. This involves: Grabbing a comma-delimited text file from an apache server that contains a list of MAC addresses and workstation names. Depending on what workstation name is assigned to the local MAC address, we change the hostname in /etc/samba/smb.conf (for windows interoperability) /etc/hostname and /etc/hosts. We remove unnecessary printers and redirect applicable printers to the correct IP address based on the classroom we're in. We destroy the teacher account if we're not at a teacher's desk. And we shut down. So if I set a classroom to image at the end of a school day, they will image, reboot, go through this configuration script, and shutdown for the evening. The next time it reboots it will be the workstation it was meant to be. It's a little convoluted, but it works. I hope this finds you all having a great day! Simón ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
