Anvil-manage-host: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
No edit summary
 
Line 33: Line 33:
; '''--check-database'''
; '''--check-database'''
: This reports if the database on the local Striker is active or inactive.
: This reports if the database on the local Striker is active or inactive.
; '''--check-network-mapping'''
: This reports if the host is currently in network mapping (this disables several features and watches the network states much more frequently)
; '''--confirm'''
; '''--confirm'''
: This confirms actions that would normally prompt the user to confirm before proceeding.  
: This confirms actions that would normally prompt the user to confirm before proceeding.  
Line 39: Line 41:
; '''--database-inactive'''
; '''--database-inactive'''
: This marks the local database to be inactive.
: This marks the local database to be inactive.
; '''--disable-network-mapping'''
: This disables the network mapping mode.
; '''--enable-network-mapping'''
: This enables the network mapping mode.
; '''--mark-configured'''
; '''--mark-configured'''
: This marks the local system as being configured. This should be used carefully.
: This marks the local system as being configured. This should be used carefully.

Latest revision as of 01:53, 2 November 2024

 Alteeve Wiki :: Man Pages :: Anvil-manage-host

NAME

anvil-manage-host - Tool used to check or set various configuration options for a host.

SYNOPSIS

anvil-manage-host <command> [options]

DESCRIPTION

This tool provides a way to perform actions on a host that normally are handled by other processes, like marking a system as configure, etc. This will likely grow constantly over time.

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:

--age-out-database
This searches the database(s) for data that is old enough that it's no longer needed and deletes it from the database. This helps with the performance of resync operations in particular.
--auto-grow-pv
This looks at LVM physical volumes on the local host. For each one that is found, 'parted' is called to check if there's more that 1 GiB of free space available after it. If so, it will extend the PV partition to use the free space.
If you deleted the default '/home' partition during the install of a subnode or DR host, this should give you that space back.
--check-configured
This reports if the host is marked as configured yet or not.
--check-database
This reports if the database on the local Striker is active or inactive.
--check-network-mapping
This reports if the host is currently in network mapping (this disables several features and watches the network states much more frequently)
--confirm
This confirms actions that would normally prompt the user to confirm before proceeding.
--database-active
This marks the local database to be active.
--database-inactive
This marks the local database to be inactive.
--disable-network-mapping
This disables the network mapping mode.
--enable-network-mapping
This enables the network mapping mode.
--mark-configured
This marks the local system as being configured. This should be used carefully.
--mark-unconfigured
This marks the local system as being unconfigured. This should be used carefully.
--resync-database
This forces the databases to be resynced, even if they seem synced.

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! Alteeve Enterprise Support Community Support
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025
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.