超线程 假设有三个程序:Configuring Virtual IP Addresses

来源:百度文库 编辑:九乡新闻网 时间:2024/04/29 15:19:24
标记:
Introduction
Creating/Deleting Virtual IP Addresses
Introduction
Virutal IP Configurator batch/shell files provide the ability to generate virtual clients or allocate a unique IP address for each virtual user located in the same physical machine. Assigning each virtual user with a unique IP address emulates a real world browser user simulation. This enables to place a much more realistic load on the web server to measure the performance statistics.

Note: You need to configure virtual IPs only in cases where you wish to assign unique IP to each virtual user simulated during load test. If Use unique IP for each Virtual User option in Play Settings is not selected then you can ignore this step.
Creating/Deleting Virtual IP Address
In Windows
To create virtual IPs:
Run CreateVIP.bat file from /bin directory.
Specify the starting IP address and the number of virtual IPs to be created as the arguments. The specified number of virtual IPs will be created.
Syntax: CreateVIP.bat
Example: CreateVIP.bat 192.168.1.1 100
To delete virtual IPs:
Run DeleteVIP.bat file from /bin directory.
Specify the starting IP address and the number of virtual IPs to be deleted. The specified number of virtual IPs will be deleted from the system.
Syntax: DeleteVIP.bat
Example:DeleteVIP.bat 192.168.1.1 100
In Linux
To create virtual IPs:
Run CreateVIP.sh file from /bin directory.
Specify the number of virtual IPs to be created, starting IP address and the etho interface number as the arguments. The specified number of virtual IPs will be created.
Syntax: sh CreateVIP.sh "
Example: sh CreateVIP.sh 100 1.2.3.1 10
To delete virtual IPs:
Run DeleteVIP.sh file from /bin directory.
Specify the number of virtual IPs to be deleted and the starting IP address as the arguments. The specified number of virtual IPs will be deleted.
Syntax: sh DeleteVIP.sh
Example: sh DeleteVIP.sh 100 1.2.3.1