Help Center> Server Migration Service> FAQs> Agent Installation and Startup> How Do I Choose When the System Asks Whether to Disable the Google Services Detected on My Source Server on the Google Cloud?
Updated on 2023-11-29 GMT+08:00

How Do I Choose When the System Asks Whether to Disable the Google Services Detected on My Source Server on the Google Cloud?

Description

When I started the Agent on the Linux source server running on the Google Cloud, the system asked me whether to disable the detected Google services.

Background

Some Google services depend on Google Cloud. After the source server is migrated to Huawei Cloud, Google services cannot run properly. As a result, after the migration, the target server may fail to be launched or other services may fail to be started. Before the migration, read Description of Disabling Google Services and make evaluations based on service requirements.

  • Disabling these services does not affect the source server. It only affects the configuration of startup services on the target server.
  • If your services depend on these Google services, contact Huawei Cloud technical support before the migration.
  • If you choose to disable these Google services, enter y. During the target server configuration, the Agent will disable these services on the target server.
  • If you choose not to disable these Google services, enter n and change the value of disableplatformservice to False in the .../SMS-Agent/agent/config/g-property.cfg file in the SMS-Agent installation directory. After the migration, all service settings are retained, and the target server or some services may fail to be started.

Description of Disabling Google Services

  • Servers with startup services in the /etc/systemd/system directory, such as those running Ubuntu, CentOS 8, or CentOS 9

    If you choose to disable the Google services, the Agent will only delete the soft links related to these services in the /etc/systemd/system directory. The service files pointed by the soft links are not affected.

Deleting the soft links of a service prevents the service from starting automatically at startup but does not affect the actual files of the service.

  • Servers with startup services in the /etc/init directory, such as those running CentOS 6

    If you choose to disable the Google services, the Agent will check the configuration files whose names start with google in the /etc/init directory, move these configuration files to /etc/backup_googleconf, and compress the folder into package google_conf_bak.tar.gz for backup.

Agent Installation and Startup FAQs

more