The puppet 4 reference implementation of https://github.com/biemond/biemond-orawls branch puppet 4
optimized for linux, Solaris and the use of Hiera
Should work for VMware and Virtualbox
- CentOS 7.0 Vagrant box
- Puppet 4.8.2
- Vagrant >= 1.8.0
- Oracle Virtualbox >= 5.0
- VMware fusion >= 8
creates a 12.2.1.3 WebLogic cluster ( admin, node1, node2 )
site.pp is located here: https://github.com/biemond/biemond-orawls-vagrant-12.2.1/blob/master/puppet/environments/development/manifests/site.pp
The used hiera files https://github.com/biemond/biemond-orawls-vagrant-12.2.1/tree/master/puppet/hieradata
Add the all the Oracle binaries to /software
- Weblogic 12.2.1.3 fmw_12.2.1.3.0_wls.jar
- JDK 8 jdk-8u161-linux-x64.tar.gz
- JCE Policy 8 jce_policy-8.zip
- vagrant up admin
- vagrant up node1
- vagrant up node2
- vagrant ssh admin
- sudo -i
- puppet apply --verbose --report --trace /vagrant/puppet/environments/development/manifests/site.pp
- http://10.10.10.100:8001/Product-context-root/jersey/products/
- http://10.10.10.200:8001/Product-context-root/jersey/products/
-
undeploy jerser-bundle-1.18.war and webapp.war from WebCluster
-
Resource Group Template
- AppTemplateProduct
-
Deployments to AppTemplateProduct Resource Template
- jerser-bundle-1.18.war to AppTemplateProduct (not global)
- webapp.war to AppTemplateProduct (not global)
-
FileStore
- FileStoreMT
- File
- scope AppTemplateProduct
- FileStoreMT
-
JMS server
- JMSServerMT
- scope AppTemplateProduct
- FileStoreMT
- JMSServerMT
-
SystemModuleMT
- scope AppTemplateProduct
- sub deployment
- jms_servers
- JMSServerMT
- jms_servers
- Distributed Queues
- DistributedQueueMT
- jndi jms/DistributedQueueMT
- target sub deployment jms_servers
- DistributedQueueMT
- Connection factory
- ConnectionFactoryMT
- jndi jms/ConnectionFactoryMT
- ConnectionFactoryMT
-
JDBC to pluggable database
- XXXX
for every tenant - virtual targets - CustomerA - WebCluster - 10.10.10.100\n 10.10.10.200\n - /customer_a - port 8011 - CustomerB - WebCluster - 10.10.10.100\n 10.10.10.200\n - /customer_b
- realms
- realm_CustomerA
- create new providers
- add user test with group Administrators
- realm_CustomerB
- create new providers
- domain partitions
- Partition-Products-CustomerA
- ResourceGroupA
- AppTemplateProduct
- realm_CustomerA
- virtual targets
- CustomerA
- Override resources
- JDBC
- Control start Partition-Products-CustomerA
- Partition-Products-CustomerB
- ResourceGroupA
- AppTemplateProduct
- realm_CustomerB
- virtual targets
- CustomerB
- Override resources
- JDBC
- Control start Partition-Products-CustomerB
-
CustomerA
-
CustomerB
-
WLST
- connect('test','weblogic1','t3://10.10.10.100:8011/customer_a')
-
JConsole
- service:jmx:t3://10.10.10.100:8011/customer_a/jndi/weblogic.management.mbeanservers.runtime