cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
14
Helpful
6
Replies

Script Play HostTag

thumpercisco
Level 1
Level 1

I am trying to run the ap-kal-httptag "Hostname WebPage HostTag"

I am putting in script play ap-kal-httptag "192.10.19.12 /Livelinksupport/chicklet.png" and I get

Usage: ap-kal-httptag "Hostname WebPage HostTag"

What is the HostTag?

I have a CSS11506 with two services, one for each server, they are running a keepalive HTTP:GET:/ and the problem is the 200 code is successful because the root of the server does not go down, however, the application gets hung and the service restarts but this is not detected by the load balancer. I am trying to find a script to detect this. the livelink application does not have a static web page so I am trying to use the support page image to see when the app hangs whether the support image I am pointing will respond or hang also.

Thanks for any help you can provide.

6 Replies 6

Gilles Dufour
Cisco Employee
Cisco Employee

if you do a 'show script ....' you can see where the hostag is being used :

socket send ${SOCKET} "GET ${WebPage} HTTP/1.0\nHost: ${HostTag}\n\n"

So basically, this is the dns name of the server.

Gilles.

Thank you for the help.

The other problem is that the backend service is ASP, I have no webpage to point to, add to that authentication requirement.

Flow is as follows:

the host IP - Livelink (where authentication takes place) - then to the .exe and into ASP, no html.

Basically I'm being asked to load balance two servers while monitoring a backend service that does not notify the front end service that redirection is required and users are hung until the service is restarted.

Thanks

CSS11503# script play ap-kal-httptag "192.30.10.13 /livelink/livelink.exe km"

CSS11503#

Error in script playback line:37

>>>socket waitfor ${SOCKET} "200 OK" 2000

CSS11503#

Script Playback cancelled.

if you need authentication you may need to use the following script instead :

ap-kal-httpauth

But it depends on the type of authentication that is required.

Also, you can specify an url to a .exe. There is no requirement to point to a .html document.

As long as the server returns a webpage with HTTP 200 ok.

Gilles.

UPDATE - the CSS11503 is load balancing the front-end web servers service with keepalives correctly. The problem exists on the backend servers service that is ASP and the uri is not html but exe. This service hangs or fails and does not disrupt the keepalives from the front-end web service to the load balancer. Also there is authentication to access the application service on the back-end servers. I am looking into SASP.

Thanks

I need a script that uses authentication and host tag

authentication first

then a uri that is on back end application service in ASP

IP 192.168.10.1

/livelink/livelink.exe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: