Category Archives: Oracle

Oracle Public Cloud – Oracle Service Bus – Opening up a network port for the Service Proxy

This is a brief article on using the Oracle Service Bus capability of SOACS in the Oracle Public Cloud.  If you want to try it out, go ahead and ask for a public trial.  SOACS comes as part of the JCS Trial environment.

https://cloud.oracle.com/en_US/java?resolvetemplatefordevice=true

Continue reading

Oracle EBS 12.2.4 Single Node on VirtualBox – Getting the Binaries

Installing EBS 12.2.3 Vision on Virtualbox using pre-built VM appliance (on a Windows host) | Srini Chavali’s Blog

This is a great blog from Srini Chavali on the Oracle PM team on installing EBS on VirtualBox.  The issue that I have had is that it shows the old E-Delivery Site. ūüė¶

Here is a link to his blog.

http://chavalis.blogspot.com/2014/04/installing-ebs-1223-vision-on.html

My screen shots will show you the "new and improved" EDelivery site and then unpackng with the "Assembly" tool on my Mac

Oracle Software Delivery Cloud

Select the product.

You can de-select "Programs" and have only Linux/OVM/VMs

Click through

Click through

Accept Terms and Restrictions

Download the Binaries (16 Files Total)

This is not so obvious on which files to select.

Select the following:

V54270-01_1of2.zip

V54270-01_2of2.zip

thru….

V54277-01_1of2.zip

V54277-01_2of2.zip

 

Login into support.oracle.com

You need to follow the MOS Notes from Srini’s Blog.

On MacOS EBS1224 ‚ÄĒ unzip ‚óā assemble_OSX.sh ‚ÄĒ 80√ó53

On MacOS EBS1224 ‚ÄĒ unzip ‚óā assemble_OSX.sh ‚ÄĒ 80√ó53

VirtualBox on Mac Nit with Cisco VPN

I have to use Cisco VPN to log into the corporate network. ¬†This causes me to lose connectivity to my VBox guest via the host only adapter (vboxnet0). ¬†This is expected. ¬†However, once I logoff the VPN, I am unable to ping the adapter. ¬†In my case, the adapter for this guest is assigned ip address 192.168.50.5. The simple solution is to Log into Terminal and refresh the interface…so you don’t have to reboot.

sudo ifconfig vboxnet0 down
sudo ifconfig vboxnet0 up

Probably should write an Automater script for that…something like

do shell script "sudo ifconfig vboxnet0 down" with administrator privileges

Ahh better.

VirtualBox 4.3.4 Released

For Windows users, I believe this release took care of some of the networking issues when using the host adapter. ¬†I uninstalled VirtualBox and then re-installed 4.3.4. ¬†Virtual machines need to be stopped. ¬†When I used vagrant up. I had some issues with the driver. …but I also had to make sure that the virtual machines were not in a saved state or the driver won’t be installed and therefore the virtual machine will not be brought up.

vagrant-soasuite_admin_1385504136---Settings

 

I also confirmed that the Guest Additions do not need to be updated.  Yeah!

Announcement-New vagrant box uploaded – centos-6.4-x86_64.box”

https://dl.dropboxusercontent.com/u/97268835/boxes/centos-6.4-x86_64.box

This has VBGA 4.3.2 installed and is smaller in size. I also disabled selinux and added a puppet bootstrap install script to the code.  Therefore in your Vagrantfile  you will need to change the following:

~~~

config.vm.box = “centos-6.4-x86_64”
config.vm.box_url = “https://dl.dropboxusercontent.com/u/97268835/boxes/centos-6.4-x86_64.box”

~~~

This was made via http://packer.io with this helpful post:

http://ariya.ofilabs.com/2013/11/using-packer-to-create-vagrant-boxes.html

Updating VirtualBox Guest Additions in Vagrant

Change happens, the centos64 vagrant with VirtualBox Guest Additions are now out of date with the rollout to 4.3.2. ¬†I ¬†don’t want to update those additions quite yet since it might impact other users or post a new box which has the latest additions. ¬†I have done some preliminary testing with the vagrant plugin below. Give it a try and tell me if you like it.

I was looking for this because I was getting checksum errors when copying files from the /vagrant directory…and was frustrated that I would have to run “vagrant provision” after a 20 minute failure. ¬†It is better to upgrade the box.

https://github.com/dotless-de/vagrant-vbguest

11/15/2013 – Update

The version that I was using 0.9 (vagrant plugins list) ¬†Generally worked ok..however I would have some issues when a box already add the guest additions already installed. ¬†Once I started with packer.io…my box creation days are wildly simplified..so I think I will just create a new box with the same name and post it with the latest VBGA. ¬†Open for comments on this.

Re-install VirtualBox for use on OSX 10.9 Mavericks

I was in an internal workshop yesterday and was given an image to use in the workshop. ¬†Sadly, it wasn’t a Vagrant scripted image. ūüėČ ¬†Anyways.

I have a Macbook Air (2013)  and had VirtualBox 4.2.18 installed.  The image that I was using was using bridged networking and the virtual machine networking failed upon start-up.

