ECS: Jak aktywować xDoctor za pomocą dedykowanego protokołu SMTP i włączyć alerty dial-home, gdy połączenie SCG nie jest dostępne

Summary: Połączenie ECS z SCG nie udaje się z powodu tymczasowych problemów z synchronizacją rekordów zasobów firmy Dell, a w niektórych innych przypadkach połączenie SCG jest niedozwolone (dark sites). W takich sytuacjach xDoctor nie może zostać aktywowany. Bez aktywacji xDoctor ECS nie będzie wysyłać alertów dial-home ani pojawiać się w xDoctor/CLM, ponieważ xDoctor używa protokołu SMTP do raportowania alertów do CLM. W związku z tym po wygenerowaniu alertu do odbiorcy wysyłana jest wiadomość e-mail, żadne zgłoszenie serwisowe typu dial-home nie jest generowane bez portalu xDoctor i łączności CLM. W tym artykule bazy wiedzy wyjaśniono, jakie kroki należy wykonać, aby aktywować xDoctor przy użyciu dedykowanego serwera SMTP zamiast SCG. Każda bramka SCG ma zintegrowany serwer SMTP. Jeśli jest obecny, można go używać zamiast dedykowanego serwera SMTP do momentu rozwiązania problemów z 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

Uwaga: Dedykowane konfiguracje SMTP mają ograniczenia podczas generowania DialHome SR dla natywnych alertów ECS. Jest to zamierzone. Aby wygenerować natywne alerty DialHome dla ECS, CLM używa bramki SCG. Ponieważ dedykowany protokół SMTP nie ma SCG, CLM nie wygenerował żadnego przypadku DialHome.

Zapoznaj się z artykułem bazy wiedzy ECS: DialHome SR nie jest generowany dla natywnych alertów ECS, jeśli skonfigurowano tylko protokół SMTP w odniesieniu do powyższej uwagi.
 

  1. Aktywacja xDoctor kończy się niepowodzeniem w przypadku problemów z połączeniem SCG, dzienniki poniżej

  
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. Wywołanie xDoctor w trybie konfiguracji (menu i opcje zmieniły się w najnowszych wersjach 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. Z powyższego menu wybierz opcję 2 - Raporty i zdarzenia
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. Wybierz opcję 1 — "Raporty i zdarzenia do firmy Dell" z powyższego menu
Dokonaj wyboru: 1

  1. Podaj dane serwera SMTP. Wybierz opcję "no" dla dedykowanego protokołu SMTP, podaj adres IP i port serwera SMTP oraz wprowadź nowe ustawienia.
Każda bramka SCG ma zintegrowany serwer SMTP. Jeśli jest obecny, można go używać zamiast dedykowanego serwera SMTP do momentu rozwiązania problemów z 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. Wybierz "0", aby wrócić do menu głównego
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. Wybierz "0", aby wyjść z menu konfiguracji xDoctor
Dokonaj wyboru: 0
admin@host:~/>

  1. Aktywacja xDoctor powinna się teraz udać.
admin@host:/> sudo -i xdoctor
....
2020-06-08 21:49:35,747: xDoctor_4.8-62 - INFO : ---------------------------------------------------------------------------------------------------------------
2020-06-08 21:49:35,756: xDoctor_4.8-62 - INFO : funkcje pre xDoctor
2020-06-08 21:49:35,756: xDoctor_4.8-62 - INFO : Aktywacja Cron
2020-06-08 21:49:36,729: xDoctor_4.8-62 - INFO : Znalazłem serwer dedykowany (10.30.50.100:25) jako serwer SMTP...
2020-06-08 21:49:37,855: xDoctor_4.8-62 - INFO : Pomyślnie dodałem xDoctor do crona...
2020-06-08 21:49:38,120: xDoctor_4.8-62 - INFO : xDoctor Aktywowany (domyślnie) ...
2020-06-08 21:49:38,121: xDoctor_4.8-62 - INFO : --------------------
....
2020-06-08 21:53:45,961: xDoctor_4.8-62 - INFO : ------------
2020-06-08 21:53:45,961: xDoctor_4.8-62 - INFO : ProcComplete
2020-06-08 21:53:45,961: xDoctor_4.8-62 - INFO : ------------
2020-06-08 21:53:47,021: xDoctor_4.8-62 - INFO : Znalazłem serwer dedykowany (10.30.50.100:25) jako serwer SMTP...
2020-06-08 21:53:47,022: xDoctor_4.8-62 - INFO : Korzystanie z funkcji raportu lokalnego.
2020-06-08 21:53:47,022: xDoctor_4.8-62 - INFO : Korzystanie z kanału SMTP ...
2020-06-08 21:53:47,028: xDoctor_4.8-62 - INFO : Wysyłanie raportu xDoctor (RSC_APM00200512345-njecslabn1_060820_214933000.xml) do użytkownika ['emailalert@emc.com']
2020-06-08 21:53:48,142: xDoctor_4.8-62 - INFO : ----------------

  1. Przetestuj połączenie z domem przy użyciu poniższego polecenia. Jeśli test zakończy się pomyślnie, wysyła raport z testu do portalu 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.