Skip to content

Commit ad24428

Browse files
committed
Updated readme
1 parent 35e1b95 commit ad24428

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

README.md

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
- Installs Oracle RAC, RAC One Node and normal single instances.
44
- Start with one or more clean machine(s), end up with a fully configured RAC Cluster.
55

6-
7-
By default, installs a single instance 18.3.0.0 database on filesystem. Just put the following file in /tmp on the control-machine
8-
9-
- `LINUX.X64_180000_db_home.zip`
10-
11-
12-
136
### Getting started
147

158
Pre-requisites:
@@ -18,6 +11,26 @@ Pre-requisites:
1811
- Oracle Linux (or any RHEL-based Linux System) >= 6.4
1912
- Oracle Database/Grid Infrastructure 18.3.0.0, 12.2.0.1, 12.1.0.1, 12.1.0.2, 11.2.0.4, 11.2.0.3
2013

14+
By default, installs a single instance 18.3.0.0 database on a filesystem.
15+
16+
1. Clone this repository:
17+
`git clone --recursive https://github.com/oravirt/ansible-oracle`
18+
19+
2. Add the following file to `/tmp` on the controlmachine
20+
- `LINUX.X64_180000_db_home.zip`
21+
22+
3. Create an Ansible inventory file
23+
```
24+
[myhostgroup]
25+
dbhost
26+
```
27+
28+
4. Run the playbook:
29+
30+
`ansible-playbook single-instance-db-on-fs.yml -e hostgroup=myhostgroup -i /path/to/inventory`
31+
32+
where the `-i` part is optional
33+
2134

2235
### Roles
2336

@@ -68,8 +81,8 @@ This role will install and configure Oracle Grid Infrastructure (RAC/SI)
6881

6982
_**oraasm-createdg (deprecated - use oraasm-manage-diskgroups instead)**_
7083

71-
This role will create the diskgroup(s) that should be used for database storage. Uses asmca to create diskgroups.
72-
- Generates a shellscript that uses asmca to create the diskgroups.
84+
_This role will create the diskgroup(s) that should be used for database storage. Uses asmca to create diskgroups.
85+
- Generates a shellscript that uses asmca to create the diskgroups._
7386

7487
**oraasm-manage-diskgroups**
7588

@@ -96,21 +109,21 @@ This role statefully manages the lifecycle of a database
96109

97110
_**oradb-create (deprecated - use oradb-manage-db instead)**_
98111

99-
This role creates the databases (RAC/RAC One Node, Single Instance). Possible to create container databases. Performs a dbca silent run to create the database.
112+
_This role creates the databases (RAC/RAC One Node, Single Instance). Possible to create container databases. Performs a dbca silent run to create the database.
100113
- Generates a responsefile to be used by dbca
101114
- Creates the db using dbca
102-
- Changes parameters based on input.
115+
- Changes parameters based on input._
103116

104117

105118
_**oradb-delete (deprecated - use oradb-manage-db instead)**_
106119

107-
This role deletes a database
120+
_This role deletes a database_
108121

109122

110123
_**oraswgi-opatch (deprecated - use oraswgi-manage-patches instead)_
111124

112-
This role will use opatch to apply a patch to a Grid Infrastructure home. At the moment it is basically written to apply PSU's, not one-off patches. It'll probably work but it is not designed for that at the moment.
113-
Does an initial check to see if the patches are already applied, and skips through all steps if they are.
125+
_This role will use opatch to apply a patch to a Grid Infrastructure home. At the moment it is basically written to apply PSU's, not one-off patches. It'll probably work but it is not designed for that at the moment.
126+
Does an initial check to see if the patches are already applied, and skips through all steps if they are._
114127

115128
**oraswgi-manage-patches**
116129

@@ -141,7 +154,7 @@ Configures cron schedules if needed
141154
**oradb-manage-<*>**
142155

143156
Statefully manages various aspects of the DB
144-
- **oradb-manage-pdb**
157+
- **oradb-manage-pdb**
145158
- **oradb-manage-tablespace**
146159
- **oradb-manage-parameters**
147160
- **oradb-manage-roles**

0 commit comments

Comments
 (0)