VMware ESX 4.0 - INSTALLATION GUIDE UPDATE 1 Installation Manual page 86

Hide thumbs Also See for ESX 4.0 - INSTALLATION GUIDE UPDATE 1:
Table of Contents

Advertisement

ESX and vCenter Server Installation Guide
Procedure
1
Log in to a Query Analyzer session as the sysadmin (SA) or a user account with sysadmin privileges.
2
Run the following script.
The script is located in the vCenter Server installation package
DB_and_schema_creation_scripts_MSSQL.txt
use [master]
go
CREATE DATABASE [VCDB] ON PRIMARY
(NAME = N'vcdb', FILENAME = N'C:\VCDB.mdf', SIZE = 2000KB, FILEGROWTH = 10% )
LOG ON
(NAME = N'vcdb_log', FILENAME = N'C:\VCDB.ldf', SIZE = 1000KB, FILEGROWTH = 10%)
COLLATE SQL_Latin1_General_CP1_CI_AS
go
use VCDB
go
sp_addlogin @loginame=[vpxuser], @passwd=N'vpxuser!0', @defdb='VCDB',
@deflanguage='us_english'
go
ALTER LOGIN [vpxuser] WITH CHECK_POLICY = OFF
go
CREATE USER [vpxuser] for LOGIN [vpxuser]
go
sp_addrolemember @rolename = 'db_owner', @membername = 'vpxuser'
go
use MSDB
go
CREATE USER [vpxuser] for LOGIN [vpxuser]
go
sp_addrolemember @rolename = 'db_owner', @membername = 'vpxuser'
go
You now have a Microsoft SQL Server database that you can use with vCenter Server.
What to do next
You can run the script to create the database schema.
Use a Script to Create the Microsoft SQL Server Database Schema (Optional)
The vCenter Server installer creates the schema automatically during installation. Experienced database
administrators who need more control over schema creation due to environmental constraints can optionally
use a script to create a database schema.
To have the vCenter Server installer create your schema for you, see
Connection,"
on page 87.
Prerequisites
Before you use this script, create the SQL Server database. You can create the SQL Server database manually
or by using a script.
Procedure
1
Create a vCenter Server database user with the db_datawriter and db_datareader permissions.
2
Open a query analyzer window with a user having DBO rights on the vCenter Server and MSDB databases.
86
/<installation directory>/vpx/dbschema/
file.
"Configure a SQL Server ODBC
VMware, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vcenter server 4.0Esx 4.0

Table of Contents