Striker-manage-peers: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:


This handles peering Striker dashboards. Peered Strikers means that they act as replaceable alternative dashboards, should another fail.
This handles peering Striker dashboards. Peered Strikers means that they act as replaceable alternative dashboards, should another fail.
; '''Note'''
: The list that is downloaded is - https://standards-oui.ieee.org/oui/oui.txt
: The oui.txt file is cached locally once downloaded to minimizing loading the IEEE server. It will be redownloaded every few days.


= 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 28: Line 24:
== Commands: ==
== Commands: ==


'''--check''' This reports 'status=[1,0]' to indicate if the install target feature is currently running or not. Specifically, it checks to see if the DHCP server is running or not.
;'''--add'''
 
:This tells the program to add the peer to the anvil.conf file.
; '''--disable'''
; '''--list'''
: This disables the install target feature.
: This lists the configured striker peers (including the striker this is run on).
; '''--enable'''
; '''--remove'''
: This enables the install target feature.
: This tells the program to remove the peer to the anvil.conf file.
; '''--force'''
; '''--host'''
: This is the same as '--refresh', forcing the update of the RPM repo.
: This is the host (name or IP) used when connecting the a new striker (used with '--add').
; '''--host-uuid''' <uuid>
: This is the striker's host UUID. This is used with '--add' or '--remove'.
; '''--job-uuid''' <uuid>
; '''--job-uuid''' <uuid>
: This is the job UUID used to run this job.
: This is the job UUID used to run this job.
; '''--no-refresh'''
; '''--port''' (default 5432)
: If a refresh of the RPM repository would have been called, this switch will prevent it from happening.
: This is the TCP port used to connected to the postgresql database on the peer. Generally this is 5432 and shouldn't be changed without careful consideration and testing.
; '''--refresh-file'''
; '''--password-file''' /path/to/file.txt
: This tells this run to refresh the RPM repository, regardless of whether it would have run otherwise.
: This is the file that contains the password used to connect to the striker database password. The file should contain only the password in the first line, and nothing else. The caller should remove the file once the task is complete.
; '''--status'''
; '''--ping''' (default '1')
: This checks to see if dhcpd is running or not, then exits (effectively checking if the install target feature is running).
: If set to '1', the dashboard will be pinged before an attempt to connect to the database is made. This is helpful because a pgsql connection can take a long time to timeout, making everything that uses the database slow down when a dashboard's database is unreachable.


= AUTHOR =
= AUTHOR =

Latest revision as of 04:16, 31 August 2024

 Alteeve Wiki :: Man Pages :: Striker-manage-peers

NAME

striker-manage-peers - This manages peering two Striker dashboards

SYNOPSIS

striker-manage-peers <command> [options]

DESCRIPTION

This handles peering Striker dashboards. Peered Strikers means that they act as replaceable alternative dashboards, should another fail.

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
This tells the program to add the peer to the anvil.conf file.
--list
This lists the configured striker peers (including the striker this is run on).
--remove
This tells the program to remove the peer to the anvil.conf file.
--host
This is the host (name or IP) used when connecting the a new striker (used with '--add').
--host-uuid <uuid>
This is the striker's host UUID. This is used with '--add' or '--remove'.
--job-uuid <uuid>
This is the job UUID used to run this job.
--port (default 5432)
This is the TCP port used to connected to the postgresql database on the peer. Generally this is 5432 and shouldn't be changed without careful consideration and testing.
--password-file /path/to/file.txt
This is the file that contains the password used to connect to the striker database password. The file should contain only the password in the first line, and nothing else. The caller should remove the file once the task is complete.
--ping (default '1')
If set to '1', the dashboard will be pinged before an attempt to connect to the database is made. This is helpful because a pgsql connection can take a long time to timeout, making everything that uses the database slow down when a dashboard's database is unreachable.

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.