Skip to content

Instantly share code, notes, and snippets.

@vaichidrewar
Created October 30, 2013 23:19
Show Gist options
  • Save vaichidrewar/7241972 to your computer and use it in GitHub Desktop.
Save vaichidrewar/7241972 to your computer and use it in GitHub Desktop.
GSLB Cluster Site Configuration
> show ip
Ipaddress Type Mode Arp Icmp Vserver State Owner
--------- ---- ---- --- ---- ------- ------ -----
1) 10.217.212.19 NetScaler IP Active Enabled Enabled NA Enabled 1
2) 10.217.212.20 NetScaler IP Active Enabled Enabled NA Enabled 2
3) 10.217.212.21 NetScaler IP Active Enabled Enabled NA Enabled 3
4) 10.217.212.22 Cluster IP Active Enabled Enabled NA Enabled Configuration Coordinator
5) 10.217.212.26 MIP Active Enabled Enabled NA Enabled ALL
6) 10.217.212.23 MIP|GSLB Active Enabled Enabled NA Enabled ALL
7) 10.217.212.24 ADNS Active Enabled Enabled NA Enabled ALL
8) 10.217.212.25 VIP Active Enabled Enabled Enabled Enabled ALL
Done
> show ns runningConfig | grep 10.217.212.26
add ns ip 10.217.212.26 255.255.255.0 -type MIP -vServer DISABLED
> show ns runningConfig | grep 10.217.212.23
add ns ip 10.217.212.23 255.255.255.0 -type MIP -vServer DISABLED
add gslb site cluster 10.217.212.23 -publicIP 10.217.212.23
>
> show ns runningConfig | grep 10.217.212.24
add server 10.217.212.24 10.217.212.24
add service adns 10.217.212.24 ADNS 53 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport NO -cltTimeout 120 -svrTimeout 120 -CKA NO -TCPB NO -CMP NO
add service adns_tcp 10.217.212.24 ADNS_TCP 53 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp OFF -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO
>
> show ns runningConfig | grep 10.217.212.25
add lb vserver cluster-http HTTP 10.217.212.25 80 -persistenceType SRCIPDESTIP -persistMask 255.0.0.0 -cltTimeout 180
add gslb service cluster-gs 10.217.212.25 HTTP 80 -publicIP 10.217.212.25 -publicPort 80 -maxClient 0 -siteName cluster -cltTimeout 180 -svrTimeout 360 -downStateFlush DISABLED
>
> show ns runningConfig | grep 10.217.212.19
set ns config -IPAddress 10.217.212.19 -netmask 255.255.255.0
add cluster node 1 10.217.212.19 -state ACTIVE -backplane 1/1/2
add HA node 0 10.217.212.19
add ns ip 10.217.212.19 255.255.255.0 -type NSIP -vServer DISABLED -mgmtAccess ENABLED -dynamicRouting ENABLED -ownerNode 1
set ns rpcNode 10.217.212.19 -password 8a7b474124957776a0cd31b862cbe4d72b5cbd59868a136d4bdeb56cf03b28 -encrypted -srcIP *
>
> show ns runningConfig | grep 10.217.212.20
add cluster node 2 10.217.212.20 -state ACTIVE -backplane 2/1/2
add ns ip 10.217.212.20 255.255.255.0 -type NSIP -vServer DISABLED -mgmtAccess ENABLED -dynamicRouting ENABLED -ownerNode 2
set ns rpcNode 10.217.212.20 -password 8a7b474124957776a0cd31b862cbe4d72b5cbd59868a136d4bdeb56cf03b28 -encrypted -srcIP *
>
>
> show ns runningConfig | grep 10.217.212.21
add cluster node 3 10.217.212.21 -state ACTIVE -backplane 3/1/2
add ns ip 10.217.212.21 255.255.255.0 -type NSIP -vServer DISABLED -mgmtAccess ENABLED -dynamicRouting ENABLED -ownerNode 3
set ns rpcNode 10.217.212.21 -password 8a7b474124957776a0cd31b862cbe4d72b5cbd59868a136d4bdeb56cf03b28 -encrypted -srcIP *
>
>
> show ns runningConfig | grep 10.217.212.22
add ns ip 10.217.212.22 255.255.255.255 -type CLIP -vServer DISABLED -mgmtAccess ENABLED
set ns rpcNode 10.217.212.22 -password 8a7b474124957776a0cd31b862cbe4d72b5cbd59868a136d4bdeb56cf03b28 -encrypted -srcIP *
>
>
> show ns runningConfig | grep cluster
add cluster instance 1
add cluster node 1 10.217.212.19 -state ACTIVE -backplane 1/1/2
add cluster node 2 10.217.212.20 -state ACTIVE -backplane 2/1/2
add cluster node 3 10.217.212.21 -state ACTIVE -backplane 3/1/2
set cluster rsskey dc7b401072c22672a9993fbd69cfe1d72807be08d3de1f311d88e26df83a28569dd8a71a5ebd4941da5bae2ba61e04ef05f54cb25946fe5909a1823a559d6b34e6e7a86d0a6a4750717f61aa13c60af5 -encrypted
enable cluster instance 1
set cluster claMacs c674d2d070232a566d175f2abe8be6bc626fee12140bf165
add lb vserver cluster-http HTTP 10.217.212.25 80 -persistenceType SRCIPDESTIP -persistMask 255.0.0.0 -cltTimeout 180
add cluster nodegroup gslb
add gslb site cluster 10.217.212.23 -publicIP 10.217.212.23
bind lb vserver cluster-http s1-http
bind lb vserver cluster-http s2-http
bind cluster nodegroup gslb -node 2
bind cluster nodegroup gslb -vServer gv
bind cluster nodegroup gslb -gslbSite cluster
bind cluster nodegroup gslb -service adns
add gslb service cluster-gs 10.217.212.25 HTTP 80 -publicIP 10.217.212.25 -publicPort 80 -maxClient 0 -siteName cluster -cltTimeout 180 -svrTimeout 360 -downStateFlush DISABLED
add gslb service vtest 19.217.6.182 HTTP 80 -publicIP 19.217.6.182 -publicPort 80 -maxClient 0 -siteName cluster -cltTimeout 180 -svrTimeout 360 -downStateFlush DISABLED
bind gslb service cluster-gs -monitorName http -monState DISABLED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment