|
[TMF411] Remove Gateway: msg#00331sysutils.tivoli.tme10
Hallo, >remove an inactive gateway with the command wdelgate > but the tmr complains that the gateway has endpoints keep away from children ... this is dangerous code. #! /bin/sh GW="$1" EPMGR=`wlookup EndpointManager` # this is in wdelgate: # idlcall $EPMGR delete_gateways '{ 1 \"'$GWOID'\" }' GWOID=`wlookup -r Gateway "$GW" | cut -d# -f1` test -z "$GWOID" && exit 1 RMOID=`wlookup RepeaterManager` echo "Delete GW $GW, OID $GWOID" # nur zur Info, welche GW existieren: objcall $RMOID contents | fgrep tune_$TMR objcall $GWOID rmobj objcall $RMOID rmattr tune_$GWOID # das is neu: wdel /Library/Gateway/"$GW" mnod=`echo $GWOID | cut -d. -f2` objcall $TMR.$mnod.2 boot_method delete "$GWOID#TMF_Gateway::Gateway#" wregister -u -r Gateway "$GW" echo Recycle TMR server if [ "$OS" = "Windows_NT" ] then net stop oserv sleep 2 net start oserv else odadmin reexec 1 fi rm -f $DBDIR/epmgr.bdb/$GWOID.bdb rm -f $DBDIR/epmgr.bdb/$GWOID.log wchkdb -u Note: new Mobile/GSM/Natel number! Tschau...Thomas -- "Do you wanna be a legend or a passing footprint on the sands of time?" Senior Consultant, Tivoli Certified Enterprise Consultant + Instructor santix AG, www.santix.de, info-/JKUMw0Y9jazQB+pC5nmwQ@xxxxxxxxxxxxxxxx, fon +49-89-321506-0, fax -99 Weihenstephaner Str. 4, D-85716 Unterschleissheim, GSM +49-170-9135811 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [TMF411] Remove Gateway: 00331, Demis Gonçalves |
|---|---|
| Next by Date: | how to create mst file for endpoint installation?: 00331, Raluca Baciu |
| Previous by Thread: | Re: [TMF411] Remove Gatewayi: 00331, Demis Gonçalves |
| Next by Thread: | how to create mst file for endpoint installation?: 00331, Raluca Baciu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |