Configuring WWxN Pools in UCS

In UCS we can create these things called WWxN pools.  The “x” in WWxN can stand for either “N” node, or “P” port.  This is essentially a pool that you can use for all of your WWN assignments without having to create separate WWNN and WWPN pools.  For people who don’t necessarily care about a schema to signify the difference between WWNN and WWPN, maybe the streamlined WWxN pool is for you.

Navigate to SAN > Pools and create a WWxN Pool

wwxn-1

 

Give it a groovy name, and then check out the next option – Max Ports per Node.  We have a few choices.

wwxn-2

Quite unusual options considering typically your servers are only going to have a pair of vHBAs, and if they happen to have more, they’re likely in pairs.  When creating the pool, you will need to add 1 to this value to account for the WWNN, as you’ll see below.  So if we were to choose “3 Ports Per Node,” this would allow us to assign 1 WWNN and up to 3 WWPNs per blade.  I agree with the knowledgable Robert Burns that these options should probably be corrected to 2, 4, 8, 16, 32. 64, rather than 3, 7, 15, 31, 63, but hey, we work with what we get, right?

Select 3 Ports Per Node and click Next.  For grins, let’s try adding a block of just 3 WWNs:

wwxn-4

Click OK and Finish

wwxn-5

Failed.  Remember, you must always add 1 to the ports per node value you that you choose.  This is to account for the WWNN.  Let’s go back and change this to 4, and finish.

wwxn-6

 

wwxn-9

Now that we have the pool created, we can use it!  You are free to use this wherever you previously could specify a WWNN pool or WWPN pool.

First, we’ll create a vHBA Template.  What you want to do is set the WWPN Pool to “derived“.  When you attach this template to a Service Profile, you’ll choose your WWxN pool for your WWNN assignment, thereafter your WWPN assignments will be derived.

wwxn-10

When creating your Service Profile Storage setting, choose Expert, and set the WWNN Assignment to your WWxN pool.  Then click Add to create some vHBAs.

wwxn-12

We’ll create 2 vHBAs based on the template:

wwxn-14

Notice we have WWN assignments pulled from our WWxN pool:

wwxn-15

We can also manually create vHBAs, just remember to choose Derived for the WWPN assignment:

wwxn-13

We now have 3:

wwxn-16

That’s really all there is to it.

What happens if you add more vHBAs than your Max Ports Per Node setting?

I would like to point out one more thing – The “Max Ports per Node” value that you choose is important.  If you ever wanted to have 4 vHBAs here on this host, you would never be able to.  Even if I added more WWNs to the WWxN block, they would never be usable if your “Max Ports per Node” has already been reached.

For example, I created a new WWxN pool with a block of 32 addresses (max ports still set to 3), and a new Service Profile using this pool.  Notice below if I add another vHBA, it’s WWPN assignment is stuck in “Derived”:

Screenshot_111314_122954_PM

Let’s add another.

Screenshot_111314_123024_PM

Because we have already met our max ports per node, these WWPNs will never be assigned.  Just to show you, if you removed vHBA3, this clears up a WWPN assignment, and notice how it is automatically assigned to vHBA5:

Screenshot_111314_123102_PM

 Reference

http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/gui/config/guide/2-1/b_UCSM_GUI_Configuration_Guide_2_1/b_UCSM_GUI_Configuration_Guide_2_1_chapter_011001.html#d154497e1893a1635

David Varnum

here

You may also like...

Leave a Reply

Discover more from /overlaid

Subscribe now to keep reading and get access to the full archive.

Continue reading