迁移谷歌云平台服务器,选择是否禁用部分服务?
描述
源端为谷歌云平台Linux系统服务器,启动迁移Agent时,出现如下图所示提示,需要您选择是否禁用相关服务。
背景
因部分谷歌云服务依赖于谷歌云平台,迁移到华为云后,无法正常运行,导致服务器在启动阶段卡住或其它服务无法正常启动。因此,在迁移前请您阅读禁用详情,并根据业务需求,评估是否需要禁用部分谷歌服务。

- 禁用不会对源端服务器产生影响,只在迁移配置目的端阶段,对目的端服务器进行配置操作。
- 如果您的业务需求依赖于谷歌云平台服务,请咨询华为云技术支持后再进行迁移。
- 选择禁用,请输入“y”,在Agent配置目的端阶段,系统会禁用谷歌相关服务。
- 选择不禁用,请输入“n”,在SMS-Agent的安装目录:.../SMS-Agent/agent/config/g-property.cfg文件中修改disableplatformservice参数为False。迁移后会保留所有服务设置,可能会导致服务器或部分服务启动失败等问题。
禁用详情
- 以/etc/systemd/system目录下服务为开机服务的主机(如:Ubuntu,Centos8,Centos9)。
选择禁用,只会删除/etc/systemd/system目录下google服务相关的软链接,软链接指向的源端服务文件不受影响。

删除服务软连接并不会影响服务实际的文件,只是被删除的服务不会在开机时自启动。
- 以/etc/init目录下服务为开机服务的主机(如:Centos6)。
选择禁用,Agent会检测/etc/init目录下google开头的配置文件,将这些配置文件移动到/etc/backup_googleconf, 并创建备份压缩文件google_conf_bak.tar.gz。
Agent安装与启动 所有常见问题
- 如何在源端上安装迁移Agent?
- Agent无法下载该如何处理?
- 如何对迁移Agent进行软件完整性校验?
- 源端Agent注册后为什么主机迁移服务控制台没有记录?
- 如何查找修改SMS-Agent的配置文件?
- 如何查找SMS的运行日志?
- 为什么迁移过程中目的端ECS会被锁定?
- 如何解除目的端服务器锁定状态?
- Linux版的迁移Agent启动提示“rsync not installed on the source server”该如何处理?
- 应用程序因并行配置不正确无法启动
- 首次启动Agent时无法启动该如何处理?
- Windows Agent双击无法运行
- 启动Agent时出现“IO监控启动失败”,该如何处理?
- 启动Agent时提示“INTERNAL ERROR: cannot create temporary directory!”怎么办
- 如何处理迁移Agent提示“AK,SK鉴权失败,请保证系统时间与标准时间一致,并检查AK,SK”?
- Windows 2008 Agent启动后无法粘贴AK/SK该如何处理?
- Agent启动时提示“utf-8 codec can't decode byte 0xce in position0: invalid continuation byte”该如何处理?
- Agent启动时提示“加载wmi模块失败”该如何处理?
- Agent安装失败,“无法写入文件”或“不能打开要写入的文件”该如何处理?
- 如何重启Agent?
- Linux系统提示“/tmp卷空间不足导致agent无法启动"该如何处理?
- Linux系统提示“Agent startup failed because the noexec permission is not allow on /tmp for SMS Agent. Please remount /tmp without noexec.”该如何处理?
- 只支持迁移X86架构的服务器
- Linux启动Agent时提示“启动SMS Agent失败!磁盘”
- Window系统,启动Agent提示:SMS.1901,Agent无法读取磁盘信息
- Linux操作系统,启动Agent时,磁盘信息采集失败,该如何处理?
- Linux操作系统,启动Agent时,提示:SMS.6562:component i386-pc not found on source server. For solution, see SMS API Reference.
- Linux操作系统,启动Agent时,提示:SMS.6563:File initrd or initramfs of the xxxx version not found under /boot directory. For solution, see SMS API Reference.
- 迁移谷歌云平台服务器,选择是否禁用部分服务?
- Linux操作系统,启动Agent时,提示:SMS.0410:Failed to obtain NicName/IPAddress information of source server.
- 启动Agent失败,提示:SMS.0609,检测到就版本残留,请退出当前agent程序,完全卸载agent后,重新安装最新版
- Linux系统,启动Agent失败,提示:SMS.5103:Agent startup failed. Folder /tmp is missing
- Linux系统,启动Agent失败,提示:SMS.1353: Bind mount or repeated mount detected on /xxx of the source server.
- Linux系统,启动Agent失败,提示:SMS.1352: Unknown physical volumes detected on the source server.
- Linux系统,启动Agent失败,提示:SMS.1351: Mount point /xxx detected on the source server, which has no free space. Ensure that there is at least 1 MB of space.
more