Well…the answer to the story is re-install VirtualBox and all is right with the world. ¬†You won’t notice the problem if using Vagrant…since by default you are using NAT networking.

— Append answer to this:

Make sure that you run the uninstall utility in the install package, reboot, and then run the uninstall utility in the install package to make sure everything is cleaned out…then run install.

 

Tagged

Install Oracle Service Bus with Vagrant

Oracle Service Bus

Oracle Service Bus

I am working with a team on a  federated a service bus design for a customer.  It is one thing to sketch out a design on paper and it is another to start looking at more implementation specific details.  

While I have installed OSB many times, I wanted to have an installer which would have more agility. While I like virtual machine templates, they have limitations when you start changing  fundamental infrastructure pieces such as the JVM, the OS, patches to the AppServer.  From a configuration management perspective, developers get caught in not incorporating those changes in their work and this leads to errors when the application goes through the deployment cycle to dev, test and prod.  In addition, many of these templates are really made for production rollout and management and are tuned accordingly.

Over the past week, I have been working on setting up a focused automated install and domain creation for OSB (ps6). ¬†I have posted the install on github. ¬†As before, I have been using Edwin Biemond’s modules and making them task/product specific in a single package that works everytime for a developer or someone evaluating. ¬†I know there are many postings about installing OSB. I am more interested in removing the cruft so that you can get started using the product in very short order. ¬†In this case, you can have the bits installed and the running domain complete in about 15 minutes.

https://github.com/matthewbaldwin/vagrant-osb

This took Edwin Biemonds sample OSB template and focused just on installing OSB with the latest modules that he had published.  His module scripts had migrated since he initially wrote them and this is a self contained script that you can use.

I am not going to go over the install process, that is pretty self explanatory (read the WLS 1212c on this blog for some analogous detail on getting Vagrant installed on a Windows machine).

Some features of the site.pp script that I want to highlight.

  1. Patching WLS 10.3.6 with BSU so that you are always using the latest patchset.
  2. OSB Domain Creation and Starting the Domain
  3. Create keystores for automatic WLST login for scripting.

Edwin Biemond’s github repos can be found here:

https://github.com/biemond

Enjoy…

Matt

Tagged , ,

Oracle WebLogic 12c (12.1.2.0.0) with Vagrant

With special help from Oracle Red Samurai Edwin Biemond, here are the steps on creating an Oracle WebLogic 12c domain with Vagrant on a Windows machine acting as the host.

Edwin Biemond provided unparalleled support and his Puppet scripts are first rate. He can be found on github at https://github.com/biemond

Getting Oracle WebLogic 12c Version 12.1.2.0.0 stood up in under 10 Minutes*

What you need to download to get the environment stood up.

KIT REQUIRED:

Download and install the latest Version of VirtualBox:

http://www.virtualbox.org

Download and install Vagrantup:

http://www.vagrantup.com

Download and Install Git for Windows:

https://help.github.com/articles/set-up-git

For Provisioning Oracle WebLogic:

Download JDK7 u40

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Make sure you rename the jdk to jdk-7u40-linux-x64.tar.gz from jdk-7u40-linux-x64.gz

JDK7 Changes of Note as of 10/15/2013

Oracle released a new version of the JDK 1.7u45. This has been reflected and tested in the site.pp file. If you have an older JDK you will need to modify site.pp only. The JDK7 Puppet module does not need to be modified.

site.pp is located in c:\….\vagrant-wls12c-centos64\puppet\manifests\site.pp

Download Oracle WebLogic 12c version 12.1.2.0.0

http://www.oracle.com/technetwork/middleware/downloads/index-087510.html

Optional Tools:

PuTTy Terminal / PuTTy Key Generator

http://www.chiark.greenend.org.uk/~sgtatham/putty/

MacOS Users:

This was originally developed on MacOS and then ported for Windows users.

 

* Truth in Advertising Statement:

On the initial ‘vagrant up’ run, you will need to download the centos64.box on the initial run from dopbox. This can take more then 10 minutes, but at least I warned you.

 

The rest of the work has been done for you…have fun.

Getting Oracle WebLogic 12c Version 12.1.2.0.0 stood up in under 10 Minutes*

Vagrant – Google Chrome

vagrantup.com

Vagrant - Google Chrome

Vagrant – Downloads – Google Chrome

Vagrant - Downloads - Google Chrome

Vagrant – Downloads – Google Chrome

Vagrant - Downloads - Google Chrome

Open File – Security Warning

Open File - Security Warning

Vagrant Setup

Vagrant Setup

Vagrant Setup

Vagrant Setup

Vagrant Setup

Vagrant Setup

Vagrant Setup

Vagrant Setup

GitHub – Google Chrome

GitHub - Google Chrome

Set Up Git · GitHub Help РGoogle Chrome

Set Up Git · GitHub Help - Google Chrome

matthewbaldwin/vagrant-wls12c-centos64 – Google Chrome

matthewbaldwin/vagrant-wls12c-centos64 - Google Chrome

