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: Il backup bootstrap e i comandi Authc hanno esito negativo sul server Linux in cluster dopo l'aggiornamento a 19.7.0.3 o 19.8.0.2 e versioni precedenti

Summary: Il server NetWorker viene implementato su un server Linux NetWorker in cluster. Dopo l'aggiornamento della versione di NetWorker alla versione 19.7.0.3 o 19.8.0.2 e precedenti, il backup bootstrap di Server Protection ha esito negativo. Anche i comandi del servizio di autenticazione (nsrlogin, authc_config, authc_mgmt) hanno esito negativo. L'errore restituito è che il servizio di autenticazione non è disponibile con errore HTTP 404 (non trovato). ...

This article applies to   This article does not apply to 

Symptoms

Il server NetWorker viene implementato in un cluster

ad alta disponibilità Red Hat Pacemaker (pcs).NetWorker è stato aggiornato alla versione 19.7.0.4.

L'avvio del servizio NetWorker ha esito positivo, tutte le risorse del cluster vengono visualizzate come "started" in uno dei nodi del cluster:
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
Il comando nsrlogin ha esito negativo con errore HTTP 404 (non trovato):
[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
Il backup bootstrap di "Server Protection" non riesce a eseguire il backup di authcdb:
 
Il backup del bootstrap non riesce a eseguire il backup di authcdb
Figura 1. Il backup bootstrap non riesce a eseguire il backup di authcdb

Cause

Le modifiche ad authc durante l'aggiornamento non sono state confermate in authcdb condiviso del cluster. Durante il processo di aggiornamento, la risorsa NWS pcs è disabilitata o la risorsa cluster PCS viene interrotta completamente. Quando NWS non è in esecuzione, la directory /nsr è collegata simbolicamente (a puntamento) a /nsr. NetWorker.local anziché /nsr_share.

/Nsr. NetWorker.local è la directory dei nodi fisici /nsr e contiene solo cartelle correlate al client. A /nsr. La cartella NetWorker.local/authc esiste ma non contiene alcun file specifico per l'authcdb del server NetWorker, che si trova in /nsr_share/nsr/authc. 

Dopo l'aggiornamento di NetWorker, authc prevede la "versione B" dei file authc, ma visualizza la "versione A" dei file da prima dell'aggiornamento.

Resolution

Aggiornare NetWorker a una delle seguenti versioni (o successive):
  • 19.8.0.4
  • 19.9.0.2
Se si utilizza una release precedente, eseguire l'aggiornamento a una delle versioni consigliate in precedenza. I pacchetti NetWorker possono essere scaricati dalla pagina dei prodotti del supporto Dell per NetWorker.

Se si utilizza 19.8.0.4 o 19.9.0.2 e versioni successive, effettuare le seguenti operazioni:
  1. In ogni nodo del cluster, rinominare /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. Su ogni nodo, eseguire nuovamente /opt/nsr/authc-server/scripts/authc_configure.sh per riconfigurare authc. In questo modo non si eliminano le impostazioni o le configurazioni eseguite in precedenza in authc.
Sul nodo attivo, l'aspetto è simile a:
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.

Sui nodi passivi, si tratta di un aspetto simile a:
 
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.
 
NOTA: Sul nodo passivo, viene richiesto di creare una nuova password per l'account amministratore di NetWorker. Ciò non significa che la password esistente viene persa. Ciò si verifica perché l'authcdb utilizzato dal cluster è in /nsr_share/nsr/authc, che esiste solo nel nodo attivo. Quando un nodo passivo diventa il nuovo nodo attivo, utilizza l'authcdb condiviso. Lo script authc_configure.sh viene eseguito su ogni nodo per ricreare le proprietà /opt/nsr/authc-server/conf/h2_db.properties locali per ogni nodo.
  1. Riavviare la risorsa NWS:
pcs resource restart nws
  1. Verificare che la risorsa NWS sia stata avviata:
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

I tentativi di Nsrlogin e i backup di bootstrap dovrebbero avere esito positivo.

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series