SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
check license dedicated storage node
Author Message
Post check license dedicated storage node 
Hi to all,
there is a way to check which client use a dedicated storage node?
And not with the guy, cause I have to do a report via scripts...
With nsrlic I don't see nothing.

Thank's a lot
Antonio

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post check license dedicated storage node 
Well, directly, you cannot. The only way is to call nsradmin and to gather
for each client, client name and storage node affinity :

nsradmin> show name,storagenode affinity
nsradmin> print type:nsr device

Then, parse the output and build an array for each entry in client storage
node affinity like perl sampl, substituing generic nsrhost/nsrserverhost
entries by your server name :

SN_ARRAY{$storage_node_name}{$client}=1;

Once all of the nsradmin output is parsed, count amount of client per
storage node.

if you have more than 1 client per SN, then it's a storage node.
if you have 1 client per SN, then it's a SAN/dedicated storage node.

Another trick is to gather from nsr device list (version 7+) for name and
attribute "dedicated storage node".

nsradmin> show name,dedicated storage node
nsradmin> print type:nsr device
Then, from the device names, eg rd=host:/devicename, split to isolate SN
name, removing rd= and :/device.
It will give you an idea, nothing preventing, in V7, a SN to have
dedicated device and normal device, acting as SN and SAN SN at the same
time.

HTH,

Th

Hi to all,
there is a way to check which client use a dedicated storage node?
And not with the guy, cause I have to do a report via scripts...
With nsrlic I don't see nothing.

Thank's a lot
Antonio

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu


Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB