ECS:如何使用专用 SMTP 激活 xDoctor,并在 SCG 连接不可用时启用呼叫总部警报

Summary: 由于戴尔资产记录同步的临时问题,ECS 到 SCG 的连接失败,在其他一些情况下,不允许 SCG 连接(暗站点)。 在这种情况下,无法激活 xDoctor。如果没有激活 xDoctor,ECS 将不会发送呼叫总部警报或显示在 xDoctor/CLM 中,因为 xDoctor 使用 SMTP 向 CLM 报告警报。因此,在生成警报时会向收件人发送电子邮件,如果没有 xDoctor 门户和 CLM 连接,则不会生成呼叫总部服务请求。 本知识库文章介绍了使用专用 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 —“向戴尔报告和事件”
请做出选择: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. 从 xDoctor 配置菜单中选择“0”以退出
请做出选择: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 - INFO : xDoctor Pre Features
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 - INFO : xDoctor Activated (默认) ...
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 - 信息 :ProcComplete
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 - INFO :使用本地报告功能。
2020-06-08 21:53:47,022: xDoctor_4.8-62 - INFO :正在使用 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.