Updating credentials throughout the cluster
Note: this is a user-contributed document. While this howto contains some very useful information, it is not necessarily updated for new versions of xCAT and therefore may be inaccurate in some cases. Use it with this in mind. We welcome corrections and contributions - see Editing xCAT Documentation. And see the xCAT Documentation page for documentation that is tested and updated with each xCAT release (to the best of our ability).
You can regenerate you xCAT credentials (-c) and ssh keys (-k) by running the following command on the Management Node(MN):
If you regenerate your credentials and keys then you need to do the following steps. See man xcatconfig for more options and informations.
If you have service nodes(SN):
- On the MN, run updatenode <service nodes> -k to all service nodes to re-exchange the ssh keys and credentials.
- On the service nodes, run xdsh <compute nodes> -K to each compute node to re-exchange the ssh keys.
If you do not have service nodes
- On the MN, run xdsh <compute nodes> -K to all compute nodes to re-exchange the ssh keys.
Whether or not you have service nodes:
- On the MN, Run the following commands to setup up new ssh keys on the management modules rspconfig mm snmpcfg=enable sshcfg=enable
Setting back up Conserver:
Run makeconservercf and stop and start ( not restart) conserver on the MN. If you have service nodes, Start and stop the xCAT daemon on the service node which will run makeconservercf and stop and start the conserver daemon. makeconservercf will rebuild the conserver configuration file and update it with the new credentials that were generated.