Anvil-rename-server: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
(Created page with "{{header}} = NAME = anvil-rename-server - Tool to rename servers. = SYNOPSIS = '''anvil-rename-server''' ''<command> ''[''options''] = DESCRIPTION = This renames a server (and the DRBD resources and LVs below it). Given the nature of this program, it runs on the node directly, and SSH's into the peer(s) to update the DRBD config files and rename LVs. '''Note''' The server must be stopped before it can be renamed! = OPTIONS = -?, -h, '''--help''' Show this m...")
 
No edit summary
 
Line 15: Line 15:
= OPTIONS =
= OPTIONS =


-?, -h, '''--help''' Show this man page.
;-?, -h, '''--help'''
 
: Show this man page.
; '''--log-secure'''
; '''--log-secure'''
: When logging, record sensitive data, like passwords.
: When logging, record sensitive data, like passwords.
Line 24: Line 24:
== Commands: ==
== Commands: ==


'''--job-uuid''' &lt;job uuid&gt;
;'''--job-uuid''' &lt;job uuid&gt;
 
: This is the job UUID used when the request to rename came from the Striker UI.
; This is the job UUID used when the request to rename came from the Striker UI.
:
; '''--new-name''' &lt;new name&gt;
; '''--new-name''' &lt;new name&gt;
:  
: This is the new name of the server  
; This is the new name of the server  
:
; '''--server''' &lt;current name&gt;
; '''--server''' &lt;current name&gt;
:  
: This is the current name of the server to be renamed. This is optional if ''''--server-uuid''' &lt;uuid&gt;' is used.
; This is the current name of the server to be renamed. This is optional if ''''--server-uuid''' &lt;uuid&gt;' is used.
:
; '''--server-uuid''' &lt;server UUID&gt;
; '''--server-uuid''' &lt;server UUID&gt;
:  
: This is the server UUID of the server to be renamed. This is optional if ''''--server''' &lt;name&gt;' is used.
; This is the server UUID of the server to be renamed. This is optional if ''''--server''' &lt;name&gt;' is used.
:


= AUTHOR =
= AUTHOR =

Latest revision as of 01:18, 1 August 2024

 Alteeve Wiki :: Anvil-rename-server

NAME

anvil-rename-server - Tool to rename servers.

SYNOPSIS

anvil-rename-server <command> [options]

DESCRIPTION

This renames a server (and the DRBD resources and LVs below it). Given the nature of this program, it runs on the node directly, and SSH's into the peer(s) to update the DRBD config files and rename LVs. Note The server must be stopped before it can be renamed!

OPTIONS

-?, -h, --help
Show this man page.
--log-secure
When logging, record sensitive data, like passwords.
-v, -vv, -vvv
Set the log level to 1, 2 or 3 respectively. Be aware that level 3 generates a significant amount of log data.

Commands:

--job-uuid <job uuid>
This is the job UUID used when the request to rename came from the Striker UI.
--new-name <new name>
This is the new name of the server
--server <current name>
This is the current name of the server to be renamed. This is optional if '--server-uuid <uuid>' is used.
--server-uuid <server UUID>
This is the server UUID of the server to be renamed. This is optional if '--server <name>' is used.

AUTHOR

Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.

REPORTING BUGS

Report bugs to users@clusterlabs.org

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.