Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

NetWorker: Bootstrap-Backup- und Authc-Befehle schlagen auf einem geclusterten Linux-Server nach dem Upgrade auf 19.7.0.3 oder 19.8.0.2 und früher fehl

Summary: Der NetWorker-Server wird auf einem geclusterten Linux NetWorker-Server bereitgestellt. Nach dem Upgrade der NetWorker-Version auf 19.7.0.3 oder 19.8.0.2 und früher schlägt das Bootstrap-Backup für den Serverschutz fehl. Authentifizierungsservicebefehle (nsrlogin, authc_config, authc_mgmt) schlagen ebenfalls fehl. Der zurückgegebene Fehler ist, dass der Authentifizierungsservice nicht verfügbar ist und der HTTP-Fehler 404 (nicht gefunden) auftritt. ...

This article applies to   This article does not apply to 

Symptoms

Der NetWorker-Server wird auf einem Red Hat Pacemaker -Cluster (PCS) mit hoher Verfügbarkeit bereitgestellt.

NetWorker wurde auf 19.7.0.4 aktualisiert.

Der NetWorker-Servicestart ist erfolgreich, alle Clusterressourcen werden auf einem der Cluster-Nodes als "gestartet" angezeigt:
root@NWrhelNodeG:~# pcs resource * Resource Group: NW_group: * fs (ocf::heartbeat:Filesystem): Started NWrhelNodeG.emclab.local * ip (ocf::heartbeat:IPaddr): Started NWrhelNodeG.emclab.local * nws (ocf::EMC_NetWorker:Server): Started NWrhelNodeG.emclab.local
nsrlogin-Befehl schlägt mit HTTP-Fehler 404 fehl (nicht gefunden):
[admin@NWrhelNodeG linux_x86_64]$ nsrlogin -u Administrator 130136:nsrlogin: Please enter password: 117849:nsrlogin: Authentication library error: GET failed with HTTP-ERROR: 404 Server Message : Could not parse server-response from json string Server Message : Make sure that server is running
Das Bootstrap-Backup "Server Protection" kann die authcdb nicht sichern:
 
Bootstrap-Backup kann authcdb nicht sichern
Abbildung 1: Bootstrap-Backup kann authcdb nicht sichern

Cause

Änderungen an authc während des Upgrades wurden nicht auf freigegebene Cluster-authcdb festgelegt. Während des Upgradevorgangs wird die PCS-NWS-Ressource deaktiviert oder die PCS-Clusterressource vollständig gestoppt. Wenn NWS nicht ausgeführt wird, ist das Verzeichnis /nsr symbolisch mit /nsr verknüpft (verweist). NetWorker.local anstelle von /nsr_share.

/Nsr. NetWorker.local ist das Verzeichnis der physischen Nodes /nsr und enthält nur clientbezogene Ordner. A /nsr. Der Ordner NetWorker.local/authc ist vorhanden, enthält jedoch keine der Dateien, die für die authcdb des NetWorker-Servers spezifisch sind. Dieser befindet sich unter /nsr_share/nsr/authc. 

Nach dem NetWorker-Upgrade erwartet authc "Version B" der authc-Dateien, aber vor dem Upgrade wird "Version A" der Dateien angezeigt.

Resolution

Führen Sie ein Upgrade von NetWorker auf eine der folgenden Versionen (oder höher) durch:
  • 19.8.0.4
  • 19.9.0.2
Wenn Sie eine frühere Version verwenden, führen Sie ein Upgrade auf eine der oben empfohlenen Versionen durch. NetWorker-Pakete können von der Dell Support-Produktseite für NetWorker heruntergeladen werden.

Wenn Sie 19.8.0.4 oder 19.9.0.2 und höher verwenden, führen Sie die folgenden Schritte aus:
  1. Benennen Sie auf jedem Node im Cluster /opt/nsr/authc-server/conf/h2_db.properties um:
mv /opt/nsr/authc-server/conf/h2_db.properties /opt/nsr/authc-server/conf/h2_db.properties.bak
  1. Führen Sie auf jedem Node die authc_configure.sh /opt/nsr/authc-server/scripts/erneut aus, um authc neu zu konfigurieren. Dadurch werden keine Einstellungen oder Konfigurationen gelöscht, die zuvor in authc vorgenommen wurden.
Auf dem aktiven Node sieht dies etwa wie folgt aus:
root@NWrhelNodeH:~# /opt/nsr/authc-server/scripts/authc_configure.sh 

Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]: 

