Installation |
Automated installation |
There are two ways to do an automated installation:
- Installing from the RPM/DEB package (
rpm -ivh dbahelper*.rpm
or dpkg -i dbahelper*.deb , depending on your packaging system
- or yum install dbahelper / apt-get install dbahelper
if you included the IzzySoft Repository to your packaging systems configuration)
- Running
make install from within the directory you extracted
the dbahelper*.tar.gz file to
In both cases, you still need to adjust the configuration files to your
requirements as described below.
|
Manual installation |
- Copy the scripts (i.e. all files of the root directory of the distribution
archive) into any directory you would like to run them from. Make sure to
keep them all together in the same directory.
- Optionally, Update your PATH variable to include the installation
directories (both,
.../dbahelper and .../dbahelper/rman )
so you can access these scripts easily from anywhere
|
Basic configuration |
This includes two files: globalconf (in the directory where the
DBAHelper files are installed in - i.e. either where you put them during
manual installation, or /usr/local/share/dbahelper
when installed using make install , or /usr/share/dbahelper
when installed from the distributed RPM/DEB package), and rmanrc
(again, either in the installation directory after a manual install - or in
the /etc directory after automated installation).
- Edit the
globalconf configuration file. Most important
is to set the user and password , plus the
TR_TMP option.
- Edit the
rmanrc configuration file. Most important
part here is the LOGDIR , which should point to a separate
directory where the RMAN Wrapper stores its logs into. A separate directory
is recommended due to the fact that rman.sh will create
a separate logfile for each call and action.
- The
Generate_createdb.sh does not need any configuration (and
does not use the globalconf file), but you may
configure the names of the resulting scripts in the head of the script.
For details of the configuration (also for the other scripts), please see the
configuration page.
|
Next steps |
That's all - now you should be able to use the scripts. If you succeeded up to
this point, you should continue with the usage page
to read important things about how to call the scripts. Maybe after a while you
want to fine-tune your setup: read more about that on the
configuration page.
|