SlideShare a Scribd company logo
Session Validation Test by PowerShell
Copyright <2019> Hoon_Jo@dell.com < Github : https://github.com/sysnet4admin>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
0. Pre-Conditions
Inventory
name,IP
Win1pc,192.168.30.174
Win2pc,192.168.30.205
Win3pc,192.168.30.207
Win4pc,192.168.30.211
Win5pc,192.168.30.212
Win6pc,192.168.30.210
Win7pc,192.168.30.206
Win8pc,192.168.30.208
Win9pc,192.168.30.204
win10pc,192.168.30.209
[Host List] NAS_VM_LIST.csv
Topology
1. sleep 30 seconds
1.1. Source Code
$u="krlab.testfslg"
$p=ConvertTo-SecureString "Dell1234!" -AsPlainText -Force
$c=New-Object System.Management.Automation.PSCredential $u,$p
$computer = Import-Csv 'c:tempNAS_VM_LIST.csv'
foreach( $target in $computer ) {
invoke-command -cn $target.name -cred $c {
$net = New-Object -ComObject wscript.network
$net.mapnetworkdrive( "T:", "fluidfs-8p5sb22test01", $false, "krlab.testfslg", "Dell1234!" )
$net.mapnetworkdrive( "Y:", "fluidfs-8p5sb22test02", $false, "krlab.testfslg", "Dell1234!" )
sleep 30
$net.RemoveNetworkDrive("T:", "true", "true")
$net.RemoveNetworkDrive("Y:", "true", "true")
} -asjob
}
[Code 1-1] Show_Version9.yml
1.2. Run the Code
Session Status before running the code.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:41:42 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session before running the code
Running the code on PowerShell
PS C:temp> .Session_Test.ps1
Id Name State HasMoreData Location Command
-- ---- ----- ----------- -------- -------
1 Job1 Running True win1pc ...
3 Job3 Running True win2pc ...
5 Job5 Running True win3pc ...
7 Job7 Running True win4pc ...
9 Job9 Running True win5pc ...
11 Job11 Running True win6pc ...
13 Job13 Running True win7pc ...
15 Job15 Running True win8pc ...
17 Job17 Running True win9pc ...
19 Job19 Running True win10pc ...
[Status] running the code
Session Satus after running the code.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:43:36 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 6] [Maximum: 7]
Sessions [Current: 6] [Maximum: 7]
Tree connects [Current: 18] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 4] [Maximum: 7]
Sessions [Current: 4] [Maximum: 7]
Tree connects [Current: 12] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after running the code
Session Status after 30seconds.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:44:05 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after 30seconds from running the code.
Check the jobs by ‘get-job’
PS C:temp> get-job
Id Name State HasMoreData Location Command
-- ---- ----- ----------- -------- -------
1 Job1 Completed False win1pc ...
3 Job3 Completed False win2pc ...
5 Job5 Completed False win3pc ...
7 Job7 Completed False win4pc ...
9 Job9 Completed False win5pc ...
11 Job11 Completed False win6pc ...
13 Job13 Completed False win7pc ...
15 Job15 Completed False win8pc ...
17 Job17 Completed False win9pc ...
19 Job19 Completed False win10pc ...
[Status] check the job status after 30seconds
2. sleep 300 seconds
2.1. Source Code
$u="krlab.testfslg"
$p=ConvertTo-SecureString "Dell1234!" -AsPlainText -Force
$c=New-Object System.Management.Automation.PSCredential $u,$p
$computer = Import-Csv 'c:tempNAS_VM_LIST.csv'
foreach( $target in $computer ) {
invoke-command -cn $target.name -cred $c {
$net = New-Object -ComObject wscript.network
$net.mapnetworkdrive( "T:", "fluidfs-8p5sb22test01", $false, "krlab.testfslg", "Dell1234!" )
$net.mapnetworkdrive( "Y:", "fluidfs-8p5sb22test02", $false, "krlab.testfslg", "Dell1234!" )
sleep 300
$net.RemoveNetworkDrive("T:", "true", "true")
$net.RemoveNetworkDrive("Y:", "true", "true")
} -asjob
}
2.2. Run the Code
Session Status before running the code.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:56:41 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session before running the code
Running the code on PowerShell
PS C:temp> .Session_Test.ps1
Id Name State HasMoreData Location Command
-- ---- ----- ----------- -------- -------
21 Job21 Running True win1pc ...
23 Job23 Running True win2pc ...
25 Job25 Running True win3pc ...
27 Job27 Running True win4pc ...
29 Job29 Running True win5pc ...
31 Job31 Running True win6pc ...
33 Job33 Running True win7pc ...
35 Job35 Running True win8pc ...
37 Job37 Running True win9pc ...
39 Job39 Running True win10pc ...
[Status] running the code
Session Satus after running the code.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:57:35 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 6] [Maximum: 7]
Sessions [Current: 6] [Maximum: 7]
Tree connects [Current: 18] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 4] [Maximum: 7]
Sessions [Current: 4] [Maximum: 7]
Tree connects [Current: 12] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after running the code
Check the jobs by ‘get-job’
PS C:temp> get-job
Id Name State HasMoreData Location Command
-- ---- ----- ----------- -------- -------
39 Job39 Running True win10pc ...
37 Job37 Running True win9pc ...
35 Job35 Running True win8pc ...
33 Job33 Running True win7pc ...
31 Job31 Running True win6pc ...
29 Job29 Running True win5pc ...
27 Job27 Running True win4pc ...
25 Job25 Running True win3pc ...
23 Job23 Running True win2pc ...
21 Job21 Running True win1pc ...
[Status] check the jobs
Session Status after 300seconds.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:00:05 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after 300seconds from running the code.
Check the jobs by ‘get-job’
PS C:temp> get-job
Id Name State HasMoreData Location Command
-- ---- ----- ----------- -------- -------
39 Job39 Completed False win10pc ...
37 Job37 Completed False win9pc ...
35 Job35 Completed False win8pc ...
33 Job33 Completed False win7pc ...
31 Job31 Completed False win6pc ...
29 Job29 Completed False win5pc ...
27 Job27 Completed False win4pc ...
25 Job25 Completed False win3pc ...
23 Job23 Completed False win2pc ...
21 Job21 Completed False win1pc ...
[Status] check the job status after 30seconds
3. Terminating PowerShell window in running state
3.1. Source Code
$u="krlab.testfslg"
$p=ConvertTo-SecureString "Dell1234!" -AsPlainText -Force
$c=New-Object System.Management.Automation.PSCredential $u,$p
$computer = Import-Csv 'c:tempNAS_VM_LIST.csv'
foreach( $target in $computer ) {
invoke-command -cn $target.name -cred $c {
$net = New-Object -ComObject wscript.network
$net.mapnetworkdrive( "T:", "fluidfs-8p5sb22test01", $false, "krlab.testfslg", "Dell1234!" )
$net.mapnetworkdrive( "Y:", "fluidfs-8p5sb22test02", $false, "krlab.testfslg", "Dell1234!" )
sleep 300
$net.RemoveNetworkDrive("T:", "true", "true")
$net.RemoveNetworkDrive("Y:", "true", "true")
} -asjob
}
3.2. Run the Code
Session Status before running the code.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:02:21 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 0] [Maximum: 7]
Sessions [Current: 0] [Maximum: 7]
Tree connects [Current: 0] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session before running the code
Running the code on PowerShell
PS C:temp> .Session_Test.ps1
Id Name State HasMoreData Location Command
-- ---- ----- ----------- -------- -------
21 Job21 Running True win1pc ...
23 Job23 Running True win2pc ...
25 Job25 Running True win3pc ...
27 Job27 Running True win4pc ...
29 Job29 Running True win5pc ...
31 Job31 Running True win6pc ...
33 Job33 Running True win7pc ...
35 Job35 Running True win8pc ...
37 Job37 Running True win9pc ...
39 Job39 Running True win10pc ...
[Status] running the code
Terminating the PowerShell window as above.
Session Satus after running the code.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:03:25 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 6] [Maximum: 7]
Sessions [Current: 6] [Maximum: 7]
Tree connects [Current: 18] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 4] [Maximum: 7]
Sessions [Current: 4] [Maximum: 7]
Tree connects [Current: 12] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after running the code
Session Status after 300seconds.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:07:22 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 6] [Maximum: 7]
Sessions [Current: 6] [Maximum: 7]
Tree connects [Current: 18] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 4] [Maximum: 7]
Sessions [Current: 4] [Maximum: 7]
Tree connects [Current: 12] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after 300seconds from running the code.
Session Status after 600seconds.
Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:12:25 2019
node0
regular statistics:
Server statistics [level 0]:
Connections [Current: 6] [Maximum: 7]
Sessions [Current: 6] [Maximum: 7]
Tree connects [Current: 18] [Maximum: 21]
Files: [Current: 0] [Maximum: 4]
node1
regular statistics:
Server statistics [level 0]:
Connections [Current: 4] [Maximum: 7]
Sessions [Current: 4] [Maximum: 7]
Tree connects [Current: 12] [Maximum: 19]
Files: [Current: 0] [Maximum: 9]
[Status] Session after 30seconds from running the code.
[Important] In fact, this session never expired without other activities.
[Note] Manual Session clear command on support mode.
cliUtil client-access activity active-sessions logoff-SMB-sessions

