Re: NNMi 9 : Dump Nodes by NodeGroup (579 Views)
Reply
Occasional Advisor
Alexis Villebrun
Posts: 11
Registered: ‎12-09-2008
Message 1 of 6 (580 Views)
Accepted Solution

NNMi 9 : Dump Nodes by NodeGroup

Hi,

I'm looking for a way to dump all nodes that belongs to a specific NodeGroup name.

I have created my nodegroups with commandline options, nodes are although created with nnmloadseed and I extend nodeinfo with custom attributes that are used for nodegroup.

I managed to dump NodeGroups
I managed to dump Nodes

But I didn't manage to get a list of nodes by nodegroups.

Did someone already do that ?

Regards,

Alexis Villebrun
Trusted Contributor
AlexanderH
Posts: 172
Registered: ‎06-13-2006
Message 2 of 6 (580 Views)

Re: NNMi 9 : Dump Nodes by NodeGroup

Hi Alexis,

The correct syntax to view which nodes are member of node_groups is:
%NnmInstallDir%\support\nnmtwiddle.ovpl invoke com.hp.ov.nms.monitoring:mbean=NodeGroupAssignmentCacheService dumpCacheForGroup

HTH
Alexander
Occasional Advisor
Alexis Villebrun
Posts: 11
Registered: ‎12-09-2008
Message 3 of 6 (579 Views)

Re: NNMi 9 : Dump Nodes by NodeGroup

Thank you so much Alexander, it does exactly what I wanted to !

Do you know where I can get more information on usage of this script ?

The usage information when called with no parameter isn't very detailed.

Regards,

Alexis Villebrun
Trusted Contributor
AlexanderH
Posts: 172
Registered: ‎06-13-2006
Message 4 of 6 (579 Views)

Re: NNMi 9 : Dump Nodes by NodeGroup

Hi Alexis,

sorry, I do not know of any written documentation on this support tool.

But, here's another one (also extracted from the forum):
if you want to know which node groups a node is in, you may find out from the following command line:
%NnmInstallDir%\support\nnmtwiddle.ovpl invoke com.hp.ov.nms.monitoring:mbean=NodeGroupAssignmentCacheService dumpCacheForNode

Alexander
Occasional Advisor
Alexis Villebrun
Posts: 11
Registered: ‎12-09-2008
Message 5 of 6 (579 Views)

Re: NNMi 9 : Dump Nodes by NodeGroup

Thanks !

Really appreciate your help !
Occasional Advisor
Alexis Villebrun
Posts: 11
Registered: ‎12-09-2008
Message 6 of 6 (579 Views)

Re: NNMi 9 : Dump Nodes by NodeGroup

AlexanderH gave me the solution to this question.

Now closing this thread :)
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.