Anvil-manage-storage-groups

From Alteeve Wiki
Revision as of 15:23, 1 October 2024 by Digimer (talk | contribs) (→‎Commands:)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

 Alteeve Wiki :: Man Pages :: Anvil-manage-storage-groups

NAME

anvil-manage-storage-group - This program manages if a server is (and when) a server is protected by a DR host.

SYNOPSIS

anvil-manage-storage-group <command> [options]

DESCRIPTION

This tool manages storage groups. Storage Groups are collections of LVM Volume Groups across sub-nodes and DR hosts. A server's virtual hard disk syncs across LVs in common storage groups.

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:

--add
When managing a Storage Group, this adds a component, like a volume group.
This creates a new Storage Group on a given Anvil! node. Requires "--group <name>".
--anvil <name or UUID>
This is the Anvil! node whose storage groups you want to see or work on.
--remove <group name or UUID>
This deletes a storage group entirely.
--rename
This is used along with "--new-name <new name>" and "--group <name or UUID>" to change the name of an existing storage group.
--group <name or UUID>
The is the storage group name or UUID that is being worked with.
--member <VG internal UUID>
This is the LVM volume group's internal UUID (as shown by vgdisplay or with "--show". It is used to specify which volume group is being added or removed.
--new-name <new name>
When used with "--rename" and "--group <name or UUID>", this specifies the new storage group name.
--show
This shows the storage groups on each Anvil! node (or just the one specified with "--anvil <name or UUID>"), and the available DR hosts.

EXAMPLES

Add a VG to a storage group

anvil-manage-storage-groups --anvil vm-anvil-01 --group "Storage group 1" --add --member edrYMv-Fl2D-o0tO-g8ok-idOh-oBIh-65LuD6

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.