ECS:如何使用專用 SMTP 啟動 xDoctor,並在 SCG 連線無法使用時啟用 dial-home 警示

Summary: ECS 至 SCG 的連線失敗,因為 Dell 資產記錄同步暫時發生問題,且在其他一些情況下,不允許 SCG 連線 (暗網站)。 在這種情況下,xDoctor 將無法啟動。若未啟用 xDoctor,ECS 將不會傳送 dial-home 警示或顯示在 xDoctor/CLM 中,因為 xDoctor 會使用 SMTP 向 CLM 回報警示。因此,當產生警示時,會傳送電子郵件給收件者,如果沒有 xDoctor 入口網站和 CLM 連線能力,就不會產生 dial-home 服務要求。 本 KB 說明使用專用 SMTP 伺服器而非 SCG 啟動 xDoctor 的步驟。每個 SCG 閘道都有整合的 SMTP 伺服器。如果存在,則可以使用它來代替專用 SMTP 伺服器,直到 SCG 問題得到解決。 ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

注意:為 ECS 原生警示產生 DialHome SR 時,專用 SMTP 組態有限制。這是根據設計運作。若要為 ECS 原生警示產生 DialHome,CLM 會使用 SCG 閘道。由於專用 SMTP 沒有 SCG,因此 CLM 不會產生 DialHome 案例。

請參閱 KB ECS:如果僅設定與上述備註相關的 SMTP,則 ECS 原生警示不會產生 DialHome SR
 

  1. 當 SCG 連線發生問題時,xDoctor 啟用會失敗,記錄如下

  
admin@host:~/> sudo -i xdoctor 
.....
2020-06-08 21:40:01,327: xDoctor_4.8-62 - INFO    : -------------------------------------------------------------------------------------------------------------
2020-06-08 21:40:01,336: xDoctor_4.8-62 - INFO    : xDoctor Pre Features
2020-06-08 21:40:01,336: xDoctor_4.8-62 - INFO    : Cron Activation
2020-06-08 21:40:08,722: xDoctor_4.8-62 - ERROR   : Secure Remote Service Connection State is FAILED. Please check Secure Remote Service connectivity (10.30.50.100). Failed to add device ELMECS012345K9-ELMECS012345K9-1 to esrs gw 10.30.50.100, reason: java.io.IOException: Adding device is not approved from ESRS: response code "401", response message "Unauthorized"
2020-06-08 21:40:08,723: xDoctor_4.8-62 - INFO    : Connect Home not configured or disabled, activation cancelled ...
2020-06-08 21:40:08,723: xDoctor_4.8-62 - INFO    : --------------------
....

  
  1. 在組態模式下叫用 xDoctor (最新 xDoctor 版本中的功能表與選項已變更)
admin@host:~/> sudo -i xdoctor -c
                              
  xDoctor Configuration Menu  
                                          
  1   Overview                                  
  2   Reports and Events                    
  3   Auto Update            
  4   Data Scrubbing                
  5   ECS API Credentials                        
  6   IPMI Analysis                 
  0   Exit  
           
  1. 從上述選單中選擇選項 2 - 報告和事件
Please make a choice: 2
                              
  xDoctor Reports and Events                           
                                     
  1   Reports and Events to DellEMC  
                                     
      Status     = Enabled
      Channel    = SMTP via SRS
       
       SRS 1 ID    = c94f8710-7bc0-49f6-a9c8-9d6ef33fcd19
       SRS 1 Host  = 10.30.50.100
       SRS 1 Port  = 9443
       SRS 1 State = FAILED
       SRS 1 Msg   = Failed to add device ELMECS012345K9-ELMECS012345K9-1 to esrs gw 10.30.50.100, reason: java.io.IOException: Adding device is not approved from ESRS: response code "401", response message "Unauthorized"
       SRS 1 S/N   = ELMECS012345K9
                          
  2   Events to Customer  
                
      Status  = Disabled
                 
  0   Main Menu  
               
  1. 從上述選單中選擇選項 1 -「向 Dell 報告和事件」
請選擇:1

  1. 提供 SMTP 伺服器詳細資料。為專用 SMTP 選擇“否”,提供 SMTP 伺服器 IP 和埠,然後發出新設置。
每個 SCG 閘道都有整合的 SMTP 伺服器。如果存在,則可以使用它來代替專用 SMTP 伺服器,直到 SCG 問題得到解決。
Send xDoctor Reports/Events to DellEMC?  [Yes]:
Use SRS SMTP (yes) or a Dedicated SMTP (no) for xDoctor Reporting?  [Yes]: no
Dedicated SMTP Server [Server_name or IP_address:port] []: 10.30.50.100:25
Email From [DoNotReply@emc.com]:
Enable TLS?  [No]:
Send xDoctor Reports/Events to DellEMC = Yes
 |- Using a Dedicated SMTP Server
     |- SMTP Server = 10.30.50.100:25
     |- Email From = DoNotReply@emc.com
     |- TLS = False
> Issue new Settings?  [No]: yes
2020-06-08 21:49:14,259: xDoctor_4.8-62 - INFO    : xDoctor Reporting Settings saved and distributed ...
2020-06-08 21:49:14,524: xDoctor_4.8-62 - INFO    : SMTP Settings saved and distributed ...
                              
  xDoctor Reports and Events                            
                                     
  1   Reports and Events to DellEMC  
                                     
      Status  = Enabled
      Channel = Dedicated SMTP
       
       SMTP Server = 10.30.50.100:25
       Email From  = DoNotReply@emc.com
       TLS         = No
                          
  2   Events to Customer  
                          
      Status  = Disabled
                 
  0   Main Menu  

  
  1. 選擇「0」以返回主功能表
