SSH Code / NetScaler Load-Balancer

Status
Not open for further replies.
fitten":1zg45gbj said:
What do you mean? You want to actually connect to an SSH server directly? or you want to go through SSH to do some commands (like execute shell commands) on the target machine?

I am trying to write a script that will connect to the NetScaler load-balancer via SSH and disable certain servers. IE: we have 8 LB`d servers and when a release is ready I want the script to connect over and DISABLE (not remove) 4 of the servers for the new code to be pushed to and tested.
 

fitten

Ars Legatus Legionis
55,634
Subscriptor++
Ok, it sounds like you just want to connect to the thing and execute shell (or shell-like) commands on the other side... not actually write an SSH client to connect to an SSH server.

So, maybe something like this:
http://stackoverflow.com/questions/3050 ... te-machine

And remember you can construct the script (automated or otherwise) before you call the ssh client for more dynamic behavior.
 
kperrier":6cd3nfcy said:
F5 load balancers have iControl (a SOAP based API to perform operations that you would do via the gui or command line), which is much more programmer friendly than issuing commands via ssh. Does NetScaler have something similar?
I was in charge of finding the Load-Balancing solutions. we had 2 F5's for a year and they were WONDERFUL. But when the cheapest person in charge of ordering appliances found out about NetScalers he instantly said we were switching (even though the F5 is soooo much more rubust).

I mean, you'd think a fortune 500 company that makes rouhgly $20M a day on all the different eComm sites would want to have the best solution in place; but no, the cheap little man (literally) went with a very sh1itty solution. And I have come to find out that his main reason was because I WANTED/LIKED IT and he didn't want me to have the most knowledge and/or control of the appliance. pr1ck.

NOTE: the term F5 is considered a curse word now because I fought for it so hard...and sorry for the little vents.

O
 
Status
Not open for further replies.