Monday, September 08, 2014

Running NetScaler Gateway VPX on Azure ???

 

Right now I am not sure this works, I was going to try it, but work changed and the plan got put off. So buyer beware for this may or may not work. This is based on the Azure blog here.

Download the NetScaler VPX Hyper-V appliance image

Load it on a Hyper-V server and boot it, login as the secret account and password

Configure the OS to use DHCP, So enable networking

Configure the primary interface for DHCP (later you will fix it via the NetScaler console)

Edit /etc/rc.conf (google it)
service netif restart



Enable SSH



Enable SSH via the /etc/rc.conf file and create the new host keys




echo 'sshd_enable="YES"' >> /etc/rc.conf

ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
service sshd restart



Install Python 2.7 and required modules




pkg install python27 py27-asn1




pkg2ng




You may need a symbolic link the new python 2.7 binary?




ln -s /usr/local/bin/python2.7 /usr/bin/python




Install the Azure Linux Agent



On Github – https://github.com/Azure/WALinuxAgent/releases.  The latest agent that supports FreeBSD:




pkg install wget

wget https://raw.githubusercontent.com/Azure/WALinuxAgent/2.0/waagent


mv ./waagent /usr/sbin/


chmod 755 /usr/sbin/waagent


/usr/sbin/waagent –install




Well if this worked, now logon to the NetScaler console and start the real work, let me know how it went?

No comments:

Blog Archive