Live migration script

Dynamic Cluster supports the live migration of virtual machines with running jobs. The VMO agents running on both the source and target hypervisors will call out a script (live_migrate_script located in the /opt/platform/virtualization/4.1/scripts directory on the hypervisors) to perform the live migration.

The VMO agent is suspended while the script is running, but if the script is still running after a timeout period, the live migration fails and the VMO agent resumes activity. This timeout is 300 seconds by default, but you can modify this timeout period as follows:

  1. Edit the following file on your LSF master host:

    /opt/platform/eservice/esc/conf/services/vmoagent_service.xml

  2. In the file, find the following line:

    <ego:EnvironmentVariable name="VMO_AGENT_LIVE_MIGRATION_PRE_POST_SCRIPT_TIMEOUT">timeout_period</ego:EnvironmentVariable>

  3. Change the timeout period to a new timeout period value, in seconds.
  4. Save the changes to the file.
  5. Log in as the Platform Cluster Manager administrator.

    # egosh user logon -u Admin -x Admin

  6. After saving the changes to the file, restart Platform Cluster Manager:
    # egosh service stop VMOAgent
    # egosh ego restart