Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install OGG on one host twice (2 locations) #265

Open
rujim opened this issue Dec 4, 2019 · 2 comments
Open

Install OGG on one host twice (2 locations) #265

rujim opened this issue Dec 4, 2019 · 2 comments

Comments

@rujim
Copy link
Contributor

rujim commented Dec 4, 2019

Hello Edwin,

Today I got an issue about duplicate using OGG with one class:

--- Caused by: ---

07:38:28 # Puppet::Resource::Catalog::DuplicateResourceError:
07:38:28 # Duplicate declaration: Db_directory_structure[oracle goldengate structure 12.1.2] is already declared at (file: /var/lib/jenkins/jobs/controlrepo-unit-tests/workspace/spec/fixtures/modules/oradb/manifests/goldengate.pp, line: 103); cannot redeclare (file: /var/lib/jenkins/jobs/controlrepo-unit-tests/workspace/spec/fixtures/modules/oradb/manifests/goldengate.pp, line: 103)

I need to install two OGG clients on one db host with one version (12.1.2):
/app/gg/lx and /app/gg/ps.
Ports: 7809, 6809.

I guess we verify of the version in the following code:
db_directory_structure{"oracle goldengate structure ${version}":
ensure => present,
oracle_base_dir => $oracle_base,
ora_inventory_dir => $ora_inventory,
download_dir => $download_dir,
os_user => $user,
os_group => $group_install,
}

Please, suggest me how can I install OGG with same versions twice on one host.

Thank you in advance!
DBA,
Ruslan

@sureshr7
Copy link

Try with 2 different download_dir path.

@rujim
Copy link
Contributor Author

rujim commented Jan 29, 2020

Unfortunately it doesn't help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants