Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a0c85bb25531015bc4122a4f0003, userName='null'}
JIRAIDAUTHCHOR-37009846
REV5UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a0c85bb25531015bc4122a4f0003, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a0c85bb25531015bc4122a4f0003, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a0c85c46b657015d4f57d577001c8a00a02355cd1c2f0155cd26c99e02c0, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cc5207f08a00a02355cd1c2f0155cd26c99e02c0, userName='null'}


Info

This procedure applies to deploying an

Spacevars
0series3
 via Marketplace; this procedure does not apply to deploying an 
Spacevars
0series3
via Azure Launch Wizard.

...

  1. Connect to the Azure portal. Refer to portal.azure.com.
  2. From the menu, select Virtual Machines
  3. From the list of VMs, click the check box next to the desired 
    Spacevars
    0series3
    VM.
  4. From the main menu select Stop and wait for the VM status to be Stopped (Deallocated). Alternatively, right-click on the desired VM and select Stop.


  5. Access PowerShell. Refer to the PowerShell documentation.

    Info

    Follow Powershell instructions for all commands.


  6. Run one of the following commands (per Azure CLI PowerShell module or Azure RM PowerShell module):

    Code Block
    $ResourceGroup = "SWeLite-RG"
    
    ### Azure CLI ###
    # List existing NICs on the VM and find which one is primary
    az vm nic list -g $ResourceGroup --vm-name "SWeLite"
    az vm nic set -g $ResourceGroup --vm-name "SWeLite" --nics swelite856, SWeLite-2 --primary-nic SWeLite-2
    
    ### Azure RM ###
    # List existing NICs on the VM and find which one is primary
    $vm = Get-AzureRmVm -Name "SWeLite" -ResourceGroupName $ResourceGroup
    $vm.NetworkProfile.NetworkInterfaces
    # Set NIC 1 to be primary
    $vm.NetworkProfile.NetworkInterfaces[0].Primary = $false
    $vm.NetworkProfile.NetworkInterfaces[1].Primary = $true
    # Update the VM state in Azure
    Update-AzureRmVM -VM $vm -ResourceGroupName $ResourceGroup 


  7. From the list of VMs, click the check box next to the 
    Spacevars
    0series3
    VM.
  8. From the main menu select Start (alternatively, right-click on the desired VM and select Start).

...