logo       

Re: [TMF411] Remove Gateway: msg#00330

sysutils.tivoli.tme10

Subject: Re: [TMF411] Remove Gateway

I found a solution right now!!! Really won´t be easy
 
To do so you'll need to follow these steps from the TMR Server:
1. GOID=`wlookup -or Gateway <gw_name>`
2. wregister -ur Gateway <gateway_name>
3. wrpt -r <managed node name, that the gateway exists on>
4. GCOID=`wlookup -or Classes Gateway`
5. rm $DBDIR/epmgr.bdb/$GOID.*
6. idlattr -tg $GCOID prototypes TMF_Types::ObjectList > file.txt
Edit "file.txt" reducing the 1st number by 1 and removing
reference(the pair of braces) to the appropriate dispatcher.
7. idlattr -ts $GCOID prototypes TMF_Types::ObjectList < file.txt
8. wchknode -u <disp# of Gateway>
9. Wait until wchknode completes
10. wrm /Library/Gateway/<gateway_name>
11. objcall $GOID rmobj
12. wep ls, wgateway, wlookup -ar Gateway, wls -o /Library/Gateway to
verify.
13. wchkdb -u
14. wepmgr restart
----- Original Message -----
To: TME10
Sent: Thursday, November 25, 2004 10:20 AM
Subject: [tme10] [TMF411] Remove Gateway

Hi, Im trying to remove an inactive gateway with the command wdelgate but the tmr complains that the gateway has endpoints being managed by the gateway. The gateway machine was formated and now I need to reinstall it, but before i need remove it from TMR DB. 
 
If i try the command wep ls -g gatename to list the ep´s on the gateway nothing happens. How i will discovery the endpoints that are assigned for that gateway? A wep ls command only will take long time to run because we have about 5k ep´s.
 
Any ideas?
 
===========================
Demis Gonçalves
Sr. Support Analyst
NetControl Network Management
São Paulo - Brazil
Mobile: 55 11 9904-9684
Office : 55 11 3227-2872
e-mail: demisc-9S5JqFOGmfEIdKJ7tpkyPg@xxxxxxxxxxxxxxxx
 
"Tivoli, love it or leave it!"
===========================
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise