Skip to content

Documentum 16.4 on Centos

License

Notifications You must be signed in to change notification settings

lastnitescurry/documentum164

Repository files navigation

documentum164

Documentum 16.4 Server with Repository on Centos 7.5 / 7.6.

Please note while this project could be taken and used by anyone, I am using it for my own learning of Ansible. Feel free to take what you want but be sure to understand and test before using anything in production.

Please be warned, I know there are bugs in this project. However it the effort to fix, would not add increase my Ansible education!!

CentOS 7 Vagrant Box for Oracle Virtual Box

See my project packer-centos-vagrant for how the CentOS 7 vagrant box is created and what software is installed by default. For the most part I try to pre install as much as possible.

Commands

Fire up all virtual machines

C:\Windows\System32\cmd.exe /K "cd /d f:\PublicGitHub\documentum164"
rmdir /s /q credentials
rmdir /s /q roles\tmp
rmdir /s /q .vagrant
vagrant up

Login into Ansible host

WORKAROUND Vagrant problem. Prevent hostname from binding to the loopback address

  • hashicorp/vagrant#7263

  • Now done by Vagrant Shell provisioner

    sudo -i
    sed -i '1d' /etc/hosts cat /etc/hosts exit

and setup SSH

SSH - Generate

ssh-keygen -q -t ecdsa -b 521 -f ~/.ssh/id_ecdsa -N ""

SSH - Distribute public keys

ssh-copy-id -i ~/.ssh/id_ecdsa vagrant@database
ssh-copy-id -i ~/.ssh/id_ecdsa vagrant@documentum
ssh-copy-id -i ~/.ssh/id_ecdsa vagrant@applications
ssh-copy-id -i ~/.ssh/id_ecdsa vagrant@ansible

SSH - test if desired

ssh 'vagrant@database'
ssh 'vagrant@documentum'
ssh 'vagrant@applications'
ssh 'vagrant@ansible'

Ansible - export ANSIBLE_CONFIG (because in world write folder)

export ANSIBLE_CONFIG=/vagrant/ansible.cfg
echo $ANSIBLE_CONFIG
Ansible - Run main playbook
cd /vagrant
ansible-playbook doItAllPlay.yml
Ansible - Run Oracle 12c server install and Database creation playbook

Nice thing about Ansible, it is easy to extract sections into smaller pieces

cd /vagrant
ansible-playbook doOracleDatabasePlay.yml
Ansible - Run Documentum install and Repository creation playbook
	cd /vagrant
ansible-playbook doDocumentumPlay.yml
Ansible - Run tagged items in playbook
cd /vagrant
ansible-playbook playbook.yml --tags "patch"
Ansible - Run tagged items in playbook
cd /vagrant
ansible-playbook 010RebootAll.yml

Tear down and destroy all virtual machines

C:\Windows\System32\cmd.exe /K "cd /d f:\PublicGitHub\documentum164"

vagrant destroy -f

References

Credit where due, using the solutions and hard work of other folks. Hopefully my contribution will be some Documentum specific install examples

Ansible

Ansible variables

Ansible handlers

Ben's IT Lessons - Ansible - A Beginner's Tutorial

Vagrant - Read servers from external file

LINUX

file system... follow well proven standards

Oracle

Oracle XE

Oracle 12c