Friday, January 20, 2017

Using Swarm to Create SOA/Service Bus Clusters

Using Swarm to Create SOA/Service Bus Clusters

Just posted a blog about using Docker Swarm to create and run Oracle Fusion Middleware on a Swarm Container.

Saturday, January 14, 2017

Using Swarm to Create SOA/Service Bus Clusters

Using Swarm to Create SOA/Service Bus Clusters

Just posted a blog about using Docker Swarm to create and run Oracle Fusion Middleware on a Swarm Container.

Wednesday, August 28, 2013

WebLogic Admin Cookbook Review


Oracle WebLogic Server 12c Advanced Administration Cookbook is one of worth reading cookbooks from Packts.

Oracle Weblogic Sever 12c is the latest version. This book includes over 60 advanced receips for how to configure, troubleshoot and performance tune Oracle Weblogic Server 12c.

It starts with installation, domain creation and basic administration tasks. For example: how to start, stop server, how to start node manager. these information are really good for readers to know how to play weblogic server from the start. 

It would be nice if author could add how to use wlst to create domain, start/stop server in automation way for the readers who has expertise in wlst area.


The next chapter introduces active-active HA weblogic cluster, covers how to create and configure HA cluster. The beatful thing is author provides most recipes with WLST scripts, that will definitely be great helpful for administrators to follow these recipe to setup cluster in repeatable way. That will absolutely avoid human error.

Other chapters cover JMS, JDBC, Monitoring, Troubleshoot, Performance and Security.

I have learned some new way to do things on weblogic 12C. The recipes I have tried are really useful.




Wednesday, April 17, 2013

Oracle SOA Suite 11g R1 Developer's Guide

Oracle SOA Suite 11g Developer's Cookbook has been published with about 65 recipes.


Oracle SOA Suite 11g Developer's Cookbook(Link)

Packt Publishing
December 26, 2012
As part of Oracle Fusion Middleware, the components of Oracle SOA Suite enable you to build, deploy and manage Service-Oriented Architectures (SOA), and can be used as the glue to integrate your applications whilst moving your enterprise towards a service oriented future. The recipes in "Oracle SOA Suite 11g Developer's Cookbook" will provide you with a solid foundation for your SOA Suite implementation ensuring its efficiency and reliability.

Whether you're using SOA Suite as an integration tool or as the foundation of your Service Oriented Architecture, it is important to have a reliable implementation. "Oracle SOA Suite 11g Developer's Cookbook" will ensure you have the knowledge at your disposal to achieve that, through numerous tips and tricks for extending and enhancing your applications.

"Oracle SOA Suite 11g Developer's Cookbook" equips you with invaluable information about SOA Suite development which can usually only be gained through bitter experience. The recipes in this book distill real world experience into an easily applicable form.

Throughout the book you'll encounter high level issues, such as building a reliable SOA Suite cluster, and detailed development problems such as avoiding errors in BPEL assignment statements. Along the way you'll also learn about configuring identity providers and managing transaction boundaries.
The recipes in this Cookbook will prove crucial for implementing your SOA Suite solutions.

Tuesday, January 8, 2013

How to setup Oracle VM 3.1.1 Demo Env on Oracle VirtualBox

In this post, we will setup OVM Manager 3.1.1 and OVM Server on virtual box.

OVM Manager: ovmm.rubiconred.com 10.0.0.41
OVM Server:     ovmsrv1.rubiconred.com 10.0.0.31

And then we will discover ovm server, storage, create network, vnics, server pool and repository.

1. Install OVM Manager
Create Virtual Machine on virtualbox
Install Linux
Install OVM Manager
Refer to Oracle Document: http://docs.oracle.com/cd/E27300_01/E27308/html/vmiug-manager-installation.html

Regarding the network of virtualbox, you can choose Host-Only or Bridge.

Since in my demo env, OVM Manager virtual machine and OVM Server virtual machine will run on different physical box, so I choose Bridge type.

VirtualBox Configuration:













Or the simplest way is to download VirtualBox Templates for Oracle VM 3.1 from Oracle Website:
http://download.oracle.com/otn/vm/OracleVM-Manager-3.1.1-build365.ova


2. Install OVM Server
Create Virtual Machine on Virtualbox
Install OVM Server
Refer to Oracle Document: http://docs.oracle.com/cd/E27300_01/E27308/html/vmiug-server-installation.html

VirtualBox Configuration














Or download from Oracle Website:  http://download.oracle.com/otn/vm/OracleVM-Server-3.1.1-build365.ova

