Proper method of updating DRBL templates?

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

Proper method of updating DRBL templates?

by McEnroe, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm getting confused as to how system updates are made to carry over into DRBL's image for clients.

I used drblpush -c /etc/drbl/drblpush.conf for a while, but this whacks my nsswitch.conf file (with LDAP config) for the clients every time.  This also seems to restart NFS, hanging all active clients.

I tried using drbl-gen-ssi-files, but this only catches stuff I manually update in /tftpboot/nodes/x.x.x.x/

This came to a head when I upgraded Firefox on the host machine (Kubuntu Hardy).  A vital config file that was added to /etc, as well as dpkg updates (in /var/lib/dpkg/), was not carrying over, causing a headache trying to track down the reason Firefox wouldn't launch anymore.  While I was able to fix it manually, this is generating more overhead than should be necessary.

Is there some simpler, more effective method to updating the node_root when I do package updates on the host itself?
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Proper method of updating DRBL templates?

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



McEnroe, Michael wrote:

> I'm getting confused as to how system updates are made to carry over into DRBL's image for clients.
>
> I used drblpush -c /etc/drbl/drblpush.conf for a while, but this whacks my nsswitch.conf file (with LDAP config) for the clients every time.  This also seems to restart NFS, hanging all active clients.
>
> I tried using drbl-gen-ssi-files, but this only catches stuff I manually update in /tftpboot/nodes/x.x.x.x/
>
> This came to a head when I upgraded Firefox on the host machine (Kubuntu Hardy).  A vital config file that was added to /etc, as well as dpkg updates (in /var/lib/dpkg/), was not carrying over, causing a headache trying to track down the reason Firefox wouldn't launch anymore.  While I was able to fix it manually, this is generating more overhead than should be necessary.
>
> Is there some simpler, more effective method to updating the node_root when I do package updates on the host itself?
>  
Not really. "drblpush -c /etc/drbl/drblpush.conf" is the easiest one.
However, it does has the problem you mentioned. This is the limitation
of DRBL SSI mode. Since the template tarball is extracted when a client
boots, and the files of /etc/ and /var was extracted into it's RAM.

Regards,
Steven.

> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>  

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user