Today, I would like to show the installation of the HP VSR (Virtual Service Router) on an ESXi host. It should also work for ESX.

The VSR is a virtual router, running on VMWare and KVM. It will also run in VMWare player and workstation without consuming a lot of resources, which makes it ideal for testing. But also in production environments, the VSR is a perfect solution.

I discovered another use cases for the VSR, together with iMC UAM. As you can read in various previous posts about BYOD or captive portal, you always need a redirecting device. The VSR can be used for that task in environments with no other comware based devices. This could be the cases when using provision based switches and the MSM solution. To help you in this scenario, I would like to show how easy the installation is. I will use VMWare ESXi but the same should apply to ESX.

Download the VSR

Before you can start, you need to download a copy of the VSR form the HPN website:

http://h17007.www1.hp.com/us/en/networking/products/routers/HP_VSR1000_Virtual_Services_Router_Series/index.aspx

Just hit the download button and get access to the full featured demo. Even, if the demo version is limited in performance, it should be enough for testing purpose.

After downloading, you should have a .zip file containing the release notes, the IPEĀ file (this is used for upgrading already installed VSR’s), an ISO file (this can be used for installation and upgrading the VSR) and the OVA file (which I will use for the installation of the VSR). The OVA file can also be installed into VMWare workstation or player.

Install the VSR

For installing the VSR you need to open the VMWare vSphere client and connect to the ESXi server of choice. After you are connected, you should see this page:

vSphere-client-start-screen

vSphere-client-start-screen

You can now click “File–>Deploy OVF Template”. On the following screen you should select the downloaded OVA file:

vSphere-select-VSR-OVA-file

vSphere-select-VSR-OVA-file

Click “Next” to see the details of the package:

vSphere-VSR-OVA-details

vSphere-VSR-OVA-details

Click “Next” to provide a name to the virtual machine, which will be created:

vSphere-VSR-Name

vSphere-VSR-Name

Click “Next” to select the disk format which will be used for the virtual machine:

vSphere-VSR-disk-format

vSphere-VSR-disk-format

Click “Next” and select the network used for the first network adapter. You can add more later:

vSphere-VSR-Network-Mapping

vSphere-VSR-Network-Mapping

Click “Next” for the last time, to see the summary. On this screen click “Finish” and the installation process will start:

vSphere-VSR-summery-screen

vSphere-VSR-summery-screen

After the installation process is finished, you can change the virtual machine settings and add more network adapters if necessary, up to 16 are supported. Afterwards you can power on the VSR and get access to the cli via the virtual machine console. After the VSR is up and running, it behaves like a normal comware based router and can be configured like that. I always enable SSH and configure the management IP to gain access through SSH instead of the virtual machine console of vSphere client.

For testing purpose, it is a good practice, to work with snapshots, as you can easily jump between configurations or revert back to known configuration.

For any questions or feedback, please use the comment function below.