mksystemsupportcenter

請使用 mksystemsupportcenter 指令,將支援中心或 Proxy 伺服器新增至遠端支援配置。

語法

讀取語法圖表略過語法圖表
>>-mksystemsupportcenter--+--------------------+---------------->
                          '- -name - user_name-'   

>-- -ip--ipv4_or_ipv6_address-- -port--port--------------------->

>--+------------------+----------------------------------------><
   '- -proxy--+-yes-+-'   
              '-no--'     

參數

-name user_name
(選用)指定要定義的支援中心或 Proxy 的唯一名稱。如果已定義的中心具有該名稱,指令會失敗。值必須是英數字串:
  • 不能以字串 default_support_center 開頭
  • 不能以連字號或數字開頭
  • 不能以空格開頭或結尾
  • 長度必須為 1 - 64 個字元(使用數字、字母、空格、句點或底線)
此外,不能直接照字面使用 SupportCenterProxy 這兩個名稱。除非使用全小寫字母(例如 supportcenterproxy),否則請勿指定這些名稱。
註: 如果您未指定名稱,則會使用系統預設值 supportservern,其中 n 是物件索引。
-ip ipv4_or_ipv6_address
(必要)指出新支援中心或 Proxy 伺服器的網際網路通訊協定第 4 版 (IPv4) 或第 6 版 (IPv6) 位址。值必須是有效的 IPv4 或 IPv6 位址。
-port port
(必要)指定新連線的埠號。值必須是 1 - 65535 範圍內的數字。預設值為 1025
-proxy yes | no
(選用)指定目標伺服器是否為 Proxy 伺服器(而不是支援中心)。值為 yesno

說明

這個指令會在您的遠端支援配置中建立支援中心或 Proxy 伺服器。最多可定義 6 個 Proxy 伺服器。

如果配置 Proxy 伺服器,則只能使用 Proxy 伺服器來提供遠端支援協助(這意味著不會嘗試直接連線)。如果您配置多個支援中心(或 Proxy),則系統在啟用遠端支援協肋之前會輪流選取每一個支援中心,這表示在它以 failure 狀態結束之前,它會嘗試使用所有支援中心至少三次。必要的話,可使用已配置的預設支援中心集。
重要: 除非支援團隊建議,否則請勿配置任何新的支援中心。但是,如果需要,可配置 Proxy 伺服器。在所有節點都配置服務 IPv6 位址的情況下,如果要佈設系統的「遠端支援」連線,您必須使用「遠端支援」Proxy 伺服器。該 Proxy 伺服器應該接聽 IPv6 位址。此外,它也可以接聽 IPv4 位址。必須使用這個指令(指定 -proxy 參數),在您的系統上指定這個 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