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

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

Advertisement

Procedure
1
Log in to a SQL*Plus session with the system account.
2
Run the following SQL command to create a vCenter Server database user with the correct permissions.
The script is located in the vCenter Server installation package
DB_and_schema_creation_scripts_oracle.txt
In this example, the user name is VPXADMIN.
CREATE USER "VPXADMIN" PROFILE "DEFAULT" IDENTIFIED BY "oracle" DEFAULT TABLESPACE
"VPX" ACCOUNT UNLOCK;
grant connect to VPXADMIN;
grant resource to VPXADMIN;
grant create view to VPXADMIN;
grant create sequence to VPXADMIN;
grant create table to VPXADMIN;
grant execute on dbms_lock to VPXADMIN;
grant unlimited tablespace to VPXADMIN;
By default, the RESOURCE role has the CREATE PROCEDURE, CREATE TABLE, and CREATE
SEQUENCE privileges assigned. If the RESOURCE role does not have these privileges, explicitly grant
them to the vCenter Server database user.
You now have an Oracle database user that you can reference in the vCenter Server installer.
What to do next
Create the Oracle database, including all necessary table spaces and privileges.
Use a Script to Create the Oracle Database Schema (Optional)
The vCenter Server installer creates the schema automatically during installation. For experienced database
administrators who need more control over schema creation due to environmental constraints, you can
optionally use a script to create your database schema.
To have the vCenter Server installer create your schema for you, see
Access,"
on page 92 or
your environment.
Prerequisites
Before you use this script, create the Oracle database and user. You can create the Oracle database and user
manually or by using scripts.
Procedure
1
Open a SQL*Plus window with a user that has schema owner rights on the vCenter Server database.
2
Locate the dbschema scripts in the vCenter Server installation package
directory.
dbschema
VMware, Inc.
"Configure an Oracle Connection for Remote Access,"
Chapter 10 Preparing the vCenter Server Databases
/<installation directory>/vpx/dbschema/
file.
"Configure an Oracle Connection for Local
<installation directory> /vpx/
/
on page 93, depending on
91

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESX 4.0 - INSTALLATION GUIDE UPDATE 1 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Vcenter server 4.0Esx 4.0

Table of Contents