Rate This Document
Findability
Accuracy
Completeness
Readability

Running mig-agent on the Host

  1. Download virtCCA-SDK and compile and configure mig-agent.
    1. Pull the master branch code of the organization repository.
      git clone https://atomgit.com/openeuler/virtCCA_sdk.git --depth 10
    2. Compile mig-agent.
      cd virtCCA_sdk/virtcca-mig-agent
      make
    3. Deploy certificates under the migration node directory /etc/virtcca-mig/, including the Certificate Authority (CA) certificate, server node certificate signed by the CA certificate, and server node certificate key.
      ls /etc/virtcca-mig/
      ca.crt  mig.crt  mig.key
  2. Run mig-agent.
    1. Run mig-agent on the source server and specify the IP address of the node to be migrated. You can use the -a parameter to specify the core range to which mig-agent is bound. At least 16 cores must be provided. If no core is provided, cores 0 to 15 are bound by default.
      ./mig-agent -c {dst_ip} -a 1-16
    2. Run mig-agent on the destination server and specify the listening IP address.
      ./mig-agent -s {dst_ip} -a 1-16

      If you run mig-agent directly on the server, migcvm must be destroyed. The two migration modes are mutually exclusive: either running migcvm-agent on migcvm, or running mig-agent directly on the server.