Comments (7)
Looks like using virtual resource solves this problem. I will test and confirm
@oradb::autostartdatabase { 'DEV':
oracle_home => '/u01/oracle/product/12.1.0.2/db',
db_name => 'DEV',
user => 'oracle',
service_name => 'DEV',
}
@oradb::autostartdatabase { 'STG':
oracle_home => '/u01/oracle/product/12.1.0.2/dbstage',
db_name => 'STG',
user => 'oracle',
service_name => 'STG',
}
from biemond-oradb.
Still its failing with same error if i use realize in the class
from biemond-oradb.
yep, need to make a tempate Prepareautostart for this, class can only exists once.
from biemond-oradb.
Thanks for the quick ack Edwin. Any workarounds to handle this ?
from biemond-oradb.
I think I need to make this a define https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/prepareautostart.pp
but maybe you only need to define it once and update oratab to y for the 2nd instance. I think the service will start both.
from biemond-oradb.
yes. You are correct.
making https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/prepareautostart.pp as define and removing the class call in https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/manifests/autostartdatabase.pp fixes the problem
Call both resources explicity
oradb::autostartdatabase { $db_name:
oracle_home => $oracle_home,
db_name => $db_name,
user => $user,
service_name => $db_name,
}
oradb::prepareautostart{ $db_name:
oracle_home => $oracle_home,
user => $user,
service_name => $db_name,
}
from biemond-oradb.
Hi Edwin,
Is it possible to push this fix ?
Thanks
Suresh
from biemond-oradb.
Related Issues (20)
- Any plans to support 19c database ? HOT 4
- Master branch HOT 1
- Any option to support custom string in listener.ora file ? HOT 1
- Hung on lsinv check by 2 processes simultaneously
- Install OGG on one host twice (2 locations) HOT 2
- database 19c creation fails due to Automatic Memory Management option HOT 2
- Update metadata.json dependencies of stdlib and concat HOT 2
- Any plans to support for OEM 13.4 ? HOT 1
- oradb.opatch - OPatchauto and NApply HOT 4
- Any plans to support for RHEL 8? HOT 1
- Legacy facts used for operating system family
- Cut a new release and publish to forge HOT 3
- Run the sql for pdb database HOT 3
- Forge to Deinstall GG - golden gate
- Donate project to Voxpupuli
- How does one create multiple entries in the tnsnames.ora file?
- tnsnames.ora file doesn't identify itself with "Puppet Managed. Do not edit!" or similar HOT 1
- Add tnsnames.ora options
- PROTOCOL = for tnsnames.ora doesn't have a default value HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biemond-oradb.