Last active
May 1, 2021 08:18
-
-
Save gowatana/a5046d13d6ca0a4c06e9dd521664ec75 to your computer and use it in GitHub Desktop.
PowerCLI で vSphere with Tanzu(+ NSX-T)のスーパーバイザー クラスタを有効化する。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable-WMCluster -Cluster "wcp-cluster-31" ` | |
-SizeHint Tiny ` | |
-EphemeralStoragePolicy "vm-storage-policy-wcp" ` | |
-ImageStoragePolicy "vm-storage-policy-wcp" ` | |
-MasterStoragePolicy "vm-storage-policy-wcp" ` | |
-ManagementVirtualNetwork (Get-VirtualNetwork -Name "DPortGroup-0010-MGMT") ` | |
-ManagementNetworkMode StaticRange ` | |
-ManagementNetworkStartIPAddress "192.168.10.51" ` | |
-ManagementNetworkSubnetMask "255.255.255.0" ` | |
-ManagementNetworkGateway "192.168.10.1" ` | |
-MasterDnsServerIPAddress @("192.168.1.101","192.168.1.102") ` | |
-MasterDnsSearchDomain "go-lab.jp" ` | |
-MasterNtpServer @("192.168.1.101","192.168.1.102") ` | |
-DistributedSwitch "lab-vds-31" ` | |
-NsxEdgeClusterId "b04061ae-ffed-49e9-9991-eafd2f4afa5c" ` | |
-MasterDnsNames "lab-wcp-01.go-lab.jp" ` | |
-WorkerDnsServer @("192.168.1.101","192.168.1.102") ` | |
-PodCIDRs "10.244.0.0/21" ` | |
-ServiceCIDR "10.96.0.0/24" ` | |
-ExternalIngressCIDRs "192.168.70.32/27" ` | |
-ExternalEgressCIDRs "192.168.70.64/27" ` | |
-ContentLibrary (Get-ContentLibrary -Name "cl-tkg-01") ` | |
-RunAsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
実行例