2. Microsoft Azure Stack TP2 POC ์ค์น
2.1 Windows Server 2016 ์ค์น
ํ์ฌ Azure Stack TP2 ๋ ์์ด ๋ฒ์ ๋ง ์ง์ํ๊ธฐ ๋๋ฌธ์ Windows Server 2016์์ด ๋ฒ์ ์ผ๋ก ์ค์นํฉ๋๋ค.
ย
2.2 Microsoft Azure Stack TP2 POC ๋ค์ด ๋ก๋
์๋ ๋งํฌ์์ Microsoft Azure Stack TP2๋ฅผ ๋ค์ด ๋ฐ์ต๋๋ค.
https://azure.microsoft.com/en-us/overview/azure-stack/
ย
2.3 Microsoft Azure Stack TP2 ์์ถ ํ๊ธฐ
ย
ย
ย
์์ถ์ ํ๊ณ ๋๋ฉด ์๋์ ๊ฐ์ด MicrosoftAzureStackPOC-1.bin ~ 11.bin ํ์ผ๊ณผ MicrosoftAzureStackPOC.exe ํ์ผ๋ค์ด ๋ณด์ ๋๋ค.
ย
ย
ย
ย
2.4 Microsoft Azure Stack TP2 POC์ฉ ์ด์์ ์ํ VHDX ์ค์น
MicrosoftAzureStackPOC.exe ํ์ผ์ ๋๋ธ ํด๋ฆญํ์ฌ ์คํํฉ๋๋ค.
์๋์ ๊ฐ์ ์ฐฝ์ด ๋ํ๋๋ฉด โRunโ ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.
ย
โI accept the agreementโ ์ ํ ํ โNextโ ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.
ย
โNextโ ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.
ย
โExtractโ ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.
ย
Microsoft Azure Stack TP2 ์ฉ ์ด์์ ์ํ VHDX ์์ฑ๋ฉ๋๋ค.
์๋ฃ๋๋ฉด ์๋ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด โMicrosoft Azure Stack POCโ ํด๋ ์๋์ Microsoft Azure Stack TP2 ์ฉ ์ด์์ ์ํ VHDX์ธ โCloudBuilder.vhdxโ๊ฐ ์์ฑ๋ฉ๋๋ค.
ย
โCloudBuilder.vhdxโ๋ฅผ ์ค์นํ๊ธฐ ์ํด C: ๋ก ๋ณต์ฌํฉ๋๋ค.
ย
ย
์๋ ์คํฌ๋ฆฝํฐ๋ฅผ ์ด์ฉํ์ฌ Azure Stack_TP2_SupportFiles์ ๋ค์ด๋ก๋ ๋ฐ์ต๋๋ค.
# Variables
$Uri = โhttps://raw.githubusercontent.com/Azure/AzureStack-Tools/master/Deployment/โ $LocalPath = โc:AzureStack_TP2_SupportFilesโ ย # Create folder New-Item $LocalPath -type directory ย # Download files ( โBootMenuNoKVM.ps1โ, โPrepareBootFromVHD.ps1โ, โUnattend.xmlโ, โunattend_NoKVM.xmlโ) | foreach { Invoke-WebRequest ($uri + $_) -OutFile ($LocalPath + โ + $_) } |
ย
ย
๋ค์ด๋ก๋ ๋ฐ์ Azure Stack_TP2_SupportFiles์ ์๋์ ๊ฐ์ต๋๋ค.
ย
PowerShell์ ๊ด๋ฆฌ์ ๊ถํ์ผ๋ก ์คํํฉ๋๋ค. Azure Stack_TP2_SupportFilesํด๋๋ก ์ด๋ ํ ์๋์ ์คํฌ๋ฆฝํธ๋ฅผ ์คํ ํฉ๋๋ค.
.PrepareBootFromVHD.ps1 -CloudBuilderDiskPath C:CloudBuilder.vhdx -ApplyUnattend |
ย
์๋์ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด ๋น๋ฐ๋ฒํธ๋ฅผ ๋ฃ์ผ๋ผ๊ณ ๋ฉ์์ง๊ฐ ๋์ค๋ฉด ์ฌ์ฉ ํ ๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํ๊ณ Enter ํค๋ฅผ ๋๋ฆ ๋๋ค.
ย
ย
์๋์ ๊ฐ์ด โCloudBuilder.vhdxโ ์ ์ฉ์ ์ํด ์ฌ ์์์ ํ ๊ฒ์ธ์ง ๋ฌผ์ผ๋ฉด โYโ๋ฅผ ์ ๋ ฅ ํ Enter ํค๋ฅผ ๋๋ฆ ๋๋ค.
ย
ย
์๋ฒ๊ฐ ์ฌ ์์ํ๋ฉด์ ์๋์ ๊ฐ์ด ๋ฉํฐ ๋ถํธ ๋ฉ๋ด๊ฐ ๋ํ๋ฉ๋๋ค. ๊ธฐ๋ณธ ๋ถํธ๊ฐ Azure Stack TP2๋ก ์ ํ๋์ด ์์ต๋๋ค. Enter ํค๋ฅผ ๋๋ฅด์๊ฑฐ๋ ๊ทธ๋๋ก ๋๋ฉด Azure Stack TP2๋ก ๋ถํ ๋ฉ๋๋ค.
์๋ฒ๊ฐ ์ฌ ์์๋๋ฉด ์๋์ ๊ฐ์ ์ญํ ๋ค์ด ์ค์น๋์ด ์์ต๋๋ค.
ย
ย
๋ฐํํ๋ฉด ์ค๋ฅธ์ชฝ ํ๋จ์ ๋ค์๊ณผ ๊ฐ์ด Build ๋ฒํธ๊ฐ ์์ต๋๋ค.
ย
ํ์๊ธฐ ์ฐฝ์ ์ด์ด์ C: ๋๋ผ์ด๋ธ๋ฅผ ํ์ธํ๋ฉด ์๋์ ๊ฐ์ต๋๋ค.
ย
ํ์๊ธฐ ์ฐฝ์ ํตํด์ ๋ณด์ด๋ ๋์คํฌ ๋๋ผ์ด๋ธ๋ ์๋์ ๊ฐ์ด 3๊ฐ ์ ๋๋ค. C:, D: ๋๋ผ์ด๋ธ๋ AzureStackTP2POC๋ฅผ ์ํ ๋๋ผ์ด๋ธ ์ด๊ณ , E: ๋๋ผ์ด๋ธ๋ ์ฒ์ ์๋ฒ์ ์ค์น ํ Windows Server 2016์ด ์์ต๋๋ค.
ย
D: ๋๋ผ์ด๋ธ๋ Boot ๊ด๋ จ ํ์ผ์ด ๋ค์ด ์์ต๋๋ค.
ย
๋์คํฌ ๋งค๋์ ๋ฅผ ํตํด์ ๋์คํฌ๋ฅผ ํ์ธํ๋ฉด ์๋ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ต๋๋ค.
2.5 Microsoft Azure Stack TP2 POC๋ฅผ ์ํ VM ์์ฑ ๋ฐ ๊ตฌ์ฑ
POC VM ๊ตฌ์ฑ ์ ์ ์๊ตฌ ํ๊ฒฝ์ ๋ค์ ํ์ธ ํฉ๋๋ค.
์๋ ์ฌ์ดํธ์์ โInvoke-AzureStacDeploymentPreCheck.ps1โ ์คํฌ๋ฆฝํธ ํ์ผ์ ๋ค์ด๋ฐ์ ํ๋์จ์ด ์๊ตฌ ์กฐ๊ฑด์ ๋ค์ ํ์ธ ํฉ๋๋ค.
https://gallery.technet.microsoft.com/Deployment-Checker-for-50e0f51b
ย
PowerShell ์ ํตํด์ โInvoke-AzureStackDeploymentPreCheck.ps1โณ๋ฅผ ์คํ ํฉ๋๋ค.
์๋ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด ํ๋์จ์ด ์๊ตฌ ์ฌํญ์ ํ์ธ ํด ์ค๋๋ค.
ย
ย
ย
NIC๋ ํ ๊ฐ๋ง ํ์ ํ๋ฏ๋ก ์ค์น ์ ์ ์๋ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด ์ฌ์ฉํ NIC๋ฅผ ์ ์ธํ๊ณ ๋ชจ๋ โ์ฌ์ฉ ์ํจโ ์ผ๋ก ์ค์ ํฉ๋๋ค.
ย
๋ ํ, DHCP ๊ตฌ์ฑ์ ๋ฐ๋์ ํ์ ํฉ๋๋ค. ์ค๋ช ๋๋ฆฌ๋ ์ค์น ๊ณผ์ ์ DHCP๊ฐ ๊ตฌ์ฑ ๋ ์ํ์์ ์งํํ์์ต๋๋ค.
ย
ํ๋์จ์ด ์๊ตฌ์ฌํญ์ ๋ชจ๋ ํ์ธ ํ์์ผ๋ฉด Azure Stack TP2 POC VM๋ฅผ ๊ตฌ์ฑํ๊ธฐ ์ํด ์๋์ ์คํฌ๋ฆฝํฐ๋ฅผ ๊ด๋ฆฌ์ ๊ถํ์ผ๋ก PowerShell์ ์ด๊ณ ์คํ ํฉ๋๋ค.
ย
ย
ํ๋์ Azure Active Directory(AAD) Directory์ ์ํด ์๋ ๊ฒฝ์ฐ
cd C:CloudDeploymentConfiguration
$adminpass = ConvertTo-SecureString โ<LOCAL ADMIN PASSWORD>โ -AsPlainText -Force $aadpass = ConvertTo-SecureString โ<AAD GLOBAL ADMIN ACCOUNT PASSWORD>โ -AsPlainText -Force $aadcred = New-Object System.Management.Automation.PSCredential (โ<AAD GLOBAL ADMIN ACCOUNT>โ, $aadpass) .InstallAzureStackPOC.ps1 -AdminPassword $adminpass -AADAdminCredential $aadcred |
ย
ํ๋ ์ด์์ Azure Active Directory(AAD) Directory์ ์ํด ์๋ ๊ฒฝ์ฐ
cd C:CloudDeploymentConfiguration
$adminpass = ConvertTo-SecureString โ<LOCAL ADMIN PASSWORD>โ -AsPlainText -Force $aadpass = ConvertTo-SecureString โ<AAD GLOBAL ADMIN ACCOUNT PASSWORD>โ -AsPlainText -Force $aadcred = New-Object System.Management.Automation.PSCredential (โ<AAD GLOBAL ADMIN ACCOUNT> example: user@AADDirName.onmicrosoft.com>โ, $aadpass) .InstallAzureStackPOC.ps1 -AdminPassword $adminpass -AADAdminCredential $aadcred -AADDirectoryTenantName โ<SPECIFIC AAD DIRECTORY example: AADDirName.onmicrosoft.com>โ |
ย
๊ตฌ๋ถ | ์ค๋ช |
LOCAL ADMIN PASSWORD | Local Host ๋น๋ฐ๋ฒํธ |
AAD GLOBAL ADMIN ACCOUNT PASSWORD | Azure ๊ณ์ ๋น๋ฐ ๋ฒํธ |
AAD GLOBAL ADMIN ACCOUNT | Azure ๊ณ์
(์ : user@AADDirName.onmicrosoft.com) |
SPECIFIC AAD DIRECTORY | Azure ๊ณ์ ์ด ์ํ AAD Directory
(์ : AADDirName.onmicrosoft.com) |
ย
ย
์คํํ๋ฉด ์๋์ ๊ฐ์ด Azure Stack TP2 POC VM๊ตฌ์ฑ์ด ์์๋ฉ๋๋ค. ์ ์ฒด 82๊ฐ์ Step์ผ๋ก ์ค์น ๋ฉ๋๋ค. ์ค์น ์๊ฐ์ 5์๊ฐ(ํ๋์จ์ด ๋ฐ๋ผ ๋ค๋ฆ) ์ด์ ๊ฑธ๋ฆฌ๋ฉฐ ํ๋์จ์ด ์ฌ์์ ๋ฐ๋ผ ์กฐ๊ธ์ฉ ๋ค๋ฅผ ๊ฒ์ผ๋ก ํ๋จ ๋ฉ๋๋ค.
ย
์๋ Steps๋ฅผ ์ฐธ์กฐ ํ์ญ์์ค.
https://azure.microsoft.com/en-us/documentation/articles/azure-stack-troubleshooting/
ย
Index | Name | Description |
0.11 | (DEP) Validate Physical Machines | Validating the hardware and OS configuration on the physical nodes. |
0.12 | (DEP) Configure Physical Machines networking for POC | Configuring virtual network switches and interfaces. |
0.14 | (DEP) Deploy Domain | Deploy Active Directory on Virtual Machine. |
0.15 | (DEP) Configure the Domain server | Configure domain server with security groups etc. |
0.16 | (DEP) Configure Physical Machine | Configure networking, join domain, and setup local admins. |
0.18 | (STO) Configure Storage Cluster | Create storage cluster, create a storage pool and file server. |
0.19 | (CPI) Setup fabric infrastructure | Set up the prerequisites for fabric deployment. |
0.21 | (NET) Setup BGP and NAT | Installs BGP and NAT โ needed only for One Node. |
0.22 | (NET) Configure NAT and Time Server | Syncs the time server and configures NAT entries. |
40.41 | (CPI) Create guest VMs | Create the management VMs. |
40.42 | (FBI) Set up PowerShell JEA | Set up PowerShell JEA for all roles. |
40.43 | (FBI) Set up Azure Stack Certification Authority | Installs Azure Stack Certification Authority. |
40.44 | (FBI) Configure Azure Stack Certification Authority | Configures Azure Stack Certification Authority. |
40.45 | (NET) Set up NC on VMs | Installs NC on the guest VMs |
40.46 | (NET) Configure NC on VMs | Configure NC on the guest VMs |
40.47 | (NET) Configure guest VMs | Configure the management VMs with NC ACLs. |
60.61.81 | (FBI) Deploy Azure Stack Fabric Ring Services โ FabricRing PreRequisite | Creates VIPs for FabricRing |
60.61.82 | (FBI) Deploy Azure Stack Fabric Ring Services โ Deploy Fabric Ring Cluster | Installs and configures Azure Stack Fabric Ring Cluster. |
60.61.83 | (FBI) Deploy Admin Extensions for Resource providers | Installing Admin Extensions for resource providers |
60.61.84 | (ACS) Set up Azure-consistent Storage in node level. | Installs and configures Azure-consistent Storage in node level. |
60.61.85 | (ACS) Set up Azure-consistent Storage in cluster level. | Installs and configures Azure-consistent Storage in cluster level. |
60.61.86 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for InfraServiceController |
60.61.87 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for CPI |
60.61.88 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for ASAppGateway |
60.61.89 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for Storage Controller |
60.61.90 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for HealthMonitoring |
60.61.91 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for ECE |
60.61.92 | (FBI) Deploy Azure Stack Fabric Ring Controller Services โ Prerequisite | Prerequisites for PMM |
60.61.93 | (Katal) Create AzureStack Service Principals | Create Azure Graph Applications and Service Principals in AAD. |
60.61.94 | (NET) Setup GW VMs | Installs GW on the guest VMs. |
60.61.95 | (NET) Configure GW VMs | Configures GW on the guest VMs. |
60.61.96 | (NET) Deploy iDNS on hosts | Deploy iDNS on infrastructure hosts |
60.61.97 | (NET) Configure iDNS | Configure iDNS role |
60.61.98 | (FBI) Setup WSUS VMs | Installs WSUS server on the guest VMs. |
60.61.99 | (FBI) Configure WSUS VMs | Configures WSUS server on the guest VMs. |
60.61.100 | (FBI) Setup Azure SQL VMs | Installs Azure SQL server on the guest VMs |
60.61.101 | (Katal) Setup prerequisites for WAS VMs. | Sets up the prerequisites for Microsoft Azure Stack on the guest VMs. |
60.61.102 | (Katal) Setup WAS VMs | Installs Microsoft Azure Stack on the guest VMs. |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.121 | (FBI) Deploy Resource providers and Controllers | Installs Resource providers and Controllers |
60.120.122 | (FBI) Controller Configuration | Configures Controllers |
60.120.123 | (Katal) Configure WAS VMs | Configures Microsoft Azure Stack on the guest VMs. |
60.120.124 | (Katal) Azure Stack AAD Configuration. | Configures Azure Stack with Azure AD. |
60.120.125 | (Katal) Install ADFS | Installs Active Directory Federation Services (ADFS) |
60.120.126 | (Katal) Install ADFS/Graph | Installs Azure Stack Graph |
60.120.127 | (Katal) Configure ADFS | Configures Active Directory Federation Services (ADFS) |
60.140.141 | (FBI) Configure SRP | Configures Storage Resource Provider |
60.140.142 | (ACS) Configure Azure-consistent Storage. | Configures Azure-consistent Storage. |
60.140.143 | (FBI) Create Storage Accounts | Create all storage accounts to be used by different providers. |
60.140.144 | (FBI) Register Usage for SRP | Register Usage for Storage Provider. |
60.140.145 | (CPI) Migrate Created VMs, Hosts, and Cluster to CPI | Migrates objects of the created VMs, Hosts, and Cluster to CPI |
60.140.146 | (FBI) Configure Windows Defender | Configures Windows Defender |
60.160.161 | (MON) Configure Monitoring Agent | Configures Monitoring Agent |
60.160.162 | (FBI) NRP Prerequisite | Installs NRP prerequisites |
60.160.163 | (FBI) NRP Deployment | Installs NRP |
60.160.164 | (FBI) NRP Configuration | Configures NRP |
60.160.165 | (FBI) CRP Prerequisite | Installs CRP prerequisites |
60.160.166 | (FBI) CRP Deployment | Installs CRP |
60.160.167 | (FBI) CRP Configuration | Configures CRP |
60.160.168 | (FBI) FRP Prerequisite | Installs FRP prerequisites |
60.160.169 | (FBI) FRP Deployment | Installs FRP |
60.160.170 | (FBI) FRP Configuration | Configures FRP |
60.160.174 | (FBI) URP Prerequisite | Installs URP prerequisites |
60.160.175 | (FBI) URP Deployment | Installs URP |
60.160.176 | (FBI) URP Configuration | Configures URP |
60.160.171 | (FBI) HRP Prerequisite | Installs HRP prerequisites |
60.160.172 | (FBI) HRP Deployment | Installs HRP |
60.160.173 | (FBI) HRP Configuration | Configures HRP |
60.160.177 | (KV) KeyVault Prerequisite | Installs KeyVault prerequisites |
60.160.178 | (KV) KeyVault Deployment | Installs KeyVault |
60.160.179 | (KV) KeyVault Configuration | Configures KeyVault |
60.190.191 | (FBI) Configure Gallery | Configure Gallery |
60.190.192 | (FBI) Configure Fabric Ring Services | Configure Fabric Ring Services |
60.221 | (FBI) Setup Console VMs | Installs Console server on the guest VMs. |
60.222 | (FBI) Setup Console VMs | Move DVM Contents to the Console VM. |
251 | Prepare for future host reboots | Set reboot policy |
์ค์น๊ฐ ์๋ฃ๋๋ฉด Hyper-V ๊ด๋ฆฌ์๋ฅผ ํตํด์ ์๋์ ๊ฐ์ ๊ตฌ์ฑ์ ํ์ด ํ ์ ์์ต๋๋ค.
ย
๋์คํฌ ๊ด๋ฆฌ์๋ฅผ ์คํํด์ ํ์ด ํ๋ฉด ์๋ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด SCVFS ๊ตฌ์ฑ์ด ๋์ด์๋ ๊ฒ์ ํ์ธ ํ ์ ์์ต๋๋ค.
2.6 Azure Stack TP2 POC Architecture
์ฐธ๊ณ
https://azure.microsoft.com/ko-kr/documentation/articles/azure-stack-architecture/
ย
Logical architecture diagram
ย
ย
Virtual machine roles
VMs | Roles |
MAS-ACS01 | Virtual machine hosting Azure Stack storage services. |
MAS-ADFS01 | Virtual machine hosting Active Directory Federation Services. This virtual machine is not used in Technical Preview 2. |
MAS-ASQL01 | Virtual machine providing an internal data store for Azure Stack infrastructure roles. |
MAS-BGPNAT01 | Virtual Machine acting as an edge router and provides NAT and VPN capabilities for Azure Stack. |
MAS-CA01 | Virtual machine providing certificate authority services for Azure Stack role services. |
MAS-Con01 | Virtual machine available to developers for installing PowerShell, Visual Studio, and other tools. |
MAS-DC01 | Virtual machine hosting Active Directory, DNS, and DHCP services for Microsoft Azure Stack. |
MAS-GWY01 | Virtual machine providing edge gateway services such as VPN site-to-site connections for tenant networks. |
MAS-NC01 | Virtual machine hosting Network Controller, which manages Azure Stack network services. |
MAS-SLB01 | Virtual machine provides load balancing services in Azure Stack for both tenants and Azure Stack infrastructure services. |
MAS-SUS01 | Virtual machine hosting Windows Server Update Services, and responsible for providing updates to other Azure Stack virtual machines. |
MAS-WAS01 | Virtual machine hosting portal and Azure Resource Manager services. |
MAS-Xrp01 | Virtual machine that hosts the core resource providers of Microsoft Azure Stack, including the Compute, Network, and Storage resource providers. |
ย