Anvil-manage-server-system: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
(Created page with "{{header}} = NAME = anvil-manage-server-system - Tool used to manage the system configuration of a hosted server. = SYNOPSIS = '''anvil-manage-server-system''' ''<command> ''[''options''] = DESCRIPTION = anvil-manage-server-system - This tool is used to manage various system configuration components of hosted servers. Storage is NOT managed here, see 'anvil-manage-server-storage' for that. ; When called without switches, the list of servers than can be worke...")
 
No edit summary
Line 13: Line 13:
anvil-manage-server-system - This tool is used to manage various system configuration components of hosted servers. Storage is NOT managed here, see 'anvil-manage-server-storage' for that.
anvil-manage-server-system - This tool is used to manage various system configuration components of hosted servers. Storage is NOT managed here, see 'anvil-manage-server-storage' for that.


; When called without switches, the list of servers than can be worked on will be displayed.
When called without switches, the list of servers than can be worked on will be displayed.
:


= 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 27: Line 26:
== Commands: ==
== Commands: ==


'''--boot-menu''' &lt;yes,no&gt; When called without a value, it shows if the boot menu is enabled or not. If called with 'yes', it enables the boot menu. If called with 'no', the boot meny is disabled.
;'''--boot-menu''' &lt;yes,no&gt;
 
: When called without a value, it shows if the boot menu is enabled or not. If called with 'yes', it enables the boot menu. If called with 'no', the boot meny is disabled.
; '''--boot-order''' &lt;dev1,dev2,...,devN&gt;
; '''--boot-order''' &lt;dev1,dev2,...,devN&gt;
: When called without a value, it shows if the current order of boot devices. To set a new boot device order, use a comma-separated list of boot devices. Note that any boot devices that are not specified will be moved in their original order to boot after the specified devices are moved up. For this reason, you can just specify the device you want to boot, and it will be moved to the front of the list.
: When called without a value, it shows if the current order of boot devices. To set a new boot device order, use a comma-separated list of boot devices. Note that any boot devices that are not specified will be moved in their original order to boot after the specified devices are moved up. For this reason, you can just specify the device you want to boot, and it will be moved to the front of the list.
; '''--cpu''' &lt;cores or sockets,cores or sockets,cores,threads&gt;
; '''--cpu''' &lt;cores or sockets,cores or sockets,cores,threads&gt;
: If called without a value, the current CPU core allocation is shown. To change it, you can specify simply a core count, which will appear as a single socket CPU with the specified number of cores. The maximum total number of cores is two-less than the total cores on the host Anvil! node.
: If called without a value, the current CPU core allocation is shown. To change it, you can specify simply a core count, which will appear as a single socket CPU with the specified number of cores. The maximum total number of cores is two-less than the total cores on the host Anvil! node.
;
: Alternatively, you can specify '--cpu x,y', where 'x' will be the number of sockets to emulate, and 'y' will be the number of cores per socket. Example; '--cpu 2,4' would give 8 total cores, emulates as 2 sockets, each with a 4-core CPU.
: Alternatively, you can specify '--cput x,y', where 'x' will be the number of sockets to emulate, and 'y' will be the number of cores per socket. Example; '--cpu 2,4' would give 8 total cores, emulates as 2 sockets, each with a 4-core CPU.
: Lastly, you can specify '--cpu x,y,z', where the 'z' adds how many threads to use. Example; '--cpu 1,2,2' would give 8 total cores, emulates as 1 socket, each with a 2-core CPU, and each core being 2 threads.
;
: Lastly, you can specify '--cput x,y,z', where the 'z' adds how many threads to use. Example; '--cpu 1,2,2' would give 8 total cores, emulates as 1 socket, each with a 2-core CPU, and each core being 2 threads.
; '''--job-uuid'''
; '''--job-uuid'''
: This is the jobs -&gt; job_uuid to execute. Generally this is only used by other programs.
: This is the jobs -&gt; job_uuid to execute. Generally this is only used by other programs.
; '''--ram''' &lt;size&gt;
; '''--ram''' &lt;size&gt;
: If this is called without a value, the current RAM allocated to the server is displayed. If it is passed with a size, and if that size is available, the amount of RAM allocated to the server will be updated.
: If this is called without a value, the current RAM allocated to the server is displayed. If it is passed with a size, and if that size is available, the amount of RAM allocated to the server will be updated.
;
: The size can be in bytes, or a human-readible size, using base-2 notation. Ie: '8GiB' (no space) and '8589934592' are the same.
: The size can be in bytes, or a human-readible size, using base-2 notation. Ie: '8GiB' (no space) and '8589934592' are the same.



Revision as of 01:07, 1 August 2024

 Alteeve Wiki :: Anvil-manage-server-system

NAME

anvil-manage-server-system - Tool used to manage the system configuration of a hosted server.

SYNOPSIS

anvil-manage-server-system <command> [options]

DESCRIPTION

anvil-manage-server-system - This tool is used to manage various system configuration components of hosted servers. Storage is NOT managed here, see 'anvil-manage-server-storage' for that.

When called without switches, the list of servers than can be worked on will be displayed.

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:

--boot-menu <yes,no>
When called without a value, it shows if the boot menu is enabled or not. If called with 'yes', it enables the boot menu. If called with 'no', the boot meny is disabled.
--boot-order <dev1,dev2,...,devN>
When called without a value, it shows if the current order of boot devices. To set a new boot device order, use a comma-separated list of boot devices. Note that any boot devices that are not specified will be moved in their original order to boot after the specified devices are moved up. For this reason, you can just specify the device you want to boot, and it will be moved to the front of the list.
--cpu <cores or sockets,cores or sockets,cores,threads>
If called without a value, the current CPU core allocation is shown. To change it, you can specify simply a core count, which will appear as a single socket CPU with the specified number of cores. The maximum total number of cores is two-less than the total cores on the host Anvil! node.
Alternatively, you can specify '--cpu x,y', where 'x' will be the number of sockets to emulate, and 'y' will be the number of cores per socket. Example; '--cpu 2,4' would give 8 total cores, emulates as 2 sockets, each with a 4-core CPU.
Lastly, you can specify '--cpu x,y,z', where the 'z' adds how many threads to use. Example; '--cpu 1,2,2' would give 8 total cores, emulates as 1 socket, each with a 2-core CPU, and each core being 2 threads.
--job-uuid
This is the jobs -> job_uuid to execute. Generally this is only used by other programs.
--ram <size>
If this is called without a value, the current RAM allocated to the server is displayed. If it is passed with a size, and if that size is available, the amount of RAM allocated to the server will be updated.
The size can be in bytes, or a human-readible size, using base-2 notation. Ie: '8GiB' (no space) and '8589934592' are the same.

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.