Lantronix G520 G520 User Guide - Page 108

Global Router Id/name, Enable Script Security

Page 108 highlights

10: Services Table 10-17 Keepalived Configuration Parameters General Description Detailed Log Syslog level Select to enable detailed keepalived general/common logs. Set the log level from 0-4, with 4 being the most detailed. Keepalived Global Vrrp startup delay Enter the time in seconds to delay before starting VRRP. Global Router Id/name Enter the global router ID/name. A default name is provided, but you can modify it if you want. It doesn't have to be the hostname, but it must be unique for each device in a pool. Keepalived config file Select the Keepalived configuration file. Settings in the configuration file will supersede settings configured on the Keepalived UI pages except for all scripts loaded in Tracking Scripts, and the User Notify settings in VRRP Instances. The name of the script should match the ones in the configuration file settings. Remove configuration for Keepalived User Enable Script Security Unlink the uploaded keepalived configuration so as to fill the configurations manually. The user for script execution. Select to prevent running any scripts that were configured to be run as root if any part of the path is writable by a non-root user. Enable dynamic interfaces Select to enable dynamic interfaces. Once enabled, next to Dynamic interfaces, select Allow or None Tracking Scripts Name of trackscript block Script Enter the tracking script block name. Select the tracking script file to upload it to the router. The file is uploaded to the /usr/sbin/ folder. The script name should start with "keepalived_" and end with ".sh". Remove script Click to remove the tracking script. TrackScript interval Enter the time interval between script invocations in seconds. Default is 1 second Weight Enter the weight to adjust the priority if the tracking script fails. Range is -253 to 253. Positive value will increase the priority. Negative value will decrease the priority. Setting it to zero (0) will ignore the weight, which means that any VRRP instance monitoring the script will transition to the fault state after the fail count number of consecutive failures of the script. A script returning 0 (zero) is success and everything else is fail. TrackScript pass count Enter the required number of successes for OK transition. TrackScript fail count Tracking Interfaces Name of interface block Interfaces Enter the required number of fails for NOK transition. Enter the name of the tracking interface block Select the interface to monitor for changing the state of the router or decreasing the weight. G520 Series IoT Cellular Gateway User Guide 108

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225

10: Services
G520 Series IoT Cellular Gateway User Guide
108
Table 10-17
Keepalived Configuration
Parameters
Description
General
Detailed Log
Select to enable detailed keepalived general/common logs.
Syslog level
Set the log level from 0-4, with 4 being the most detailed.
Keepalived Global
Vrrp startup delay
Enter the time in seconds to delay before starting VRRP.
Global Router Id/name
Enter the global router ID/name. A default name is provided, but you
can modify it if you want. It doesn't have to be the hostname, but it must
be unique for each device in a pool.
Keepalived config file
Select the Keepalived configuration file.
Settings in the configuration file will supersede settings configured on
the Keepalived UI pages except for all scripts loaded in Tracking
Scripts, and the User Notify settings in VRRP Instances.
The name of the script should match the ones in the configuration file
settings.
Remove configuration for
Keepalived
Unlink the uploaded keepalived configuration so as to fill the
configurations manually.
User
The user for script execution.
Enable Script Security
Select to prevent running any scripts that were configured to be run as
root if any part of the path is writable by a non-root user.
Enable dynamic interfaces
Select to enable dynamic interfaces. Once enabled, next to Dynamic
interfaces, select Allow or None
Tracking Scripts
Name of trackscript block
Enter the tracking script block name.
Script
Select the tracking script file to upload it to the router.
The file is uploaded to the /usr/sbin/ folder. The script name should
start with "keepalived_" and end with ".sh".
Remove script
Click to remove the tracking script.
TrackScript interval
Enter the time interval between script invocations in seconds.
Default is 1 second
Weight
Enter the weight to adjust the priority if the tracking script fails.
Range is -253 to 253. Positive value will increase the priority. Negative
value will decrease the priority. Setting it to zero
(0) will ignore the
weight, which means that any VRRP instance monitoring the script will
transition to the fault state after the fail count number of consecutive
failures of the script. A script returning 0 (zero) is success and
everything else is fail.
TrackScript pass count
Enter the required number of successes for OK transition.
TrackScript fail count
Enter the required number of fails for NOK transition.
Tracking Interfaces
Name of interface block
Enter the name of the tracking interface block
Interfaces
Select the interface to monitor for changing the state of the router or
decreasing the weight.