logo       

Re: [TMF411] Remove Gateway: msg#00336

sysutils.tivoli.tme10

Subject: Re: [TMF411] Remove Gateway





I think these steps are overkill.

All you really want to do is migrate all the endpoints that are on this
gateway to a new one and then delete the gateway.

I think the wep ls -g gateway command tries to run a method on the gateway,
which is why it may not return a result.

So it is probably easier, although you complain about how long it takes, to
use "wep ls" and parse the output with all the endpoints that are listed at
the epmgr as being logged into this gateway. Then use "wep migrate -f" to
move the endpoints to a new gateway. Deleting the gateway should be no
problem after that.


Gary R. Hamilton
Senior Software Engineer
IBM Software Group - Tivoli Software (UK)
Global Response Team - Europe/Middle East/Africa
(GRT - EMEA)
+44(0)1753-780-988
mobile: +44(0)780-820-3714
e-mail:hamilgar@xxxxxxxxxx
____________________________________________
AskTivoli - http://www-3.ibm.com/software/sysmgmt/products/support/
Web PMR submission - http://www-3.ibm.com/software/support/probsub.html



Demis Gonçalves
<demisgc@xxxxxxxx
r> To
Sent by: <tme10@xxxxxxxxxxxxxxxx>
owner-tme10@lists cc
.us.ibm.com
Subject
Re: [tme10] [TMF411] Remove Gateway
25/11/2004 12:27


Please respond to
tme10






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 -----
From: Demis Gonçalves
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@xxxxxxxxxxx

"Tivoli, love it or leave it!"
===========================





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise