Posts

Showing posts from 2013

Happy Birthday OpenStack!!!

Image
OpenStack celebrates it’s third birthday today! 
I would like to wish a Very Happy Birthday to OpenStack! :)




Visit the OpenStack birthday page for more information!

Apache Stratos - The Open Source PaaS Framework

Image
Recently, WSO2 proposed the "Apache Stratos" as an incubating project at the Apache Software Foundation. The vote for Stratos proposal started about a week ago.

We are really excited to hear the news that voting has passed less than 20 hours ago and Apache Stratos project is now officially in the incubator.

Apache Stratos will be a polyglot PaaS framework and it will be possible to run on any IaaS supported by jclouds. Interestingly, the jclouds is also currently an Apache incubating project.

The proposed Apache Stratos committer list includes developers from WSO2, Cisco, SUSE, Citrix, NASA Jet Propulsion Lab (JPL), Sungard and Engine Yard. I'm really happy that I'm also in the initial committer list!! :)

We recently released the Stratos Foundation 2.0 GA, which will be the last release of "Stratos" from WSO2.

The Stratos 2.0 GA release is also featured in many technology web sites such as InfoQ, JAXenter, BusinessWireKavis Technology etc.

Following diag…

WSO2 Stratos 2.0 Foundation is Released!

We are happy to announce that WSO2 Stratos 2.0 Foundation General Availability (GA) is released!!!

Nothing much changed from the RC2 release. Please refer my previous post for more details about Stratos 2.0 and here is link to release note mail!

We updated our Amazon EC2 images with Stratos 2.0 GA release and you can find more details in our Quick Start Guide wiki page.

Visit our Stratos wiki page for more information: http://docs.wso2.org/wiki/display/Stratos200/WSO2+Stratos+Documentation

WSO2 Stratos 2.0 Foundation - RC2 Released!

Today we released WSO2 Stratos 2.0 Foundation Release Candidate 2, which will be the final release candidate of the upcoming Stratos 2.0 GA.

WSO2 Stratos 2.0 is the next major version of WSO2 Stratos 1.x, the most complete, enterprise-grade, open PaaS, with support for more core services than any other available PaaS today.

This release also comes with a very easy to configure demo setup that can be run on Amazon EC2 and you can find more details in our Quick Start Guide wiki page.

Following are the Key features available in Stratos 2.0.

Key Features
Artifact Distribution Coordinator (ADC) with support for external Git and GitHub repositories.
Plug-able architecture support for adding new cartridgesSupport for PHP, Tomcat and MySQL and WSO2 Carbon cartridges (AS, ESB, BPS etc.)Support for puppet based cartridge creation for WSO2 Carbon cartridges
Elastic Load Balancer (ELB) with Cartridge supportMultiple IaaS support (EC2, Openstack, vCloud) through JClouds APIsPolicy based Auto-scali…

Installing NS-2 on Ubuntu

Image
In this year I started following the Master of Computer Science (MCS) at University of Colombo School of Computing and these days I'm following a module named "Advanced Concepts in Data Communication Networks"

The lecturer asked us to install a program called NS-2 and to play around with it as we will get an assignment on it soon!

As usual when I hear a new name, I just googled for it and found the official website: http://www.isi.edu/nsnam/ns/

What is NS-2?
NS-2 is a Network Simulator. According to Wikipedia, NS-2 is a "discrete event network simulator" and the latest available version as of now is NS-3, which is available at http://www.nsnam.org/
The difference between NS-2 and NS-3
The FAQ at www.nsnam.org clearly mentions the difference between NS-2 and NS-3. NS-3 is a new software development effort and uses C++ programs or python scripts to define simulations. However NS-2 uses OTcl for scripts. 
So the most important thing here is that NS-2 scripts will…

OpenStack Single-Node Installation with DevStack

In my previous post, I explained how to install OpenStack in Multi-Node environment with DevStack.

If you want to install the OpenStack in a Single Machine, you can follow the same steps for the Controller Node Installation in my previous post.

You can omit the "MULTI_HOST=1" line from the localrc.

For example, following is a "localrc" configuration used to install OpenStack in a single machine.


