Setting Service Owner; Moving Data Files From Already Existing Databases; Database Administrative Method For Moving Control Files; Database Administrative Method For Moving Active Redo Log Files - HP StorageWorks 8000 - NAS User Manual

Storing windows-based oracle databases on the hp nas 8000
Hide thumbs Also See for StorageWorks 8000 - NAS:
Table of Contents

Advertisement

@ECHO 7) Exit Services and control panel – then press enter in this
@ECHO
command window to continue creating the database.
@PAUSE
@\Oracle_home\bin\sqlplus INTERNAL/oracle @\some_path\create_database.sql
:
:
Please note that if dbassist were used to create the command script, the command (batch) file would not
have the comments and echo statements. The PAUSE command would be added directly after the oradim
command.

setting service owner

Once again, the steps to changing the owner of the Oracle database instance's Windows service (once
oradim has successfully created the service):
1) Start -> Settings -> Control Panel -> Administrative Tools -> Services
2) Select and double-click on the Oracle Service for the database.
3) Under 'General' tab: Stop the service.
4) Under 'Log On' tab: Change from a local account, to "This Account" and fill in a user and
password from the Domain, e.g. DOMAIN_NAME\Oracle_DBA_User
5) Click on Apply
6) Under 'General' tab: Start the service.
7) Exit Services and Control Panel windows
8) Continue the database creation.

moving data files from already existing databases

The preferred method for moving a database and/or data files is to have the DBA move the data files
through the Oracle utilities srvmgrl or sqlplus. Please refer to Oracle documentation for more information.
The first method described below is specifically for moving the data files associated with any tablespace
except the for SYSTEM tablespace.
1) Take the tablespace(s) offline ( SQL> alter tablespace tablespace_name offline; )
2) Copy or move the data files to the NAS 8000 location, using OS commands.
3) Rename the data file(s) associated with the tablespace(s) that have moved ( SQL> alter database
rename file 'old_file_path_1','old_file_path_2' to 'new_file_path_1', 'new_file_path_2';)
4) Bring the tablespace(s) back on line ( SQL> alter tablespace tablespace_name online; )
To move all of the data files associated with a database (including/or just the SYSTEM tablespace) from the
Oracle server onto the NAS 8000, perform the following steps. NOTE: In order to move the data file(s)
associated with the SYSTEM tablespace, the database must be shut down.
1) Shut the database down ( SQL> shutdown normal; )
2) A full backup is recommended as an extra safety measure.
3) Copy or move the database data files to the NAS 8000.
4) Start up and mount the database ( SQL> startup mount; )
5) Rename all of the data files associated with the database that have moved ( SQL> alter database
rename file 'old_file' to 'new_file'; )
6) Open the database for use ( SQL> alter database open; ).

database administrative method for moving control files

1) Shutdown the database ( SQL> shutdown normal; )
2) Copy/move the control file(s) using operating system commands.
3) Edit the init.ora and change the locations of the control files via the control_file parameter.
4) Restart the database ( SQL> startup; )

database administrative method for moving active redo log files

1) Shutdown the database ( SQL> shutdown normal; )
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks 8000

Table of Contents