Caching in OSB 12c without Out-Of-Process Coherence Servers

Introduction One of the most popular use cases for Oracle Service Bus (OSB) is the mediation of synchronous service interactions. In this scenario, a client invokes the service through a proxy instead of the actual service endpoint, guaranteeing that the consumer is decoupled from the producer. This type of architecture allows producers to be changed […]

Tips for Installing WCSites11gR1on Exalogic

This paper can be downloaded by clicking: Installing WebCenter Sites on Exalogic Ver1.0   Tips for Installing WebCenter Sites 11gR1 on Exalogic   Background: Recently I had the opportunity to install WebCenter Sites on Exalogic. Everything, including the database, was to be installed on the same Exalogic box. In this aspect the installation was different […]

Exalogic Virtual Tea Break Snippets – EATT Create Assembly OTD/WLS Cookbook

In the blog entry “Exalogic Virtual Tea Break Snippets – Create Assets Evolution” I described how the our asset / asssembley creation scripts had evolved to Python as a processing language and JSON as a file format. As part of that blog I briefly described the assembly configuration section and how it defines scripts that […]

Using Automatic Network Resource in Solaris Zone on Exalogic

This article will show you how to use Automatic Network (anet) resource to configure IPoIB and EoIB bonded interfaces in a Solaris zone on an Exalogic machine running Solaris 11.1. Let’s start with a basic configuration of a zone with no network interface configured: zonecfg:zoss01> info zonename: zoss01 zonepath: /zones/zoss01 brand: solaris autoboot: false bootargs: […]

Exalogic Virtual Tea Break Snippets – Pythonised SimpleExaCli

Having completed the CreateAssembly (Create Assets) re-write of the SimpleExaCli I decided it was time to migrate some of the additional functionality I use and enhancing the outputs to match my requirements. This quick blog entry will describe the currently migrated commands and their new output structure. In accordance with my previous CreateAssembly blog I […]

Exalogic Virtual Tea Break Snippets – Create Assets Evolution

Following the success of the CreateAssets shell script and it’s subsequent merging into the SimpleExaCli script I decided to extend the features and leverage the full functionality of the 2.0.6.x (Echo) IaaS. As part of the revisit of the code a rewrite in python was performed and the primary reason for this was it allowed […]

Exalogic Virtual Tea Break Snippets – IaaS Utility vServer

Following a number of discussions around the SimpleExaCli Script and the ModifyLVM Script that are available from this blog site I decided to package the scripts and any future scripts within a simple Utility vServer that was then converted to a template using the SimpleExaCli script. The advantage of constructing this standard utility vServer is […]

Exalogic Virtual Tea Break Snippets – Modifying the Default LVM Guest Template

With the latest release of the Exalogic Virtual Environment (2.0.6.0.0) an number of modifications have been implemented and one of these is the introduction of an LVM based Guest Template. LVM was a much requested feature for the base template but it’s introduction means the information provided in my blog entry Exalogic Virtual Tea Break […]

Exalogic Virtual Tea Break Snippets – Creating Assets with the Simplified Exalogic Cli (A SimpleExaCli.sh Tutorial)

In a previous blog entry I described a script for creating assets (Distribution Groups, vServers, etc) but since that initial script I have written and blogged about the Simple Exalogic Cli Script and therefore have decided to write this short tutorial on the “–create-asset” command option. This version is expanded from it’s original release last […]

Solaris on Exalogic – Using netgroup with NIS

On Exalogic, a name service such as NIS or LDAP is required for NFSv4 to work properly, therefore most customers have this configured in their environments. If you are interested in how to configure NIS on Solaris 11.1, this article “Solaris on Exalogic – Setup NIS on Solaris 1.1” will be helpful. A name service […]

Exalogic Virtual Tea Break Snippets – Modifying Memory, CPU and Storage on a vServer

With the current release of Exalogic Virtual the Enterprise Manager Ops Center interface does not provide a support method for increasing the reasources associated with a running vServer. Therefore to increase the CPU, Memory or Disk size of a vServer we need to recreate vServer using the same Network information, mapped storage etc but with […]

Solaris on Exalogic – Setup NIS on Solaris 11.1

For those customers who are running the Solaris version of Exalogic Elastic Cloud Software 2.0.4.0.* on Exalogic will know that the Operating System has been upgraded from Solaris 11 Express to Solaris 11.1. There is a MOS note (ID: 1491906.1) on how to setup NIS on Solaris 11 Express, it has helped a lot of […]

Exalogic Virtual Tea Break Snippets – Simplified Exalogic IaaS Cli

In previous blogs I have built and documented a number of extensions to the standard Exalogic IaaS Cli that either simplify the Cli usage or provide additional functionality. Following feedback from the various user I have enhanced and amalgamated a number of my scripts into a new single “SimpleExCli.sh”. In addition the SimpleExCli.sh script contains […]

Exalogic Virtual Tea Break Snippets – Power Cycling Your Virtual Exalogic Rack

On rare occasions you may need to Power Cycle / Shutdown your Virtualised Exalogic Rack. Although the Power Cycle for the Physical Rack is documented in the “Exalogic Machine Owners Guide” and the Control Stack procedure is defined within a MOS note we do not have a single source that documents the Power Down / Power Up procedure for a […]

Exalogic Virtual – Creating a vServer using LVM2 for the root file-system

