Creating a
SQL login account
The Vault Service account
must have a SQL login account, with Database Creators permission,
for the SQL Server. On SQL Server 2005 and later, the Vault Service
account must also have permission.
To create a SQL login account in SQL 2000
-
Start Enterprise Manager
for SQL 2000.
-
Expand the container.
-
Click .
-
Right-click and, on the shortcut menu, click
.
-
Enter or select the name of
the Vault Service account. For example, domain\ev_service
-
Check that is selected and
that the correct for
the account has been selected.
-
Under check that is selected.
-
On the tab, select .
-
Click .
To create a SQL login account in SQL 2005
-
Start SQL Server Management
Studio.
-
In the tree, select
>.
-
Right-click , and select .
-
Either type in the Vault
Service account as domain\username or
click and search for
the account. In the search dialog box, ensure that the correct
domain is entered in the box.
-
Select .
-
In the tree, click
.
-
Select the check box beside
.
-
Click .
-
In the toolbar, click
.
-
Enter the following
script:
use Master
GRANT VIEW SERVER STATE TO "domain\vsa_account"
GO
where domain\vsa_account is the domain and name of the
Vault Service account.
-
Click .
-
You can check that the
Vault Service account has the dbcreator role as follows:
-
In the tree, select >.
-
In the right-hand pane, double-click the
role.
-
The Vault Service account should be displayed in
the membership list.
-
You can check that the
Vault Service account has VIEW SERVER STATE permission as
follows:
-
In the tree, right-click the top level SQL Server
object and select .
-
Select the page.
-
Under , select the Vault Service account and then click
.
Check that is included in the list of permissions.
To create a SQL login account in SQL 2008
-
Start SQL Server
Management Studio.
-
In the tree, select
>.
-
Right-click
, and select
.
-
Either type in the Vault
Service account as domain\username or
click and search for
the account. In the search dialog box, ensure that the correct
domain is entered in the box.
-
Select .
-
In the tree, click
.
-
Select the check box
beside .
-
Click .
-
In the toolbar, click
.
-
Enter the following
script:
use Master
GRANT VIEW SERVER STATE TO "domain\vsa_account"
GO
where domain\vsa_account is the domain and name of the
Vault Service account.
-
Click .
-
You can check that the
Vault Service account has the role as follows:
-
In the tree, select > .
-
In the right-hand pane, double-click the
role.
-
The Vault Service account should be displayed in
the membership list.
-
You can check that the
Vault Service account has VIEW SERVER STATE permission as
follows:
-
In the tree, right-click the top level SQL Server
object and select .
-
Select the page.
-
Under , select the Vault Service account and then click
.
Check that is included in the list of permissions.