NetWorker: Po upgradu na verzi 19.7.0.3 nebo 19.8.0.2 a starší selžou příkazy Bootstrap Backup a Authc na clusterovaném serveru Linux

Summary: Server NetWorker se nasazuje na clusterový server Linux NetWorker. Po upgradu verze NetWorker na verzi 19.7.0.3 nebo 19.8.0.2 a předchozí se zálohování Server Protection bootstrap nezdaří. Také selžou příkazy ověřovací služby (nsrlogin, authc_config, authc_mgmt), vrácená chyba je, že ověřovací služba není k dispozici s chybou HTTP 404 (nenalezeno). ...

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.

Symptoms

Server NetWorker se nasazuje na cluster

s vysokou dostupností Red Hat Pacemaker (počítače).Nástroj NetWorker byl upgradován na verzi 19.7.0.4.

Spuštění služby NetWorker proběhlo úspěšně. Všechny zdroje clusteru se na jednom z uzlů clusteru zobrazují jako "Started":
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
Příkaz nsrlogin selže s chybou HTTP 404 (nenalezeno):
[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
Zálohování "Server Protection" bootstrap se nezdaří zálohování databáze authcdb:
 
Zálohování bootstrap se nepodařilo zálohovat databázi authcdb
Obrázek 1: Zálohování bootstrap se nepodařilo zálohovat databázi authcdb

Cause

Změny na řadiči authc během upgradu nebyly přiděleny ke sdílené databázi clusteru. Během procesu upgradu je prostředek NWS počítače zakázán nebo se zdroj clusteru PCS zcela zastaví. Když není spuštěn protokol NWS, adresář /nsr je symbolicky propojen (ukazuje) na /nsr. NetWorker.local místo /nsr_share.

/nsr. NetWorker.local je adresář /nsr fyzických uzlů a obsahuje pouze složky související s klientem. A /nsr. Složka NetWorker.local/authc existuje, ale neobsahuje žádné soubory specifické pro authcdb serveru NetWorker, nachází se v umístění /nsr_share/nsr/authc. 

Po upgradu nástroje NetWorker nástroj authc očekává od souborů authc "verzi B", ale před upgradem se zobrazuje "verze A".

Resolution

Upgradujte nástroj NetWorker na jednu z následujících verzí (nebo novější):
  • 19.8.0.4
  • 19.9.0.2
Pokud používáte starší verzi, proveďte upgrade na některou z výše doporučených verzí. Balíčky NetWorker lze stáhnout ze stránky produktu podpory Dell pro nástroj NetWorker.

Pokud používáte verzi 19.8.0.4 nebo 19.9.0.2 a novější, proveďte následující kroky:
  1. V každém uzlu clusteru přejmenujte soubor /opt/nsr/authc-server/conf/h2_db.properties:
mv /opt/nsr/authc-server/conf/h2_db.properties /opt/nsr/authc-server/conf/h2_db.properties.bak
  1. V každém uzlu znovu spusťte příkaz /opt/nsr/authc-server/scripts/authc_configure.sh a znovu nakonfigurujte authc. Tím se neodstraní žádná nastavení ani konfigurace provedené v rozhraní authc.
V aktivním uzlu vypadá takto:
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.

V pasivních uzlech vypadá takto:
 
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.
 
POZNÁMKA: Na pasivním uzlu budete vyzváni k vytvoření nového hesla pro účet správce NetWorker. To neznamená, že stávající heslo je ztraceno. K tomu dochází proto, že authcdb, kterou cluster používá, je ve složce /nsr_share/nsr/authc, která se nachází pouze na aktivním uzlu. Když se pasivní uzel stane novým aktivním uzlem, použije sdílenou databázi authcdb. V každém uzlu se spustí skript authc_configure.sh pro opětovné vytvoření souboru /opt/nsr/authc-server/conf/h2_db.properties, který je místní pro každý uzel.
  1. Restartujte prostředek NWS:
pcs resource restart nws
  1. Ujistěte se, že se zdroj NWS spustil:
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

Pokusy nsrlogin a zálohování bootstrap by mělo být úspěšné.

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.