未加星标

Azure Stack Azure Stack Development Kit Post Deployment

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二05 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

Azure Stack   Azure Stack Development Kit Post Deployment

As I mentioned in my previous blog post , I want to get some hands on Azure Stack 1808 and therefore I will write down a couple of post to share my steps, impressions and experience. The posts are not a tutorial how to set up Azure Stack in production, it is more like to get it up and running to test features and see how it works under the hood.

After you successfully deployed Azure Stack Development Kit in your Azure VM you need some post deployment steps to fulfil. First you need to trust PowerShell gallery so you can download necessary PowerShell modules like AzureRM and other modules. Make sure you execute these commands on your Azure Stack host!

Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted

# Install the AzureRM.Bootstrapper module. Select Yes when prompted to install NuGet.

Install-Module -Name AzureRm.BootStrapper

# Install and import the API Version Profile required by Azure Stack into the current PowerShell session.

Use-AzureRmProfile -Profile 2018-03-01-hybrid -Force

# Install Azure Stack Module Version 1.5.0.

Install-Module -Name AzureStack -RequiredVersion 1.5.0

If this step succeeded we need to download the Azure Stack tools. The Azure Stack tools is a PowerShell module with a couple of functions which are needed to administer ASDK. These are required e.g. to register Azure Stack your Azure Active Directory. Again execute the following commands on the ASDK host. This will download and extract the tools.

# Change directory to the root directory. cd \

# Enforce usage of TLSv1.2 to download the Azure Stack tools archive from GitHub

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

invoke-webrequest https://github.com/Azure/AzureStack-Tools/archive/master.zip -OutFile master.zip

# Expand the downloaded files.

expand-archive master.zip -DestinationPath . -Force

# Change to the tools directory.

cd AzureStack-Tools-master

If you want you can then test your ASDK installation. This command will use PowerShell remoting to access the privileged endpoint VM AzS-ERCS01 and run the Test-AzureStack command…

Enter-PSSession -ComputerName AzS-ERCS01 -ConfigurationName PrivilegedEndpoint

Test-AzureStack

It should look something like this…


Azure Stack   Azure Stack Development Kit Post Deployment
I got a couple of warnings because I already have deployed some stuff and currently some updates are stressing my system
Azure Stack   Azure Stack Development Kit Post Deployment
.

From here on you just need to modify the default domain policy, setting the password age to 180 days. This prevents from expiring the ASDK passwords before the evaluation periods ends. See the GPMC.msc started from my host…


Azure Stack   Azure Stack Development Kit Post Deployment

…and in the PowerShell console executed on the ASDK host…


Azure Stack   Azure Stack Development Kit Post Deployment

That’s it, if you need some multi-tenancy scenario there are other steps to make. I just need an Azure Stack joined to Azure Active Directory, which will be documented in my next post. All the steps I have described here are written down here . In my opinion it is sometimes easier to read a blog post because it is more “real-world” than following the documentation.

Have fun!

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

tags: Azure,Stack,need,my,PowerShell,Install,some,ASDK
分页:12
转载请注明
本文标题:Azure Stack Azure Stack Development Kit Post Deployment
本站链接:https://www.codesec.net/view/604544.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(23)