Rename a cluster
Starting with PowerVC 2.2.1.1, you can rename a cluster by using the PowerVC
powervc-opsmgr config
command.
Renaming the cluster command
Run the
powervc-opsmgr config renamecluster –help
command to rename a
cluster.powervc-opsmgr config renamecluster --cluster <clustername> --newclustername <newclustername>
where the clustername specifies the old cluster name and the
newclustername specifies the new cluster name.- Command options
-
-h, --help
: Shows the help message and exits.-v, --verbose
: This is the standard verbose argument. Use this option to specify verbosity while processing the inventory.-c CLUSTER, --cluster CLUSTER
: Provides the cluster name for which the config subcommand must be executed.-N NEWCLUSTERNAME, --newclustername NEWCLUSTERNAME
: The new cluster name.