0% found this document useful (0 votes)
89 views4 pages

Windows L3 - Training

The document discusses several networking-related topics including Docker commands, Hyper-V configuration, failover clustering, network load balancing, and IP address management. It provides examples of Docker commands to pull, run, and manage Windows container images. It also lists some basic Hyper-V commands and considerations for configuring a failover cluster and network load balancing.

Uploaded by

dipaksingh1980
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views4 pages

Windows L3 - Training

The document discusses several networking-related topics including Docker commands, Hyper-V configuration, failover clustering, network load balancing, and IP address management. It provides examples of Docker commands to pull, run, and manage Windows container images. It also lists some basic Hyper-V commands and considerations for configuring a failover cluster and network load balancing.

Uploaded by

dipaksingh1980
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

https://sitenable.top/o.php?

b=5&pv=2&mobile=&u=MTcyLjE4LjAuMXw6Ly9pc29odW50LnRvL3NlYXJjaD9wYWdlPTImcT1kb2NrZ
XIrb24rd2luZG93c3xNb3ppbGxhLzUuMCAoV2luZG93cyBOVCA2LjE7IFdpbjY0OyB4NjQpIEFwcGxlV2Vi
S2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS85Mi4wLjQ1MTUuMTU5IFNhZmFyaS81
MzcuMzZ8OTA1NTg4

.\dipak
Nitu12345678

https://portal.azure.com/

https://1drv.ms/u/s!Av6L_LXTpohuheQdxtxSQVY5718L-Q?e=W6jVfq

Connection-specific DNS Suffix: qslatfnpmitupjhwdlr54u4dyd.bx.internal.cloudapp.net


Description: Microsoft Hyper-V Network Adapter #2
Physical Address: ?00-22-48-26-34-A5
DHCP Enabled: Yes
IPv4 Address: 192.168.0.4
IPv4 Subnet Mask: 255.255.255.128
Lease Obtained: Tuesday, August 24, 2021 3:39:32 PM
Lease Expires: Friday, September 30, 2157 10:57:52 PM
IPv4 Default Gateway: 192.168.0.1
IPv4 DHCP Server: 168.63.129.16
IPv4 DNS Server: 168.63.129.16
IPv4 WINS Server:
NetBIOS over Tcpip Enabled: Yes
Link-local IPv6 Address: fe80::d1ae:c8c1:24ee:10da%2
IPv6 Default Gateway:
IPv6 DNS Server:

LINK 1 - https://ssdnsolutions-
my.sharepoint.com/:v:/g/personal/anil_ssdnsolutions_onmicrosoft_com/EXYR_GKLXflCiRggE3v5_Hs
BNhJUlO4rZHG8M01TTSBOpQ?e=fBUYQ6
LINK 2 - https://ssdnsolutions-
my.sharepoint.com/:v:/g/personal/anil_ssdnsolutions_onmicrosoft_com/EYrplGKcvThMkwm9zuf6yt
cBibHd6spG2TLHYAmpoR0orQ?e=aNFNe6
LINK 3 - https://ssdnsolutions-
my.sharepoint.com/:v:/g/personal/anil_ssdnsolutions_onmicrosoft_com/EQhK9VkpDYBOrejylfoDmk
sBKxG4agPEKMBHWDfyZ0fY_w?e=s3nsJ8

Data Deduplication commands


 Get-DedupStatus
 Start-DedupJob E: -Type Optimization –Memory 50
 Get-DedupJob –Volume E:
 Get-DedupStatus –Volume DE |fl
 Get-DedupStatus –Volume E: |fl
 Start-DedupJob VolumeLetter -Type Scrubbing –Full
 Expand-DedupFile
 Start-DedupJob –Volume VolumeLetter –Type GarbageCollection
 Start-DedupJob –Volume VolumeLetter –Type Unoptimization
 Start-DedupJob –Volume VolumeLetter –Type Optimization
 Start-DedupJob –Volume VolumeLetter –Type Scrubbing

Docker commands
 Set-ItemProperty -Path
'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name
'SchUseStrongCrypto' -Value '1' -Type DWord

 Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name


'SchUseStrongCrypto' -Value '1' -Type DWord

 restart the PS and try the import-module again

 Install-Module DockerProvider -Force


 Install-Package Docker -ProviderName DockerProvider -Force
 Restart-Computer -Force
 Docker search Microsoft
 docker pull microsoft/iis:windowsservercore
Test Image 1: Not working
 docker pull cggruszka/microsoft-windows-helloworld
 docker run -d -p 80:80 cggruszka/microsoft-windows-helloworld cmd
 ipconfig
 docker images
 Docker ps
Test Image 2: Working fine
 docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2016
 docker run -d -p 80:80 mcr.microsoft.com/windows/servercore/iis:windowsservercore-
ltsc2016 cmd
 Docker ps
 docker images
 ipconfig

To remove Docker container

 docker stop container id


 docker rm container id

HyperV size: Standard D2s v3 (2 vcpus, 8 GiB memory)

https://docs.google.com/forms/d/1uIySjb70Qwm_4YnN3r7osVI2w9RGsykuqYGY5czYXGM/prefill
EXTSwitch

HyperV

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2022

 Bcdedit

 Install-WindowsFeature -Name Hyper-V -IncludeAllSubFeature


-IncludeManagementTools -Restart

Fail over Cluster?

 create two luns 1 gb & 300 gb disk in your storage and associate with both the node
 assign static ip & install fc & mpio role in both node
 validate cluster by adding noth node in cluster.
 create cluster give name give ip add storage disk in one of the node only

NLB:

 make sure you fully functional web server

 install nlb role

 create nlb cluster in any machine

 then add another node in nlb cluster

 create port rule as per your website port

# Invoke-Command -ComputerName scvmm,srv2 -Command {Install-WindowsFeature


NLB,RSAT-NLB}

# New-NlbCluster -InterfaceName "Ethernet 2" -OperationMode Multicast -ClusterPrimaryIP


192.168.0.20 -ClusterName dipak-NlB

# Add-NlbClusterNode -InterfaceName "Ethernet 2" -NewNodeName "srv2" -NewNodeInterface


"Ethernet 2"

 mkdir c:\test
 xcopy /s C:\inetpub\wwwroot C:\test\
 New-Website -Name test -PhysicalPath "C:\test\" -Port 5678
 New-NetFirewallRule -DisplayName test -Protocol TCP -LocalPort 5678
 http://localhost/
 http://localhost:5678
IPAM

You might also like