HDS – Delete an agent for decommissioned array from Tuning Manager

Print Friendly, PDF & Email

So, you’ve decommissioned an array from your estate which was monitored by Tuning Manager. You will need to perform following steps in order to delete the entries for this array from Tuning Manager.

1. List installed agents


C:\ketan>"D:\Program Files (x86)\HiCommand\TuningManager\jp1pc\tools\jpcinslist.exe" agtd
TESTAMS01
TESTUSPV01

2. List installed service IDs

C:\ketan>"D:\Program Files (x86)\HiCommand\TuningManager\jp1pc\tools\jpcctrl.exe" list *

Host Name      ServiceID          Service Name      PID      Port     Status
---------      ---------          -------------     -------- -------- --------
TnMServer      PT1TnMServer       Status Server     308      22350    Active
TnMServer      PN1001             Name Server       7248     22285    Active
TnMServer      PM1001             Master Manager    7040     4604     Active
TnMServer      PS1001             Master Store      6972     4613     Active
TnMServer      PE1001             Correlator        388      4622     Active
TnMServer      PC2TnMServer       Trap Generator    5828     4623     Active
TnMServer      PP1TnMServer       View Server       7128     4633     Active
TnMServer      PH1TnMServer       Action Handler    7772     4725     Active
TnMServer      DS1TESTAMS01[TnMServer] Agent Store  6296     4815     Active
TnMServer      DS1TESTUSPV01[TnMServer] Agent Store 2576     4846     Active
TnMServer      DA1TESTAMS01[TnMServer] Agent Collector 6704  4820     Active
TnMServer      DA1TESTUSPV01[TnMServer] Agent Collector 2216 4852     Active

3. Delete the installed instance
C:\ketan>"D:\Program Files (x86)\HiCommand\TuningManager\jp1pc\tools\jpcinsunsetup" agtd -inst TESTAMS01

4. Delete the services (agent store and agent collector)

C:\ketan>"D:\Program Files (x86)\HiCommand\TuningManager\jp1pc\tools\jpcctrl.exe" delete DS1TESTAMS01[TnMServer]
C:\ketan>"D:\Program Files (x86)\HiCommand\TuningManager\jp1pc\tools\jpcctrl.exe" delete DA1TESTAMS01[TnMServer]

5. Stop the services

C:\ketan>"D:\Program Files (x86)\HiCommand\Base\bin\hcmdssrv.exe" /stop
KAPM05017-I Succeeded in stopping of service. service-name=HiCommand Performance Reporter
KAPM05017-I Succeeded in stopping of service. service-name=HiCommand Suite TuningService
KAPM05017-I Succeeded in stopping of service. service-name=HiCommand Suite TuningManager
KAPM05017-I Succeeded in stopping of service. service-name=HBase Storage Mgmt Common Service
KAPM05017-I Succeeded in stopping of service. service-name=HBase Storage Mgmt Web Service
KAPM06445-E HiRDB cannot be stopped because a Suite product is connected to HiRDB.

6. Wait for some time and verify the services have stopped in services.msc
HiCommand Performance Reporter, TuningManager, TuningServices, all services starting with PFM

7. Start the services

C:\ketan>"D:\Program Files (x86)\HiCommand\Base\bin\hcmdssrv.exe" /start
KAPM06440-I The HiRDB service has already started.
KAPM05016-I Succeeded in starting of service. service-name=HBase Storage Mgmt Web Service
KAPM05016-I Succeeded in starting of service. service-name=HBase Storage Mgmt Common Service
KAPM05016-I Succeeded in starting of service. service-name=HiCommand Suite TuningManager
KAPM05016-I Succeeded in starting of service. service-name=HiCommand Suite TuningService
KAPM05016-I Succeeded in starting of service. service-name=HiCommand Performance Reporter

8. Verify all the services have started

9. Launch TM and PF to verify.

sanaswati
Comments are closed.