biemond-orawls-vagrant-12.2.1
The puppet 4.2 reference implementation of https://github.com/biemond/biemond-orawls
optimized for linux, Solaris and the use of Hiera
Should work for VMware and Virtualbox
Details
- CentOS 7.0 Vagrant box
- Puppet 4.2.2
- Vagrant >= 1.8.0
- Oracle Virtualbox >= 5.0
- VMware fusion >= 6
creates a 12.2.1 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
edit Vagrantfile and update the software share
- admin.vm.synced_folder "software", "/software"
- node1.vm.synced_folder "software", "/software"
- node2.vm.synced_folder "software", "/software"
Software
Startup the images
- vagrant up admin
- vagrant up node1
- vagrant up node2
manual startup puppet
- vagrant ssh admin
- sudo -i
- puppet apply --verbose --report --trace /vagrant/puppet/environments/development/manifests/site.pp
rest application on cluster
MT
-
undeploy jerser-bundle-1.18.war and webapp.war from WebCluster
-
Resource Group Template
-
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
-
JMS server
- JMSServerMT
- scope AppTemplateProduct
- FileStoreMT
-
SystemModuleMT
- scope AppTemplateProduct
- sub deployment
- Distributed Queues
- DistributedQueueMT
- jndi jms/DistributedQueueMT
- target sub deployment jms_servers
- Connection factory
- ConnectionFactoryMT
- jndi jms/ConnectionFactoryMT
-
JDBC to pluggable database
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
-
domain partitions
-
Partition-Products-CustomerA
- ResourceGroupA
- realm_CustomerA
- virtual targets
- Override resources
-
Control start Partition-Products-CustomerA
-
Partition-Products-CustomerB
- ResourceGroupA
- realm_CustomerB
- virtual targets
- Override resources
-
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