Automation

 View Only
  • 1.  Change primary Fault Tolerance VM

    Posted Aug 29, 2024 01:46 AM

    Hello 

    I need a solution to change the primary Fault Tolerance VM with Powershell. 

    At the vSphere Web GUI I can use the Test Failover function.

    %MCEPASTEBIN%%MCEPASTEBIN%

    How can I trigger this with Powershell / Powercli 
    Kind Reguards 
    Matthias 


  • 2.  RE: Change primary Fault Tolerance VM

    Posted Aug 29, 2024 04:49 AM

    Afaik the Test Failover terminates the primary VM, and the system will start the secondary VM and create a new secondary VM.

    You can just use Stop-VM, eventually with the Kill switch, to terminate the primary VM.
    And the FT system will take care of the rest.



    ------------------------------


    Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference


    ------------------------------