dbactions
Overview
Defined type to start and stop a database. [DEPRECATED]
This is defined type to start or stop a database. Usage of this type is discouraged. Please use db_control for this function.
Here is an example on how to use this:
ora_install::dbactions{ 'stop testDb':
db_name => 'test',
oracle_home => '/oracle/product/11.2/db',
user => 'oracle',
group => 'dba',
action => 'stop',
}
Attributes
| Attribute Name | Short Description |
|---|---|
| action | The action you want to take. |
| db_name | The database you want to do the action on. |
| db_type | The type of service you want to manage. |
| grid_home | The oracle home directory to use for the GRID software. |
| group | The os group to use for these Oracle puppet definitions. |
| oracle_home | A directory to be used as Oracle home directory for this software. |
| user | The user used for the specified installation. |
action
The action you want to take.
Valid values are:
startrunningstopabort
Default value is: start
Type: Enum['running','start','stop','abort']
Default:'start'
db_name
The database you want to do the action on.
Type: String[1]
Default:'orcl'
db_type
The type of service you want to manage.
Valid values are:
databasegridasm
Type: Enum['database','asm','grid']
Default:'database'
grid_home
The oracle home directory to use for the GRID software.
Type: Optional[Stdlib::Absolutepath]
Default:undef
group
The os group to use for these Oracle puppet definitions.
The default value is: dba
Type: String[1]
Default:'dba'
oracle_home
A directory to be used as Oracle home directory for this software.
Type: Stdlib::Absolutepath
Default:undef
user
The user used for the specified installation. The install class will not create the user for you. You must do that yourself.
The default value is: oracle
Type: String[1]
Default:'oracle'
