[Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely
2004-07-28 21:42:28
Subject: |
[Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely |
From: |
David Rock <dave-bu AT graniteweb DOT com> (David Rock) |
Date: |
Wed, 28 Jul 2004 20:42:28 -0500 |
--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Mark.Donaldson AT cexp DOT com <Mark.Donaldson AT cexp DOT com> [2004-07-27
10:46]:
> I've got a wide enterprise of clients & I need to alter the bp.conf file
> (and the Windows equivalent) remotely.=20
>=20
> Specifically, I've got to cleanup the "SERVER=3D" and "MEDIA_SERVER=3D" e=
ntries
> without altering all the rest of the bp.conf file's entries. There's a
> bunch of SERVER=3D entries the need to be pulled and another bunch of
> MEDIA_SERVER=3D entries to be added.
>=20
> Is there a nifty-cool way to do this that doesn't require root to be able=
to
> remote-shell (rsh, ssh, etc) to the client? I've played with bpsetconfig=
&
> bpconfig but they're not going to to it.
What part of bpsetconfig doesn't work? I have 400+ clients that I've
updated this way.
Create a file with the new SERVER=3D entries
(e.g. /tmp/serverlist:
SERVER =3D master1
SERVER =3D media1
SERVER =3D media2
)
then cat the file into bpsetconfig
for client in client1 client2 client3
do
cat /tmp/serverlist | bpsetconfig -h $client
done
What else do you need?
The one thing you do have to watch for is that the clients can resolve
the new servernames properly.
--=20
David Rock
david AT graniteweb DOT com
--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBCFYEMrO4/Yb/xwYRAt37AJ9+6zUo/4jdOP0J8XXaeN9lOwiWLgCgjv4f
Xb6A7BC5NYrlcWtW2bJUf0g=
=ceDn
-----END PGP SIGNATURE-----
--zYM0uCDKw75PZbzx--
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Mark.Donaldson AT cexp DOT com
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely,
David Rock <=
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Pearce, Andrew W.
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, William Enestvedt
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Mark.Donaldson AT cexp DOT com
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, David Chapa
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Pearce, Andrew W.
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Mark.Donaldson AT cexp DOT com
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Pearce, Andrew W.
- [Veritas-bu] Cmd-line method to alter SERVER= & MEDIA_SERVER entries remotely, Kendall, Scott APX
|
|
|