Perform VMBackup.ini file setup and password encryption to configure the initial settings for the VMware script operating environment.
VMBackup.ini File Setting
Write the following information to the VMBackup.ini file (external definition file).
Parameter Name | Explanation |
---|---|
Server | Specifies the vCenter Server IP address or server name. |
User | Specifies the vCenter Server user name. |
VM | List all the VM names to be backed up with comma separation among VMs on the ETERNUS Disk storage system for which this script is intended. VM names may contain a wildcard ("*"). |
LUCmdPath | Specifies the AdvancedCopy Manager CCM bin directory with the full path. |
The following is a VMBackup.ini file example.
Server=vcserver User=administrator VM=VM*,Template LUCmdPath=C:\ETERNUS_SF\CCM\bin
Password Encryption
In Command Prompt, execute Init.ps1 (initial processing script) in PowerShell. The following is an example.
> powershell C:\Script_ETERNUS_1\exe\Init.ps1
A password prompt message is displayed. Enter the user password to log into the vCenter Server specified in the VMBackup.ini file.
When the process ends normally, a Password.txt file is created in the directory where the VMBackup.ini file is saved.
Note
Execute Init.ps1 to update the Password.txt file, when you change the vCenter Server password.