Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Ansible playbook to install WebLogic 12c cluster on RHEL/CentOS 7

License

Notifications You must be signed in to change notification settings

sergey-gr/ansible-weblogic-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playbook for WebLogic cluster installation

Before you begin

Download Linux x64 Compressed Archive and place archive to:

./roles/jdk/files/jdk-8u271-linux-x64.tar.gz

Also set archive name as variable in file infra.yml

jdk_installer_archive: 'jdk-8u271-linux-x64.tar.gz'

Download Generic Installer for Oracle WebLogic Server 12.2.1.4, extract archive and place installer to:

./roles/wls/files/fmw_12.2.1.4.0_wls.jar

Also set installer name as variable in file infra.yml

fmw_installer: 'fmw_12.2.1.4.0_wls.jar'

Configure hosts.ini file:

[all:vars]
ansible_user='<sudo_user>'
ansible_password='<sudo_user_pass>'
...

[all]
<host_name1> ansible_ssh_host=<host_ip> ansible_ssh_port=22
<host_name2> ansible_ssh_host=<host_ip> ansible_ssh_port=22
<host_name3> ansible_ssh_host=<host_ip> ansible_ssh_port=22

[wl_admin]
<host_name1>

[wl_node]
<host_name2>
<host_name3>

Edit variables for your needs in files:

./group_vars/infra.yml
./group_vars/secrets.yml

Shared WebLogic domain - check nfs configuration file.

  • nfs_external_source: true - will mount external share on all cluster servers
  • nfs_external_source: false - will set up nfs server => admin server / client => all hosts under wl_node group
$ ansible-playbook nfs.yml

Run installation playbook

  • Weblogic console URL after installation: http://<admin_host_ip>:{{ admin_server_port }}/console
$ ansible-playbook weblogic.yml

Uninstall cluster

$ ansible-playbook reset.yml