The installation process will install an Apache Tomcat instance. For optimum security, EMC NetWorker Authentication Service will use a non-root user (nsrtomcat) to start the Apache Tomcat instance. If your system has special user security requirements, ensure that proper operational permissions are granted to this non-root user (nsrtomcat). 
Please refer to NetWorker Installation Guide. 

WARNING: Port 9090 is already in use. 

Do you wish to specify a different port number [y]? n 

The Apache Tomcat will use "NWrhelNodeH.emclab.local" as the host name. The Apache Tomcat will use "9090" as the port number. 

The NetWorker Authentication Service requires a keystore file to configure encryption and to provide SSL support. 

EMC recommends that you specify a keystore password that has a minimum of six characters. 

Do you want to use the existing keystore /nsr/authc/conf/authc.keystore [y]? 

Specify password for the existing keystore: 
The install will use the existing certificate "emcauthctomcat" for Apache Tomcat. 
The install will use the existing certificate "emcauthcsaml" for Authentication Service. 

Creating the installation log in /opt/nsr/authc-server/logs/install.log.

Performing initialization. Please wait... 

The installation completed successfully.

Auf den passiven Nodes sieht dies etwa wie folgt aus:
 
root@NWrhelNodeG:~# /opt/nsr/authc-server/scripts/authc_configure.sh 

Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/opt/nre/java/latest]: 

The installation process will install an Apache Tomcat instance. For optimum security, EMC NetWorker Authentication Service will use a non-root user (nsrtomcat) to start the Apache Tomcat instance. If your system has special user security requirements, ensure that proper operational permissions are granted to this non-root user (nsrtomcat). 
Please refer to NetWorker Installation Guide. 

The Apache Tomcat will use "NWrhelNodeG.emclab.local" as the host name. The Apache Tomcat will use "9090" as the port number. 

The NetWorker Authentication Service requires a keystore file to configure encryption and to provide SSL support. 

EMC recommends that you specify a keystore password that has a minimum of six characters. 

Do you want to use the existing keystore /nsr/authc/conf/authc.keystore [y]? 

Specify password for the existing keystore: 
The install will use the existing certificate "emcauthctomcat" for Apache Tomcat. 
The install will use the existing certificate "emcauthcsaml" for Authentication Service. 

The NetWorker Authentication Service defines automatically an administrator user account named administrator in the NetWorker Authentication Service local database. This account is specific to the administration of the NetWorker Authentication Service, and is not related to other administrator accounts on this system. 

******************************************************************************************* 
Password criteria: Minimum required characters - 9 and Maximum allowed characters - 126 Minimum [alphabetic - 2, Uppercase - 1, Lowercase - 1, Numeric - 1, Special character - 1] 
******************************************************************************************** 

Specify an initial password for administrator: 
Confirm the password: 

Creating the installation log in /opt/nsr/authc-server/logs/install.log. 

Performing initialization. Please wait... 

The installation completed successfully.
 
HINWEIS: Auf dem passiven Node werden Sie aufgefordert, ein neues Passwort für das NetWorker-Administratorkonto zu erstellen. Dies bedeutet nicht, dass das vorhandene Passwort verloren geht. Dies geschieht, weil die vom Cluster verwendete authcdb unter /nsr_share/nsr/authc liegt, die nur auf dem aktiven Node vorhanden ist. Wenn ein passiver Node zum neuen aktiven Node wird, verwendet er die freigegebene authcdb. Das authc_configure.sh-Skript wird auf jedem Node ausgeführt, um die lokalen /opt/nsr/authc-server/conf/h2_db.properties für jeden Node neu zu erstellen.
  1. Starten Sie die NWS-Ressource neu:
pcs resource restart nws
  1. Vergewissern Sie sich, dass die NWS-Ressource gestartet wurde:
pcs resource 

root@NWrhelNodeH:~# pcs resource 
   * Resource Group: NW_group: 
      * fs (ocf::heartbeat:Filesystem): Started 
NWrhelNodeH.emclab.local 
      * ip (ocf::heartbeat:IPaddr): Started 
NWrhelNodeH.emclab.local 
      * nws (ocf::EMC_NetWorker:Server): Started 
NWrhelNodeH.emclab.local

Nsrlogin-Versuche und Bootstrap-Backups sollten erfolgreich sein.

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000212755
Article Type: Solution
Last Modified: 12 Apr 2024
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.