Download Oracle Grid Engine User's Guide

Transcript
ARCo Frequently-Asked Questions
The following rule says to delete all variables from the table sge_host_values after
two years:
<delete scope="host_values" time_range="year" time_amount="2"/>
The following rule says to delete all records for user fred after one month:
<delete scope="share_log" time_range="month" time_amount="1">
<sub_scope>fred</sub_scope>
</delete>
2.32 ARCo Frequently-Asked Questions
Do I need to re-install database server and create new database every time I
update/upgrade ARCo?
No. Generally, you want to keep inserting the data in the same database. You just need
to re-install dbwriter and Reporting software and during the installation supply
your existing database parameters. If a newer version of database model is available,
your existing ARCo database model will be updated during the installation of
dbwriter. See Upgrading ARCO.
Can I restore database backup into a database already containing data?
No. A database backup must only be restored into an empty database. Because ARCo
database is a relational database, there are primary key constrains defined on tables.
You would run into and SQL error if a primary key (unique identifier), you are trying
to restore, already exists in the database.
How do I change the debug level of the dbwriter?
You specify the debug level during the installation of dbwriter.
To change the debug level:
1.
Stop the dbwriter.
$SGE_ROOT/$SGE_CELL/common/sgedbwriter stop
2.
Edit the dbwriter configuration file ($SGE_ROOT/$SGE_
CELL/common/dbwriter.conf).
#
# Debug level
# Valid values: WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL
#
DBWRITER_DEBUG=INFO
3.
Start the dbwriter.
$SGE_ROOT/$SGE_CELL/common/sgedbwriter stop
In general, you should use the default debug level, which is info. If you use a more
verbose debug level, you substantially increase the amount of data output by
dbwriter.
You can specify the following debug levels:
■
WARNING - Displays only severe errors and warnings.
Using Grid Engine 2-121