Avamar : Échec de la mise à niveau, création de rapports : MCS n’a pas pu mettre à jour le nouveau catalogue

Résumé: Lors d’un workflow de mise à niveau, l’installation échoue et signale l’erreur « MCS n’a pas réussi à mettre à jour le nouveau catalogue »

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes

Lors d’une mise à niveau, le workflow échoue avec l’une des erreurs suivantes :

MCS failed to update the new catalog 
Updating Client Plug-in Catalog (nnn of nnn) Failed 
UpdateClientPluginCatalog|Updating Client Plug-in Catalog (nnn of nnn)|ERROR: UpdateClientPluginCatalog::do - operation failed
 

Le workflow.log (/data01/avamar/repo/temp/AvamarUpgrade*/tmp/workflow.log) contient plus d’informations sur l’erreur :

tail -f workflow.log
...
2020-09-03 16:30:11 (+0530) 22794100 INFO: - - - - - - - END
2020-09-03 16:30:11 (+0530) 22794100 INFO: "rpm -qa --last | grep download-mcs-compat | cut --delimiter=' ' --fields=1 2>/dev/null", exit status=0 (success)
2020-09-03 16:30:11 (+0530) 22794100 INFO: download-mcs-compat-19.1.100-38-x86_64.rpm compare_rpms value: 0
2020-09-03 16:30:11 (+0530) 22794100 INFO: Rpm download-mcs-compat-19.1.100-38 is already installed on node 0.s
2020-09-03 16:30:11 (+0530) 22794100 INFO: post: Rpm download-mcs-compat-19.1.100-38 is already installed on node 0.s
2020-09-03 16:30:11 (+0530) 4107124 INFO: Processing rpm 1/1 succeeded
2020-09-03 16:30:11 (+0530) 4107124 INFO: post: Processing rpm 1/1 succeeded
2020-09-03 16:30:11 (+0530) 4107124 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=admin, ssh command is: (mcserver.sh --test --runasanyuser) >/usr/local/avamar/var/run_command-sysout.14142.4107124 2>&1
2020-09-03 16:30:15 (+0530) 4107124 INFO: - - - - - - - BEGIN(output) - - - - - - -
2020-09-03 16:30:15 (+0530) 4107124 INFO: INFO: Administrator Server status: up
2020-09-03 16:30:15 (+0530) 4107124 INFO: - - - - - - - END
2020-09-03 16:30:15 (+0530) 4107124 INFO: "mcserver.sh --test --runasanyuser", exit status=0 (success)
2020-09-03 16:30:15 (+0530) 4107124 INFO: Informing the MC to use the new catalog
2020-09-03 16:30:15 (+0530) 4107124 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=root, ssh command is: (mccli plugin update --force) >/usr/local/avamar/var/run_command-sysout.14142.4107124 2>&1
2020-09-03 16:30:18 (+0530) 4107124 INFO: - - - - - - - BEGIN(output) - - - - - - -
2020-09-03 16:30:18 (+0530) 4107124 INFO: 1,23996,CLI failed to connect to MCS.
2020-09-03 16:30:18 (+0530) 4107124 INFO: Attribute Value
2020-09-03 16:30:18 (+0530) 4107124 INFO: --------- ----------------------------------------------------
2020-09-03 16:30:18 (+0530) 4107124 INFO: option    AVAMAR001.corp.server.com: Name or service not known
2020-09-03 16:30:18 (+0530) 4107124 INFO:
2020-09-03 16:30:18 (+0530) 4107124 INFO: - - - - - - - END
2020-09-03 16:30:18 (+0530) 4107124 ERROR: "mccli plugin update --force", exit status=1 (error)
2020-09-03 16:30:18 (+0530) 4107124 INFO: post: "mccli plugin update --force", exit status=1 (error)
2020-09-03 16:30:18 (+0530) 4107124 ERROR: MCS failed to update the new catalog
2020-09-03 16:30:18 (+0530) 4107124 INFO: post: MCS failed to update the new catalog
2020-09-03 16:30:18 (+0530) 4107124 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=admin, ssh command is: (/usr/local/avamar/bin/avhostname -f) >/usr/local/avamar/var/run_command-sysout.14142.4107124 2>/usr/local/avamar/var/run_command-syserr.14142.4107124
2020-09-03 16:30:18 (+0530) 4107124 INFO: - - - - - - - BEGIN(output) - - - - - - -
2020-09-03 16:30:18 (+0530) 4107124 INFO: AVAMAR001.corp.company.com
2020-09-03 16:30:18 (+0530) 4107124 INFO: - - - - - - - END
2020-09-03 16:30:18 (+0530) 4107124 INFO: "/usr/local/avamar/bin/avhostname -f", exit status=0 (success)
2020-09-03 16:30:18 (+0530) 4107124 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=, ssh command is: (rpm -q dpnserver --last | head -1) >/usr/local/avamar/var/run_command-sysout.14142.4107124 2>&1
2020-09-03 16:30:18 (+0530) 4107124 INFO: Report home message: 2020-09-03 16:30:18 +0530|AVAMAR001.corp.server.com|19.1.0-38|AvamarUpgrade|19.1.0.38|/data01/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1599118779715/tmp|UpdateClientPluginCatalog|Updating Client Plug-in Catalog (172 of 226)|ERROR: UpdateClientPluginCatalog::do   - operation failed
2020-09-03 16:30:18 (+0530) 4107124 ERROR:  - operation failed
2020-09-03 16:30:19 (+0530) 4107124 INFO: post:  - operation failed
2020-09-03 16:30:19 (+0530) 4107124 INFO: ---------- END UpdateClientPluginCatalog::do ------------
 