More Related Content

What's hot

Ex200
Ex200Ex200
From crash to testcase
From crash to testcaseFrom crash to testcase
From crash to testcase
Roel Van de Paar
 
Reverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande ModemReverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande Modem
Cyber Security Alliance
 
Kubernetes Tutorial
Kubernetes TutorialKubernetes Tutorial
Kubernetes Tutorial
Ci Jie Li
 
Containers for sysadmins
Containers for sysadminsContainers for sysadmins
Containers for sysadmins
Carlos de Alfonso Laguna
 
Kernel Recipes 2019 - Metrics are money
Kernel Recipes 2019 - Metrics are moneyKernel Recipes 2019 - Metrics are money
Kernel Recipes 2019 - Metrics are money
Anne Nicolas
 
1.3 runlevels, shutdown, and reboot v3
1.3 runlevels, shutdown, and reboot v31.3 runlevels, shutdown, and reboot v3
1.3 runlevels, shutdown, and reboot v3
Acácio Oliveira
 
10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know
Ravi Kumar Lanke
 
Ssh and sshfp dns records v04
Ssh and sshfp dns records v04Ssh and sshfp dns records v04
Ssh and sshfp dns records v04
Bob Novas
 
5 issues
5 issues5 issues
5 issues
m0use
 
OpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersOpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developers
Connor McDonald
 