Please make a choice: 0
                              
  xDoctor Configuration Menu                          
                
  1   Overview           
                          
  2   Reports and Events                      
                   
  3   Auto Update                 
                      
  4   Data Scrubbing                   
                           
  5   ECS API Credentials                
                     
  6   IPMI Analysis                  
            
  0   Exit  
            

  
  1. 選擇「0」以退出 xDoctor 組態功能表
請選擇:0
admin@host:~/>

  1. xDoctor 啟用現在應已成功。
admin@host:/> sudo -i xdoctor
....
2020-06-08 21:49:35,747: xDoctor_4.8-62 - 資訊 :---------------------------------------------------------------------------------------------------------------
2020-06-08 21:49:35,756: xDoctor_4.8-62 - 資訊 : xDoctor 前置功能
2020-06-08 21:49:35,756: xDoctor_4.8-62 - 資訊 :Cron 啟動
2020-06-08 21:49:36,729: xDoctor_4.8-62 - 資訊 :找到專用伺服器 (10.30.50.100:25) 作為 SMTP 伺服器...
2020-06-08 21:49:37,855: xDoctor_4.8-62 - 資訊 :已成功將 xDoctor 新增至 cron ...
2020-06-08 21:49:38,120: xDoctor_4.8-62 - 資訊 : xDoctor 已啟動 (預設) ...
2020-06-08 21:49:38,121: xDoctor_4.8-62 - 資訊 :--------------------
....
2020-06-08 21:53:45,961: xDoctor_4.8-62 - 資訊 :------------
2020-06-08 21:53:45,961: xDoctor_4.8-62 - 資訊 :程序完成
2020-06-08 21:53:45,961: xDoctor_4.8-62 - 資訊 :------------
2020-06-08 21:53:47,021: xDoctor_4.8-62 - 資訊 :找到專用伺服器 (10.30.50.100:25) 作為 SMTP 伺服器...
2020-06-08 21:53:47,022: xDoctor_4.8-62 - 資訊 :使用本地報表函數。
2020-06-08 21:53:47,022: xDoctor_4.8-62 - 資訊 :使用 SMTP 通道...
2020-06-08 21:53:47,028: xDoctor_4.8-62 - 資訊 :傳送 xDoctor 報告 (RSC_APM00200512345-njecslabn1_060820_214933000.xml) 至 ['emailalert@emc.com']
2020-06-08 21:53:48,142: xDoctor_4.8-62 - 資訊 :----------------

  1. 使用以下命令測試 connect home。如果測試成功,它會將測試報告發送到 xDoctor 門戶
admin@host:~> sudo xdoctor --tool --exec=connecthome --method=test
2020-06-14 14:29:54,938: xDoctor_4.8-62 - INFO    : Executing xDoctor Tool: [connecthome], using Method: [test], Options: [] and Args: []
2020-06-14 14:30:08,996: xDoctor_4.8-62 - INFO    : ------------------------------------------
2020-06-14 14:30:08,997: xDoctor_4.8-62 - INFO    : Testing the existing Dedicated SMTP Server
2020-06-14 14:30:09,005: xDoctor_4.8-62 - INFO    : |- [SUCCESS] Pinging SMTP Server: 10.30.50.100
2020-06-14 14:30:09,005: xDoctor_4.8-62 - INFO    : |- [SUCCESS] Testing SMTP Port: 25
2020-06-14 14:30:09,998: xDoctor_4.8-62 - INFO    : |- SMTP Settings
2020-06-14 14:30:09,998: xDoctor_4.8-62 - INFO    :     |- From Address: DoNotReply@emc.com
2020-06-14 14:30:09,998: xDoctor_4.8-62 - INFO    :     |- Recipients: ['emailalert@emc.com']
2020-06-14 14:30:09,998: xDoctor_4.8-62 - INFO    :     |- TLS: False
2020-06-14 14:30:11,081: xDoctor_4.8-62 - INFO    : |- [SUCCESS] Sending Test Report RSC_APM00200512345-njecslabn1_061420_143009000.xml to ['emailalert@emc.com']
2020-06-14 14:30:11,082: xDoctor_4.8-62 - INFO    : -----------------------------
2020-06-14 14:30:11,082: xDoctor_4.8-62 - INFO    : Current xDoctor Configuration
2020-06-14 14:30:11,082: xDoctor_4.8-62 - INFO    : -----------------------------
2020-06-14 14:30:11,082: xDoctor_4.8-62 - INFO    : ConnectHome Path = (1) Dedicated SMTP Channel
2020-06-14 14:30:11,083: xDoctor_4.8-62 - INFO    : (1) Dedicated SMTP Channel (941c7bcf-d36a-48cc-8c2a-c7b84f852229) ... SUCCESS
2020-06-14 14:30:11,083: xDoctor_4.8-62 - INFO    : The configured ConnectHome Path is working optimally ...
2020-06-14 14:30:11,083: xDoctor_4.8-62 - INFO    : Please check the xDoctor Portal to see if the heartbeat is been updated.
2020-06-14 14:30:11,083: xDoctor_4.8-62 - INFO    : http://xdoctor.isus.emc.com/ecs/health/serial/APM00200512345
2020-06-14 14:30:11,083: xDoctor_4.8-62 - INFO    : After about 20 minutes it should have the HeartBeat updated and indicate a Test flag


Affected Products

ECS

Products

ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, Secure Remote Services
Article Properties
Article Number: 000021158
Article Type: How To
Last Modified: 29 Oct 2025
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.