Unsolved
This post is more than 5 years old
4 Posts
0
1877
March 20th, 2012 12:00
Creating a report on servers their nics and their vlans
I have a request to create a report/file with all the "hosts" in the
enterprise, their nics and the vlans attached to those nics.
I assume I would need to use asl, however I am not 100% confident
which objects I need.
Do I need "host->ComposedOf->NeighboringSystems->VLAN"????
Any help would be appreciated.
No Events found!
HockeyWeasel
27 Posts
0
September 12th, 2012 14:00
Hello,
You are correct about ASL. You do need to use ASL. As far as the objects goes, they also look right but please keep in mind that we do not discover "NICs", we discover "Interfaces" and "MACs".
Do you have the ASL Reference guide?
Hope this helps,
Regards,
-TJ
bkuhhirte
52 Posts
0
September 20th, 2012 10:00
There might be another way to do this. Generating a report from that type of object relationship traversal is something that I recall was a feature of the Perl Dashboard.
Regarding the traversal itself, it could be a little more complicated. There is a direct one-way relationshipset from the VLAN to the systems that participate via the VLAN::MemberSystems. They way it computes is the following (assuming the starting point is the VLAN):
NetworkAdapter(ComposedOf)->NeighboringSystems | RelayDevice(LayeredOver);
For the purposes of your report, you only want the first half of this - the second half refers to the L2 switching devices that are hosting the VLAN.
I think the traversal would be something similar to go from the VLAN to the Interface on the Host via:
NetworkAdapter(ComposedOf)->Peer
Regards,
Bill
HockeyWeasel
27 Posts
0
September 21st, 2012 07:00
Good morning,
Quick question for you, you indicated that "EMC told me...", Did you open an SR? if so can you email me the SR#? I can try to follow up with Support and get more detail on this.
Also, what is the version of your Smarts?
Regards,
TJ
EMC Technical Support Engineer III,
Ionix Smarts / NCM
VCP, EMCSA, EMCIE
65pony
4 Posts
0
September 21st, 2012 07:00
I ended up writing a perl script that walked the topology tree and reported the host->nic->switch->port->vlan.
What I am having issues with are teamed/bonded nics. For some reason the “cable” connection is not created when there are teamed/bonded nics so I am not able to report on them. Unfortunately the majority of our servers now use teaming and bonding.
EMC told me that this was due to the snmp agent not giving them the information they need to create the cable connection. I have not followed up with them however I really should follow up on this as this is now the “standard” server configuration.
65pony
4 Posts
0
September 21st, 2012 08:00
SR#45320638
showmount
9 Posts
0
September 21st, 2012 08:00
Please remove my email address from this list.
De: 65pony
Enviada em: sexta-feira, 21 de setembro de 2012 12:05
Para: Patricia Ellen Gonçalves de Lima
Assunto: New message: "Creating a report on servers their nics and their vlans"
EMC Community Network
Re: Creating a report on servers their nics and their vlans
created by 65pony in Ionix Support Forum - View the full discussion
ionthegeek
2 Intern
•
2K Posts
0
September 21st, 2012 11:00
Pedro, please don't post in every thread asking somebody to remove you from the list. If you are receiving e-mail from the community forums that you don't want, you should edit your notification preferences to disable it.
You can see and edit your e-mail notifications here:
https://community.emc.com/people/showmount?view=watches
HockeyWeasel
27 Posts
0
September 26th, 2012 14:00
Hello,
I will reply to you privately regarding that SR.
Regards,
TJ
EMC Technical Support Engineer III,
Ionix Smarts / NCM
VCP, EMCSA, EMCIE
65pony
4 Posts
0
September 28th, 2012 10:00
Hey TJ…. Have you tried to get a hold of me yet.