PowerVM

Power Virtualization

Learn about the virtualization technologies designed specifically for IBM Power including #PowerVM, #PowerVC, #VM Recovery Manager#HCM/CMC, and more.


#Power
#TechXchangeConferenceLab

 View Only
Expand all | Collapse all

Storage Templates - Port Groups - does it track last group used, or a single instance will always use 1st port group in list

  • 1.  Storage Templates - Port Groups - does it track last group used, or a single instance will always use 1st port group in list

    Posted Wed February 08, 2023 07:48 PM

    Question: Has anyone used Storage 'Port Groups' (as in storage side port groups attached to the Storage Template) in production - I'm trying to see if:

    the cinder volume driver records the last port group used, such that a new provisioning request uses NEXT port in the list, or does it revert back to the first member in the port group list:

            "drivers:target_port_groups": "PG01,PG02,PG03,PG04",

            "drivers:port_group:PG01": "50050768021357bc,50050768024357bd",

            "drivers:port_group:PG02": "50050768024357bc,50050768023357bc",

            "drivers:port_group:PG03": "50050768021357bd,50050768023357bd",

            "drivers:port_group:PG04": "50050768022357bd,50050768022357bc"

    single instance created, starts at PG01

    ? next instance created, uses PG02

    ? next instance    PG03

    ? next instance    PG04

    and then back to PG01 ?

    The notes do say that if a number of instances are created (i.e. as a single provisioning request)

    that it will iterate through the port group list for each instance, I'm trying to see if anyone has tracked single instance provision and Port Group usage such that we can be assured we always spread across the Port group list



    ------------------------------
    DOMINIC LANCASTER
    ------------------------------

    #PowerVC


  • 2.  RE: Storage Templates - Port Groups - does it track last group used, or a single instance will always use 1st port group in list

    Posted Thu February 09, 2023 12:18 AM

    Hi Dominic,

    When storage template has port group configured, it picks the PG based on round robin policy. So first it will pick PG1, PG2, PG3, PG4 and then PG1 again. This is applicable for each VM provisioned using the volumes coming from the defined storage template.

    Thanks & Regards,

    Chhavi Agarwal



    ------------------------------
    CHHAVI AGARWAL
    ------------------------------



  • 3.  RE: Storage Templates - Port Groups - does it track last group used, or a single instance will always use 1st port group in list

    Posted Thu February 09, 2023 01:05 AM

    Chhavi, Many thanks for confirming the round robin works this way for all provisioning 

    Dom:L



    ------------------------------
    DOMINIC LANCASTER
    ------------------------------



  • 4.  RE: Storage Templates - Port Groups - does it track last group used, or a single instance will always use 1st port group in list

    Posted Thu February 09, 2023 02:40 AM

    It also says so in the documentary: 

    That is, when the first virtual machine is deployed, it is connected to one or more ports from the first port group (depending on the value of the powervc-command zone-one-target property). When the second virtual machine is deployed, it uses the second port group, and so on.

    https://www.ibm.com/docs/en/powervc/2.1.0?topic=templates-configuring-storage-port-groups



    ------------------------------
    Andre Lutz
    ------------------------------



  • 5.  RE: Storage Templates - Port Groups - does it track last group used, or a single instance will always use 1st port group in list

    Posted Thu February 09, 2023 07:29 PM

    Yes, Thanks Andre, I may have missed that paragraph in the first read - all good

    Dom:L



    ------------------------------
    DOMINIC LANCASTER
    ------------------------------