M7 - Manual
M7 - ManualM7 - Manual
M7 - Manual
GabrielPostigo1
 
Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]
Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]
Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]
RootedCON
 
Nginx
NginxNginx
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
Sayed Ahmed
 
101 1.3 runlevels, shutdown, and reboot v2
101 1.3 runlevels, shutdown, and reboot v2101 1.3 runlevels, shutdown, and reboot v2
101 1.3 runlevels, shutdown, and reboot v2
Acácio Oliveira
 
101 1.3 runlevels , shutdown, and reboot
101 1.3 runlevels , shutdown, and reboot101 1.3 runlevels , shutdown, and reboot
101 1.3 runlevels , shutdown, and reboot
Acácio Oliveira
 

What's hot (20)

Ex200
Ex200Ex200
Ex200
 
From crash to testcase
From crash to testcaseFrom crash to testcase
From crash to testcase
 
Reverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande ModemReverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande Modem
 
Kubernetes Tutorial
Kubernetes TutorialKubernetes Tutorial
Kubernetes Tutorial
 
Containers for sysadmins
Containers for sysadminsContainers for sysadmins
Containers for sysadmins
 
Kernel Recipes 2019 - Metrics are money
Kernel Recipes 2019 - Metrics are moneyKernel Recipes 2019 - Metrics are money
Kernel Recipes 2019 - Metrics are money
 
1.3 runlevels, shutdown, and reboot v3
1.3 runlevels, shutdown, and reboot v31.3 runlevels, shutdown, and reboot v3
1.3 runlevels, shutdown, and reboot v3
 
10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know
 
Ssh and sshfp dns records v04
Ssh and sshfp dns records v04Ssh and sshfp dns records v04
Ssh and sshfp dns records v04
 
5 issues
5 issues5 issues
5 issues
 
OpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersOpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developers
 
Kickstart
KickstartKickstart
Kickstart
 
M7 - Manual
M7 - ManualM7 - Manual
M7 - Manual
 
Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]
Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]
Sebastián Guerrero - Ke ase Android? [Rooted CON 2013]
 
Nginx
NginxNginx
Nginx
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
 
The Art of Grey-Box Attack
The Art of Grey-Box AttackThe Art of Grey-Box Attack
The Art of Grey-Box Attack
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
101 1.3 runlevels, shutdown, and reboot v2
101 1.3 runlevels, shutdown, and reboot v2101 1.3 runlevels, shutdown, and reboot v2
101 1.3 runlevels, shutdown, and reboot v2
 
101 1.3 runlevels , shutdown, and reboot
101 1.3 runlevels , shutdown, and reboot101 1.3 runlevels , shutdown, and reboot
101 1.3 runlevels , shutdown, and reboot
 

