Posted on September 22, 2021 7:23 pm
 |  Asked by Kjell Rune Glaerum
 |  96 views
Tags:
RESOLVED
0
0
Print Friendly, PDF & Email

Is it possible to use the new Change Control templates to create a template that upgrades all MLAG leaf pairs in parallel, with both MLAG peers in the same stage?

We’ve read the TOI and tried it out in CVP, but it does not seem that it is possible to add the actual “Image Upgrade” task for both leafs in the same stage.  (We can add the “Check MLAG health” for both MLAG peers, but the Task/TaskID (Image Upgrade) can only be added once pr. stage.)

We want to end up with something like we have in the attached picture, where the root stage is run parallel, but the stages for each MLAG pair is done in series.

It will probably end up with the same result using 1 stage for every leaf (as in the example in TOI), but if we can get both MLAG members in the same stage it will be easier to keep track of the upgrade process, especially when upgrading a high number of leafs.

Attachments:
0
Posted by Tamas Plugor
Answered on September 22, 2021 9:12 pm

Hi Kjell,

Yes this is possible, not entirely how you showed in your pictures, but you can divide this up in 2 more stages, so essentially you'd have 2 main stages (leafs of the root tree) running in parallel as you were showing, and then inside those 2 stages, you'd have 2 stages (1 for each leaf) running in series.

You'd create one action bundle that runs in series the following

  • MLAG health check on device1
  • Upgrade device1
  • MLAG health check on device2

then create the template and use that bundle twice and match the devices using regexp (and run them in parallel).

I've attached some screenshots. Hope it helps!

Tamas

 

 

0
Posted by Kjell Rune Glaerum
Answered on September 23, 2021 7:44 am

Hi Tamas,

Thanks for the explanation and providing the screenshots. Tested this in our environment and it does exactly what we were looking for.

Post your Answer

You must be logged in to post an answer.