Thursday, October 29, 2009

Introducing Ozone - Private Cloud in a Box ...

What is WSO2 Ozone?
The subject says it all !!! - Private Cloud in a box.
And .. It's a tool we built because we needed it. Its not a WSO2 product - its just a tool we find very useful and we believe others will too and hence is available as an open source project.

A more formal definition would be,

"WSO2 Ozone provides a portal based system for running a Xen-powered private cloud. Ozone has a node controller (running on Dom0) for managing VMs (for starting/stopping/creating DomUs), a cluster controller for managing a set of machines running the node controller and a Web portal to allow a person to start/stop/manage their own VMs."

Check out more interesting answers to,
  • Why not just use Xen?
  • Why not just use Eucalyptus?
  • Why yet another cloud platform?
  • Why not just use Amazon EC2?
at project home page. And most importantly, download & use it.

Saturday, October 17, 2009

Web Services Framework for C++(WSO2 WSF/C++) 2.1.0

Looking for way to consume and write web services in C++? Look no more. WSO2 WSF/C++ 2.1.0 is here to stay.
The library provides,
  • Client API for consume Web Services
  • Service API for writing Web Services
  • Attachment support using MTOM
  • WS-Addressing,WS-Policy, WS-Security support
  • Stub generation
Interested? checkout the project documentation ,project page & Dummy's Guide to Writing Web Services Clients with WSO2 WSF/C++.

Monday, October 12, 2009

WSO2 SOA Workshop - Santa Clara,CA



Learn how to implement SOA at your organization from the experts. Click here to register.

Wednesday, October 07, 2009

WSO2 Technical update - 2009 Q2

We at WSO2 are evolving all the time.... Hence it's utmost important to update our customers & users of the latest we have. Here's how we look like by the end of 2009 Q2. All the products mentioned here are open source.
Welcome to witness the creation of a giant yet light weight, feature rich yet open source SOA portfolio....


Feel free to use this slide deck to introduce WSO2's array of products to your management/technical team.

Friday, October 02, 2009

How to check size of a Oracle database?

I wanted to determine the size of a Oracle database used by an application. Of course following SQL plus command would do the job very easily.

select sum(bytes)/1024/1024 from dba_data_files;

But I wanted to get more statistics & most importantly in a formatted manner as well. Then I came across following script written by Jeffrey M. Hunter. This is a pretty clean script which outputs quite a few useful statistics of your Oracle database (very much similar to 'df' command). Hope this helps someone.

-- +----------------------------------------------------------------------------+
-- | Jeffrey M. Hunter |
-- | jhunter@idevelopment.info |
-- | www.idevelopment.info |
-- |----------------------------------------------------------------------------|
-- | Copyright (c) 1998-2008 Jeffrey M. Hunter. All rights reserved. |
-- |----------------------------------------------------------------------------|
-- | DATABASE : Oracle |
-- | FILE : dba_file_space_usage.sql |
-- | CLASS : Database Administration |
-- | PURPOSE : Reports on all data file usage. This script was designed to |
-- | work with Oracle8i or higher. It will include true TEMPORARY |
-- | tablespaces. (i.e. use of "tempfiles") |
-- | NOTE : As with any code, ensure to test this script in a development |
-- | environment before attempting to run it in production. |
-- +----------------------------------------------------------------------------+

SET LINESIZE 145
SET PAGESIZE 9999
SET VERIFY OFF

COLUMN tablespace FORMAT a18 HEADING 'Tablespace Name'
COLUMN filename FORMAT a50 HEADING 'Filename'
COLUMN filesize FORMAT 99,999,999,999 HEADING 'File Size'
COLUMN used FORMAT 99,999,999,999 HEADING 'Used (in bytes)'
COLUMN pct_used FORMAT 999 HEADING 'Pct. Used'

BREAK ON report
COMPUTE SUM OF filesize ON report
COMPUTE SUM OF used ON report
COMPUTE AVG OF pct_used ON report

SELECT /*+ ordered */
d.tablespace_name tablespace
, d.file_name filename
, d.file_id file_id
, d.bytes filesize
, NVL((d.bytes - s.bytes), d.bytes) used
, TRUNC(((NVL((d.bytes - s.bytes) , d.bytes)) / d.bytes) * 100) pct_used
FROM
sys.dba_data_files d
, v$datafile v
, ( select file_id, SUM(bytes) bytes
from sys.dba_free_space
GROUP BY file_id) s
WHERE
(s.file_id (+)= d.file_id)
AND (d.file_name = v.name)
UNION
SELECT
d.tablespace_name tablespace
, d.file_name filename
, d.file_id file_id
, d.bytes filesize
, NVL(t.bytes_cached, 0) used
, TRUNC((t.bytes_cached / d.bytes) * 100) pct_used
FROM
sys.dba_temp_files d
, v$temp_extent_pool t
, v$tempfile v
WHERE
(t.file_id (+)= d.file_id)
AND (d.file_id = v.file#)
/

Please respect the copyright message from the owner.

Sunday, September 27, 2009

Free online training on WSO2 ESB

We @ WSO2 will be once again hosting a free 3 hour online training on WSO2 Enterprise Service Bus. WSO2 ESB is rapidly becoming a default ESB of choice for many companies switching to Open Source alternatives.

This specially designed course will help you to,
  • Evaluate how the ESB fits into your environment
  • Understand overall architecture of the system
  • Learn how to use the simple administration web interface
If interested, click here to register.

Saturday, September 19, 2009

Keeping track of vehicle service records

All this time I have been using a diary to keep track of service records of my daily runner. After going through this, a friend suggested that it would be nice to have an on-line version of it.

Interestingly, you cannot find many freely downloadable templates on the Internet either. So here comes a **very basic** electronic draft. Feel free to add features to this & let me know about it as well.

Initially I thought of creating a Google Gadget of this... may be some other day when I have time. This should make up a good sample for forth coming WSO2 Gadget Server too...