Port licensing on HPE BladeSystem C-Class enclosure Brocade SAN modules

Most of the time, when we deal with HPE C-Class blade enclosures, we either use CISCO or Brocade SAN interconnect modules in order to establish SAN connectivity. Enclosure will have 2 interconnect bays populated with SAN modules and generally we use 2 up-links from each SAN modules making it redundant. That is all with it's physical connectivity.

Considering the logical portion, we have to have PoD(port on demand) licenses available to activate any enclosure Bay as and when a server module is inserted or there will be a default 12 port license which is included in the base license.


In this article, we will try to explore the steps and commands we used to enable PoD license and activating the bay connectivity.

Imagine you have access to enclosure switch module and you know the credentials. The first thing will be to check the switch status.


Let's start with "switchshow"

c7k-Enc-Switch01:admin> switchshow
switchName:     c7k-Enc-Switch01
switchType:     72.3
switchState:    Online
switchMode:     Access Gateway Mode
switchWwn:      10:00:00:05:1e:fb:bc:19
switchBeacon:   OFF
Index Port Address Media Speed       State   Proto
==================================================
   0   0   010000   --    4G       No_Module   FC  (No POD License) Disabled
   1   1   010100   cu    4G       No_Sync     FC  (No POD License) Disabled
   2   2   010200   cu    4G       No_Sync     FC  (No POD License) Disabled
   3   3   010300   cu    4G       No_Sync     FC  (No POD License) Disabled (Persistent)
   4   4   010400   cu    4G       No_Sync     FC  (No POD License) Disabled (Persistent)
~
  22  22   011600   --    4G       No_Module   FC  (No POD License) Disabled
  23  23   011700   --    4G       No_Module   FC  (No POD License) Disabled
 Output truncated

if you check the output, we could see number of ports which doesn't have license activated or disabled. So, how do we check the license availability?

issue licenseport command with --show option.

c7k-Enc-Switch01:admin> licenseport --show
  24 ports are available in this switch
   No POD licenses are installed
     Dynamic POD method is in use
  12 port assignments are provisioned for use in this switch:
        12 port assignments are provisioned by the base switch license
      *  6 port assignments are added if the first POD license is installed
      *  6 more assignments are added if the second POD license is installed
  12 ports are assigned to installed licenses:
        12 ports are assigned to the base switch license
  Ports assigned to the base switch license:
     3*, 5*, 6*, 7*, 10*, 12*, 13*, 14*, 15*, 16*, 17, 18
  Ports assigned to the first POD license:
     None
  Ports assigned to the second POD license:
     None
  Ports not assigned to a license:
     0, 1, 2, 4, 8, 9, 11, 19, 20, 21, 22, 23
   0 license reservations are still available for use by unassigned ports
  10 license assignments are held by offline ports (indicated by *)

if you observe the output, there are few ports which are already licensed, those are marked under ports with license and those ports which doesn't have a license are tagged under no license assigned category.

another thing is, this module has only a base license which can activate 12 ports. So, we have to be careful while assigning license to ports. That will ensure no license are being wasted or assigned to a wrong port which doesn't need SAN connectivity.

From the output it is clear that we don't have a free license available to use(0 license reservations are still available for use by unassigned ports). The only option is to release license from unused bay and assign to the bay which really need port license. We could also see that there are 10 ports which are offline, but has a license installed.

Now our task is to release the license from one of the offline ports and reassign it to the port which actually needs it.

how do we do that?

We have to use licenseport command along with --release option to get this done.

Here we will be releasing license from port 7,10, 12 and 13.

c7k-Enc-Switch01:admin> licenseport --release 7

Repeat the command for  10, 12 and 13.

Now check the license availability by using "licenseport --show" command

c7k-Enc-Switch01:admin> licenseport --show
  24 ports are available in this switch
   No POD licenses are installed
     Dynamic POD method is in use
  12 port assignments are provisioned for use in this switch:
        12 port assignments are provisioned by the base switch license
      *  6 port assignments are added if the first POD license is installed
      *  6 more assignments are added if the second POD license is installed
   8 ports are assigned to installed licenses:
         8 ports are assigned to the base switch license
  Ports assigned to the base switch license:
     3*, 5*, 6*, 14*, 15*, 16*, 17, 18
  Ports assigned to the first POD license:
     None
  Ports assigned to the second POD license:
     None
  Ports not assigned to a license:
     0, 1, 2, 4, 7, 8, 9, 10, 11, 12, 13, 19, 20, 21, 22, 23
   4 license reservations are still available for use by unassigned ports
   6 license assignments are held by offline ports (indicated by *)
We have 4 port license available now, which is enough to finish current work. 

We will be activating license on port 4 as we have server installed there now.

The command we use to assign license is licenseport  along with --reserve option with port number at the end.

c7k-Enc-Switch01:admin> licenseport --reserve 3

port 3 was persistently disabled, hence we have to enable it with portcfgpersistentenable command.

c7k-Enc-Switch01:admin> portcfgpersistentenable 3
Now we have enabled the required port. Let's see the status using switchshow.

c7k-Enc-Switch01:admin> switchshow
switchName:     c7k-Enc-Switch01
switchType:     72.3
switchState:    Online
switchMode:     Access Gateway Mode
switchWwn:      10:00:00:05:1e:fb:bc:19
switchBeacon:   OFF
Index Port Address Media Speed       State   Proto
==================================================
   0   0   010000   --    4G       No_Module   FC  (POD License Not Assigned Yet) Disabled
   1   1   010100   cu    4G       No_Sync     FC  Disabled (No mapping for F-Port)
   2   2   010200   cu    4G       No_Sync     FC  Disabled (No mapping for F-Port)
   3   3   010300   cu    4G       Online      FC  F-Port  50:01:43:80:07:30:6a:20 0x3b1501
~
  21  21   011500   --    4G       No_Module   FC  (POD License Not Assigned Yet) Disabled
  22  22   011600   --    4G       No_Module   FC  (POD License Not Assigned Yet) Disabled
  23  23   011700   --    4G       No_Module   FC  (POD License Not Assigned Yet) Disabled
Output truncated

We could see port 3 state has changed to Online and listing server WWN. As a redundancy practice, you have to repeat the above steps on the other SAN module as well.

This is for now!! We will come with a different topic soon.

No comments :

Post a Comment

Admin Helpline™ © , All Rights Reserved.
Privacy Policy