Join Bhargav Shukla for an in-depth discussion in this video Deploy Azure Stack, part of Microsoft Azure Stack First Look.
- [Narrator] I have logged onto Azure stack Host as a local administrator. Before I launched the Azure stack deployment script I must ensure that only one network adaptor is enabled. Here I will disable all the network adaptors that are not in use. The deployment script will fail if more than one network adaptors are enabled. Now that I have disabled all the network interface cards. I can proceed to the next step.
To launch Azure stack deployment install AzureStackPOC.ps1 script needs to be run from its location in C drive cloud deployment set up folder. I will launch PowerShell and run the script. There are two similar scripts in the folder. Install AzureStack.ps1 and install AzureStackPOC.ps1.
Make sure to run the POC script because this is the proof of concept or the technical preview installation. We'll launch without any parameters. The script automatically prompts for the parameters that are required. The first prompt is for the administrative password. This password will be used for administrator account of active director deployment of Azure stack. When the deployment commences the active directory will be installed and specified password will be used for administrator account.
The deployment script will reboot the host automatically when required and continue the deployment. If the ISP doesn't have a label the script needs to be launched with appropriate parameters to specify IP address, gateway and IP address range that will be used by Azure stack for the local network. As the script readies the deployment it will prompt for azure active directory account. This account must be a global administrator on the Azure AD tenant.
This account will be assigned ownership of the full provider subscription in Azure stack when deployed. This account will also be used to log in to Azure stack's administrator portal. I will provide credentials of the azure active directory admin account I have created for this demo. After successful verification of the credentials The script commences the Azure stack deployment.
The deployment process will prepare storage, install required resources including active directory domain services. Join the host to active directory and reboot as needed. This process can take a few hours depending on configuration of the server hardware and the disk type. You can monitor the progress through the console or by connecting to remote desktop session. Once the host reboots it automatically logs in as domain user Azure stack admin in the domain Azurestack.local.
It uses the password provided by you at the start of the deployment process. To monitor the progress after the host reboots ensure to log in as Azurestacks/azurestackadminuser. If there is a failure during the deployment most common errors can be addressed by running the deployment script again using rerun switch. The logs created by deployment are stored in the logs folder inside cloud deployment folder on C drive.
The logs are helpful in troubleshooting any deployment errors. The process of installation can take anywhere from three to six hours or maybe more depending on the hardware being used. The setup has resulted in a failure. When the failure like this occur the first steps should be to try and rerun the setup. Most commonly rerun of the setup results in a successful install. So we will try that first.
Note the use of rerun switch. This instructs the setup to restart the setup from where the failures occurred and try to continue the setup again. After restarting the deployment script the Azure stack deployment completed successfully.
- What is Azure Stack?
- Technical requirements
- Preparing an Azure Stack host
- Deploying Azure Stack
- Registering Azure Stack
- Deploying a virtual machine
- Using Azure Marketplace