Anvil-configure-host: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{man_header}} = NAME = anvil-configure-host - This program configures the host for use in an Anvil! cluster. = SYNOPSIS = '''anvil-configure-host''' ''<command> ''[''options''] = DESCRIPTION = This picks up a job from the database and, using the data from it, configures the host to prepare it for use in an Anvil! cluster. = OPTIONS = ;-?, -h, '''--help''' : Show this man page. ; '''--log-secure''' : When logging, record sensitive data, like passwords. ; -v..." |
No edit summary |
||
Line 34: | Line 34: | ||
Report bugs to users@clusterlabs.org | Report bugs to users@clusterlabs.org | ||
= Sample --file Format = | |||
When using <span class="code">--file /path/to/file</span>, the referenced file should have the following format; | |||
Config file body for subnodes and DR hosts; | |||
<syntaxhighlight lang="bash"> | |||
### Nodes/DRHosts | |||
# If you have only one BCN but it's BCN 2 (or 3, 4...), set the BCN count to | |||
# the number of the real BCN and the previous BCNs will be ignored. | |||
host_name = <full host name> | |||
gateway_interface = <ifnX,bcnX> | |||
gateway = <ip, optional> | |||
dns = <csv ips> | |||
bcn_count = 1 | |||
bcn1_ip = <ip, 10.201.x.y> | |||
bcn1_subnet_mask = <subnet> | |||
bcn1_create_bridge = [0.1] | |||
bcn1_link1_mac_to_set = <mac> | |||
bcn1_link2_mac_to_set = <mac, optional> | |||
ifn_count = 1 | |||
ifn1_ip = <ip> | |||
ifn1_subnet_mask = <subnet> | |||
ifn1_create_bridge = [0,1] | |||
ifn1_link1_mac_to_set = <mac> | |||
ifn1_link2_mac_to_set = <mac, optional> | |||
sn_count = 0+ | |||
sn1_ip = 10.101.x.y | |||
sn1_subnet_mask = <subnet> | |||
sn1_link1_mac_to_set = <mac, optional> | |||
sn1_link2_mac_to_set = <mac, optional> | |||
mn_count = 0+ | |||
mn1_ip = 10.199.x.y | |||
mn1_subnet_mask = <subnet> | |||
mn1_link1_mac_to_set = <mac, optional> | |||
mn1_link2_mac_to_set = <mac, optional> | |||
</syntaxhighlight> | |||
Config file for Striker dashboards | |||
<syntaxhighlight lang="bash"> | |||
organization = <company> | |||
prefix = <prefix> | |||
sequence = 1+ | |||
domain = <domain name> | |||
striker_password = <secret> | |||
host_name = <striker full domain name> | |||
gateway_interface = <ifnX,bcnX> | |||
gateway = <ip, optional> | |||
dns = <csv ips> | |||
# If you have only one BCN but it's BCN 2 (or 3, 4...), set the BCN count to | |||
# the number of the real BCN and the previous BCNs will be ignored. | |||
ifn_count = 1 | |||
ifn1_ip = <ip> | |||
ifn1_subnet_mask = <subnet> | |||
ifn1_link1_mac_to_set = <mac> | |||
ifn1_link2_mac_to_set = <mac, optional> | |||
bcn_count = 1 | |||
bcn1_ip = <ip, 10.201.x.y> | |||
bcn1_subnet_mask = <subnet> | |||
bcn1_link1_mac_to_set = <mac> | |||
bcn1_link2_mac_to_set = <mac, optional> | |||
</syntaxhighlight> | |||
{{footer}} | {{footer}} |
Latest revision as of 21:55, 25 September 2024
Alteeve Wiki :: Man Pages :: Anvil-configure-host |
NAME
anvil-configure-host - This program configures the host for use in an Anvil! cluster.
SYNOPSIS
anvil-configure-host <command> [options]
DESCRIPTION
This picks up a job from the database and, using the data from it, configures the host to prepare it for use in an Anvil! cluster.
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 <name>
- The program is normally run as a job, with data on how to configure the host defined in the job. This switch allows the running of a specific job. If this is not set, the program will search for a job that has not yet been picked up by another process. If found, that job UUID is used automatically.
AUTHOR
Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.
REPORTING BUGS
Report bugs to users@clusterlabs.org
Sample --file Format
When using --file /path/to/file, the referenced file should have the following format;
Config file body for subnodes and DR hosts;
### Nodes/DRHosts
# If you have only one BCN but it's BCN 2 (or 3, 4...), set the BCN count to
# the number of the real BCN and the previous BCNs will be ignored.
host_name = <full host name>
gateway_interface = <ifnX,bcnX>
gateway = <ip, optional>
dns = <csv ips>
bcn_count = 1
bcn1_ip = <ip, 10.201.x.y>
bcn1_subnet_mask = <subnet>
bcn1_create_bridge = [0.1]
bcn1_link1_mac_to_set = <mac>
bcn1_link2_mac_to_set = <mac, optional>
ifn_count = 1
ifn1_ip = <ip>
ifn1_subnet_mask = <subnet>
ifn1_create_bridge = [0,1]
ifn1_link1_mac_to_set = <mac>
ifn1_link2_mac_to_set = <mac, optional>
sn_count = 0+
sn1_ip = 10.101.x.y
sn1_subnet_mask = <subnet>
sn1_link1_mac_to_set = <mac, optional>
sn1_link2_mac_to_set = <mac, optional>
mn_count = 0+
mn1_ip = 10.199.x.y
mn1_subnet_mask = <subnet>
mn1_link1_mac_to_set = <mac, optional>
mn1_link2_mac_to_set = <mac, optional>
Config file for Striker dashboards
organization = <company>
prefix = <prefix>
sequence = 1+
domain = <domain name>
striker_password = <secret>
host_name = <striker full domain name>
gateway_interface = <ifnX,bcnX>
gateway = <ip, optional>
dns = <csv ips>
# If you have only one BCN but it's BCN 2 (or 3, 4...), set the BCN count to
# the number of the real BCN and the previous BCNs will be ignored.
ifn_count = 1
ifn1_ip = <ip>
ifn1_subnet_mask = <subnet>
ifn1_link1_mac_to_set = <mac>
ifn1_link2_mac_to_set = <mac, optional>
bcn_count = 1
bcn1_ip = <ip, 10.201.x.y>
bcn1_subnet_mask = <subnet>
bcn1_link1_mac_to_set = <mac>
bcn1_link2_mac_to_set = <mac, optional>
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. |