User Tools

Site Tools


network_stuff:netscaler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:netscaler [2020/10/23 09:36] jotasandokunetwork_stuff:netscaler [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 30: Line 30:
 Interface status:\\ Interface status:\\
  
-  show interface -summary +  show interface stats    # bytes status and statistics per interfaces 
-  show interface stats +  show interface -summary          # to quickly see mac addresses
-  sh interface -summary          # to quickly see mac addressses+  show channel # for lacp logical aggregate details
-  show channel # for lacp+
   show vlan # to see vlans and interfaces assigned to them   show vlan # to see vlans and interfaces assigned to them
  
Line 69: Line 68:
  
      
-  backups.dc.grapeshot.co.uk messageshosts]# xzgrep AdminFrontend_Cluster netscaler02-mgt.dc.grapeshot.co.uk.log-20191023.xz | grep DOWN+  backups.dc.mycompany1.co.uk messageshosts]# xzgrep AdminFrontend_Cluster netscaler02-mgt.dc.mycompany1.co.uk.log-20191023.xz | grep DOWN
      
 Check this link: [[http://dknetscaler.blogspot.com/]] Check this link: [[http://dknetscaler.blogspot.com/]]
Line 101: Line 100:
   tar xvfz newnslog.100.tar.gz   tar xvfz newnslog.100.tar.gz
   /netscaler/nsconmsg -K /var/nslog/newnslog   /netscaler/nsconmsg -K /var/nslog/newnslog
 +monitor
 \\  \\ 
 We can also use nsconmsg for **real time** statistics: \\ We can also use nsconmsg for **real time** statistics: \\
Line 202: Line 201:
  
  
-  stat lb vserver oe-4010-secondary-StateStreet -fullValues  <-- vservers sumary  +  show lb vserver -summary -fullValues    # to see all vservers in long format 
-  stat service <-services summary +  stat lb vserver Porky_Cluster_SSL -fullValues    # vservers status 
-  stat lb vserver oe-4006-primary-Barcap+  show serviceGroup -summary -fullValues 
 +  ssh  nsroot@netscaler-vip "show serviceGroup Pepe_Cluster" | egrep State    # To be run from gatekeeper. To quickly see all serviceGroups and its members  
 +  show ns connectiontable  "CONNECTION.LB_VSERVER.NAME.EQ(\"Porky_Cluster_SSL\")"    # to filter connections going to a specific virtual server 
 +   
 +  
   show ns connectiontable | grep EST | grep TCP | grep 94.142.190.6 | grep 4007  <-- To see who is connected to each port   show ns connectiontable | grep EST | grep TCP | grep 94.142.190.6 | grep 4007  <-- To see who is connected to each port
      
Line 272: Line 275:
 BACKEND MONITOR OR HEALTHCHECKS:\\ BACKEND MONITOR OR HEALTHCHECKS:\\
  
-This is a classical, added, monitor +This is a classical, added, monitor: 
-add lb monitor http-healthcheck HTTP -respCode 200 -httpRequest "GET /healthcheck" -LRTM ENABLED -interval 30 -resptimeout 20 -destIP 0.0.0.0 -devno 247431220+ 
 +  add lb monitor http-healthcheck HTTP -respCode 200 -httpRequest "GET /healthcheck" -LRTM ENABLED -interval 30 -resptimeout 20 -destIP 0.0.0.0 -devno 247431220
  
 Then in the backend server: Then in the backend server:
Line 279: Line 283:
   change listening port in /etc/httpd/conf/httpd.conf   change listening port in /etc/httpd/conf/httpd.conf
   systemctl start httpd   systemctl start httpd
-  touch /etc/httpd/conf/healthcheck # so the 'GET /healthcheck' succeeds +  touch /var/www/html/healthcheck # so the 'GET /healthcheck' succeeds 
  
  
network_stuff/netscaler.1603445764.txt.gz · Last modified: (external edit)