Similar to [Fs8600] nas session validation test_by_hoon_jo

HPC Examples
HPC ExamplesHPC Examples
HPC Examples
Wendi Sapp
 
101 3.5 create, monitor and kill processes v2
101 3.5 create, monitor and kill processes v2101 3.5 create, monitor and kill processes v2
101 3.5 create, monitor and kill processes v2
Acácio Oliveira
 
3.5 create, monitor and kill processes v2
3.5 create, monitor and kill processes v23.5 create, monitor and kill processes v2
3.5 create, monitor and kill processes v2
Acácio Oliveira
 
Building with Watson - Serverless Chatbots with PubNub and Conversation
Building with Watson - Serverless Chatbots with PubNub and ConversationBuilding with Watson - Serverless Chatbots with PubNub and Conversation
Building with Watson - Serverless Chatbots with PubNub and Conversation
IBM Watson
 
MongoDB World 2019: Becoming an Ops Manager Backup Superhero!
MongoDB World 2019: Becoming an Ops Manager Backup Superhero!MongoDB World 2019: Becoming an Ops Manager Backup Superhero!
MongoDB World 2019: Becoming an Ops Manager Backup Superhero!
MongoDB
 
Chef arista devops days a'dam 2015
Chef arista devops days a'dam 2015Chef arista devops days a'dam 2015
Chef arista devops days a'dam 2015
Edwin Beekman
 
Python Hashlib & A True Story of One Bug
Python Hashlib & A True Story of One BugPython Hashlib & A True Story of One Bug
Python Hashlib & A True Story of One Bug
delimitry
 
Real-Time Status Commands
Real-Time Status CommandsReal-Time Status Commands
Real-Time Status Commands
Splunk
 
Automating with NX-OS: Let's Get Started!
Automating with NX-OS: Let's Get Started!Automating with NX-OS: Let's Get Started!
Automating with NX-OS: Let's Get Started!
Cisco DevNet
 
Advanced System Security and Digital Forensics
Advanced System Security and Digital ForensicsAdvanced System Security and Digital Forensics
Advanced System Security and Digital Forensics
Dr. Ramchandra Mangrulkar
 
Managing Large-scale Networks with Trigger
Managing Large-scale Networks with TriggerManaging Large-scale Networks with Trigger
Managing Large-scale Networks with Trigger
jathanism
 
NetDevOps 202: Life After Configuration
NetDevOps 202: Life After ConfigurationNetDevOps 202: Life After Configuration
NetDevOps 202: Life After Configuration
Cumulus Networks
 
Root cause analysis with e bpf &amp; python
Root cause analysis with e bpf &amp; pythonRoot cause analysis with e bpf &amp; python
Root cause analysis with e bpf &amp; python
Pavel Rogovoy
 
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneAlexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
Zabbix
 
Windows Attacks AT is the new black
Windows Attacks   AT is the new blackWindows Attacks   AT is the new black
Windows Attacks AT is the new black
Rob Fuller
 
Windows attacks - AT is the new black
Windows attacks - AT is the new blackWindows attacks - AT is the new black
Windows attacks - AT is the new black
Chris Gates
 
Techniques for Preserving Scientific Software Executions: Preserve the Mess o...
Techniques for Preserving Scientific Software Executions: Preserve the Mess o...Techniques for Preserving Scientific Software Executions: Preserve the Mess o...
Techniques for Preserving Scientific Software Executions: Preserve the Mess o...
12th International Conference on Digital Preservation (iPRES 2015)
 
Sangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolestSangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolest
Connor McDonald
 
PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentationwebhostingguy
 

Similar to [Fs8600] nas session validation test_by_hoon_jo (20)

HPC Examples
HPC ExamplesHPC Examples
HPC Examples
 
101 3.5 create, monitor and kill processes v2
101 3.5 create, monitor and kill processes v2101 3.5 create, monitor and kill processes v2
101 3.5 create, monitor and kill processes v2
 
3.5 create, monitor and kill processes v2
3.5 create, monitor and kill processes v23.5 create, monitor and kill processes v2
3.5 create, monitor and kill processes v2
 
Building with Watson - Serverless Chatbots with PubNub and Conversation
Building with Watson - Serverless Chatbots with PubNub and ConversationBuilding with Watson - Serverless Chatbots with PubNub and Conversation
Building with Watson - Serverless Chatbots with PubNub and Conversation
 
