L’inscription du système de fichiers Linux PowerProtect échoue avec le message « L’adresse préférée n’est pas valide »
Riepilogo: L’enregistrement de l’agent de système de fichiers Linux avec le nom de domaine complet (FQDN) ou l’adresse IP échoue avec le message « L’adresse préférée n’est pas valide ».
Sintomi
PowerProtect Data Manager est utilisé pour protéger les serveurs Linux avec l’agent de système de fichiers (agent d’application). L’enregistrement de l’agent d’application avec le nom de domaine complet (FQDN) ou l’adresse IP échoue avec le message « L’adresse préférée n’est pas valide ».
[root@my-application-agent]# /opt/dpsapps/agentsvc/register.sh --enable AgentService is already commissioned. Enter the PowerProtect Data Manager server FQDN or IP address: my-ppdm.my-domain.com The PowerProtect Data Manager server FQDN or IP address that is used by the application agent host is my-ppdm.my-domain.com To use the Fully Qualified Domain Name (FQDN) as the preferred address for the agent host, in the PowerProtect Data Manager UI, go to Infrastructure > Application Agents and select Configure DNS Name Resolution. Enter the preferred FQDN or IP address of the application host: my-application-agent.my-domain.com preferred address is invalid Enter the preferred FQDN or IP address of the application host: XXX.XXX.XXX.XXX preferred address is invalid Failed to get a valid preferred address of the application host even after 2 attempts. Failing registration
La résolution de noms entre l’agent d’application et PowerProtect Data Manager fonctionne correctement. La page PowerProtect Data Manager Application Agents affiche un enregistrement auprès de l’adresse IP de l’agent d’application et de localhost.localdomain.
Causa
Les agents d’application /etc/hosts Le fichier contient une entrée de bouclage 127.0.0.1 pour localhost.localdomain. Le localhost.localdomainentraîne l’utilisation d’un nom incorrect dans la configuration de l’agent d’application lors de l’enregistrement.
[root@my-application-agent]# cat /etc/hosts 127.0.0.1 localhost.localdomain locoalhost ::1 localhost.localdomain locoalhost XXX.XXX.XXX.XXX my-application-agent.my-domain.com my-application-agent
Risoluzione
Les agents d’application /etc/hosts Les lignes de fichier pour localhost.localdomain doivent être commentées ou mises à jour pour refléter le nom des agents d’application.
[root@my-application-agent]# cat /etc/hosts #127.0.0.1 localhost.localdomain locoalhost #::1 localhost.localdomain locoalhost XXX.XXX.XXX.XXX my-application-agent.my-domain.com my-application-agent
ou
[root@my-application-agent]# cat /etc/hosts XXX.XXX.XXX.XXX my-application-agent.my-domain.com my-application-agent 127.0.0.1 my-application-agent.my-domain.com my-application-agent ::1 my-application-agent.my-domain.com my-application-agent