Windows Azure-based installation for SharePoint 2013
The Windows Azure installation SharePoint series, written earlier, had to be paused because the Azure experience account expired. Today you are privileged to participate in the Windwos Azure event and get a trial account. So today will continue the previous article, documenting how to install SharePoint 2013 based on Windows Azure.
The experiment will complete the following steps:
· To create an affinity group in Windows Azure
· Create a storage account in Windows Azure
· Registering the DNS service in Windows Azure
· Create a virtual network in Windows Azure
· Create a virtual machine in Windows Azure
· Attach additional hard drives for Windows Azure VMS (optional)
· Configure ad in Windows Azure VMS
· Configuring SQL Server 2012 in a Windows Azure VM
· To configure SharePoint 2013 in a Windows Azure VM
Lab Environment:
Server name |
Server components |
External DNS |
Note |
Sharepoint |
· Domain Controller 2012 · SharePoint 2013 |
Sphelper2013. Cloudapp.net |
SharePoint Server |
Offwebapp |
· SQL Server 2012 · Office Web App 2013 |
OffWebApp2013. Cloudapp.net |
Office Web Application |
I. Creating an affinity group in Windows Azure
An affinity group is a way to group services that need to work together to achieve the best performance in your Windows Azure subscription. Simply put, Windows Azure has a lot of data centers, and the VMS you create might run on different clusters in different datacenters. Imagine that if your SharePoint farm's database server and app server are running data centers in South America and East Asia respectively, the performance is certainly not good. In order to ensure that both VMs can run on the same cluster in the same datacenter to improve performance, it is necessary to have an "affinity group" that can package the VMS you create as a whole and run the whole service on a single cluster at the same time.
1. Sign in to the Windows Azure management portal
2. In the left navigation bar, select settings
3. Add an affinity group
4. Enter a name, description, data center, and click Yes
Note: East Asia data Center in Hong Kong, recommended for East Asia data Center
Ii. creating a Storage account in Windows Azure
1. Sign in to the Windows Azure management portal
2. In the left navigation bar, select storage
3. Create a new storage account
4. Enter the following information to create a storage account
Note: Canceling "Enable geo-Replication" can improve performance, such as in a production environment, please keep
Iii. registering the DNS service in Windows Azure
The IP of the virtual machine in Windows Azure is assigned dynamically, and if you do not register DNS, it will dynamically assign us a DNS service using the DNS services provided by the Windows Azure default. In an East Asian data center, it is the same server as DHCP (168.63.129.16). This is very bad for us to build our own ad,dns. By registering the DNS service, Windows Azure points Dynamic DNS to our specified IP address (10.0.0.4), and 10.0.0.4 is exactly the IP of the DNS server that I am about to install. Windows Azure defaults to the first machine assigned. 4 IP, so the IP address registered here is 10.0.0.4.
1. Sign in to the Windows Azure management portal
2. In the left navigation bar, select Network->dns server-New
3. In the left navigation bar Select Network->dns Server-New, and enter the following information, click Create
Iv. Creating a virtual network
The virtual network is the same as the virtual network we created when we created the virtual machine locally, primarily to be able to place our own VMS in the same custom IP segment.
1. Sign in to the Windows Azure management portal
2. In the left navigation bar, select Network, virtual network, new
3. Custom Create with new virtual network
4. Enter a name, affinity group
5. Select the DNS service that is already registered
6. Check "CIDR" to keep the default IP address
V. Create a virtual machine in Windows Azure
1. In the left navigation bar, select virtual Machine Instance---new
2. Choose to create a virtual machine from the library
3. Select SharePoint Server Trial
4. Enter the following information and continue
To create a virtual machine, refer to the steps above: Offwebapp
Name |
Template |
Dns |
Offwebapp |
SQL Server SP1 Enterprise on Windows server R2 SP1 |
OffWebApp2013. Cloudapp.net |
After the creation is complete, the virtual machine status is as follows:
Vi. attaching additional hard drives for Windows Azure VMS (optional)
The default VM has only one system disk and one temporary data disk (D-drive), which can be used to add additional disks to hold database data files
1. Attach a disk in the Windows Azure Management portal (similar to adding a new physical disk to your computer)
2. After remote to the server, add a new disk and format
Vii. configuring AD in Windows Azure VMS
1. Download the RDP file, open and connect to the server remotely (we recommend remote Desktop Connection Manager to manage multiple servers)
2. Install active Directory Domain Services
After the installation is complete, the server is restarted and the ad is successfully installed.
Reference: http://social.technet.microsoft.com/wiki/contents/articles/12370. Step-by-step-guide-for-setting-up-windows-server-2012-domain-controller.aspx
3. Create a SharePoint service account
-Contoso\spfarm–sharepoint Farm Administrator
-contoso\sp_serviceapps– The account running the SharePoint service
VIII. Configuring SQL Server 2012 in a Windows Azure VM
Because SQL Server 2012 is already preinstalled in the image of this Offwebapp VM, the installation steps are omitted here
1. Connecting Vm:offwebapp
2. Enable Named pipes
3. Modify the default database data file, the path of the log file
3.1. Create the following directory in the F-drive
· F:\MSSQL SQL related file root directory
· F:\MSSQL\DATA Sql Data Files directory
· F:\MSSQL\LOGS SQL log file directory
· F:\MSSQL\BACKUP SQL Spare Parts file directory
3.2. Set the default file path in SQL Manager
Note: A reboot is required to take effect
4. Configure the Firewall
5. Domain join: contoso.com
The following error may occur and can be ignored
6. Add a domain account to the Administrators group for SQL
6.1. Log on with native Administrator: Offwebapp\vmadmin (the domain administrator does not have permission to manipulate the database at this time)
6.2. Add Domain Admins: contoso\vmadmin, SharePoint Services Account (Contoso\spfarm,contoso\sp_serviceapps) to the sysadmin group
Ix. Installing the Configuration SharePoint 2013 in Windows Azure VMS
Since SharePoint 2012 is already preinstalled on the VM itself, you can simply run the configuration Wizard here.
9.1 Turn off "IE Enhanced Security Configuration"
9.2 Running the Configuration Wizard
9.3 Run the Central Administration Configuration Wizard
Access to Http://sharepoint, everything works, SharePoint 2013 installation complete
Go Install SharePoint 2013 on Windows Azure