Les commandes hostname et mccli signalent la valeur correcte :

hostname -f 
AVAMAR001.corp.company.com
 
mccli server show-prop
0,23000,CLI command completed successfully.
Attribute                                    Value
-------------------------------------------- ----------------------------------
State                                        Full Access
Active sessions                              0
Total capacity                               3.9 TB
Capacity used                                101.2 GB
Server utilization                           2.6%
Bytes protected (client pre-comp size)       62.9 GB
Bytes protected quota (client pre-comp size) Not configured
License expiration                           Never
Time since Server initialization             365 days 02h:44m
Last checkpoint                              2020-09-03 13:36:24 IST
Last validated checkpoint                    2020-09-03 07:00:36 IST
System Name                                  servername
System ID                                    1567585332@00:00:00:00:00:00
HFSAddr                                      AVAMAR001.corp.company.com
HFSPort                                      27000
IP address                                   10.x.x.87
Number of nodes                              1
Nodes Online                                 1
Nodes Offline                                0
Nodes Read-only                              0
Nodes Timed-out                              0

Cause

L’un des fichiers suivants a une adresse incorrecte mcsaddr valeur:
  • /home/admin/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml
  • /root/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml

Résolution

Remarque : Dans le cadre de cet exercice, le nom d’hôte correct est AVAMAR001.corp.company.com.
 

1. En tant qu’utilisateur root, vérifiez quel fichier contient le mauvais mcsaddr valeur:

grep -i mcsaddr /home/admin/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml
<!-- mcsaddr    : network name or IP of Administrator Server node -->
mcsaddr="AVAMAR001.corp.company.com"
 
grep -i mcsaddr /root/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml
<!-- mcsaddr    : network name or IP of Administrator Server node -->
mcsaddr="AVAMAR001.corp.server.com"
 

Dans cet exemple, la version incorrecte est /root/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml avec une valeur de AVAMAR001.corp.server.com

2. Créez une sauvegarde du fichier incorrect :

cp -p /root/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml  /root/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml.`date +%y%m%d`
 

--Ou--

cp -p /home/admin/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml  /home/admin/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml.`date +%y%m%d`
 

3. Modifiez le mauvais fichier :

vi /root/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml
 

--Ou--

vi /home/admin/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml
 

Mettez à jour le mscaddr valeur.

4. Reprenez le workflow.

Si des problèmes persistent, créez un essaim avec l’équipe RSE Avamar.

Produits concernés

Avamar

Produits

Avamar
Propriétés de l’article
Numéro d’article: 000081519
Type d’article: Solution
Dernière modification: 28 août 2025
Version:  5
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.