PowerVM

 View Only
Expand all | Collapse all

LPM & using different vSwitch on target ?

  • 1.  LPM & using different vSwitch on target ?

    Posted Fri November 05, 2021 08:32 AM
    Hello,

    Quick and stupid q;  Can you force LPM somehow to use different vSwitch & VLAN on destination frame compared to source?

    E.g on source VM has vSwitch Happy, VLAN ID 123; and on destination it would be Weekend, VLAN 234?
    (Actual L2 level network would remain identical (IP address, subnet, gw, mask etc))

    Or does one need to "fake" the old switch & VLAN info on destination; do offline LPM; modify VM profile to be correct & then re-activate VM.


    Br,
    tommi

    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tieto.com mobile +358 (0)40 5180 Finland
    ------------------------------


  • 2.  RE: LPM & using different vSwitch on target ?

    Posted Fri November 05, 2021 09:23 AM
    Hello Tommi
    yes you can switch to another vSwitch since last year....
    Vince

    Minimum Requirement:

     VIOS Version 2.2.4 ;     System Firmware Release 840 ;      HMC Release 8 Version 8.4.0



    Live Partition Mobility (LPM) To Move PVID/VLAN From One VSwitch To Another VSwitch Across Dual HMC using HMC CLI Command.
    Ibm remove preview
    Live Partition Mobility (LPM) To Move PVID/VLAN From One VSwitch To Another VSwitch Across Dual HMC using HMC CLI Command.
    Determine Correct Hardware Management Console (HMC) Command On Dual HMC To Move PVID/VLAN From vSwitchA On VIO Server (Virtual I/O) Source Frame To VswitchB On VIO Server Target Frame.
    View this on Ibm >



    ------------------------------
    Vincencio Michaelis
    ------------------------------



  • 3.  RE: LPM & using different vSwitch on target ?

    Posted Mon November 08, 2021 04:13 AM
    Super! Many Thanks Vincencio! :)
    Br,
    tommi


    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tieto.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 4.  RE: LPM & using different vSwitch on target ?

    Posted Mon November 08, 2021 03:40 AM
    Hi 

    I hope that you have a migration strategy :)

    You have HMC command to it dynamically without downtime :

    hscroot@hmcXXX:~> migrlpar -o m -m CPU-FRMXXXX -t CPU-FRMXXXY -p LPAR1 -i 'shared_proc_pool_name=shp_app,"vswitch_mappings=180/VS_P8/VS_LAN_PROD_CMN,3358/VS_P8/VS_LAN_PROD_CMN"'

    Where :
    CPU-FRMXXXX : frame source
    CPU-FRMXXXY: target frame
    shp_app: shared pool name, same on target frame
    LPAR1 : partition name
    vswitch_mappings: on frame source, my partition LPAR1 VLAN's 180/3358 configured on Vswitch VS_P8, and on target frame i changed Vswitch name to VS_LAN_PROD_CMN. no change of subnet configuration.

    About this point :
    live-partition-mobility-lpm-move-pvidvlan-one-vswitch-another-vswitch-across-dual-hmc-using-hmc-cli-command

    Hope that help you.

    Abderahim.

    ------------------------------
    Abderahim ABBAS
    ------------------------------



  • 5.  RE: LPM & using different vSwitch on target ?

    Posted Mon November 08, 2021 04:12 AM
    Hi,

    Thanks for the reply! And sure; "Strategy is my middle name" , so no worries :D 

    Actually this would just be a POC for this kind of migrations, not doing any production stuff right away :) 
    Br,
    tommi

    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tieto.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 6.  RE: LPM & using different vSwitch on target ?

    Posted Thu December 02, 2021 03:01 AM
    Hi,

    One more question related to this...From CLI it is possible to give new vSwitch...but how about the VLAN ID?
    Is it possible to change VLAN ID as well, or does it need to remain the same as in source frame?

    Br,
    tommi

    ------------------------------
    Tommi Sihvo, Lead Service Architect
    TietoEVRY, Compute Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 7.  RE: LPM & using different vSwitch on target ?

    Posted 19 days ago
    Edited by Sylvain 19 days ago

    Hi all,

    does anyone have an idea for the last question?





  • 8.  RE: LPM & using different vSwitch on target ?

    Posted 16 days ago

    Hi Tommi,

    I have never searched a command to change VLAN ID, because it does not make sense. 

    VLAN ID is adding a tagged_id of the VLAN to a TCP frame, it is hard to imagine, that the same LAN switch handles the same packets from the same VLAN with different tag_ids. 



    ------------------------------
    Bartlomiej Grabowski
    IBM Champion - Platinum Redbook Author and Principal System Specialist
    ------------------------------



  • 9.  RE: LPM & using different vSwitch on target ?

    Posted 15 days ago

    Hi,

    Thanks Bartlomiej,

    Tbh, so much time has passed on this, that I can't even recall the use case for which I asking this for :D 

    Most probably it was tackled somehow at least. :) 

    Br,

    tommi



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry Tech Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 10.  RE: LPM & using different vSwitch on target ?

    Posted 14 days ago

    A possible use case is that some VLAN was originally presented untagged on the switch port, and the SEAs configured to bridge untagged frames for an incorrect VLAN number.

    As usual, nobody is authorized to stop the whole thing to correct it, but if we have an option to remap the VLAN ID during an LPM, we could fix it incrementally without stopping anything.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 11.  RE: LPM & using different vSwitch on target ?

    Posted 14 days ago
    Hi,

    Dynamically changing the VLAN ID (PVID)  is not only possible but often necessary for flexible network architecture. Modern virtualization platforms and network switches support on-the-fly VLAN retagging, allowing seamless reconfiguration of network segmentation without service interruption, enabling administrators to quickly adapt network configurations to changing infrastructure or security requirements. 
    It is a real need but this does not seem possible in LPAR/PowerVM environment