The year is 2021. The lab requirements is to test ArubaOS-CX VSX and Comware IRF with spanning-tree configuration.
Comware IRF and ArubaOS-CX VSX on GNS3
However, the required softwares to simulate this lab reside on GNS3 and VirtualBox. Furthermore, HP Network Simulator (HNS) requires VirtualBox and the last available HNS for Windows is dated 25 Jul 2014 and has a strict interoperability requirement with VirtualBox version as mentioned in various forums.
The following outlines the steps I went through for the setup.
This section contains footprints of installing VirtualBox. It was a straight forward installation and there was no special mentioning about the installation. After the completion, the Host Machine would have additional network adapter, named as VirtualBox Host-Only Ethernet Adapter.
Before proceeding with HNS installation, the Windows Environment Variables need to be updated, because newer VirtualBox version is registering VBOX_MSI_INSTALL_PATH, whereas HNS 7.1.50 only recognizes VBOX_INSTALL_PATH. The error was VirtualBox is not installed yet.
From Control Panel > System > Advanced System Settings, updated the System Variable from VBOX_MSI_INSTALL_PATH to VBOX_INSTALL_PATH Below is the footprints.
The next step was installing HP Network Simulator. This piece of software will read the scripts and create Simware (Simulated Comware) devices in the form of VMs on VirtualBox. Thus, it has strict interoperability requirements for it to work with VirtualBox. In my setup, I managed to have HNS v7.1.50 and VirtualBox v6.0.18 r136238 working together. The following is the HNS installation footprints.
I tested it by selecting File > New, to create a new topology. HNS will load a sample topology script that consists of 1x chassis and 1x fixed device model.
Note: The chassis model has two slots, i.e. board = slot 0 : SIM3101 and board = slot 2 : SIM3111.
Note: Device 1 and device 2 were connected on interface number 2, i.e. device 1 : slot 2 : interface 2 <---> device 2 : interface 2.
I ran the simulation by selecting Simulate > Run. As this topology contains chassis model, the HNS will create 3x devices (aka VMs on VirtualBox). 2x VMs for the Simware chassis model and 1x VMs for the Simware fix model.
Note: refer to HP Network Simulator for Comware Devices - Windows User Guide_v2.0.pdf for various Simware devices model.
HNS reminded me to save the project before I could run the simulation.
I named the test run project as lab1.
Here, the VirtualBox successfully created three devices from the topology.
Note: The Simware chassis modules are named lab1-device1-slot0 and lab1-device1-slot2.
At this point, the logical representation of the setup on Host Machine is shown below. On the sample topology script shown above, notice that it commented out the link between #device 1 : slot 0 : interface 1 <---> host : "VirtualBox Host-Only Ethernet Adapter", thus with this topology, I could not establish Telnet / SSH from Host Machine to Simware device 1.
Host Machine + VirtualBox + HNS
Lesson learnt:
On my other encounters, HNS seemed successfully installed, but was unable to create devices (VMs) on VirtualBox. This footprint shows HNS v7.1.50 works with VirtualBox v6.0.18 r136238.
After clicking Finish on the last wizard step, it ran the GNS3 with Setup Wizard. I clicked , because I have GNS3-VM running on its IP address (192.168.113.128), and not on GNS3 client's IP (192.168.113.1).
GNS3 - Setup Wizard
Upon completing the GNS3 client v2.2.18 installation, the logical representation of the Host Machine is as follow.
Host Machine + VirtualBox + HNS + GNS3
Lesson learnt:
GNS3-VM and client must be on the same version.
From https://docs.gns3.com/docs/getting-started/setup-wizard-gns3-vm, quote ..it's still necessary to configure the local server settings in GNS3 before proceeding with the remaining process of configuring the GNS3-VM... The error was ..not connected to the controller...
Error not connected to the controller
Setting GNS3-VM as Remote Server
In my setup, the Host Machine has 8 logical processors and 16 GB RAM. So far, I allocated 4 vCPU and 8GB RAM to GNS3-VM. Now, the intention is to have the GNS3-VM hosts the ArubaOS-CX appliances, so the Host Machine is splitting the load when running Simware on VirtualBox and AOS-CX on VMware at the same time. As such, I need to define the GNS3-VM as a Remote Server.