Back Up And Restore An Oracle Database - VMware ESX 4.0 - UPGRADE GUIDE UPDATE 1 Update Manual

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

Advertisement

Procedure
1
On the source machine, stop the VirtualCenter service.
a
Selecting Start > Control Panel > Administrative Tools > Services > VMware VirtualCenter
Server.
b
Right-click VMware VirtualCenter Server and select Stop.
2
In the SQL Server Management Studio, open the Databases directory, right-click the VirtualCenter 2.x
database, and select Tasks > Detach.
3
Select the database and click OK.
4
When the detach operation is complete, copy the data files (
database folder.
By default, the database folder is
5
In SQL Server Management Studio on the destination machine, right-click the Databases directory and
select Attach.
6
Select the
.mdf
The database from the source machine is attached to the destination machine.
What to do next
See http://kb.vmware.com/kb/1004382. As indicated in Knowledge Base article 1004382, detaching and
n
attaching the vCenter Server database to a different Microsoft SQL Server does not copy over the vCenter
Server specific SQL Agent daily, weekly, and monthly rollup jobs. Therefore, in KB 1004382, see "verifying
the existence of jobs and removing them."
See
"Upgrade to vCenter Server on a Different Machine,"
n
you migrate vCenter Server to a different machine. For example, because the hardware is being
decommissioned or the operating system is no longer supported because of an upgrade.

Back Up and Restore an Oracle Database

Before you perform an upgrade to vCenter Server on a different machine, you might want to move the database
as well. Moving the database is optional. To move an Oracle database, you perform a backup and restore
operation.
Consult your database administrator or see your database documentation about backing up and restoring
databases.
The machine with the VirtualCenter 2.x database is referred to as the source machine. The machine on which
the vCenter Server 4.0 database will reside is referred to as the destination machine.
Prerequisites
You must have a VirtualCenter 2.x system running with a local or remote Oracle 10g or Oracle 11g database.
Procedure
1
On the source machine, log in to Oracle SQL*Plus as the VirtualCenter 2.x database user and export the
database as a
2
Copy the
.dmp
3
In Oracle SQL*Plus, run the following command to create the tablespace.
create tablespace vctest datafile 'c:\vctest.dbf' size 100m autoextend on;
VMware, Inc.
Chapter 7 Upgrading to vCenter Server on a Different Machine and Keeping the Existing Database
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data
file that you copied to the destination machine's database folder and click OK.
file.
.dmp
file onto the
drive of the destination machine.
C:\
and
) to the destination machine's
.mdf
.ldf
on page 56. This information applies when
.
55

Advertisement

Table of Contents
loading

Table of Contents