Now we have 2 virtual machines, one for OVM Manager and one for OVM server.

It's time to config OVM Demo Platform on Oracle VirtualBox now.
Since it's a demo env, we will keep the configuration as simple as possible. For example: using nfs for repository and server pool heart beat, using same network for management and virtual machine...
Lets start to configure it!!!

3. Discover Oracle VM Servers

Click discover server button, marked with red color









Fill agent password and server ip address, click OK button.















The Oracle VM Servers are discovered and added to the Unassigned Servers folder in the Servers and VMs tab.








4. Discover Storage
In this demo, to keep it simple, we are using NFS storage.
These NFS storage are virtual disks attached to virtual machine of ovm manager 3.1.1

Click Storage Tab and Click Discover File Sever button









Fill Server Name, IP Address and then click Next button











Select Servers and Click Next button










Select File Systems for VM and click Finish button











File Server has been discovered successfully

5. Create Virtual Machine Network
Since we are using NFS-based storage, we only need create a network with Virtual Machine role. this can be assigned to the existing management network or a new network.

To keep it simple in this demo env, we will use existing management network instead of new network to be created.









Select Virtual Machine and Click Next Button










Select Servers and Click Next button










Select Ports and Click Next Button










Click Next button and then Click Finish button







6. Create VNICs

Under Network Tab, Click Virtual NICs and then Click AutoFill button and Create Button








The created results VNICs are shown in the OVMM console















7. Create Server Pool

Click Create Server Pool Button from Toolbar








Enter Sever Pool information and Click Next to Create Server Pool















Add Servers to the Server Pool and Click Finish Button













Now Server Pool RubiconredServerPool01 is created and ovmsrv1 has been added to the server pool successfully.









8. Create Repository

Under Repositories tab, Click Create New Repository button







Fill Wizard, select Network File System to create repository


























Repository is created properly now.









Now you are able to create new virtual machine in this demo env.
Have fun.

Thursday, April 12, 2012

How to Install OVM Manager 3.0.3

In this post, we will address how to install OVM Manager 3.0.3 step by step.

1. run createOracle.sh to create the below items automatically or you can create them manually

  • Creates the operating system dba group
  • Creates the oracle user and adds it to the dba group
  • Creates the /u01 directory
  • Sets the required parameters in the /etc/security/limits.conf file
  • Opens the required ports in the /etc/sysconfig/iptables file

2.mount ovm manager 3.0.3 iso file

[root@ovmtest software]# ls
ovm-manager-3.0.3.iso  ovm-server-3.0.3.iso  V18419-01.zip
[root@ovmtest software]# mount -o loop ovm-manager-3.0.3.iso /ovmcd/
[root@ovmtest software]# cd /ovmcd/

3. execute runInstaller.sh
We choose production mode and use external oracle enterprise database instead of oracle xe.

[root@ovmtest ovmcd]# ./runInstaller.sh

Oracle VM Manager Release 3.0.3 Installer

Oracle VM Manager Installer log file:
  /tmp/ovmm-installer.selfextract_uM1668/install-2012-04-12-144211.log

Please select an installation type:
   1: Demo
   2: Production
   3: Uninstall
   4: Help

   Select Number (1-4): 2

Starting standard installation ...


Verifying installation prerequisites ...

Oracle Database Repository
==========================
Would you like to install Oracle Database 11g Express Edition (XE) or connect to an existing Oracle database?
   1: Install Oracle Database 11g XE
   2: Use an existing Oracle database
   Select Number (1-2): 2

Enter the Oracle Database hostname [localhost]: vrremccdb.tpgi.com.au
Enter the Oracle Database System ID (SID) [XE]: ovm
Enter the Oracle Database SYSTEM password:
Enter the Oracle Database listener port [1521]:
Enter the Oracle VM Manager database schema [ovs]:
Enter the Oracle VM Manager database schema password:
Enter the Oracle VM Manager database schema password (confirm):


Oracle Weblogic Server 11g
==========================
Enter the Oracle WebLogic Server 11g user [weblogic]:
Enter the Oracle WebLogic Server 11g user password:
Enter the Oracle WebLogic Server 11g user password (confirm):

Oracle VM Manager application
=============================
Enter the username for the Oracle VM Manager administration user [admin]:
Enter the admin user password:
Enter the admin user password (confirm):

Verifying configuration ...

Start installing the configured components:
   1: Continue
   2: Abort

   Select Number (1-2): 1
Step 1 of 9 : Database ...
Installing Database ...
Database installation skipped ...

Step 2 of 9 : Java ...
Installing Java ...