HOST_IP=10.100.0.29 FLAT_INTERFACE=eth0 FIXED_RANGE=192.168.17.0/25 FIXED_NETWORK_SIZE=126 FLOATING_RANGE=10.100.0.64/28 ADMIN_PASSWORD=labstack MYSQL_PASSWORD=root RABBIT_PASSWORD=rabbitmq SERVICE_PASSWORD=supersecrete SERVICE_TOKEN=token

Installing Multi-Node OpenStack Folsom with DevStack

Image
These days we are preparing to release WSO2 Stratos 2.0 PaaS Foundation and we needed to install OpenStack in multiple nodes in our lab environment.

In this guide I'm going to explain how to install OpenStack Folsom using the DevStack script [1] and also how to install additional Compute Nodes.


Installing OpenStack was not an easy task. I spent last 5 days to install and configure the OpenStack and tried various guides.


Earlier we used Damitha's guide to Install OpenStack Essex on a single node [2]. Then we followed different guides. Finally we decided to try the DevStack script, which is a great option to install and run an OpenStack cloud in a local development environment.


Using Nova Network
This guide uses the Nova Network instead of the Quantum Network plugin. I followed a really good guide [3] at NetworkStatic.net, which also use the Nova Network. Quantum Network Plugin is bit complicated and we need two physical network interfaces. I'm planning to install OpenStack…

Oracle VM VirtualBox on Linux - Failed to access the USB subsystem

Image
As you may know already, Oracle VM VirtualBox is a powerful x86 and AMD64/Intel64 virtualization software.

I installed it on my laptop, which runs on Linux Mint 14.

Whenever I go to VM settings, I get a warning saying "Failed to access the USB subsystem". The warning also provides the solution!

"VirtualBox is not currently allowed to access USB devices. You can change this by adding your user to the 'vboxusers' group. Please see the user manual for a more detailed explanation."


The vboxusers group is created during the VirtualBox installation.

Now you can use following command to add your username to vboxusers group.

$ sudo usermod -a -G vboxusers username
Please remember to log out and log back in again.

You can see whether you are in vboxusers using following command.

$ cat /etc/group | grep vboxusers

That's it!

No more warning message and you can use USB devices with VirtualBox!

Demystifying OSGi - Java Colombo Meetup - 24 January 2013

The 6th Java Colombo Meetup [1] was held on 24th January 2013 (Last Thursday) at WSO2 premises. The topic on that day was "Demystifying OSGi" and it was presented by Sameera Jayasoma and Pradeep Fernando.
It was the second time I participated for this meetup. Both Sameera (@sameerajayasoma) and Pradeep (@pradeepfn) presented really well and they answered every question asked.

I joined WSO2 recently and we also had internal training sessions on OSGi & OSGi-based WSO2 Carbon Platform [2]. I would say Sameera and Pradeep are experts on OSGi.
Following is the presentation. You can also go through it to get an idea of OSGi.
Demistifying OSGi - Colombo Java Meetup 2013 from Sameera Jayasoma
I must also thank Prabath (@prabath) for organizing the Java Colombo Meetup and I admire his effort to bring the Sri Lankan Java developer community together.

Here are some photos of the event!

Next Meetup: The next meetup [3] will be the 1st Anniversary of Java Colombo Meetup and it is sch…

Filling the gap!!

So, my last blog post is back in 2009!! So many things happened in my life last few years.

Here are some highlights:

2010July, 2010:Moved to Habarakada, Sri Lanka. It was not easy moving to a whole new place after living for more than 2 decades in the same place, which used to call "Home"!September 2010:Started using Windows 7 for the first time at office! October, 2010:Participated to APICTA 2010 Malaysia with my manager. The InfoTrack product we presented there won the Gold Award at NBQSA 2010 in the commercial R&D category and won Silver overall.December, 2010:Bought Sony Ericsson Vivaz! My first smartphone! 2011April, 2011:Sri Lanka lost in ICC World cup 2011 final. It was a very sad day!July, 2011:I was offered Associate Tech Lead position at Informatics International LimitedOctober, 2011:Graduated with First Class Honors in BSc (Hons) Software Engineering from the Informatics Institute of Technology, Sri Lanka which is affiliated to the University of Westminster,…