Voici la manière dont il faudra procéder pour faire pointer un nouveau serveur PSC (externe ou interne) pour votre serveur VCSA. Nous verrons dans cet article les options disponibles pour la commande “cmsso-util”. Je ne vous proposerai pas de LAB, le détail des commandes me semble suffisamment clair. Il faudra simplement que votre serveur de destination soit prêt pour recevoir les instructions de l’ancien serveur. Pensez a le déployer et qu’il soit accessible depuis votre appliance VCSA avant d’effectuer cette intervention. Avec cette commande, vous avez la possibilité de migrer d’un serveur avec un serveur PSC interne vers un externe ou d’un serveur PSC externe vers un autre serveur externe.
Dans un premier temps, connectez-vous en SSH sur votre vCenter (VCSA)
root@vcenterhome [ ~ ]# cmsso-util --help usage: cmsso-util [-h] {machinecert,unregister,reconfigure,repoint} ... Tool for orchestrating changes to PNID, Machine Certificate, unregistering a node from Component Manager, SSO, reconfiguring a vCenter Server with embedded PSC and repointing a vCenter Server to an external PSC positional arguments: {machinecert,unregister,reconfigure,repoint} machinecert Set machine SSL cert of this node. Note:- Services will be Restarted. unregister Unregister node. By default solution users, computer account and service endpoints will be unregistered. reconfigure Reconfigure a vCenter with an embedded Platform Services Controller(PSC) to a vCenter Server. Then it repoints to the provided external PSC node. repoint Repoints a vCenter with an external Platform Services Controller(PSC) to the provided external PSC node.
Voici les options pour migrer le PSC externe existant vers un autre serveur PSC externe.
root@vcenterhome [ ~ ]# cmsso-util repoint --help usage: # To repoint the vCenter Server with an external Platform Services Controller to another external Platform Services Controller with default HTTPS port(443). >cmsso-util repoint --repoint-psc # To repoint the vCenter Server with an external Platform Services Controller to another external Platform Services Controller with custom HTTPS port. >cmsso-util repoint --repoint-psc --dc-port optional arguments: -h, --help show this help message and exit --repoint-psc PSC_NODE System Name (PNID) of the PSC node to repoint --dc-port DCPORT External Platform Services Controller(PSC) HTTPS Port, if --dc-port is not set, default 443 will be used --debug Set this flag to get command execution detail
Voici les options pour migrer le PSC interne existant vers un serveur PSC externe.
root@vcenterhome [ ~ ]# cmsso-util reconfigure --help usage: # To reconfigure vCenter Server with an embedded Platform Services Controller to another external Platform Services Controller with default HTTPS port(443). >cmsso-util reconfigure --repoint-psc --username --domain-name --passwd # To reconfigure vCenter Server with an embedded Platform Services Controller to another external Platform Services Controller with custom HTTPS port. >cmsso-util reconfigure --repoint-psc --username --domain-name --dc-port --passwd optional arguments: -h, --help show this help message and exit --repoint-psc PSC_NODE System Name (PNID) of the PSC node to repoint --username USERNAME SSO domain Admin user name. Required for reconfiguring an embedded node. --passwd PASSWORD SSO Admin password. Required for reconfiguring an embedded node. --domain-name DOMAIN SSO domain name. Required for reconfiguring an embedded node. --dc-port DCPORT External Platform Services Controller(PSC) HTTPS Port, if --dc-port is not set, default 443 will be used. --debug Set this flag to get command execution detail