ЕКС: Як активувати xDoctor за допомогою виділеного SMTP та увімкнути оповіщення з набору додому, коли підключення до SCG недоступне

Summary: Не вдається підключитися ECS до SCG через тимчасові проблеми із синхронізацією запису активів Dell, а в деяких інших випадках підключення SCG не допускається (темні сайти). У таких ситуаціях xDoctor не може бути активований. Без активації xDoctor ECS не надсилатиме сповіщення з дому та не відображатиметься в xDoctor/CLM, оскільки xDoctor використовує SMTP для надсилання сповіщень до CLM. Таким чином, під час генерації оповіщення одержувачу надсилається електронний лист, запит на послугу «діал-додому» не генерується без порталу xDoctor та підключення CLM. Ця база даних пояснює кроки для активації xDoctor за допомогою виділеного SMTP-сервера замість SCG. Кожен шлюз 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

Примітка: Виділені конфігурації SMTP мають обмеження при генерації DialHome SR для власних сповіщень ECS. Це за задумом. Для генерації DialHome для власних сповіщень ECS CLM використовує шлюз SCG. Оскільки виділений SMTP не має SCG, корпус DialHome не був згенерований CLM.

Дивись KB ECS: DialHome SR не генерується для власних сповіщень ECS, якщо налаштовано лише SMTP, як це стосується примітки вище.
 

  1. Активація xDoctor не вдається, коли є проблеми з підключенням SCG, логи нижче

  
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, надайте IP-адресу та порт SMTP-сервера та оформіть нові налаштування.
Кожен шлюз 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 Pre
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. Перевірте підключення додому за допомогою наведеної нижче команди. Якщо тест пройшов успішно, він надсилає звіт про тестування на портал 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.