XCAT Change the hostname of an existing node

From Define Wiki
Revision as of 17:30, 6 January 2021 by David (talk | contribs) (Created page with "== Remove the old names from the services == <pre> makedns -d <noderange> makedhcp -d <noderange> makegocons -d <noderange> </pre> == Rename the node == <pre> # node1 being...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Remove the old names from the services

makedns -d <noderange>
makedhcp -d <noderange>
makegocons -d <noderange>

Rename the node

# node1 being the old name / node2 being the new name
chdef -t node -o node1 -n node2

Regenerate the configuration files for services with the new names

makedns -n
makedhcp -a
makegocons