mksystemsupportcenter

使用 mksystemsupportcenter 命令可向远程支持配置添加支持中心或代理服务器。

语法

 mksystemsupportcenter    [  -name  user_name  ]    -ip  ipv4_or_ipv6_address     -port  port    [  -proxy  {  yes  |  no  } ]

参数

-nameuser_name
(可选)指定要定义的支持中心或代理的唯一名称。 如果已定义了具有该名称的中心,那么该命令将失败。 该值必须是字母数字字符串:
  • 不能以字符串 default_support_center 开头
  • 不能以连字符或数字开头
  • 不能以空格开头或结尾
  • 长度必须为 1 - 64 个字符(使用数字、字母、空格、句点或下划线)
此外,不能使用名称 SupportCenterProxy。 除非使用全小写字母(例如 supportcenterproxy),否则请勿指定这些名称。
Note: 如果不指定名称,那么将使用系统缺省值 supportservern,其中 n 是对象索引。
-ipipv4_or_ipv6_address
(必需)指示新支持中心或代理服务器的因特网协议 V4 (IPv4) 或 V6 (IPv6) 地址。 该值必须是有效的 IPv4 或 IPv6 地址。
-portport
(必需)指定新连接的端口号。 该值必须是 1 到 65535 范围内的数字。 缺省值为 1025
-proxyyes | no
(可选)指定目标服务器是否为代理服务器(并且不是支持中心)。 值为 yesno

描述

此命令可为远程支持配置创建一个支持中心或代理服务器。 最多可定义 6 个代理服务器。

如果配置代理服务器,那么只能通过使用代理服务器来提供远程支持辅助(这意味着不会尝试直接连接)。 如果配置多个支持中心(或代理),那么系统在启用远程支持辅助之前循环使用每个支持中心,这意味着在以 failure 状态结束之前至少尝试所有支持中心三次。 使用配置的缺省支持中心的集合(如果需要)。
Important: 除非支持团队建议,否则请勿配置任何新支持中心。 但是,可配置代理服务器(如果需要)。 如果通过使用服务 IPv6 地址配置的所有节点路由系统的远程支持连接,那么必须使用远程支持代理服务器。 代理服务器应侦听 IPv6 地址。 此外还可侦听 IPv4 地址。 需要使用此命令(使用 -proxy 参数)在系统上指定此代理服务器 IPv6 地址。

调用示例

mksystemsupportcenter -name test_frontend_server_1 -ip 9.51.88.165 -port 1025

生成的输出:

Support Server id [0] successfully created 

调用示例

mksystemsupportcenter -name customer_proxy_1 -ip 192.168.56.88 -port 9999 -proxy yes

生成的输出:

Support Server id [1] successfully created 

调用示例

mksystemsupportcenter -name customer_proxy_2 -ip 192.168.56.101 -port 2222 -proxy yes

生成的输出:

Support Server id [2] successfully created 

调用示例

mksystemsupportcenter -ip 2001:0db8:0000:0001:0000:0000:0000:0071 -port 1025 -proxy yes

生成的输出:

 Support Server id [3] successfully created  

调用示例

mksystemsupportcenter -ip 2001:db8:0:1:0:0:0:71 -port 1025 -proxy yes

生成的输出:

 Support Server id [2] successfully created   

调用示例

mksystemsupportcenter -ip 2001:db8:0:1::71 -port 1025 -proxy yes

生成的输出:

 Support Server id [2] successfully created