For a customer Proof of Concept – demonstrating the benefits of Oracle Fusion Middleware on Exalogic Virtual – we decided to build a custom base template. All vServers created by using this custom base template enable some customer specific configuration settings, activation of additional services and yields flexibility for the file-system layout.

We decided to use Logical Volume Management LVM2 to achieve the goal of file-system flexibility. This can easily be implemented, as the Base vServer Template, delivered by Oracle, already has all the necessary rpm’s installed. The Default Gemini and Navstar vServer Templates come with a fixed partition and file-system layout. To keep a simple layout we went for one logical volume for the root file-system and another volume for swap. By using an ext3 file-system on top of the logical volume for root we are now able to re-size it as needed during normal operation. So whenever logs are filling up /var, or pre-req checks fail due to a lack of space in /tmp we can easily correct this.
In this first blog I will describe how to build a vServer using LVM2. As I said before, for the PoC we planned to use this vServer as a new custom base template. In a second blog post I will show the steps needed to create a vServer template out of this vServer.
This is very similar to what my colleague Andrew Hopkinson has already blogged about here, but needs a few extra steps because of the LVM2 usage.

Solaris on Exalogic – Effect of VNIC over eoib0 and eoib1

There are lots of reason for customer to create VNIC over eoib0 & eoib1 on a compute node running Solaris, two typical examples are
1) compute node needs to connect to a VLAN over the EoIB network
2) there are containers running on the comput…

Solaris on Exalogic – Transitive Probe-based Failure Detection

On Exalogic, no matter which supported Operating Systems that a compute node is running, it relies on the IB gateways (NM2-GW) to provide both internal (IPoIB) and external (EoIB) network connectivity. Each compute node is physically connected to two I…

Solaris on Exalogic – Reverse the active/pasive interface of an IPMP group

In a customer engagement, I found that that their bond0 and bond1 configurations look like this:

root@el01cn01:~# ipmpstat -i
INTERFACE   ACTIVE  GROUP       FLAGS     LINK      PROBE     STATE
eoib0       no      bond1       is—–   up        disabled  ok
eoib1       yes     bond1       –mb—   up        disabled  ok
bond0_0     yes     bond0       –mb—   up        disabled  ok
bond0_1     no      bond0       is—–   up        disabled  ok

notice that the active interface for bond1 is eoib1 while the active interface for bond0 is bond0_0

Although it is perfectly fine for the EoIB traffic and IPoIB traffic to go over different IB gateway, customer want like to re-configure it so that both type of traffic will go through the same IB gateway.

First of all, we turn on “standby” property for eoib1 and turn off “standby” property for eoib0 with the following commands:

root@el01cn01:~# ipadm set-ifprop -p standby=on -m ip eoib1
root@el01cn01:~# ipadm set-ifprop -p standby=off -m ip eoib0

The status of the IPMP groups look like this now:

root@el01cn01:~# ipmpstat -i
INTERFACE   ACTIVE  GROUP       FLAGS     LINK      PROBE     STATE
eoib0       yes     bond1       ——-   up        disabled  ok
eoib1       yes     bond1       -smb—   up        disabled  ok
bond0_0     yes     bond0       –mb—   up        disabled  ok
bond0_1     no      bond0       is—–   up        disabled  ok

Then we forced a failover by detaching eoib1 from bond1 with the following command:

root@el01cn01:~# if_mpadm -d eoib1

The status of the IPMP groups look like this now:

root@el01cn01:~# ipmpstat -i
INTERFACE   ACTIVE  GROUP       FLAGS     LINK      PROBE     STATE
eoib0       yes     bond1       –mb—   up        disabled  ok
eoib1       no      bond1       -s—d-   up        disabled  offline
bond0_0     yes     bond0       –mb—   up        disabled  ok
bond0_1     no      bond0       is—–   up        disabled  ok

Then we re-attach eoib1 back to bond1, because it is a standby interface, failback will not happen:

root@el01cn01:~# if_mpadm -r eoib1

That’s how it looks like after the re-configuration:

root@el01cn01:~# ipmpstat -i
INTERFACE   ACTIVE  GROUP       FLAGS     LINK      PROBE     STATE
eoib0       yes     bond1       –mb—   up        disabled  ok
eoib1       no      bond1       is—–   up        disabled  ok
bond0_0     yes     bond0       –mb—   up        disabled  ok
bond0_1     no      bond0       is—–   up        disabled  ok

Exalogic Virtual Tea Break Snippets – Wrapping the Exalogic iaas cli

Having worked with the Exalogic Command Line for a while I
decided to wrap some of the common functions in a simplified bash
script. This saves me creating the keys, connecting and
identifying the appropriate Ids. Instead I can simply specify the
Name and the script will do the rest of the work. This initial
version has just a few commands in it but as I add more the blog
entry will expand, as will the script, and document the new
functionality.

Exalogic Virtual Tea Break Snippets – Cloning an existing vServer

Following on from my Blog entry “Scripted

Template Generation from an existing vServer” I have built a
wrapper script that can be used to execute the Template Generation
script or Clone a specific vServer. This script was not
incorporated into the original script because it must be executed
on a Compute Node with access to the /OVS/Repositories directory
and the Compute Node are a minimal install and hence do not have
all the required software available. As part of the Cloning
process this new script will create an Assets input file that can
be used with the CreateAssets.sh describe in the blog “Scripting

Asset Creation” and optionally execute the result to create
the clone.

To successfully run the script you will need the following 3
scripts located in the same directory on a machine with the EMOC
cli/api rms installed.