To: | "'nv-l@lists.us.ibm.com'" <nv-l@lists.us.ibm.com> |
---|---|
Subject: | RE: [nv-l] identical Netview environnement when modification |
From: | "Evans, Bill" <Bill.Evans@hq.doe.gov> |
Date: | Tue, 16 Nov 2004 10:43:19 -0500 |
Delivery-date: | Tue, 16 Nov 2004 15:44:55 +0000 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
This worked to keep two machines in sync at one account I worked. It was run every night from a cron job on the primary host and the trap sent to the backup host caused it to run there. It could as well be run manually or by cron on the backup machine. It may require some tuning and definitely requires trap definition on the backup machine. Happy reverse engineering. NETVIEW_BACKUP set -x
# do some periodic maintenance on the databases so we save clean ones
# Copy the content of the configuration and databases into a unique file
ovstart netmon # restart the network daemon # Compress the files so they will transfer quickly.
# Transfer the files to the backup server through the utility account
# Policy determination is that we will use {NFS|RCP|TFTP} initiated from the backup site
# Forward a unique custom trap to the backup host to initiate the companion restore on that system
# snmptrap [-d] [-t timeout] [-r retries] [-p port] [-c community]
NETVIEW_RESTORE #
set -x
# Copy the files from the primary server to this node using the utility ID
# Uncompress the files we received.
# Stop the NetView daemons for the duration of the restoration.
# Copy the content of the current local configuration and databases into unique files
# Restore the local configuration and databases from the primary server images
ovstart # restart the network daemon # Compress the local backup files so they will take less space.
# Reset the system names in the databases
# erase the incoming files
Bill Evans
-----Original Message-----
Hello List, netview 7.1.3 fp 1 (aix 5.2) I've had a request from my telecom department about finding a way
I mean, a script who copy all conf directories to another netview server or
Thanks
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nv-l] identical Netview environnement when modification, D'Apice, Dominic |
---|---|
Next by Date: | Re: [nv-l] 0.0.0.0 interfaces, Bartlomiej Grenda |
Previous by Thread: | [nv-l] identical Netview environnement when modification, D'Apice, Dominic |
Next by Thread: | Re: [nv-l] identical Netview environnement when modification, Jane Curry |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web