01.10.2015 Views

HP Operations Manager for UNIX Administrator’s Reference

HP Operations Manager for UNIX Administrator's Reference

HP Operations Manager for UNIX Administrator's Reference

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Maintaining <strong>HP</strong>OM<br />

Configuring a Database on Multiple Disks<br />

Configuring a Database on Multiple Disks<br />

Although using the Oracle archive log mode helps to reduce the loss of<br />

data after backing up and restoring a database, Oracle offers additional<br />

ways to avoid data loss in the unlikely event that a disk fails.<br />

If you can access more than one disk, you should review the following<br />

configuration tips. Use the in<strong>for</strong>mation provided when implementing<br />

similar scenarios in your own <strong>HP</strong>OM environment.<br />

To Move Oracle Control Files to the Second Disk<br />

To move one or more Oracle control files to the second disk, follow these<br />

steps:<br />

1. Create the directories on the second disk:<br />

mkdir -p /u02/oradata/openview<br />

chown oracle:dba /u02/oradata/openview<br />

2. Shutdown the database<br />

3. Move selected control file(s) to a directory on the other disk, <strong>for</strong><br />

example from disk /u01 to disk /u02:<br />

mv /u01/oradata/openview/control03.ctl \<br />

/u02/oradata/openview/control03.ctl<br />

4. Modify the control file names in the following file:<br />

$ORACLE_HOME/dbs/init${ORACLE_SID}.ora<br />

Example of old control file names:<br />

control_files = (/u01/oradata/openview/control01.ctl,<br />

/u01/oradata/openview/control02.ctl,<br />

/u01/oradata/openview/control03.ctl)<br />

Example of new control file names:<br />

control_files = (/u01/oradata/openview/control01.ctl,<br />

/u01/oradata/openview/control02.ctl,<br />

/u02/oradata/openview/control03.ctl)<br />

5. Restart the database.<br />

400<br />

Chapter 12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!