Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 98ecb78

Browse files
committed
Merging changes synced from https://github.com/MicrosoftDocs/sql-docs-pr (branch live)
2 parents dfc4798 + df1f712 commit 98ecb78

12 files changed

Lines changed: 55 additions & 33 deletions

docs/linux/sql-server-linux-availability-group-cluster-rhel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The steps to create an availability group on Linux servers for high availability
4040
The way to configure a cluster resource manager depends on the specific Linux distribution.
4141

4242
>[!IMPORTANT]
43-
>Production environments require a fencing agent, like STONITH for high availability. The demonstrations in this documentation do not use fencing agents. The demonstrations are for testing and validation only.
43+
>Production environments require a fencing agent, like STONITH for high availability. The demonstrations in this documentation do not use fencing agents. The demonstrations are for testing and validation only.
4444
4545
>A Linux cluster uses fencing to return the cluster to a known state. The way to configure fencing depends on the distribution and the environment. Currently, fencing is not available in some cloud environments. For more information, see [Support Policies for RHEL High Availability Clusters - Virtualization Platforms](https://access.redhat.com/articles/29440).
4646
@@ -115,7 +115,7 @@ sudo pcs property set stonith-enabled=false
115115
```
116116

117117
>[!IMPORTANT]
118-
>Disabling STONITH is just for testing purposes. If you plan to use Pacemaker in a production environment, you should plan a STONITH implementation depending on your environment and keep it enabled. RHEL does not provide fencing agents for any cloud environments (including Azure) or Hyper-V. Consequentially, the cluster vendor does not offer support for running production clusters in these environments. We are working on a solution for this gap that will be available in future releases.
118+
>Disabling STONITH is just for testing purposes. If you plan to use Pacemaker in a production environment, you should plan a STONITH implementation depending on your environment and keep it enabled.
119119
120120
## Set cluster property cluster-recheck-interval
121121

docs/linux/sql-server-linux-availability-group-cluster-sles.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,11 @@ Resource level fencing ensures mainly that there is no data corruption during an
215215
216216
Node level fencing ensures that a node does not run any resources. This is done by resetting the node and the Pacemaker implementation of it is called STONITH (which stands for "shoot the other node in the head"). Pacemaker supports a great variety of fencing devices, such as an uninterruptible power supply or management interface cards for servers.
217217
218-
For more information, see [Pacemaker Clusters from Scratch](https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/), [Fencing and Stonith](https://clusterlabs.org/doc/crm_fencing.html) and [SUSE HA documentation: Fencing and STONITH](https://www.suse.com/documentation/sle_ha/book_sleha/data/cha_ha_fencing.html).
218+
For more information, see:
219+
220+
- [Pacemaker Clusters from Scratch](https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/)
221+
- [Fencing and Stonith](https://clusterlabs.org/doc/crm_fencing.html)
222+
- [SUSE HA documentation: Fencing and STONITH](https://www.suse.com/documentation/sle_ha/book_sleha/data/cha_ha_fencing.html)
219223
220224
At cluster initialization time, STONITH is disabled if no configuration is detected. It can be enabled later by running following command:
221225
@@ -226,7 +230,6 @@ sudo crm configure property stonith-enabled=true
226230
>[!IMPORTANT]
227231
>Disabling STONITH is just for testing purposes. If you plan to use Pacemaker in a production environment, you should plan a STONITH implementation depending on your environment and keep it enabled. SUSE does not provide fencing agents for any cloud environments (including Azure) or Hyper-V. Consequentially, the cluster vendor does not offer support for running production clusters in these environments. We are working on a solution for this gap that will be available in future releases.
228232
229-
230233
## Configure the cluster resources for SQL Server
231234
232235
Refer to [SLES Administration Guid](https://www.suse.com/documentation/sle-ha-12/singlehtml/book_sleha/book_sleha.html#cha.ha.manual_config)

docs/linux/sql-server-linux-ha-basics.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,6 @@ For more specifics, consult:
210210
- Hyper-V Documentation - [Using Guest Clustering for High Availability](https://technet.microsoft.com/library/dn440540(v=ws.11).aspx)
211211
- Whitepaper (written for Windows-based deployments, but most of the concepts still apply) - [Planning Highly Available, Mission Critical SQL Server Deployments with VMware vSphere](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/vmware-vsphere-highly-available-mission-critical-sql-server-deployments.pdf)
212212

213-
>[!NOTE]
214-
>RHEL with a Pacemaker cluster with STONITH is not yet supported by Hyper-V. Until that is supported, for more information and updates, consult [Support Policies for RHEL High Availability Clusters](https://access.redhat.com/articles/29440#3physical_host_mixing).
215-
216213
### Networking
217214
Unlike a WSFC, Pacemaker does not require a dedicated name or at least one dedicated IP address for the Pacemaker cluster itself. AGs and FCIs will require IP addresses (see the documentation for each for more information), but not names, since there is no network name resource. SLES does allow the configuration of an IP address for administration purposes, but it is not required, as can be seen in [Create the Pacemaker cluster](sql-server-linux-deploy-pacemaker-cluster.md#create).
218215

@@ -225,9 +222,6 @@ Quorum configuration and requirements are related to AG or FCI-specific deployme
225222

226223
STONITH is required for a supported Pacemaker cluster. Use the documentation from the distribution to configure STONITH. An example is at [Storage-based Fencing](https://www.suse.com/documentation/sle_ha/book_sleha/data/sec_ha_storage_protect_fencing.html) for SLES. There is also a STONITH agent for VMware vCenter for ESXI-based solutions. For more information, see [Stonith Plugin Agent for VMWare VM VCenter SOAP Fencing (Unofficial)](https://github.com/olafrv/fence_vmware_soap).
227224

228-
> [!NOTE]
229-
> As of the writing of this article, Hyper-V does not have a solution for STONITH. This is true for on premises deployments and also impacts Azure-based Pacemaker deployments using certain distributions such as RHEL.
230-
231225
### Interoperability
232226
This section documents how a Linux-based cluster can interact with a WSFC or with other distributions of Linux.
233227

docs/linux/sql-server-linux-shared-disk-cluster-red-hat-7-configure.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ At this point both instances of SQL Server are configured to run with the databa
302302
sudo yum install mssql-server-ha
303303
```
304304

305+
## Configure fencing agent
306+
307+
A STONITH device provides a fencing agent. [Setting up Pacemaker on Red Hat Enterprise Linux in Azure](/azure/virtual-machines/workloads/sap/high-availability-guide-rhel-pacemaker/#1-create-the-stonith-devices) provides an example of how to create a STONITH device for this cluster in Azure. Modify the instructions for your environment.
308+
305309
## Create the cluster
306310

307311
1. On one of the nodes, create the cluster.
@@ -312,15 +316,6 @@ At this point both instances of SQL Server are configured to run with the databa
312316
sudo pcs cluster start --all
313317
```
314318

315-
> RHEL HA add-on has fencing agents for VMWare and KVM. Fencing needs to be disabled on all other hypervisors. Disabling fencing agents is not recommended in production environments. As of timeframe, there are no fencing agents for HyperV or cloud environments. If you are running one of these configurations, you need to disable fencing. \**This is NOT recommended in a production system!**
316-
317-
The following command disables the fencing agents.
318-
319-
```bash
320-
sudo pcs property set stonith-enabled=false
321-
sudo pcs property set start-failure-is-fatal=false
322-
```
323-
324319
2. Configure the cluster resources for SQL Server, File System and virtual IP resources and push the configuration to the cluster. You need the following information:
325320

326321
- **SQL Server Resource Name**: A name for the clustered SQL Server resource.

docs/relational-databases/database-mail/database-mail-messaging-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ author: stevestein
1717
ms.author: sstein
1818
---
1919
# Database Mail Messaging Objects
20-
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
20+
[!INCLUDE[appliesto-ss-asdbmi-xxxx-xxx-md](../../includes/appliesto-ss-asdbmi-xxxx-xxx-md.md)]
2121
The **msdb** database is the Database Mail host database. This database contains the stored procedures and messaging objects for Database Mail. Microsoft [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] includes the Database Mail Configuration Wizard for enabling Database Mail, creating and managing profiles and accounts, and configuring Database Mail options.
2222

2323
## <a name="ComponentsAndConcepts"></a> Objects in **msdb** database

docs/relational-databases/databases/rename-a-database.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Requires ALTER permission on the database.
5757
## Rename a database using SQL Server Management Studio
5858

5959
Use the following steps to rename a SQL Server or Azure SQL database using SQL Server Management Studio.
60+
6061

6162
1. In **Object Explorer**, connect to your SQL instance.
6263

@@ -65,6 +66,8 @@ Use the following steps to rename a SQL Server or Azure SQL database using SQL S
6566
3. In Object Explorer, expand **Databases**, right-click the database to rename, and then click **Rename**.
6667

6768
4. Enter the new database name, and then click **OK**.
69+
70+
5. Optionally, if the database was your default database, see [Reset your default database after rename](#reset-your-default-database-after-rename).
6871

6972
[!INCLUDE[freshInclude](../../includes/paragraph-content/fresh-note-steps-feedback.md)]
7073

@@ -89,6 +92,8 @@ Use the following steps to rename a SQL Server database using T-SQL in SQL Serve
8992
GO
9093
```
9194

95+
4. Optionally, if the database was your default database, see [Reset your default database after rename](#reset-your-default-database-after-rename).
96+
9297
### To rename an Azure SQL Database database
9398

9499
Use the following steps to rename an Azure SQL database using T-SQL in SQL Server Management Studio.
@@ -106,6 +111,19 @@ Use the following steps to rename an Azure SQL database using T-SQL in SQL Serve
106111

107112
After renaming a database in SQL Server, back up the `master` database. In Azure SQL Database, this is not needed as backups occur automatically.
108113

114+
## Reset your default database after rename
115+
116+
If the database you're renaming was set as your default database, use the following command to reset your default to the renamed database:
117+
118+
119+
```sql
120+
USE [master]
121+
GO
122+
ALTER LOGIN [your-login] WITH DEFAULT_DATABASE=[new-database-name]
123+
GO
124+
```
125+
126+
109127
## See Also
110128

111129
- [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)

docs/relational-databases/system-stored-procedures/sp-add-category-transact-sql.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ author: MashaMSFT
1919
ms.author: mathoma
2020
---
2121
# sp_add_category (Transact-SQL)
22-
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
22+
[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md)]
2323

24-
Adds the specified category of jobs, alerts, or operators to the server.
24+
Adds the specified category of jobs, alerts, or operators to the server. For alternative method, see [Create Job Category using SQL Server Management Studio](/sql/ssms/agent/create-a-job-category).
2525

2626
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
2727

28+
> [!IMPORTANT]
29+
> On [Azure SQL Database Managed Instance](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance), most, but not all SQL Server Agent features are currently supported. See [Azure SQL Database Managed Instance T-SQL differences from SQL Server](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-transact-sql-information#sql-server-agent) for details.
30+
2831
## Syntax
2932

3033
```

docs/relational-databases/system-stored-procedures/sp-add-job-transact-sql.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ author: "stevestein"
1919
ms.author: "sstein"
2020
---
2121
# sp_add_job (Transact-SQL)
22-
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
22+
[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md)]
2323

24-
Adds a new job executed by the SQLServerAgent service.
24+
Adds a new job executed by the SQL Agent service.
2525

2626
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
27-
27+
28+
> [!IMPORTANT]
29+
> On [Azure SQL Database Managed Instance](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance), most, but not all SQL Server Agent features are currently supported. See [Azure SQL Database Managed Instance T-SQL differences from SQL Server](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-transact-sql-information#sql-server-agent) for details.
30+
2831
## Syntax
2932

3033
```

docs/relational-databases/system-stored-procedures/sp-add-jobschedule-transact-sql.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ author: "stevestein"
1919
ms.author: "sstein"
2020
---
2121
# sp_add_jobschedule (Transact-SQL)
22-
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
22+
[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md)]
2323

24-
Creates a schedule for a job.
24+
Creates a schedule for a SQL Agent job.
2525

2626
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
2727

28+
> [!IMPORTANT]
29+
> On [Azure SQL Database Managed Instance](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance), most, but not all SQL Server Agent features are currently supported. See [Azure SQL Database Managed Instance T-SQL differences from SQL Server](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-transact-sql-information#sql-server-agent) for details.
30+
2831
## Syntax
2932

3033
```

docs/relational-databases/system-stored-procedures/sp-add-jobstep-transact-sql.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ ms.author: "sstein"
2020
---
2121
# sp_add_jobstep (Transact-SQL)
2222

23-
[!INCLUDE[tsql-appliesto-ss-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss-xxxx-xxxx-xxx-md.md)]
23+
[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md)]
2424

25-
Adds a step (operation) to a job.
25+
Adds a step (operation) to a SQL Agent job.
2626

2727
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
2828

29+
> [!IMPORTANT]
30+
> On [Azure SQL Database Managed Instance](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance), most, but not all SQL Server Agent job types are supported. See [Azure SQL Database Managed Instance T-SQL differences from SQL Server](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-transact-sql-information#sql-server-agent) for details.
31+
2932
## Syntax
3033

3134
```

0 commit comments

Comments
 (0)