45 строки
1.9 KiB
Plaintext
45 строки
1.9 KiB
Plaintext
Login on your Hyper-V server.
|
|
|
|
Start PowerShell with the Run As Administrator option.
|
|
|
|
Deploy VM's in Azure.
|
|
1. Create deployment of type : Load Balanced - No Probe
|
|
You will get Two VMs deployed in a hosted service.
|
|
VM alias : HS1VM1, HS1VM2
|
|
Hosted Service Alias : HS1
|
|
[please go through DEPLOYMENT-CONFIGURATIONS.txt for more information about deploy types.]
|
|
|
|
Execute Test :
|
|
1. Start Iperf server on HS1VM1
|
|
Execute "iperf -s -p <unopened port>"
|
|
2. Start Iperf server on HS1VM2
|
|
Execute "iperf -s -p <unopened port>"
|
|
3. Start Iperf client on dtap machine (A machine outside Azure, which have a static IP address).
|
|
Execute "iperf -c <VIP of HS1> -p <unopened port> -P 2"
|
|
4. Verify HS1VM1 and HS1VM2 are NOT connected to iperf client.
|
|
5. Repeat 1 - 4 using DNS name of VM roles.
|
|
Hint : Execute "iperf -c <DNS name of HS1> -p <unopened port> -P 2" on Dtap machine.
|
|
|
|
Cleanup the test VMs.
|
|
1. If test is PASS, delete all VMs under test.
|
|
2. If test is FAIL, collect the logs and preserve deployed VMs.
|
|
|
|
Add following test definition under "<testsDefinition>..</testsDefinition>" in XML file to drive the test:
|
|
<test>
|
|
<testName>NETWORK-LB-NO-PROBE-PORT-IPERF-NON-CONNETIVITY</testName>
|
|
<testScript></testScript>
|
|
<testScriptps1>NETWORK-LB-NO-PROBE-PORT-IPERF-NON-CONNETIVITY.ps1</testScriptps1>
|
|
<files>remote-scripts\start-server.py, remote-scripts\start-client.py, remote-scripts\check-server.py, remote-scripts\azuremodules.py</files>
|
|
<SubtestValues></SubtestValues>
|
|
<setupType>LoadBalancedNoCP</setupType>
|
|
<TestType></TestType>
|
|
<TestFeature></TestFeature>
|
|
<TestID>AzureNetwork_LB_003</TestID>
|
|
<TestMode>VIP,URL</TestMode>
|
|
<Priority>P0</Priority>
|
|
</test>
|
|
|
|
Run the tests defined in the .xml file.
|
|
From the PowerShell command line, issue the following command:
|
|
Run all NETWORK tests:
|
|
.\AzureAutomationManager.ps1 -xmlConfigFile azure_ica_all.xml -runtests -Distro CentOS -cycleName NETWORK |