MongoDB World 2019: Becoming an Ops Manager Backup Superhero!
MongoDB World 2019: Becoming an Ops Manager Backup Superhero!MongoDB World 2019: Becoming an Ops Manager Backup Superhero!
MongoDB World 2019: Becoming an Ops Manager Backup Superhero!
 
Chef arista devops days a'dam 2015
Chef arista devops days a'dam 2015Chef arista devops days a'dam 2015
Chef arista devops days a'dam 2015
 
Python Hashlib & A True Story of One Bug
Python Hashlib & A True Story of One BugPython Hashlib & A True Story of One Bug
Python Hashlib & A True Story of One Bug
 
Real-Time Status Commands
Real-Time Status CommandsReal-Time Status Commands
Real-Time Status Commands
 
Automating with NX-OS: Let's Get Started!
Automating with NX-OS: Let's Get Started!Automating with NX-OS: Let's Get Started!
Automating with NX-OS: Let's Get Started!
 
Advanced System Security and Digital Forensics
Advanced System Security and Digital ForensicsAdvanced System Security and Digital Forensics
Advanced System Security and Digital Forensics
 
Managing Large-scale Networks with Trigger
Managing Large-scale Networks with TriggerManaging Large-scale Networks with Trigger
Managing Large-scale Networks with Trigger
 
NetDevOps 202: Life After Configuration
NetDevOps 202: Life After ConfigurationNetDevOps 202: Life After Configuration
NetDevOps 202: Life After Configuration
 
Root cause analysis with e bpf &amp; python
Root cause analysis with e bpf &amp; pythonRoot cause analysis with e bpf &amp; python
Root cause analysis with e bpf &amp; python
 
Feb 2010 Intro To Remoteing Part1
Feb 2010 Intro To Remoteing Part1Feb 2010 Intro To Remoteing Part1
Feb 2010 Intro To Remoteing Part1
 
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneAlexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
 
Windows Attacks AT is the new black
Windows Attacks   AT is the new blackWindows Attacks   AT is the new black
Windows Attacks AT is the new black
 
Windows attacks - AT is the new black
Windows attacks - AT is the new blackWindows attacks - AT is the new black
Windows attacks - AT is the new black
 
Techniques for Preserving Scientific Software Executions: Preserve the Mess o...
Techniques for Preserving Scientific Software Executions: Preserve the Mess o...Techniques for Preserving Scientific Software Executions: Preserve the Mess o...
Techniques for Preserving Scientific Software Executions: Preserve the Mess o...
 
Sangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolestSangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolest
 
PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentation
 

More from Jo Hoon

이스티오 (Istio) 자습서 v0.5.0
이스티오 (Istio) 자습서 v0.5.0이스티오 (Istio) 자습서 v0.5.0
이스티오 (Istio) 자습서 v0.5.0
Jo Hoon
 
[GitOps] Argo CD on GKE (v0.9.2).pdf
[GitOps] Argo CD on GKE (v0.9.2).pdf[GitOps] Argo CD on GKE (v0.9.2).pdf
[GitOps] Argo CD on GKE (v0.9.2).pdf
Jo Hoon
 
Prometheus on EKS
Prometheus on EKSPrometheus on EKS
Prometheus on EKS
Jo Hoon
 
Prometheus on NKS
Prometheus on NKSPrometheus on NKS
Prometheus on NKS
Jo Hoon
 
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
Jo Hoon
 
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
Jo Hoon
 
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
Jo Hoon
 
CDN on GKE with Ingress
CDN on GKE with IngressCDN on GKE with Ingress
CDN on GKE with Ingress
Jo Hoon
 
The myths of deprecating docker in kubernetes
The myths of deprecating docker in kubernetesThe myths of deprecating docker in kubernetes
The myths of deprecating docker in kubernetes
Jo Hoon
 
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
Jo Hoon
 
[네전따 27회] 네트워크 자동화 어렵지 않아요
[네전따 27회] 네트워크 자동화 어렵지 않아요[네전따 27회] 네트워크 자동화 어렵지 않아요
[네전따 27회] 네트워크 자동화 어렵지 않아요
Jo Hoon
 
