Posted on 14. Jan, 2013 by in EMC Install Guides, EMC Related, StorageResourceManagement.

 

 

If you’ve been following my install guide series for ProSphere 1.7 you know that we haveProSphere-ICON already installed the ProSphere vApp, we setup the discovery of the the VNX and in my last blog, we setup the discovery of the VMware Infrastructure.  The next step is to add in the fabric switch information.  In this case, we will be adding in 2(ea) Cisco Nexus switches.  Once we get this squared away, we will have a true end-to-end overview of our ProSphere discoverable environment.

So let’s get this fun started.

First things first, we need to make some changes to our switches.  For this you will need to SSH into the switches.

1. SSH into the Switch, and let’s make sure all the SNMP traps are enabled.  Run “show snmp trap” and you should see output that looks similar to below.   Notice some of the “No’s” on the enable side of the results.  We need to turn those into “yes’s” !

5 - Show SNMP Traps

2. To change these from “no” to “yes” run the following commands.  “Config terminal” and then type “snmp-server enable traps” hit enter and then to get out of that, hit control-z.  Then run “show snmp trap” again and you should see the changes.

6 - enable all snmp traps command line

3. Now we need to setup an SNMP community with READ Only capabilities.  First things first, run “show snmp community” to see if you already have something setup.  In my case, I had nothing. 

7a - show snmp community before

4. Now we need to run the “config terminal” command and then type “snmp-server community eccuser ro”.  This is going to create an eccuser account with read only access.

8 - adding eccuser readonly account

5.Now just run “show snmp community” again and you should see the eccuser info.  Now do this for each Cisco switch you want to discover.

9 - show snmp community

 

Moving on, we need to now go into ProSphere and set it up to discover these new switches. 

 

6.Log into ProSphere, click on Discovery, then access credentials and then “create access credentials”  If you followed my last couple of blogs, you can probably guess what the next few steps will be Smile

10 - prosphere - discovery - add cred

7. For these Cisco switches, I’m using SNMP v1/v2 but you will also see a version for SNMP v3 – I’m following the v1/v2 process so choose that option, name the Access Credentials and then enter in the community user name – in this case it’s eccuser.  Now click okay.

11 - setup SNMP 2 and add community info eccuser

8.Now let’s create a Discovery Job, click on it towards the top and then click ‘”Create Job”.

13 - create new job

9. Now click the check box for Switches and then add the IP address of each switch in below.  Just click the PLUS sign to add another switch. 

15 - click on switches and then add ip of switch

10. In this window, you just want to add the cisco credentials we created in step 7 to the selected access credentials list and then click finish.

16 - click on the cisco credentials on the left side and click add

11. You should now be back at the Discovery Jobs section, and you should see your Cisco Discovery job has been created, but has never run.  Click on that job, and then click RUN.

17 - verify the job was created - notice its never been run before - now click run

12. If you set everything up correctly, you can hit the refresh button on that section and see that it changes from Never Run to 100% Complete.

18 - job completed

13. Let’s go see what it discovered.  Click on Objects List and then click on Switches.

19 - lets click on object list and then switches

14. From here I can see that it found both of my Nexus switch’s and it shows me the various information for them.  Pretty Cool….but wait…there is more Smile

20 - in objects list - switches i see the 2 nexus switches

15. Now under the Objects Tab, click on Hosts and let’s go check out a vSphere Physical Host, in this case I’m going to pick Lotus.

21 - click on hosts and lets click on lotus

16.Look at the pretty picture!  I can see that ProSphere has put together that my vSphere Host, is connected into both switches and then connected into a VMAX array.  I can also see various information on the host as well but the net-net is I get a nice overview drawing of how my server is connected into my array.  At least as far as ProSphere can see. 

22 - notice we now have end to end topology view including multiple paths

17. Now that I can see the host, switch and storage, I can view performance information on those device.  More pretty pictures !

23 - now i can see performance info etc

 

So there you have it!!  Easy Peasy.  Just to recap:

We did the following:

 

VERY COOL !! 

@vTexan

 

 

 

 

Facebook Twitter Linkedin Email Snailmail

2 Responses to “Setting up ProSphere to discover Cisco Switches”

 
  1. Anonymous says:

    [...] Anonymous says: January 14, 2013 at 4:03 pm [...]

  2. Rao says:

    How do i discover Brocade Switches, I tried searching SNMP v2/V3 and Brocade database options and didn’t get much success, any help would be appreciated


Leave a Reply


 

wordpress visitors
The opinions expressed here are my personal opinions. Content published here is not read or approved in advance by EMC and does not necessarily reflect the views and opinions of EMC nor does it constitute any official communication of EMC.