This section explains how to export a virtual L-Server.
The VM converter provides the function for exporting virtual L-Servers from the GUI and the CLI.
The export function for virtual L-Servers exports a selected virtual L-Server to the specified folder.
Installing the VM Converter Agent Program
In preparation for importing the virtual machine at the migration destination, the virtual machine to be exported must have the VM Converter agent program installed beforehand.
The installer for the agent program is stored in the installation folder of VM Converter:
VM_Converter_installation_folder\VMConverter\Agent\x86\TransportAgent.msi VM_Converter_installation_folder\VMConverter\Agent\x64\TransportAgent.msi
Select the installer that supports the OS bit mode of the target virtual machine to export and execute it on the virtual machine to install the agent program.
Note
The agent program is included in V1.1.0 and later versions of VM Converter.
When performing import, ensure that V1.1.0 or a later version of VM Converter is used.
It is possible to use the CLI of the VM Converter to start the export and obtain the progress report of the export process (task) of the target L-Server.
When the VM Converter is started from the start menu, the home screen that has export, import, and task progress display buttons is displayed.
Figure 17.4 Home
Select the source cloud system and the destination cloud system. If not specifying the destination cloud, select N/A.
Figure 17.5 Select a Cloud
Enter account information of the source cloud system.
Figure 17.6 Enter Account Information
The virtual L-Server list of the tenant corresponding to the logon account is displayed. Select the virtual L-Server to export. At this time, only one L-Server can be selected.
Figure 17.7 Select a Virtual L-Server
Input the account information of the VM host that the selected virtual L-Server is on.
Figure 17.8 Enter VM Host Information
Specify the folder used to store the exported files. A meta information file for the virtual L-Server will also be generated and stored with the exported files in this folder.
Figure 17.9 Specify the File Storage Folder
Check the displayed confirmation screen and then click the [Launch] button. Afterwards, the home screen is displayed.
Figure 17.10 Confirmation Window
When the [Task Status] button is clicked on the home screen, the progress report screen is displayed. The content is automatically refreshed every 60 seconds.
Figure 17.11 Progress Window
For the parameters and explanations of each parameter output by the display function for task progress, see the table below.
GUI Parameter Name | CLI Parameter Name | Description |
---|---|---|
TID | TaskID | Task ID "TASK5-digit value" |
Name | VMName | Name of the virtual L-Server being exported |
Src. | SourceCloudType | Source cloud name
|
Dst. | DestinationCloudType | Destination cloud name
|
Operation | Process phase: "Export" or "Import" | |
Status | Status of the task Initializing Running Succeeded Error Aborted | |
Progress | Ratio of task progress (percentage) | |
Start Time | Time task was started (yyyy/MM/dd HH:mm:ss) | |
End Time | Time task finished (yyyy/MM/dd HH:mm:ss) | |
Message |
|
Starting the export and obtaining the progress report of the export process (task) of the target L-Server is possible using the CLI of the VM Converter.
CLI is provided as the following cmdlet in Windows PowerShell 2.0 or later.
To use cmdlets, it is necessary to execute the Import-Module command and import the module manifest file in advance.
The PowerShell module manifest file is in the following folder.
VM_Converter_installation_folder\VMConverter\Client\PowerShell\Fujitsu.VMConverterClient.psd1
Move to the above folder and execute the Import-Module command.
Import-Module .\Fujitsu.VMConverterClient.psd1 |
The syntax of the cmdlet is as follows.
>Connect-SourceCloud -SourceCloudType String -SourceServer String -SourceServerUserName String -SourceServerPassword String <RETURN> |
cmdlet Name | Description | Parameters | Output | |||
---|---|---|---|---|---|---|
Parameter Name | Type | Mandatory | Description | |||
Connect-SourceCloud | Log in to source cloud system. | SourceCloudType | String | True | Specify the source cloud type. | None |
SourceServer | Specify the server name of the source cloud using its FQDN name or IP address. Only Resource Orchestrator manager servers are supported. | |||||
SourceServerUserName | Specify the user ID for logon to the source server. | |||||
SourceServerPassword | Specify the user password for logon to the source server. |
>Disconnect-SourceCloud -SourceCloudType String <RETURN> |
cmdlet Name | Description | Parameters | Output | |||
---|---|---|---|---|---|---|
Parameter Name | Type | Mandatory | Description | |||
Disconnect-SourceCloud | Logs out from the source cloud system. | SourceCloudType | String | True | Specify the source cloud type. | None |
>Get-VMList -SourceCloudType String <RETURN> |
cmdlet Name | Description | Parameters | Output (Return Value) | |||
---|---|---|---|---|---|---|
Parameter Name | Type | Mandatory | Description | |||
Get-VMList | Obtains the VM list from the source cloud. | SourceCloudType | String | True | Specify the source cloud type. | Hashtable (VM list) Name: Current folder name Value: VM names (comma separated) |
>Start-ExportTask -SourceCloudType String [-SourceServer String] -SourceVMName String -SourceServerUserName String] [-SourceServerPassword String] -VMHostUserName String -VMHostPassword String -DestinationCloudType String -OutFolderPath String [-Wait switch] <RETURN> |
cmdlet Name | Description | Parameters | Output | |||
---|---|---|---|---|---|---|
Parameter Name | Type | Mandatory | Description | |||
Start-ExportTask | Starts the export task. | SourceCloudType | String | True | Specify the source cloud type. | Task ID (String) |
SourceServer | False | Specification is not necessary if already logged in. Specify the admin server name of the source cloud using its FQDN name or IP address. Only Resource Orchestrator manager servers are supported. | ||||
SourceVMName | True | Specify the name of the VM to export (the VM name on the source cloud) | ||||
SourceServerUserName | False | Specification is not necessary if already logged in. Specify the user ID for logon to the source server. | ||||
SourceServerPassword | Specification is not necessary if already logged in. Specify the user password for logon to the source server. | |||||
VMHostUserName | True | Specify the user ID for logon to the VM host of the VM to be exported. | ||||
VMHostPassword | Specify the password for logon to the VM host of the VM to be exported. | |||||
DestinationCloudType | Specify the destination cloud type. | |||||
OutFolderPath | Specify the folder used to store the exported files. A local folder or a shared folder on another machine that can be accessed by this tool can be specified. | |||||
Wait | Switch | False | Specify this if you want to wait until the export task ends. |
>Update-ConvertTask [-Show] <RETURN> |
cmdlet Name | Description | Parameters | Output (Return Value) | |||
---|---|---|---|---|---|---|
Parameter Name | Type | Mandatory | Description | |||
Update-ConvertTask | Updates the managed task status. (Updates the task database) | Show | Switch | False | If specified, the updated task status is shown. | None |
For the parameters and explanations of each parameter output by the display function for task progress, refer to "Table 17.18 Parameters Output by the Display Function for Task Progress".