Académique Documents
Professionnel Documents
Culture Documents
Review Prerequisites.
Complete a best-practices installation of SQL Server 2016 on an Azure VM, utilizing a Marketplace
image.
Prerequisites
You will need access to an Azure Subscription in order to create and utilize the virtual machine
described in this lab
Duration
TBD
1. Browse to https://portal.azure.com/
a. Log in with the Microsoft Account that has access to the Azure Subscription you plan to
utilize for this demo.
2. Click on the New button in the upper-left area of the screen
3. In the Search the marketplace box under New, type "SQL Server 2016" and hit Enter
4. From the search results, click the SQL Server 2016 CTP3 Evaluation on Windows Server 2012 R2
template
5. Review the information about this VM image shown in the next pane.
6. If necessary, change the Select a deployment model pickbox to Resource Manager, then click the
Create button.
8. Set all options for creating a new virtual machine according to the following steps:
a. In the Basics pane:
i. Enter desired virtual machine Name, along with a User Name and Password which
will be created as a local account on the VM.
ii. Select the Subscription this VM will be built in, if you have multiple subscriptions
available.
iii. Type the name for a new Resource Group; for the purposes of this demo, it should
match the name assigned to the VM
iv. Select a Location that is geographically closest to your location. This denotes the
Azure Region where this VM will be created.
v. Click the OK button.
d. On the Summary screen, review all of the settings/configuration for the new VM
e. Click OK to begin deployment of the Virtual Machine
f. While provisioning of the VM is in-progress, it will be visible on the Virtual Machines screen
of the Azure portal, where its Status can be monitored.
c. This will download an .rdp file preconfigured to connect to the VM via its public IP address.
d. Optional: Save this .rdp file for repeated use.
e. Open the .rdp file to connect to the VM (it may take some time for the machine to accept
connections, so be patient)
f. Log in with the username and password entered during Step 8 while creating the machine.
You will need to use the machine name as the domain name to log in. In the example here,
we would use the username SQL16Azure\LocalDBA.
10. For Polybase support, Install Oracle JRE 7 Update 51 (64-bit) or higher (Java)
a. You may need to add oracle.com to IE's Trusted Sites list and/or disable IE Enhanced
Security Configuration for Administrators to complete this task.
b. Browse to http://www.oracle.com/technetwork/java/javase/downloads/index.html
i. Alternatively, www.oracle.com/java, then click Java for Developers, then, under
Browse by Category, click Java SE
c. Click the Java Download graphic
e. After downloading and launching the installer, click Next on the first screen.
f. Click Next, accepting the default installation setup
g. Click Next to accept the default destination folder.
h. Click Close after the installation has completed
11. Perform remaining component installation steps
a. Using SQL Server Configuration Manager, ensure that the SQL Server engine service is
running before continuing.
b. Right-click on the Start button, and select Programs and Features from the context menu.
c. Select Microsoft SQL Server 2016 CTP3.0 (64-bit), and then click on the Uninstall/Change
button.
d. Click Add
e. If you are asked for installation media, browse to C:\SQLServer_13.0_Full
f. Click Next on the Product Updates screen.
g. Click Next on the Install Setup Files screen.
h. On the Installation Type screen, select Add Features to an existing instance of SQL Server
2016 CTP3.0 and click Next.
i. Select Advanced Analytics Extensions and PolyBase Query Service for External Data to
install. Click Next.
SELECT @drive_size_gb = 2
SELECT @number_of_files =
CASE WHEN @cpu_count > 8 THEN (@cpu_count/2)
ELSE 4
END;
SELECT @individ_file_size = (@drive_size_gb*1024)/(@number_of_files)