| Summary: | Oracle 11g service script for cluster suite | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Matt Rogers <mrogers> |
| Component: | rgmanager | Assignee: | Lon Hohberger <lhh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.6 | CC: | cluster-maint, edamato, jwest, sbradley |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-01 13:41:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 670024 *** |
Description of problem: Cluster suite does not ship with a service script for starting/stopping an Oracle 11g database. A few changes to the provided /usr/share/cluster/oracledb.sh script works, however, and has been confirmed by a customer. --- oracledb.sh 2011-04-21 18:16:15.000000000 -0400 +++ oracle11.sh 2011-04-21 18:21:26.000000000 -0400 @@ -91,7 +91,7 @@ declare SCRIPTDIR="`dirname $0`" # # 5. Type of Oracle Database. Currently supported: 10g 10g-iAS(untested!) # -[ -n "$ORACLE_TYPE" ] || ORACLE_TYPE="base-em" +[ -n "$ORACLE_TYPE" ] || ORACLE_TYPE="base" # # 6. Oracle virtual hostname. This is the hostname you gave Oracle during @@ -739,7 +739,7 @@ validation_checks() # start_oracle() { - faction "Starting Oracle Database:" start_db || return 1 + faction "Starting Oracle Database:" dbstart || return 1 action "Starting Oracle Listener:" lsnrctl start $ORACLE_LISTENER || return 1 if [ "$ORACLE_TYPE" = "base-em" ]; then @@ -776,7 +776,7 @@ stop_oracle() action "Stopping Oracle EM:" emctl stop em || return 1 fi - faction "Stopping Oracle Database:" stop_db || return 1 + faction "Stopping Oracle Database:" dbshut || return 1 action "Stopping Oracle Listener:" lsnrctl stop $ORACLE_LISTENER faction "Waiting for all Oracle processes to exit:" exit_idle ------------ There are also the home and hostname variables that were changed to match the instance #[ -n "$ORACLE_HOME" ] || ORACLE_HOME=/mnt/oracle/home #[ -n "$ORACLE_HOSTNAME" ] || ORACLE_HOSTNAME=svc0.foo.test.com The version information for the DB this was confirmed on is 11.1.0.7.0 I believe.