End-of-Sale and End-of-Life Products
These products are no longer being sold and might not be supported.
http://www.cisco.com/en/US/products/prod_end_of_life.html
Posted by Peter Kurdziel on December 5, 2009
These products are no longer being sold and might not be supported.
http://www.cisco.com/en/US/products/prod_end_of_life.html
Posted in Routing & Switching Lab | Leave a Comment »
Posted by Peter Kurdziel on December 3, 2009
Installing NetScaler VPX on VMware ESX 4.0
After you have installed and configured VMware ESX 4.0, you can use VMware
vSphere client to install one or more instances of NetScaler VPX on the VMware
ESX. Each instance is a virtual NetScaler appliance. The number of instances that
you can install depends on the amount of memory available on the hardware that
is running VMware ESX.
To install NetScaler VPX on VMware ESX 4.0 by using VMware vSphere
Client
1. Start the VMware vSphere client on your workstation.
2. In the IP address / Name text box, type the IP address of the VMware ESX
server that you want to connect to.
3. In the User Name and Password text boxes, type the administrator
credentials, and then click Login.
4. On the File menu, click Deploy OVF Template.
5. In the Deploy OVF Template dialog box, in Deploy from file, browse to
the location at which you saved the NetScaler VPX setup files, select the
.ovf file, and click Next.
6. Map the networks shown in the VPX OVF template to the networks that
you configured on the ESX host. Click Next to start installing VPX on
VMware ESX. When installation is complete, a pop-up window informs
you of the successful installation
Posted in Virtualization | 1 Comment »
Posted by Peter Kurdziel on December 3, 2009
I am installing NetScaler VPX and I ran into an issue with the ESX server.
I ran into an issue where I could not power on my ESX server.
I was getting this error “
The solution is to go into the ***vmdk.lck folder and rename the .lck to .txt.
The server starts right up after that change.
Posted in Virtualization | Leave a Comment »
Posted by Peter Kurdziel on December 2, 2009
Configuring a Citrix NetScaler for the First Time
Your new NetScaler is preconfigured with a default IP address (the NSIP) and associated subnet mask for management access. The default NSIP is 192.168.100.1 and the subnet mask (netmask) is 255.255.0.0. You can change these values to fit the addressing scheme for your network. For your initial configuration, you must also specify at least one MIP. Before saving your new configuration, you should change the administrator password.
If you are setting up two NetScaler appliances as a high availability pair, you configure one as primary and the other as secondary.
set ns config – ipaddress 10.102.29.60 – netmask 255.255.255.0
add ns ip 10.102.29.61 255.255.255.0 -type mip
add route 0.0.0.0 0.0.0.0 10.102.29.1
set system user nsroot administrator
save ns config
reboot
In one-arm configuration, both NS1 and NS2 and servers S1, S2, and S3 are connected to the switch.
In two-arm configuration, both NS1 and NS2 are connected to two switches. The servers S1, S2, and S3 are connected to the second switch. The traffic between client and the servers passes through either NS1 or NS2.
To set up a high availability environment, configure one NetScaler as primary and another as secondary. Perform the following tasks on each of the NetScalers:
To configure HTTP parameters by using the configuration utility
Examples
> enable ns mode l3
Done
> show ns mode
Mode Acronym Status
——- ——- ——
1) Fast Ramp FR ON
2) Layer 2 mode L2 OFF
.
.
.
9) Layer 3 mode (ip forwarding) L3 ON
.
.
.
Done
>
> disable ns mode l3
Done
> show ns mode
Mode Acronym Status
——- ——- ——
1) Fast Ramp FR ON
2) Layer 2 mode L2 OFF
.
.
.
9) Layer 3 mode (ip forwarding) L3 OFF
.
.
.
Done
enable ns mode mbf Done > show ns mode Mode Acronym Status ------- ------- ------ 1) Fast Ramp FR ON 2) Layer 2 mode L2 OFF . . . 6) MAC-based forwarding MBF ON . . . Done > > disable ns mode mbf Done > show ns mode Mode Acronym Status ------- ------- ------ 1) Fast Ramp FR ON 2) Layer 2 mode L2 OFF . . . 6) MAC-based forwarding MBF OFF . . . Done >
set interface 1/8 -duplex full Done > show interface 1/8 Interface 1/8 (Gig Ethernet 10/100/1000 MBits) #2 flags=0x4000 <ENABLED, DOWN, down, autoneg, 802.1q> MTU=1514, native vlan=1, MAC=00:d0:68:15:fd:3d, downtime 162h01m03s Requested: media UTP, speed AUTO, duplex FULL, fctl OFF, throughput 0 RX: Pkts(0) Bytes(0) Errs(0) Drops(0) Stalls(0) TX: Pkts(0) Bytes(0) Errs(0) Drops(0) Stalls(0) NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0) Bandwidth thresholds are not set. Done
Type the following commands to create a VLAN, bind interfaces to it, verify the configuration, and display the statistics. If you have already created the VLAN, skip the first command.
Example
> add vlan 2 Done > bind vlan 2 -ifnum 1/8 Done > show vlan 2 1) VLAN ID: 2 Member Interfaces : 1/8 Tagged: None Done >
> stat vlan 2 VLAN ID 2Rate (/s) Total Packets received 0 0 Bytes received 0 0 Packets sent 0 0 Bytes sent 0 0 Packets dropped -- 0 Broadcast pkts sent & received -- 0 Done >
> add channel LA/1 Done > bind channel LA/1 1/8 Done > show channel LA/1 1) Interface LA/1 (802.3ad Link Aggregate) #9 flags=0x1004000 <ENABLED, DOWN, AGGREGATE, down, HAMON, 802.1q> MTU=1514, native vlan=1, MAC=02:d0:68:15:fd:3b, downtime 0h00m00s Requested: media NONE, speed NONE, duplex NONE, fctl NONE, throughput 0 Actual: throughput 0 LA mode: MANUAL, distribution: Conn: ENABLED, MAC: BOTH 1/8: unknown DOWN 162h40m02s RX: Pkts(0) Bytes(0) Errs(0) Drops(0) Stalls(0) TX: Pkts(0) Bytes(0) Errs(0) Drops(0) Stalls(0) NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0) Bandwidth thresholds are not set. Done >
restrict localhost
restrict 127.0.0.2
These entries are required only if you want to run the device as a time server. However, this feature is not supported on the NetScaler.
This entry starts the ntpd service, checks the ntp.conf file, and logs messages in the /var/log directory.
Note: If the time difference between the NetScaler and the time server is more than 1000 sec, the ntpd service terminates with a message to the NetScaler log. To avoid this, you need to start ntpd with the -g option,which forcibly syncs the time. Add the following entry in /nsconfig/rc.netscaler:
/usr/sbin/ntpd -g -c /nsconfig/ntp.conf -l /var/log/ntpd.log &
If you do not want to forcibly sync the time when there is a large difference, you can set the date manually and then start ntpd again. You can check the time difference between the NetScaler and the time server by executing the following command in the shell:
ntpdate -q <IP address or domain name of the NTP server>
Note: If you want to start time synchronization before you restart the NetScaler, you can enter the
/usr/sbin/ntpd -c /nsconfig/ntp.conf -l /var/log/ ntpd.log &
command (which you added to the rc.netscaler file in step 5) at the shell prompt.
Example
> add dns nameServer 10.102.29.10
Done
> show dns nameServer 10.102.29.10
1) 10.102.29.10 - State: DOWN
Done
>
SNMP
Example
> add snmp manager 10.102.29.5 -netmask 255.255.255.255
Done
> show snmp manager 10.102.29.5
1) 10.102.29.5 255.255.255.255
Done
>
Example
> add snmp trap specific 10.102.29.3
Done
> show snmp trap
Type DestinationIP DestinationPort Version SourceIP Min-Severity Community
—- ————- ————— ——- ——– ———— ———
generic 10.102.29.9 162 V2 NetScaler IP N/A public
generic 10.102.29.5 162 V2 NetScaler IP N/A public
generic 10.102.120.101 162 V2 NetScaler IP N/A public
.
.
.
specific 10.102.29.3 162 V2 NetScaler IP - public
Done
>
Example
> set snmp alarm LOGIN-FAILURE -state ENABLED
Done
> show snmp alarm LOGIN-FAILURE
Alarm Alarm Threshold Normal Threshold Time State Severity Logging
—– ————— —————- —- ——– ————- ——–
1) LOGIN-FAILURE N/A N/A N/A ENABLED - ENABLED
Done
>
Example
> set snmp alarm LOGIN-FAILURE -severity Major
Done
> show snmp alarm LOGIN-FAILURE
Alarm Alarm Threshold Normal Threshold Time State Severity Logging
—– ————— —————- —- ——– ————- ——–
1) LOGIN-FAILURE N/A N/A N/A ENABLED Major ENABLED
Done
>
Example
> enable feature lb
Done
> show feature
Feature Acronym Status
——- ——- ——
1) Web Logging WL OFF
2) Surge Protection SP OFF
3) Load Balancing LB ON
.
.
.
9) SSL Offloading SSL ON
.
.
.
Done
Example
> add service service-HTTP-1 10.102.29.5 HTTP 80
Done
> add lb vserver vserver-LB-1 HTTP 10.102.29.60 80
Done
> bind lb vserver vserver-LB-1 service-HTTP-1
Done
> show service bindings service-HTTP-1
service-HTTP-1 (10.102.29.5:80) – State : DOWN
1) vserver-LB-1 (10.102.29.60:80) – State : DOWN
Done
Example
> set lb vserver vserver-LB-1 -persistenceType COOKIEINSERT
Done
> show lb vserver vserver-LB-1
vserver-LB-1 (10.102.29.60:80) – HTTP Type: ADDRESS
.
.
.
Persistence: COOKIEINSERT (version 0) Persistence Timeout: 2 min
.
.
.
Done
>
Example
> set lb vserver vserver-LB-1 -persistenceType URLPASSIVE
Done
> show lb vserver vserver-LB-1
vserver-LB-1 (10.102.29.60:80) – HTTP Type: ADDRESS
.
.
.
Persistence: URLPASSIVE Persistence Timeout: 2 min
.
.
.
Done
>
You can configure URL redirection to provide notifications of vserver malfunctions, and you can configure backup vservers to take over if a primary vserver becomes unavailable.
Example
> set lb vserver vserver-LB-1 -redirectURL http://www.newdomain.com/mysite/maint enance
Done
> show lb vserver vserver-LB-1
vserver-LB-1 (10.102.29.60:80) – HTTP Type: ADDRESS
State: DOWN
Last state change was at Wed Jun 17 08:56:34 2009 (+666 ms)
.
.
.
Redirect URL: http://www.newdomain.com/mysite/maintenance
.
.
.
Done
>
Example
> set lb vserver vserver-LB-1 -backupVserver vserver-LB-2
Done
> show lb vserver vserver-LB-1
vserver-LB-1 (10.102.29.60:80) – HTTP Type: ADDRESS
State: DOWN
Last state change was at Wed Jun 17 08:56:34 2009 (+661 ms)
.
.
.
Backup: vserver-LB-2
.
.
.
Done
>
By default, compression is not enabled. You must enable the compression feature to allow compression of HTTP responses that are sent to the client.
Example
> enable ns feature CMP
Done
> show ns feature
Feature Acronym Status
——- ——- ——
1) Web Logging WL ON
2) Surge Protection SP OFF
.
7) Compression Control CMP ON
8) Priority Queuing PQ OFF
.
Done
Example
> show service SVC_HTTP1
SVC_HTTP1 (10.102.29.18:80) – HTTP
State: UP
Last state change was at Tue Jun 16 06:19:14 2009 (+737 ms)
Time since last state change: 0 days, 03:03:37.200
Server Name: 10.102.29.18
Server ID : 0 Monitor Threshold : 0
Max Conn: 0 Max Req: 0 Max Bandwidth: 0 kbits
Use Source IP: NO
Client Keepalive(CKA): NO
Access Down Service: NO
TCP Buffering(TCPB): NO
HTTP Compression(CMP): YES
Idle timeout: Client: 180 sec Server: 360 sec
Client IP: DISABLED
Cacheable: NO
SC: OFF
SP: OFF
Down state flush: ENABLED
1) Monitor Name: tcp-default
State: DOWN Weight: 1
Probes: 1095 Failed [Total: 1095 Current: 1095]
Last response: Failure – TCP syn sent, reset received.
Response Time: N/A
Done
At the NetScaler command prompt, type the following commands to bind a compression policy to an LB vserver and verify the configuration:
Example
> bind lb vserver lbvip -policyName ns_cmp_msapp Done > show lb vserver lbvip lbvip (8.7.6.6:80) - HTTP Type: ADDRESS State: UP Last state change was at Thu May 28 05:37:21 2009 (+685 ms) Time since last state change: 19 days, 04:26:50.470 Effective State: UP Client Idle Timeout: 180 sec Down state flush: ENABLED Disable Primary Vserver On Down : DISABLED Port Rewrite : DISABLED No. of Bound Services : 1 (Total) 1 (Active) Configured Method: LEASTCONNECTION Current Method: Round Robin, Reason: Bound service's state changed to UP Mode: IP Persistence: NONE Vserver IP and Port insertion: OFF Push: DISABLED Push VServer: Push Multi Clients: NO Push Label Rule: Bound Service Groups: 1) Group Name: Service-Group-1 1) Service-Group-1 (10.102.29.252: 80) - HTTP State: UP Weight: 1 1) Policy : ns_cmp_msapp Priority:0 Done
Example
> enable feature ssl
Done
> show ns feature
Feature Acronym Status
——- ——- ——
1) Web Logging WL ON
2) SurgeProtection SP OFF
3) Load Balancing LB ON . . .
9) SSL Offloading SSL ON
10) Global Server Load Balancing GSLB ON . .
Done >
> add service SVC_HTTP1 10.102.29.18 HTTP 80
Done
> show service SVC_HTTP1
SVC_HTTP1 (10.102.29.18:80) – HTTP
State: UP
Last state change was at Wed Jul 15 06:13:05 2009
Time since last state change: 0 days, 00:00:15.350
Server Name: 10.102.29.18
Server ID : 0 Monitor Threshold : 0
Max Conn: 0 Max Req: 0 Max Bandwidth: 0 kbits
Use Source IP: NO
Client Keepalive(CKA): NO
Access Down Service: NO
TCP Buffering(TCPB): NO
HTTP Compression(CMP): YES
Idle timeout: Client: 180 sec Server: 360 sec
Client IP: DISABLED
Cacheable: NO
SC: OFF
SP: OFF
Down state flush: ENABLED
1) Monitor Name: tcp-default
State: UP Weight: 1
Probes: 4 Failed [Total: 0 Current: 0]
Last response: Success – TCP syn+ack received.
Response Time: N/A
Done
Example
> add lb vserver vserver-SSL-1 SSL 10.102.29.50 443
Done
> show lb vserver vserver-SSL-1
vserver-SSL-1 (10.102.29.50:443) – SSL Type: ADDRESS
State: DOWN[Certkey not bound] Last state change was at Tue Jun 16 06:33:08 2009 (+176 ms)
Time since last state change: 0 days, 00:03:44.120
Effective State: DOWN Client Idle Timeout: 180 sec
Down state flush: ENABLED
Disable Primary Vserver On Down : DISABLED
No. of Bound Services : 0 (Total) 0 (Active)
Configured Method: LEASTCONNECTION Mode: IP
Persistence: NONE
Vserver IP and Port insertion: OFF
Push: DISABLED Push VServer: Push Multi Clients: NO Push Label Rule: Done
Caution: To ensure secure connections, you must bind a valid SSL certificate to the SSL-based vserver before you enable it.
Example
> bind lb vserver vserver-SSL-1 SVC_HTTP1
Done
> show lb vserver vserver-SSL-1 vserver-SSL-1 (10.102.29.50:443) – SSL Type:
ADDRESS State: DOWN[Certkey not bound]
Last state change was at Tue Jun 16 06:33:08 2009 (+174 ms)
Time since last state change: 0 days, 00:31:53.70
Effective State: DOWN Client Idle
Timeout: 180 sec
Down state flush: ENABLED Disable Primary Vserver On Down :
DISABLED No. of Bound Services : 1 (Total) 0 (Active)
Configured Method: LEASTCONNECTION Mode: IP Persistence: NONE Vserver IP and
Port insertion: OFF Push: DISABLED Push VServer: Push Multi Clients: NO Push Label Rule:
1) SVC_HTTP1 (10.102.29.18: 80) – HTTP
State: DOWN Weight: 1
Done
Example
> add ssl certKey CertKey-SSL-1 -cert ns-root.cert -key ns-root.key
Done
> show sslcertkey CertKey-SSL-1
Name: CertKey-SSL-1 Status: Valid,
Days to expiration:4811 Version: 3
Serial Number: 00 Signature Algorithm: md5WithRSAEncryption Issuer: C=US,ST=California,L=San
Jose,O=Citrix ANG,OU=NS Internal,CN=de fault
Validity Not Before: Oct 6 06:52:07 2006 GMT Not After : Aug 17 21:26:47 2022 GMT
Subject: C=US,ST=California,L=San Jose,O=Citrix ANG,OU=NS Internal,CN=d efault Public Key Algorithm: rsaEncryption Public Key
size: 1024
Done
Example
> bind ssl vserver Vserver-SSL-1 -certkeyName CertKey-SSL-1
Done
> show ssl vserver Vserver-SSL-1
Advanced SSL configuration for VServer Vserver-SSL-1:
DH: DISABLED
Ephemeral RSA: ENABLED Refresh Count: 0
Session Reuse: ENABLED Timeout: 120 seconds
Cipher Redirect: ENABLED
SSLv2 Redirect: ENABLED
ClearText Port: 0
Client Auth: DISABLED
SSL Redirect: DISABLED
Non FIPS Ciphers: DISABLED
SSLv2: DISABLED SSLv3: ENABLED TLSv1: ENABLED
1) CertKey Name: CertKey-SSL-1 Server Certificate
1) Cipher Name: DEFAULT
Description: Predefined Cipher Alias
Done
> add ssl action Action-SSL-OWA -OWASupport enabled
Done
> show SSL action Action-SSL-OWA
Name: Action-SSL-OWA
Data Insertion Action: OWA
Support: ENABLED
Done
Example
> add ssl policy Policy-SSL-1 -rule ns_true -reqaction Action-SSL-OWA
Done
> show ssl policy Policy-SSL-1
Name: Policy-SSL-1 Rule: ns_true
Action: Action-SSL-OWA Hits: 0
Policy is bound to following entities
1) PRIORITY : 0
Done
Example
> bind ssl vserver Vserver-SSL-1 -policyName Policy-SSL-1
Done
> show ssl vserver Vserver-SSL-1
Advanced SSL configuration for VServer Vserver-SSL-1:
DH: DISABLED
Ephemeral RSA: ENABLED Refresh Count: 0
Session Reuse: ENABLED Timeout: 120 seconds
Cipher Redirect: ENABLED
SSLv2 Redirect: ENABLED
ClearText Port: 0
Client Auth: DISABLED
SSL Redirect: DISABLED
Non FIPS Ciphers: DISABLED
SSLv2: DISABLED SSLv3: ENABLED TLSv1: ENABLED
1) CertKey Name: CertKey-SSL-1 Server Certificate
1) Policy Name: Policy-SSL-1
Priority: 0
1) Cipher Name: DEFAULT
Description: Predefined Cipher Alias
Done
>
Verifying the Configuration
After you finish configuring your system, complete the following checklists to verify your configuration.
Configuration Checklist
[ ] 62,000 [ ] 124,000 [ ] Other____
Topology Configuration Checklist
The routes entered are:
________________________________________________________________________________________________________________________________________________________________________
The load balancing policy configured on the external load balancer is: _______________________________________________________
The value configured for the session time-out is: ___________________
Server Configuration Checklist
The value configured for the keep-alive time-out is: ___________________
The MaxConn (maximum number of connections) value that has been set is: ____________________________________________________________
The maximum requests per connection value that has been set is: ____________________________________________________________
Software Features Configuration Checklist
Reason for enabling or disabling: ________________________________________________________________________________________________________________________
Reason for enabling or disabling: ________________________________________________________________________________________________________________________
Reason for enabling or disabling: ________________________________________________________________________________________________________________________
Reason for changing or not changing: ________________________________________________________________________________________________________________________
Access Checklist
Note: When you are using the ping utility, ensure that the pinged server has ICMP ECHO enabled, or your ping will not succeed.
Firewall Checklist
The following firewall requirements have been met:
* Caution: To ensure secure connections, you must bind a valid SSL certificate to the SSL-based vserver before you enable it.
Posted in Load Balancing | Leave a Comment »