Step 3 of 9 : Database Schema ...
Creating database schema 'ovs' ...

Step 4 of 9 : WebLogic ...
Retrieving Oracle WebLogic Server 11g ...
Installing Oracle WebLogic Server 11g ...

Step 5 of 9 : ADF ...
Retrieving Oracle Application Development Framework (ADF) ...
Unzipping Oracle ADF ...
Installing Oracle ADF ...

Step 6 of 9 : Oracle VM  ...
Retrieving Oracle VM Manager Application ...
Extracting Oracle VM Manager Application ...
Installing Oracle VM Manager Core ...

Step 7 of 9 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 11g ...
Configuring data source 'OVMDS' ...
Creating Oracle VM Manager user 'admin' ...





Step 8 of 9 : Deploy ...
Deploying Oracle VM Manager Core container ...
Deploying Oracle VM Manager UI Console ...
Deploying Oracle VM Manager Help ...
Enabling HTTPS ...
Granting ovm-admin role to user 'admin' ...

Step 9 of 9 : Oracle VM Manager Shell ...
Retrieving Oracle VM Manager Shell & API ...
Extracting Oracle VM Manager Shell & API ...
Installing Oracle VM Manager Shell & API ...


Retrieving Oracle VM Manager Upgrade tool ...
Extracting Oracle VM Manager Upgrade tool ...
Installing Oracle VM Manager Upgrade tool ...
Copying Oracle VM Manager shell to '/usr/bin/ovm_shell.sh' ...
Installing ovm_admin.sh in '/u01/app/oracle/ovm-manager-3/bin' ...
Installing ovm_upgrade.sh in '/u01/app/oracle/ovm-manager-3/bin' ...
Enabling Oracle VM Manager service ...
Shutting down Oracle VM Manager instance ...
Restarting Oracle VM Manager instance ...
Waiting 15 seconds for the application to initialize ...
Oracle VM Manager is running ...
Oracle VM Manager installed.

Please wait while WebLogic configures the applications... This can take up to 5 minutes.


Installation Summary
--------------------
Database configuration:
  Database host name          : vrremccdb.tpgi.com.au
  Database instance name (SID): ovm
  Database listener port      : 1521
  Application Express port    : None
  Oracle VM Manager schema    : ovs

Weblogic Server configuration:
  Administration username     : weblogic

Oracle VM Manager configuration:
  Username                    : admin
  Core management port        : 54321
  UUID                        : 0004fb00000100005e6aa1a395288727


Passwords:
There are no default passwords for any users. The passwords to use for Oracle VM Manager, Oracle Database 11g XE, and Oracle WebLogic Server have been set by you during this installation. In the case of a default install, all passwords are the same.

Oracle VM Manager UI:
  http://ovmtest.tpgi.com.au:7001/ovm/console
  https://ovmtest.tpgi.com.au:7002/ovm/console
Log in with the user 'admin', and the password you set during the installation.

Please note that you need to install tightvnc-java on this computer to access a virtual machine's console.

For more information about Oracle Virtualization, please visit:
  http://www.oracle.com/virtualization/

Oracle VM Manager installation complete.

Please remove configuration file /tmp/ovm_config-FnkP4.

Tuesday, April 10, 2012

How to Install OID OVD 11.1.1.6 on Oracle Linux 64bit

In this post, we address how to install OID and OVD 11.1.1.6 step by step.

It's my first time to install OID and OVD. :)

1. Run RCU to install the schema of OID and OAM



2.  install jrockit since it's 64 bit linux system
./jrockit-jdk1.6.0_29-R28.2.2-4.1.0-linux-x64.bin

3. install weblogic
java -jar  wls1036_generic.jar

4. install OID, OVD 11.1.1.6
./runInstaller &

Choose oracle inventory location and hit OK








step1: Hit Next



step 2: Choose Skip Software Updates and Hit Next



step 3:



step 4:



step 5:



step 6:



step 7:



step 8:






step 9:





5. Create Domain by configuration wizard (config.sh on linux)

[oracle@vrrIDM11g bin]$ ./config.sh &

step1:



step2:



step3:



step4:



step5:



step6:



step7:



step8:



step9:



step10:



step11:



step12:




Post Installation:

1. Admin Console:

http://vrridm11g:7001/console

2. em console

http://vrridm11g:7001/em

3.odsm (Oracle Directory Services Manager) console

http://vrridm11g:7005/odsm

4. OID server port:

non ssl: 3060

ssl: 3131

5. OVD port:

admin port: 8899 (https)
ldap:  6501
ldaps: 7501