500 likes | 742 Views
Jacob Salassi Sr. Escalation Engineer / TRM. (TECH307: Deploying and Troubleshooting the Citrix NetScaler with XenApp and Web Interface). Agenda. Troubleshooting Techniques for NetScaler. Deploying XenApp and Web Interface with NetScaler.
E N D
Jacob Salassi Sr. Escalation Engineer / TRM (TECH307: Deploying and Troubleshooting the Citrix NetScaler with XenApp and Web Interface)
Agenda Troubleshooting Techniques for NetScaler Deploying XenApp and Web Interface with NetScaler Troubleshooting and Best Practices for XenApp / Web Interface with NetScaler
Troubleshooting Techniques: NetScaler File System • /var - Hard Drive • Logs - /var/log and /var/nslog • Install - /var/nsinstall • Trace - /var/nstrace • Core Dumps - /var/crash and /var/core • /flash - Flash Drive • Config - /flash/nsconfig • SSL Certificates - /flash/nsconfig/ssl • User Monitors - /flash/nsconfig/monitors • Custom options - /flash/nsconfig • NS Kernel - /flash • / - RAM Drive • OS
Troubleshooting Techniques: /var/log • Important files in /var/log • Ns.log • Messages • Other files in /var/log • Httperror.log • cron • Dr_error.log • Httpaccess.log • License.log • Nscollect.log • Nsvpn.log • Nsvpnd.log • Snmpd.log
Troubleshooting Techniques: /var/nslog • Important files in /var/nslog • newnslog • newnslog.*.gz • Other files in /var/nslog • ns.log • nsumond.log • nslog.nextfile
Troubleshooting Techniques: Show Commands • Common show commands for system information: • show node • show info • show license • Common show commands for vserver and service: • show lb vserver • show cs vserver • show service • show persistencesession • show connectiontable • Other common show commands: • show route • show ip • show dns addrec -type proxy
Troubleshooting Techniques: “stat” command • Common stat commands for system information: • Stat ns • Stat cpu • Stat interface • Common stat commands for vserver and service: • Stat lb vserver • Stat cs vserver • Stat service • Other common stat commands: • Stat dns • Stat ssl • Stat http
Troubleshooting Techniques: nsconmsg • Nsconmsg common use cases • View events • View console messages • View statistics • Debug system counters • Debug load balancing issues • Debug CPU/Memory utilization • Nsconmsg common syntax • Nsconmsg –K /var/nslog/newnslog -d event • Nsconmsg –K /var/nslog/newnslog -d consmsg • Nsconmsg –K /var/nslog/newnslog -d oldconmsg • Nsconmsg –K /var/nslog/newnslog -s ConLb=2 –d oldconmsg • Nsconmsg –K /var/nslog/newnslog -s ConDebug=1 –d oldconmsg • MAKE SURE TO USE –K, NOT -k
Troubleshooting Techniques: nstrace & nstcpdump • Nstrace • Common syntax: • Nstrace.sh –sz 0 • Nstrace.sh –sz 0 –filter “SOURCEIP = 10.198.4.10” –link enabled • Filter qualifiers and operators: • SOURCEIP, SOURCEPORT, DESTIP, DESTPORT, SVCNAME, VSVRNAME, STATE • ==, eq, !=, neq, >, gt, <, lt, >=, ge, <=, le, BETWEEN • Compound filters using || and && • Nstcpdmp • Common syntax: • Nstcpdump.sh –X tcp port 80 • Nstcpdump.sh –w testcapture.cap –X src host 10.198.4.10 tcp port 80 • Filter qualifiers and operators: • tcpdump standard
Troubleshooting Techniques: Common NetScaler issues/resolutions • HDD Issue symptoms: • Logging fails • /var missing • Flash issue symptoms: • Config fails to save • Config saves partially • Sync fails • Device fails to boot • Memory starvation symptoms: • Dropped sessions • CPU starvation symptoms: • All services failing • All VIPS down • Degraded performance
Agenda (showing current item) Troubleshooting Techniques for NetScaler Deploying XenApp and Web Interface with NetScaler Troubleshooting and Best Practices for XenApp / Web Interface with NetScaler
Deploying Web Interface and XenApp with NetScaler Topologies: Smart Monitoring • PICTURE OF MON TOPO • PICTURE OF HA TOPO • PICTURE OF GSLB TOPO
Deploying Web Interface and XenApp with NetScaler Topologies: Component HA
Deploying Web Interface and XenApp with NetScaler Topologies: GSLB (Business Continuity)
Deploying Web Interface and XenApp with NetScaler: Configuration overview (HA/LB)
Deploying Web Interface and XenApp with NetScaler: Configuration (CLI)
Deploying Web Interface and XenApp with NetScaler: Configuration (CLI)
Deploying Web Interface and XenApp with NetScaler: Configuration (CLI)
Agenda (showing current item) Troubleshooting Techniques for NetScaler Deploying XenApp and Web Interface with NetScaler Troubleshooting and Best Practices for XenApp / Web Interface with NetScaler
Problems and Resolutions • Users getting logged off unexpectadly • Load balancing is uneven
Partner Training & Certification Build your NetScaler product expertise and maximize your sales potential with the latest Citrix training and certification: Technical • CNS-300 Advanced Administration for Citrix NetScaler 9.0 Platinum Edition coming soon - September Partner promotion available including the following at a discounted price limited time only! • CNS-200 Basic Administration for Citrix NetScaler 9.0 • Exam A11 Basic Administration for Citrix NetScaler 9.0 Visit www.citrix.com/partnertraining to view a complete list of discounted Partner offerings and learn how to maintain compliance with Citrix Certification.
Before you leave… • Session surveys are available online at www.citrixsummit.com starting Monday, May 4 • Feedback is requested (giveaway provided) • Download presentations starting Tuesday, May 12, from your My Schedule Tool located in your My Synergy Microsite event account