Running the initialization script

Encryption License Key User Guide for VSP One Block

Version
10.2.x
Audience
anonymous
Part Number
MK-23VSP1B010-00

Use the following procedure to run the initialization script (python init_kms.py). Make sure to run the initialization script before enabling encryption on any DDP groups.

  1. Update the Initialize parameters in the initialization script file to match your storage system environment and requirements.


    Parameter Example settings Description
    STORAGE_SERVER_IP_ADDR "XXX.XXX.XXX.XXX" Service IP address of the ESM.
    FIRST_WAIT_TIME 60 First interval (in seconds) to get the execution result of the asynchronous process. Default = 60.

    You can specify a value of 1 to 120. Normally, you don't need to change it.

    MAX_RETRY_COUNT 60 Maximum number of retries to retrieve the results of asynchronous processing. Default = 60.

    You can specify a value of between 1 to 60. Normally, you don't need to change it.

    USER_CREDENTIAL ("user1", "pass1") Credentials used to authenticate with the storage system.

    In this example, the user ID is "user1" and the password is "pass1". The user must have the Security Manager (View & Modify) role.

  2. Open the command prompt, and move to the folder containing the script file.
  3. Run the script.
    python init_kms.py

    When the script completes, a log is output.

  4. Check the execution result.
    • Successful completion: The script completes normally with the following message:
      Operation was completed.
    • Abnormal termination: The script terminates abnormally with the following message:
      An error occurred while running the script. Please check the error
      message.

      If the specified parameters are incorrect, the script execution is interrupted and an error message is displayed at the command prompt where the script was executed. Check the error message output to the command prompt, change the parameter settings accordingly, and then run the script again.