Advanced host configuration
When a host is highlighted in the Load Generators group box, the Advanced Host Configuration dialog is displayed either with:
- a double-click on the host
- a click on the wrench-like Advanced host configuration button
- the Advanced host configuration context command
Network
In the Advanced Host Configuration dialog box, the Network tab shows the following information:
- In WAN Emulation, the green Installed status means that the machine is ready to simulate network constraints, as described in Install the WAN emulation.
- Network Interfaces lists all the network interfaces detected for the Load Generator. For those hosts acting as network routers for several networks, it is necessary to select the network card to be used by the Load Generator.
- In IP Addresses, all the host IP addresses are listed on the selected interfaces. By default, a single IP address is selected and all the Virtual Users generated by that Load Generator use that same address.
Defining several IP addresses allows the user to test applications that use a load balancer based on IP addresses. In this case, a random IP address is assigned to each Virtual User. The IP addresses must be available, i.e. not used by other machines within the network. It is necessary to check with a system administrator to make sure these addresses may be used.
Configure IP spoofing
To define IP addresses in the list, it is necessary to define additional IP addresses in the Load Generator operating system settings.
These parameters will modify the Load Generator network settings. It is advised to check this with a system administrator before changing the host settings. In some documentation, multiple IP address settings are referred to as virtual IP settings.
- To configure IP spoofing on Windows
- In the Start menu, click Control Panel.
- In Network Connections, right-click Local Area Connection and select Properties
- Select Internet Protocol (TCP/IP) in the list, then click on the Properties button.
- Multiple IP address configuration is not available in DHCP mode. If DHCP mode is set (i.e. Obtain an IP address automatically is selected), this setting must be changed to the static IP mode (i.e. Use the following IP address).
- Click on the Advanced button to display the list of defined IP addresses. Click on the Add button.
- Enter the new IP address and subnet mask in the appropriate boxes. Then click on the Add button.
- The new IP address should appear in the list.
- Repeat steps 5 through 7 to define each IP address.
- To configure IP spoofing on Linux
- Multiple IP address configuration is not available in DHCP mode. Change the settings to use static IP addresses. Use the ifconfig command to add a new IP address.
For example, the command line for adding 2 new IP addresses (say, 192.168.1.10 and 192.168.1.11) to the eth0 network interface would be:
ifconfig eth0:0 192.168.1.10
ifconfig eth0:1 192.168.1.11
Load balancing
In the Advanced Host Configuration dialog box, the Load Balancing tab allows setting the number of Virtual Users on the Load Generators.
The Virtual Users used in the test are spread among all the available Load Generators. All the Load Generators generate the same number of Virtual Users by default.
Increasing the load factor proportionally increases the number of Virtual Users created by each Load Generator. For example, where NeoLoad needs to creates five more Virtual Users and Load Generator A has a load factor of "3" and Load Generator B a load factor of "2", A will create three Virtual Users and B will create two. The more powerful machines may be configured to create a greater number of Virtual Users.
Automatically update Load Generators
In the Advanced Host Configuration dialog box, the Version tab allows updating Load Generators.
A NeoLoad Controller can automatically update obsolete Load Generators (orange indicator in the list). This is particularly useful after a Controller update.
When the test is launched, NeoLoad checks the versions of the Load Generators being used and prompts the user to update those that are obsolete. Once the Load Generators have been updated, the test continues as normal.
A Controller cannot update a Load Generator handled by a different Controller. In this case, a manual update needs be performed using the standard installer.
When the Load Generator Agent has been started with an account that does not have privileges required to update the program, then the Load Generator cannot be updated automatically. In this case, perform a manual update using the standard installer.
- Warning: If the update fails, or if the Load Generator fails to function properly after an automatic update, it is necessary to perform a manual update using the standard installer.
This function is only available for Load Generators having the same minor version numbers as the Controller. For example, a version X.2.2 Controller can update a version X.2.0 Load Generator but cannot update a version X.1.9. When automatic update is not supported, the Load Generators must be updated manually using the standard installer.
- To update a Load Generator
- In the Scenarios tab, in the Load Generators section, click the wrench-like Host advanced settings button.
- Click on the Version tab.
- Click on the Update button (twin arrows icon). When the update is unavailable or unnecessary, the button is dimmed.
Home