检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
' 出于安全考虑,建议使用源端服务器的WinRMhost(即主机名或IP地址)替换TrustedHosts 的值"*"。不替换代表信任任意主机。 测试远程连接。 使用以下命令测试与源端服务器的连接,“登录账号”和“源端服务器IP”需要替换为源端服务器实际的登录账号和IP地址。 Enter-PSSession
问题分析 出现该报错是因为:远程服务器的WinRM服务未启动或者配置不正确。 解决方法 验证执行机能否 ping 通远程服务器。如果可以ping通,请执行步骤2。 确认远程服务器的 WinRM 服务5985端口是否已对执行机开放。确认开放请执行步骤3。 检查远程服务器的登录凭证是否正确。确认凭证正确无误后,请执行后续步骤。
应用配置采集器(app-discovery-application-config) 通过应用配置文件,采集应用配置信息。参数配置说明参见表1。 表1 应用配置采集器参数配置说明 参数 必选 配置说明 output_path 否 自定义采集结果(app-discovery-application-config-xxx
bat。完成EdgeTomcat服务器JVM参配置。 该配置只对启动脚本启动的MgC Agent生效,开机或者服务自动启动的MgC Agent不生效。 重启EdgeTomcat服务器。 若主机上MgC Agent还在运行,则需先停止Edge Tomcat服务器以及采集器插件,再重新启动MgC
ry-collectors\python\mgc-app-discovery-collectors\app-discovery-process-netstat-win\output\file\app-discovery-process-netstat-win-xxx.csv。 父主题:
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-nginx\output\file\app-discovery-nginx-xxx.csv
单击MgC控制台左侧导航栏的“迁移设计>迁移方案设计”,进入迁移方案设计页面。在迁移方案设计页面,可以查看当前项目下所创建的应用列表。 在应用列表中,单击应用操作列的“规格评估”,进入评估单应用页面。 在选择资源区域,勾选应用内,需要评估的资源。 根据表1,配置评估策略,即可优先推荐出X实例。 表1 评估策略参数配置说明
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-kafka\output\file\app-discovery-kafka-xxx.csv。
thon\mgc-app-discovery-collectors\app-discovery-nacos\output\file\app-discovery-nacos-xxx.csv rules_path 否 填写自定义采集规则文件(properties文件)所在路径。不填则
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-mongodb\output\file\app-discovery-mongodb-xxx
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-process-netstat\output\file\app-discovery-process-netstat-xxx
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-redis\output\file\app-discovery-redis-xxx.csv。
python\mgc-app-discovery-collectors\app-discovery-eureka\output\file\app-discovery-eureka-xxx.csv。 password 否 开启用户认证时,填写Eureka服务器访问密码,多个密码之间
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-k8s\output\file\app-discovery-k8s-xxx.csv。
ollectors\python\mgc-app-discovery-collectors\app-discovery-mysql-jdbc\output\file\app-discovery-mysql-jdbc-xxx.csv ssl 否 如果遇到填写ca证书无法连接的情况,可以尝试填写pymysql
llectors\python\mgc-app-discovery-collectors\app-discovery-rabbitmq\output\file\app-discovery-rabbitmq-xxx.csv。 password 是 填写登录用户名对应的密码。 username
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-cloud-vpc-log\output\file\app-discovery-cloud-vpc-log-xxx
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-k8s-pod-net\output\file\app-discovery-k8s-pod-net-xxx
例如,C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-k8s-conntrack\output\file\app-discovery-k8s-conntrack-xxx
y-collectors\python\mgc-app-discovery-collectors\app-discovery-mysql-generallog\output\file\app-discovery-mysql-generallog-xxx.csv。 exclude_ip