[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking
Jo Hoon
 
Wiki academy sysadmin 10_day
Wiki academy sysadmin 10_dayWiki academy sysadmin 10_day
Wiki academy sysadmin 10_day
Jo Hoon
 
Wiki academy sysadmin 4_day
Wiki academy sysadmin 4_dayWiki academy sysadmin 4_day
Wiki academy sysadmin 4_day
Jo Hoon
 
Wiki academy sysadmin 3_day
Wiki academy sysadmin 3_dayWiki academy sysadmin 3_day
Wiki academy sysadmin 3_day
Jo Hoon
 
Wiki academy sysadmin 2_day
Wiki academy sysadmin 2_dayWiki academy sysadmin 2_day
Wiki academy sysadmin 2_day
Jo Hoon
 
Wiki academy sysadmin 1_day
Wiki academy sysadmin 1_dayWiki academy sysadmin 1_day
Wiki academy sysadmin 1_day
Jo Hoon
 
Wiki academy sysadmin 9_day
Wiki academy sysadmin 9_dayWiki academy sysadmin 9_day
Wiki academy sysadmin 9_day
Jo Hoon
 
Wiki academy sysadmin 8_day
Wiki academy sysadmin 8_dayWiki academy sysadmin 8_day
Wiki academy sysadmin 8_day
Jo Hoon
 
Wiki academy sysadmin 7_day
Wiki academy sysadmin 7_dayWiki academy sysadmin 7_day
Wiki academy sysadmin 7_day
Jo Hoon
 

More from Jo Hoon (20)

이스티오 (Istio) 자습서 v0.5.0
이스티오 (Istio) 자습서 v0.5.0이스티오 (Istio) 자습서 v0.5.0
이스티오 (Istio) 자습서 v0.5.0
 
[GitOps] Argo CD on GKE (v0.9.2).pdf
[GitOps] Argo CD on GKE (v0.9.2).pdf[GitOps] Argo CD on GKE (v0.9.2).pdf
[GitOps] Argo CD on GKE (v0.9.2).pdf
 
Prometheus on EKS
Prometheus on EKSPrometheus on EKS
Prometheus on EKS
 
Prometheus on NKS
Prometheus on NKSPrometheus on NKS
Prometheus on NKS
 
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
 
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
 
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
 
CDN on GKE with Ingress
CDN on GKE with IngressCDN on GKE with Ingress
CDN on GKE with Ingress
 
The myths of deprecating docker in kubernetes
The myths of deprecating docker in kubernetesThe myths of deprecating docker in kubernetes
The myths of deprecating docker in kubernetes
 
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
 
[네전따 27회] 네트워크 자동화 어렵지 않아요
[네전따 27회] 네트워크 자동화 어렵지 않아요[네전따 27회] 네트워크 자동화 어렵지 않아요
[네전따 27회] 네트워크 자동화 어렵지 않아요
 
[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking
 
Wiki academy sysadmin 10_day
Wiki academy sysadmin 10_dayWiki academy sysadmin 10_day
Wiki academy sysadmin 10_day
 
Wiki academy sysadmin 4_day
Wiki academy sysadmin 4_dayWiki academy sysadmin 4_day
Wiki academy sysadmin 4_day
 
Wiki academy sysadmin 3_day
Wiki academy sysadmin 3_dayWiki academy sysadmin 3_day
Wiki academy sysadmin 3_day
 
Wiki academy sysadmin 2_day
Wiki academy sysadmin 2_dayWiki academy sysadmin 2_day
Wiki academy sysadmin 2_day
 
Wiki academy sysadmin 1_day
Wiki academy sysadmin 1_dayWiki academy sysadmin 1_day
Wiki academy sysadmin 1_day
 
Wiki academy sysadmin 9_day
Wiki academy sysadmin 9_dayWiki academy sysadmin 9_day
Wiki academy sysadmin 9_day
 
Wiki academy sysadmin 8_day
Wiki academy sysadmin 8_dayWiki academy sysadmin 8_day
Wiki academy sysadmin 8_day
 
Wiki academy sysadmin 7_day
Wiki academy sysadmin 7_dayWiki academy sysadmin 7_day
Wiki academy sysadmin 7_day
 

Recently uploaded

Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 

Recently uploaded (20)

Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 

[Fs8600] nas session validation test_by_hoon_jo

  • 1. Session Validation Test by PowerShell Copyright <2019> Hoon_Jo@dell.com < Github : https://github.com/sysnet4admin> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • 2. 0. Pre-Conditions Inventory name,IP Win1pc,192.168.30.174 Win2pc,192.168.30.205 Win3pc,192.168.30.207 Win4pc,192.168.30.211 Win5pc,192.168.30.212 Win6pc,192.168.30.210 Win7pc,192.168.30.206 Win8pc,192.168.30.208 Win9pc,192.168.30.204 win10pc,192.168.30.209 [Host List] NAS_VM_LIST.csv Topology 1. sleep 30 seconds 1.1. Source Code $u="krlab.testfslg" $p=ConvertTo-SecureString "Dell1234!" -AsPlainText -Force $c=New-Object System.Management.Automation.PSCredential $u,$p $computer = Import-Csv 'c:tempNAS_VM_LIST.csv' foreach( $target in $computer ) { invoke-command -cn $target.name -cred $c {
  • 3. $net = New-Object -ComObject wscript.network $net.mapnetworkdrive( "T:", "fluidfs-8p5sb22test01", $false, "krlab.testfslg", "Dell1234!" ) $net.mapnetworkdrive( "Y:", "fluidfs-8p5sb22test02", $false, "krlab.testfslg", "Dell1234!" ) sleep 30 $net.RemoveNetworkDrive("T:", "true", "true") $net.RemoveNetworkDrive("Y:", "true", "true") } -asjob } [Code 1-1] Show_Version9.yml 1.2. Run the Code Session Status before running the code. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:41:42 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session before running the code Running the code on PowerShell PS C:temp> .Session_Test.ps1 Id Name State HasMoreData Location Command -- ---- ----- ----------- -------- ------- 1 Job1 Running True win1pc ... 3 Job3 Running True win2pc ... 5 Job5 Running True win3pc ... 7 Job7 Running True win4pc ... 9 Job9 Running True win5pc ... 11 Job11 Running True win6pc ... 13 Job13 Running True win7pc ... 15 Job15 Running True win8pc ... 17 Job17 Running True win9pc ... 19 Job19 Running True win10pc ... [Status] running the code
  • 4. Session Satus after running the code. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:43:36 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 6] [Maximum: 7] Sessions [Current: 6] [Maximum: 7] Tree connects [Current: 18] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 4] [Maximum: 7] Sessions [Current: 4] [Maximum: 7] Tree connects [Current: 12] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after running the code Session Status after 30seconds. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:44:05 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after 30seconds from running the code. Check the jobs by ‘get-job’ PS C:temp> get-job Id Name State HasMoreData Location Command -- ---- ----- ----------- -------- ------- 1 Job1 Completed False win1pc ... 3 Job3 Completed False win2pc ... 5 Job5 Completed False win3pc ... 7 Job7 Completed False win4pc ... 9 Job9 Completed False win5pc ... 11 Job11 Completed False win6pc ... 13 Job13 Completed False win7pc ... 15 Job15 Completed False win8pc ...
  • 5. 17 Job17 Completed False win9pc ... 19 Job19 Completed False win10pc ... [Status] check the job status after 30seconds 2. sleep 300 seconds 2.1. Source Code $u="krlab.testfslg" $p=ConvertTo-SecureString "Dell1234!" -AsPlainText -Force $c=New-Object System.Management.Automation.PSCredential $u,$p $computer = Import-Csv 'c:tempNAS_VM_LIST.csv' foreach( $target in $computer ) { invoke-command -cn $target.name -cred $c { $net = New-Object -ComObject wscript.network $net.mapnetworkdrive( "T:", "fluidfs-8p5sb22test01", $false, "krlab.testfslg", "Dell1234!" ) $net.mapnetworkdrive( "Y:", "fluidfs-8p5sb22test02", $false, "krlab.testfslg", "Dell1234!" ) sleep 300 $net.RemoveNetworkDrive("T:", "true", "true") $net.RemoveNetworkDrive("Y:", "true", "true") } -asjob } 2.2. Run the Code Session Status before running the code. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:56:41 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 19]
  • 6. Files: [Current: 0] [Maximum: 9] [Status] Session before running the code Running the code on PowerShell PS C:temp> .Session_Test.ps1 Id Name State HasMoreData Location Command -- ---- ----- ----------- -------- ------- 21 Job21 Running True win1pc ... 23 Job23 Running True win2pc ... 25 Job25 Running True win3pc ... 27 Job27 Running True win4pc ... 29 Job29 Running True win5pc ... 31 Job31 Running True win6pc ... 33 Job33 Running True win7pc ... 35 Job35 Running True win8pc ... 37 Job37 Running True win9pc ... 39 Job39 Running True win10pc ... [Status] running the code Session Satus after running the code. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 13:57:35 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 6] [Maximum: 7] Sessions [Current: 6] [Maximum: 7] Tree connects [Current: 18] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 4] [Maximum: 7] Sessions [Current: 4] [Maximum: 7] Tree connects [Current: 12] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after running the code Check the jobs by ‘get-job’ PS C:temp> get-job Id Name State HasMoreData Location Command -- ---- ----- ----------- -------- ------- 39 Job39 Running True win10pc ... 37 Job37 Running True win9pc ... 35 Job35 Running True win8pc ... 33 Job33 Running True win7pc ... 31 Job31 Running True win6pc ... 29 Job29 Running True win5pc ... 27 Job27 Running True win4pc ... 25 Job25 Running True win3pc ... 23 Job23 Running True win2pc ...
  • 7. 21 Job21 Running True win1pc ... [Status] check the jobs Session Status after 300seconds. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:00:05 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after 300seconds from running the code. Check the jobs by ‘get-job’ PS C:temp> get-job Id Name State HasMoreData Location Command -- ---- ----- ----------- -------- ------- 39 Job39 Completed False win10pc ... 37 Job37 Completed False win9pc ... 35 Job35 Completed False win8pc ... 33 Job33 Completed False win7pc ... 31 Job31 Completed False win6pc ... 29 Job29 Completed False win5pc ... 27 Job27 Completed False win4pc ... 25 Job25 Completed False win3pc ... 23 Job23 Completed False win2pc ... 21 Job21 Completed False win1pc ... [Status] check the job status after 30seconds 3. Terminating PowerShell window in running state 3.1. Source Code $u="krlab.testfslg" $p=ConvertTo-SecureString "Dell1234!" -AsPlainText -Force $c=New-Object System.Management.Automation.PSCredential $u,$p
  • 8. $computer = Import-Csv 'c:tempNAS_VM_LIST.csv' foreach( $target in $computer ) { invoke-command -cn $target.name -cred $c { $net = New-Object -ComObject wscript.network $net.mapnetworkdrive( "T:", "fluidfs-8p5sb22test01", $false, "krlab.testfslg", "Dell1234!" ) $net.mapnetworkdrive( "Y:", "fluidfs-8p5sb22test02", $false, "krlab.testfslg", "Dell1234!" ) sleep 300 $net.RemoveNetworkDrive("T:", "true", "true") $net.RemoveNetworkDrive("Y:", "true", "true") } -asjob } 3.2. Run the Code Session Status before running the code. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:02:21 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 0] [Maximum: 7] Sessions [Current: 0] [Maximum: 7] Tree connects [Current: 0] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session before running the code Running the code on PowerShell PS C:temp> .Session_Test.ps1 Id Name State HasMoreData Location Command -- ---- ----- ----------- -------- ------- 21 Job21 Running True win1pc ... 23 Job23 Running True win2pc ... 25 Job25 Running True win3pc ... 27 Job27 Running True win4pc ... 29 Job29 Running True win5pc ... 31 Job31 Running True win6pc ... 33 Job33 Running True win7pc ... 35 Job35 Running True win8pc ... 37 Job37 Running True win9pc ...
  • 9. 39 Job39 Running True win10pc ... [Status] running the code Terminating the PowerShell window as above. Session Satus after running the code. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:03:25 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 6] [Maximum: 7] Sessions [Current: 6] [Maximum: 7] Tree connects [Current: 18] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 4] [Maximum: 7] Sessions [Current: 4] [Maximum: 7] Tree connects [Current: 12] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after running the code Session Status after 300seconds. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:07:22 2019 node0 regular statistics: Server statistics [level 0]: Connections [Current: 6] [Maximum: 7] Sessions [Current: 6] [Maximum: 7] Tree connects [Current: 18] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 4] [Maximum: 7] Sessions [Current: 4] [Maximum: 7] Tree connects [Current: 12] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after 300seconds from running the code. Session Status after 600seconds. Every 5.0s: walknodes all lwio-cli --get-stats Thu Apr 4 14:12:25 2019 node0
  • 10. regular statistics: Server statistics [level 0]: Connections [Current: 6] [Maximum: 7] Sessions [Current: 6] [Maximum: 7] Tree connects [Current: 18] [Maximum: 21] Files: [Current: 0] [Maximum: 4] node1 regular statistics: Server statistics [level 0]: Connections [Current: 4] [Maximum: 7] Sessions [Current: 4] [Maximum: 7] Tree connects [Current: 12] [Maximum: 19] Files: [Current: 0] [Maximum: 9] [Status] Session after 30seconds from running the code. [Important] In fact, this session never expired without other activities. [Note] Manual Session clear command on support mode. cliUtil client-access activity active-sessions logoff-SMB-sessions