Skip to content

Instantly share code, notes, and snippets.

@mrajagopal
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrajagopal/7ba7bb12963b4b156a4c to your computer and use it in GitHub Desktop.
Save mrajagopal/7ba7bb12963b4b156a4c to your computer and use it in GitHub Desktop.
Redacted LineRate configuration for moveRequest() example
!
hostname nodeA
!
username admin secret encrypted "XXXXXXXX" uid 2000
!
ip dns
name-server 192.168.88.40 172.17.226.46
admin-status online
!
phone-home
userid "mrajagopal" secret encrypted "XXXXXXXX"
!
interface em0
mtu 1500
ip address dhcp
!
interface em1
mtu 1500
no ip dhcp client request router
ip address dhcp
carp 1
priority 2
authentication test123
ip 192.168.99.1
carp 2
priority 5
ip 192.168.99.1
ip 192.168.99.2
!
interface em2
mtu 1500
no ip dhcp client request router
ip address dhcp
!
interface lo1
mtu 16384
ip address 192.0.2.1 255.255.255.255
!
ip route 0.0.0.0/0 192.168.226.254
!
health-monitor hm1
server-down "2/10"
type http
request-method POST
response-body "help fire"
!
health-monitor hm_web1
interval 2
timeout 1
server-down "8/10"
server-up "9/10"
type http
request-method GET
request-target "/health.html"
admin-status online
!
ssl profile self-signed
attach primary-certificate self-signed
attach private-key self-signed
!
real-server base rsbase_web
max-connections 1000
service http
response-timeout 60
response-idle-timeout 60
keepalive-timeout 10
attach health-monitor hm_web1
admin-status online
!
real-server rsweb1 ip 192.168.112.143 80 base rsbase_web
real-server rsweb2 ip 192.168.112.142 80 base rsbase_web
real-server rsweb3 ip 192.168.112.149 80 base rsbase_web
!
!
virtual-ip base vipbase_vip1
service http
keepalive-timeout 5
admin-status online
!
virtual-ip vipweb1
ip address 192.0.2.1 80
base vipbase_vip1
service http
keepalive-timeout 5
admin-status online
!
real-server group rsgroup_websilo1
members by regex "rsweb.*"
!
virtual-server paidUsersServer
lb-algorithm round-robin
service http
hostname reverse-proxy
hostname rproxy
attach virtual-ip vipweb1 default
attach real-server rsweb1
attach real-server rsweb2
!
virtual-server trialUsersServer
lb-algorithm round-robin
service http
hostname video-ogg
attach virtual-ip vipbase_vip1 default
attach real-server rsweb3
!
ssh
allow from any
allow to any 22
!
rest-server
allow from any
allow to any 8443
attach ssl profile self-signed
!
script move-request
source file "vsm-move-request.js"
admin-status online
!
key self-signed
! Key data not shown in redacted output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment