Skip to content

Commit ce24357

Browse files
committed
Better IT test documentation
1 parent a6fdb7e commit ce24357

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

TESTING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Setup a test netscaler
44

5+
The following commands achieve a minimal NetScaler setup for testing purposes.
6+
57
$Nsip = "172.16.124.11"
68
$Snip = "172.16.124.111"
79
$DnsIp = "172.16.124.1"
@@ -16,9 +18,9 @@
1618
Add-NSDnsNameServer -IPAddress $DnsIp
1719
Set-NSTimeZone -TimeZone "GMT+01:00-CET-Europe/Paris" -Force
1820
Save-NSConfig
19-
(Invoke-Nitro -Action get -Type nshardware -Method get).nshardware.Hostname
21+
(Get-NSHardware).host
2022

2123
# Get a license with the _Host ID_
2224

23-
Install-NSLicense -Path /Users/dom/Downloads/FID__26d05285_157049a9857_1935.lic -Session $Session
24-
Restart-NetScaler -Force
25+
Install-NSLicense -Path /Users/dom/Downloads/my_downloaded_license.lic -Session $Session
26+
Restart-NetScaler -Force -Wait

0 commit comments

Comments
 (0)