[hobbit] bbcmd on clients does not set MACHINE and MACHINEDOTS
Dominique Frise a écrit :
Hi,
We noticed a problem when using bbcmd on clients for testing extension scripts: the variables exported in runclient.sh are not set.
At least MACHINE and MACHINEDOTS should be set for beeing able to test any client-side extension script (Big Brother style or Hobbit style).
Hi Henrik
I totally agree with Dominique : I'm currently "upgrading" Big Brother clients to Hobbit 4.1.2p1 clients, and some of my external scripts are run from other scripts (post-backup ones, for example).
Would it be possible to modify bbcmd to export MACHINE, MACHINEDOTS, BBOSTYPE and HOBBITCLIENTHOME, so we can run external scripts outside of Hobbit ?
Thanks in advance !
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
Hi Frédéric,
I'd prefer not to as we have to set some of these variables to different values because of several virtual aliases using one hobbit installation. Why don't you put a line in those scripts which reads those variables?
regards Rolf
Dominique Frise a écrit :
Hi,
We noticed a problem when using bbcmd on clients for testing extension scripts: the variables exported in runclient.sh are not set.
At least MACHINE and MACHINEDOTS should be set for beeing able to test any client-side extension script (Big Brother style or Hobbit style).
Hi Henrik
I totally agree with Dominique : I'm currently "upgrading" Big Brother clients to Hobbit 4.1.2p1 clients, and some of my external scripts are run from other scripts (post-backup ones, for example).
Would it be possible to modify bbcmd to export MACHINE, MACHINEDOTS, BBOSTYPE and HOBBITCLIENTHOME, so we can run external scripts outside of Hobbit ?
Thanks in advance !
-- Mit freundlichen Gruessen Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 Fax: (49) 69 - 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at rz.uni-frankfurt.de
On Wed, Jul 05, 2006 at 02:18:00PM +0200, Frédéric Mangeant wrote:
Dominique Frise a écrit :
Hi,
We noticed a problem when using bbcmd on clients for testing extension scripts: the variables exported in runclient.sh are not set.
At least MACHINE and MACHINEDOTS should be set for beeing able to test any client-side extension script (Big Brother style or Hobbit style).
I totally agree with Dominique : I'm currently "upgrading" Big Brother clients to Hobbit 4.1.2p1 clients, and some of my external scripts are run from other scripts (post-backup ones, for example).
Would it be possible to modify bbcmd to export MACHINE, MACHINEDOTS, BBOSTYPE and HOBBITCLIENTHOME, so we can run external scripts outside of Hobbit ?
Done now. HOBBITCLIENTHOME is decided based on the location of the environment file that is loaded, which should give the right result in any normal setup.
Regards, Henrik
participants (3)
-
frederic.mangeant@steria.com
-
henrik@hswn.dk
-
Schrittenlocher@rz.uni-frankfurt.de