nv-l
[Top] [All Lists]

Re: [nv-l] Change TEC forwarding via command line?

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Change TEC forwarding via command line?
From: bill.kellam@worldspan.com
Date: Thu, 8 Jan 2004 12:07:21 -0500
Delivery-date: Thu, 08 Jan 2004 17:15:27 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF1BE36199.E2054478-ON87256E15.00527F13-85256E15.0052D169@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com



James, I have a failover script that I execute to flip flop my pair of
Netview servers to make one active and the other inactive. The respective
commands I use are these:

/usr/OV/bin/nv6000_smit tecint_conf '-Y' -s'TecServer' -p'5529'
-r'tecfwd.rs'";
/usr/OV/bin/nv6000_smit tecint_conf '-N' -s'TecServer' -p'5529'
-r'tecfwd.rs'";

Any thoughts on whether the nvtecia command would be a better choice? This
maintains state across a reboot (I think!). I got this straight off the
window that displays command status when reconfiguring tec forwarding from
the serversetup interface.

Regards,
Bill Kellam
Enterprise Integration and Management




                                                                           
             James Shanks                                                  
             <jshanks@us.ibm.c                                             
             om>                                                        To 
             Sent by:                  nv-l@lists.us.ibm.com               
             owner-nv-l@lists.                                          cc 
             us.ibm.com                                                    
                                                                   Subject 
                                       Re: [nv-l] Change TEC forwarding    
             01/08/2004 10:04          via command line?                   
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             nv-l@lists.us.ibm                                             
                   .com                                                    
                                                                           
                                                                           





nvserverd does not have to be bounced.
You can stop and start TEC forwarding dynamically, once it has been
initially set up, with the nvtecia  command.  It has two options.
        /usr/OV/bin/nvtecia  -stop
stop TEC forwarding.
        /usr/OV/bin/nvtecia -reload
cause nvserverd to reload the ruleset which is defined in the tecint.conf
file and begin forwarding again.
Note that this allows you to edit the file and change the rule name
whenever you  want to.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group

                                                                          
   "Treptow, Craig"                                                       
   <Treptow.Craig@principal.com>            To:        "NetView List      
   Sent by:                         (E-mail)" <nv-l@lists.us.ibm.com>     
   owner-nv-l@lists.us.ibm.com              cc:                           
                                            Subject:        [nv-l] Change 
                                    TEC forwarding via command line?      
   01/08/2004 09:44 AM                                                    
   Please respond to nv-l                                                 
                                                                          





Hi.  We are running Netview 7.1.3 on AIX 5.1.  We have a need to
temporarily stop forwarding events to TEC and would like to change this via
the command line over dial-up.

Reading the tecint.conf man page, I see:

"  The /usr/OV/conf/tecint.conf file contains definitions for the
forwarding
 of NetView events to TEC. The presence of this file will cause nvserverd
to
 attempt TEC forwarding. If absent, no forwarding to TEC will occur."

So, it appears we could temporarily rename the file.  The man page doesn't
seem to say whether or not we will need to bounce nvserverd.  Does anybody
know if we'll need to?


Thanks,

Craig





<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web