Deleting all Seeds (227 Views)
Reply
Valued Contributor
Darryl Ho_1
Posts: 146
Registered: ‎10-11-2005
Message 1 of 3 (227 Views)
Accepted Solution

Deleting all Seeds

Hi all,

 

I would like to know if there any command that i can delete all seeds in on go? rather than selecting from the gui. thanks

Valued Contributor
gope
Posts: 51
Registered: ‎09-05-2005
Message 2 of 3 (219 Views)

Re: Deleting all Seeds

Hi Darryl,

 

There is a command in NNMi to delete a seed... i.e single seed using nnmseeddelete.ovpl

nnmseeddelete.ovpl — Remove seed from the NNM topology database

 

Unfortunately this command does not have option to specify for all seeds. Probably you might need to do what I did to delete some 300+ seeds ( we  dont use auto discovery ) from our NNMi production server...

 

From NNMi shell, execute :

for node in `cat /tmp/seeds.txt`; do /opt/OV/bin/nnmseeddelete.ovpl -seed $node -u NNMiadminUserName -p NNMiadminPassword; done

 

 

/tmp/seeds.txt - list of seeds ( one seed per line ) to be deleted.

 

Hope you get better answer.

Best Regards,
Gopinath Manickam

To show your appreciation, click KUDOS !!!
Valued Contributor
Darryl Ho_1
Posts: 146
Registered: ‎10-11-2005
Message 3 of 3 (209 Views)

Re: Deleting all Seeds

Hi Gopi,

 

Yea i also notice that the nnmseeddelete command only can remove one seed at a time. Anyway your idea is great. Thanks for sharing

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.