GitHub you don't need an account…but you can always create one.

If you don’t login then press “Skip Setup” and the repository will be downloaded

GitHub you don't need an account...but you can always create one.

GitHub

GitHub

GitHub

GitHub

Add downloaded wls_121200.jar and jdk-7u40-linux-x64.tar.gz

C:\Users\mbaldwin\Documents\GitHub\vagrant-wls12c-centos64\

Add downloaded wls_121200.jar and jdk-7u40-linux-x64.tar.gz

Once you have synced with GitHub and a quicknote on how they are used

You will have directory structure in the image

Quick Note about VirtualBox shared files between the guest and the host when the virtual machine is booted up.

This directory is being shared with the guest VM. If you modify, delete or add files on the host, the same will happen on the guest and vice versa.

The directory c:\Users\mbaldwin\My Documents\GitHub\vagrant-wls12c-centos64 on the host is mapped to /vagrant on the linux guest. The subdirectories of \vagrant-wls12c-centos64 are also available on the Linux guest and automatically mounted.

Puppet modules and manifests on the host:

c:\Users\mbaldwin\My Documents\GitHub\centos64\puppet\modules (or manifests)

Are shown in the booted linux as

/vagrant/puppet/modules (or manifests)

AND

/etc/puppet/modules-0
/etc/puppet/manifests

 

 

Once you have synced with GitHub and a quicknote on how they are used

GitHub

GitHub

posh~git ~ vagrant-wls12c-centos64 [master]

posh~git ~ vagrant-wls12c-centos64 [master]

posh~git ~ vagrant-wls12c-centos64 [master]

Note that we don’t have a centos64 vagrant box to work with here. We will add this box in the Vagrantfile. This is a onetime operation.

posh~git ~ vagrant-wls12c-centos64 [master]

"vagrant up" posh~git ~ vagrant-wls12c-centos64 [master]

This is downloading the vagrant box specified in the Vagrantfile.

"vagrant up" posh~git ~ vagrant-wls12c-centos64 [master]

posh~git ~ vagrant-wls12c-centos64 [master]

Completed the download and now importing.

posh~git ~ vagrant-wls12c-centos64 [master]

posh~git ~ vagrant-wls12c-centos64 [master]

Booting the vm…based upon the vagrantfile.

posh~git ~ vagrant-wls12c-centos64 [master]

Whole Bunch of output

Whole Bunch of output

Big Pause posh~git ~ centos64 [master]

Just a quick note…this was from my test (Oracle Enterprise Linux) oel64.box. You will get the same pause.

Big Pause posh~git ~ centos64 [master]

Success – posh~git ~ centos64 [master]

Running is nodemanager as a linux service and AdminServer

Success - posh~git ~ centos64 [master]

Oracle WebLogic Server Administration Console – Google Chrome from Host Windows Machine

Since we port forwarded in the Vagantfile we can login from the host machine

login: weblogic/welcome1

Oracle WebLogic Server Administration Console - Google Chrome from Host Windows Machine

WebLogic Console

WebLogic Console

"vagrant ssh" posh~git ~ centos64 [master]

Running vagrant ssh gets you into the machine as user vagrant

"vagrant ssh" posh~git ~ centos64 [master]

login as oracle posh~git ~ centos64 [master]

You can then su -l oracle and have access to the guest.

From here you have all the commandline control you need over this server.

login as oracle posh~git ~ centos64 [master]

"vagrant box list" posh~git ~ vagrant-wls12c-centos64 [master]

Exit out of the ssh to the git command line and you can see that you have the new vagrantbox added to your list. You can use this box as a starter box for your other work.

"vagrant box list" posh~git ~ vagrant-wls12c-centos64 [master]

"vagrant destroy" – posh~git ~ vagrant-wls12c-centos64 [master]

With ‘vagrant destroy’ you then reset the box and when you run ‘vagrant up’ the Puppet scripts will run again.

Little Tip: If you chnage the provision scripts…you just need to run “vagrant provision”

"vagrant destroy"  - posh~git ~ vagrant-wls12c-centos64 [master]

Vagrant Documentation – Getting Started – SSH – For Windows Users

Information on setting up SSH with PuTTY…not really needed if using Git

http://docs-v1.vagrantup.com/v1/docs/getting-started/ssh.html

Vagrant Documentation - Getting Started - SSH - For Windows Users

PuTTY Download Page – Google Chrome

PuTTY Download Page - Google Chrome

PuTTY Key Generator

This procedure would be done after you import the vagrant box

PuTTY Key Generator

Load private key:

This key is generated when you first run vagrant

Load private key:

PuTTY Key Generator

PuTTY Key Generator

PuTTY Key Generator

PuTTY Key Generator

PuTTYgen Warning

PuTTYgen Warning

PuTTygen Save ppk

PuTTygen Save ppk

Save private key on your drive

Save private key on your drive

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

Select private key file

Select private key file

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

PuTTY Configuration

vagrant@vagrantoel64:~

vagrant@vagrantoel64:~