Contents
Configure and Manage Server Core on Windows Server. 1
Install SQL Server Updates. 2
Start/Stop SQL Server Service. 3
Enable AlwaysOn Availability Groups. 3
Configuring Remote Access of SQL Server Running on Server Core. 5
SQL Server Profiler. 6
SQL Server Auditing. 6
Command Prompt Utilities. 6
Use troubleshooting tools. 8
· Windows Server 2008 R2: Best Practices for Server Core Deployments
· Configuring a Server Core installation: Overview
· Configuring a Server Core installation of Windows Server 2008 R2 with Sconfig.cmd
· Installing a server role on a server running a Server Core installation of Windows Server 2008 R2: Overview
· Installing Windows Features on a server running a Server Core installation of Windows Server 2008 R2: Overview
· Managing a Server Core installation: Overview
· Administering a Server Core installation
· Update a single instance of SQL Server and all shared components. You can specify the instance either by using the InstanceName parameter or the InstanceID parameter.
<package_name>.exe /qs /IAcceptSQLServerLicenseTerms /Action=Patch /InstanceName=MyInstance
· Update SQL Server shared components only:
<package_name>.exe /qs /IAcceptSQLServerLicenseTerms /Action=Patch
· Update all instances of SQL Server on the computer and all shared components: <package_name>.exe /qs /IAcceptSQLServerLicenseTerms /Action=Patch /AllInstances
1. Open Computer Management. To open Computer Management do one of the following:
a. On Windows 7, Windows Server 2008, or Windows Server 2008 R2:
i. Click Start, click All Programs, click Administrative Tools, and then click Computer Management.
ii. Click Start, click Run, type COMPMGMT.MSC, and then click OK.
b. On Windows 8 with Server Graphical Shell enabled:
i. Move your mouse to the bottom-left corner of the screen and right-click when you see the Start overlay.
ii. Select Computer Management from the context menu.
2.
3. In the console tree, right-click Computer Management, and then click Connect to another computer.
4. In the Select Computer dialog box, type the name of the Server Core machine that you want to manage, or click Browse to find it, and then click OK.
5. In the console tree, under Computer Management of the Server Core machine, click Services and Applications.
6. You will see SQL Server Configuration Manager, double-click on this. The opens the SQL Server Configuration Manager.
7. In SQL Server Configuration Manager, click SQL Server Services, right-click SQL Server (<instance name>), where <instance name> is the name of a local server instance for which you want to enable AlwaysOn Availability Groups, and click Properties.
8. Select the AlwaysOn High Availability tab.
9. Verify that Windows failover cluster name field contains the name of the local failover cluster node. If this field is blank, this server instance currently does not support AlwaysOn Availability Groups. Either the local computer is not a cluster node, the WSFC cluster has been shut down, or this edition of SQL Server 2012 that does not support AlwaysOn Availability Groups.
10. Select the Enable AlwaysOn Availability Groups check box, and click OK.
11. SQL Server Configuration Manager saves your change. Then, you must manually restart the SQL Server service. This enables you to choose a restart time that is best for your business requirements. When the SQL Server service restarts, AlwaysOn will be enabled, and the IsHadrEnabled server property will be set to 1.
Notes
· You must have the appropriate user rights or you must have been delegated the appropriate authority on the target computer to connect to that computer.
· The name of the computer that you are managing appears in parentheses next to Computer Management in the console tree.
· Enable-SqlAlwaysOn [-Path <string>] [-Credential <PSCredential>] [-Force] [-NoServiceRestart] [-Confirm] [-WhatIf] [<Commom Parameters>]
· Enable-SqlAlwaysOn -InputObject <Server> [-Credential <PSCredential>] [-Force] [-NoServiceRestart] [-Confirm] [-WhatIf] [<Commom Parameters>]
· Enable-SqlAlwaysOn [-ServerInstance <string>] [-Credential <PSCredential>] [-Force] [-NoServiceRestart] [-Confirm] [-WhatIf] [<Commom Parameters>]
· Creating and Managing Audits with SQL Server Management Studio
· Creating and Managing Audits with Transact-SQL