This post is continuation to my previous post Deploying SharePoint 2013 on Azure using IAAS – Part 2. In this article, we’ll see how to install SQL 2012 RTM.
Provisioning, Configuring and Setup of SQL Server 2012 VM
New à Virtual Machine à From Gallery à SQL Server 2012 Enterprise SP1.
The next step is to allocate the empty disk space of 50 GB space to the primary VM ‘SP2013-SQL1’ . Refer the part 1 of this article to know more about the empty disk allocation for various VMs.
Log-in to the SP2013-SQL1 VM and join the server to the Domain (techguru.com). Use the account ‘sp_install’ for joining the server to the domain.
On the F drive, create 3 folders namely Data, Backup and Log.
On Start menu àSQL Server 2012 Management Studio.
Right click on the default database instance à properties.
In the Server Properties click database settings. On the default database location settings, change the location of Data, Log and Backup to the corresponding folders on F drive.
The next step is to grant the service account sp_farm_db with Sys Admin rights.
Security à Logins à New login à sp_farm_db@techguru.com.
In the Server Roles à Select sysadmin
The next step is to grant NT AUTHORITYSYSTEM account with relevant permissions.
Security à Logins à New login à NT AUTHORITYSYSTEM.
Right click on NT AuthoritySystem à Properties à Securables.
Grant these 3 permissions ‘Alter any availability group’, ‘Connect SQL’ and ‘View server state’ to the account NT AuthoritySystem.
Now we need to unblock the ports 1433 (default SQL Server Ports) and 5022 (high availability port).
Start à Windows Firewall with advanced security.
Click à Inbound rules.
Action pane à New Rule.
On the Rule Type à Program à Next.
On the Program Page à Set Program Path as %ProgramFiles%Microsoft SQL ServerMSSQLBinnsqlservr.exe
On the Action Page à Allow Connection.
On the profile page à Keep defaults.
Name the rules ‘SQL Ports Rule’.
Setup of back-up SQL Server
Then allocate the empty disk space of 50 GB. This completes the part 3 of the series. In the next post, we’ll see how to configure SQL Server 2012 Always On.