< Back
Move-SVTvm
Post
NAME Move-SVTvm
SYNOPSIS
Move an existing virtual machine from one HPE SimpliVity datastore to another
SYNTAX
Move-SVTvm [-VMname] <String> [-DataStoreName] <String> [<CommonParameters>]
DESCRIPTION
Relocates the specified virtual machine(s) to a different datastore in the federation. The datastore can be
in the same or a different datacenter. Consider the following when moving a vm:
1. You must power off the OS guest before moving, otherwise the operation fails
2. In its new location, make sure the moved VM(s) boots up after the local OVC and shuts down before it
3. Any pre-move backups (local or remote) stay associated with the VM(s) after it/they moves. You can use these
backups to restore the moved VM(s).
4. HPE OmniStack only supports one move operation per VM at a time. You must wait for the task to complete
before
attempting to move the same VM again
5. If moving VM(s) out of the current cluster, DRS rules (created by the Intelligent Workload Optimizer) will
vMotion the moved VM(s)
to the destination
PARAMETERS
-VMname <String>
The name(s) of the virtual machines you'd like to move
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DataStoreName <String>
The destination datastore
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
system.string
HPE.SimpliVity.VirtualMachine
OUTPUTS
HPE.SimpliVity.Task
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Move-SVTVM -VMname MyVM -Datastore DR-DS01
Moves the specified VM to the specified datastore
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>"VM1", "VM2" | Move-SVTVM -Datastore DS03
Moves the specified VMs to the specfiied datastore
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-VM | Where-Object VMname -match "WEB" | Move-SVTVM -Datastore DS03
PS C:\\>Get-SVTtask
Move VM(s) with "Web" in their name to the specified datastore. Use Get-SVTtask to monitor the progress of the
move task(s)
RELATED LINKS
SYNOPSIS
Move an existing virtual machine from one HPE SimpliVity datastore to another
SYNTAX
Move-SVTvm [-VMname] <String> [-DataStoreName] <String> [<CommonParameters>]
DESCRIPTION
Relocates the specified virtual machine(s) to a different datastore in the federation. The datastore can be
in the same or a different datacenter. Consider the following when moving a vm:
1. You must power off the OS guest before moving, otherwise the operation fails
2. In its new location, make sure the moved VM(s) boots up after the local OVC and shuts down before it
3. Any pre-move backups (local or remote) stay associated with the VM(s) after it/they moves. You can use these
backups to restore the moved VM(s).
4. HPE OmniStack only supports one move operation per VM at a time. You must wait for the task to complete
before
attempting to move the same VM again
5. If moving VM(s) out of the current cluster, DRS rules (created by the Intelligent Workload Optimizer) will
vMotion the moved VM(s)
to the destination
PARAMETERS
-VMname <String>
The name(s) of the virtual machines you'd like to move
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DataStoreName <String>
The destination datastore
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
system.string
HPE.SimpliVity.VirtualMachine
OUTPUTS
HPE.SimpliVity.Task
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Move-SVTVM -VMname MyVM -Datastore DR-DS01
Moves the specified VM to the specified datastore
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>"VM1", "VM2" | Move-SVTVM -Datastore DS03
Moves the specified VMs to the specfiied datastore
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-VM | Where-Object VMname -match "WEB" | Move-SVTVM -Datastore DS03
PS C:\\>Get-SVTtask
Move VM(s) with "Web" in their name to the specified datastore. Use Get-SVTtask to monitor the progress of the
move task(s)
RELATED LINKS