Archive for January, 2011

h1

SIGTRAN 7 Protocol – IP based network protocol…

January 28, 2011

SIGTRAN is the name, derived from signaling transport, of the former Internet Engineering Task Force (IETF) working group that produced specifications for a family of protocols that provide reliable datagram service and user layer adaptations for Signaling System 7 (SS7) and ISDN Communication protocols. The SIGTRAN protocols are an extension of the SS7 protocol family. It supports the same application and call management paradigms as SS7 but uses an Internet Protocol (IP) transport called Stream Control Transmission Protocol (SCTP). Indeed, the most significant protocol defined by the SIGTRAN group is SCTP, which is used to carry PSTN signaling over IP.

Example of product that uses SIGTRAN 7 protocol is CISCO BTS 10200 Softswitch. Below are the network configuration for Voice over Broadband services:-

Another product that uses SIGTRAN 7 protocol is Huawei’s UMG8900 Universal Media Gateway . Below are the picture and the product specification:-

  • Process capacity: Up to 220,000 VoIP / FoIP channels and 220,000 TDM trunks
  • Configurable as multi-access AMG and TMG
  • Local TDM Switching and stand-alone function
  • Series product capacity: Large, medium and small
  • Interfaces: E1/T1/STM-1, FE/GE, ATM STM-1/E3 and POS STM-1/STM-4
  • Protocols supported: H.248, PRA, R2, SIGTRAN (M2UA, IUA, V5UA) and V5
  • Configurable Jitter Buffer, VAD, CNG, EC, advanced mute detection and CODECs (G.711、G.723、G.729、G.726、AMR、T.38、VBD, etc.)
  • Built-in SG

For your guys information , Media Gateways and Softswitch are often used in NGN (Next Generation Network ) architecture that uses IMS and OpenEPC ( i’ve had discussed about NGN and OpenEPC in my previous blog last year..) . SIGTRAN 7  is rarely used in NGN , but it has it’s advantages and benefitt..In Telecommunication industry , like CELCOM , MAXIS , they used SIGTRAN 7 and SS7 signalling in their telecommunication equipment , mainly i think in their base station and softswicth…

For more info about SIGTRAN , here is the link:-

http://www.sigtran.ss7box.com/

Hope you guys enjoy about the info about SIGTRAN…see you all next week…have a great weekend!..

p/s:- This week there will be a Malaysia IT Fair at MidValley Megamall on 29/1/2011 (Saturday) …Low price for computers , notebooks …etc…Even you can get a Thumb Drive for as low as RM1..really…See you guys there….!..

h1

Introducing IBM WebSphere Application Server…

January 22, 2011

IBM® WebSphere® Application Server Community Edition (Community Edition) is a member of the IBM WebSphere Application Server family. Community Edition is a lightweight Java Platform Enterprise Edition (Java EE) application server built on Apache Geronimo, the open source application server project of the Apache Software Foundation. The community using Community Edition consists of all sorts of people and companies, who design, develop, deploy, or utilize Java EE solutions. It is supported on the following platforms: Windows, AIX, Linux, Solaris, i/OS and z/os.

If you intend to run critical applications that require high availability, and want sophisticated management console and tooling capabilities to help you deploy and debug your Java EE applications, then you should explore other IBM WebSphere Application Server products. For example, if you require scalability, enterprise-wide deployment, functional depth and robustness, or if you have high transaction volumes, want autonomic application deployment, or business goal-based application prioritization, look into WebSphere Application Server or WebSphere Application Server Network Deployment. If your company has a mainframe, you may also consider WebSphere Application Server for z/OS®.

Below is the picture of the IBM Websphere Application server administrative console:-

 

WebSphere Application Server V7 offers enhanced support for standards, emerging technology and a choice of development frameworks that simplifies programming models to increase developer productivity. Integral tooling makes the most of existing technology skills for rapid time-to-value.

  • Java EE 5 certification, EJB 3.0 support and Java Persistence API (JPA) and Java Development Kit (JDK) 6.0, deliver simplified programming models for building reusable persistent object
  • Web services support, including JAX-WS, SOAP 1.2, MTOM, XOP, WS-ReliableMessaging, WS-Trust, WS-SecureConversation, WS-Policy, and Kerberos Token Profile, simplifies interoperability in mixed environments
  • Web 2.0 support (via Feature Pack for Web 2.0) extends Service Oriented Architecture (SOA) by connecting external web services, internal SOA services, and Java Platform Enterprise Edition (JEE) objects into highly interactive Web application interfaces
  • Session Initiation Protocol (SIP) servlets simplify development with standardized support for interactive user sessions involving real-time multimedia elements such as voice, video, instant messaging and online games
  • Spring has certification for use with WebSphere Application Server to enable module-based programming
  • Single-step installation and configuration, wizards and default configurations, and easy- to-navigate documentation that includes extensive use of sample code help ensure fast and smooth start-up
  • WebSphere Application Server Feature Packs simplify the adoption of new standards such Services Component Architecture (SCA), and improve consumability by enabling users to selectively take advantage of new standards and features while maintaining a more stable internal release cycle

Well , that’s wraps up the introduction of IBM Websphere Application Server…To download it , here’s the download link (p/s:- you have to register first in order to download the software…)

https://www14.software.ibm.com/webapp/iwm/web/signup.do?source=was60&lang=en_US&S_PKG=was70_lnx&S_CMP=web_ibm_ws_appinfra_butt_was

The installation is quite straight forward..I presume you guys will not have any difficulties in installing it in your operating system…

For this week I am busy studying about Perl and MySQL…Also got a new Dreamweaver CS5 to try it out….See you guys next week….

h1

Proxmox VE ver 1.7 with kernel 2.6.32…Virtualization…

January 14, 2011

Proxmox Virtual Environment is an easy to use Open Source virtualization platform for running Virtual Appliances and Virtual Machines. Proxmox VE is an open source project, developed and maintained by Proxmox Server Solutions GmBH. Proxmox can be considered the same as VMWARE player , VMWARE Esxi , Virtual Box , Xen Hypervisor and some other virtualization product. Anybody who have some experience using these  virtualization software will have no problem installing , setup and using Proxmox VE.

Proxmox VE is based on Linux operating system , that is Debian Linux GNU distribution. You have to download the iso image file , burn it to a cd or you can use it in VMware player. Just boot the distribution up , and install the operating system . The  installation is based on web based configuration management. The software is intended to be used for dedicated server , and it uses solid  linux kernel.

System requirements Proxmox VE

Recommended 

  • Dual Socket, Quad Core CPU
  • CPU: 64bit (Intel EMT64 or AMD64), Multi core CPU recommended
  • Intel VT/AMD-V capable CPU/Mainboard (for KVM Full Virtualization support)
  • 8 GB RAM is good, more is better (grab as much as possible)
  • Hardware RAID with batteries protected write cache (BBU)
  • Fast hard drives, best results with 15k rpm SAS, Raid10
  • Two Gbit NIC (for bonding), additional NIC´s depending on the preferred storage technology
Minimum (for testing)
  • CPU: 64bit (Intel EMT64 or AMD64)
  • Intel VT/AMD-V capable CPU/Mainboard (for KVM Full Virtualization support)
  • Minimum 1 GB RAM
  • Hard drive
  • One NIC
Supported storage technologies (NAS/SAN)

The following standard technologies are supported.

  • Local storage (mandatory)
  • iSCSI
  • FC
  • NFS
  • DRBD
  • AoE
  • CIFS
  • … and all other Debian capable solutions

Proxmox Appliance Downloads picture below:-

Proxmox Start Page below:-

Proxmox VE Cluster enables central management of multiple physical servers. A Proxmox VE Cluster consists of one master and several nodes (minimum is a master and one node).

Main features

  • Centralized web management
  • One login and password for accessing all nodes and guests
  • Console view to all Virtual Machines
  • Migration of Virtual Machines between physical hosts
  • Synchronized Virtual Appliance template store

Create a Proxmox VE Cluster

First, install two Proxmox VE servers, see Installation. Make sure that each Proxmox VE server has a unique host name, by default all server has the same host name.

Currently the cluster creation has to be done on the console, you can login to the Proxmox VE server via ssh.

All settings can be done via “pveca”, the PVE Cluster Administration Toolkit

USAGE: pveca -l             # show cluster status
       pveca -c             # create new cluster with localhost as master
       pveca -s [-h IP]     # sync cluster configuration from master (or IP)
       pveca -d ID          # delete a node
       pveca -a [-h IP]     # add new node to cluster
       pveca -m             # force local node to become master

Define the master

Login via ssh to the first Proxmox VE server.

Create the master:

pveca -c

To check the state of cluster:

pveca -l

Add a node to an existing master

Login via ssh to a second Proxmox VE server. Please note, the node should not have any VM´s. (If yes you will get conflicts with identical VMID´s – to workaround, use vzdump to backup and to restore to a different VMID after the cluster configuration).

Join a node to the master:

pveca -a -h IP-ADDRESS-MASTER

To check the state of cluster:

pveca -l

Display the state of cluster:

pveca -l
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---ROOT---DATA
 1 : 192.168.7.104   M     A    5 days 01:43   0.54    20%     1%     4%
 2 : 192.168.7.103   N     A    2 days 05:02   0.04    26%     5%    29%
 3 : 192.168.7.105   N     A           00:13   1.41    22%     3%    15%
 4 : 192.168.7.106   N     A           00:05   0.54    17%     3%     3%

Now, you can start creating Virtual Machines on Cluster nodes by using the
Central Web Based Management on the master.

Well , that’s all for this week post. Hope to see you guys again next week with more IT techie stuff , computer news , and much more…

p/s: Almost forget , here is the download link for Proxmox:-

http://www.proxmox.com/downloads/proxmox-ve/iso-images/83-proxmox-ve-1/download

– You can find more info about Proxmox at here:-

http://www.proxmox.com/index.php

h1

CES 2011 International….January 6-9 , 2011…

January 8, 2011

 

This year computer show and conference , CES 2011 is held at Las Vegas , USA. There are many exhibitors around the world join together to show off their latest and most technological product for this year 2011. Starting from computer desktop , notebooks , Android phone and IPhone , projectors , IT gadgets , tablets , you just name it!.. My friend Shannon Morse from Missouri now is conducting an interview with the exhibitors there to ask them more about their product. She just had released some videos about the CES2011 coverage.

In my opinion , CES2011 is just like our Malaysia’s PC Fair that was held in KL Convention Center previously. The big different thing is that CES 2011 involves worldwide country ,…I mean , countries around the world exhibit their product there..

Well , to summarize , here some link of the videos:-

Try to check out this website about more on CES2011…

http://www.cesweb.org/

That’s all guys…Have fun…

h1

Introducing DWR 2 Projects (Direct Web Remoting)…

January 8, 2011

DWR, or Direct Web Remoting, is a Java open source library that helps developers write web sites that include Ajax technology. It allows code in a web browser to use Java functions running on a web server as if those functions were within the browser.

It consists of two main parts:

  • Code to allow JavaScript to retrieve data from a servlet-based web server using Ajax principles.
  • A JavaScript library that makes it easier for the web site developer to dynamically update the web page with the retrieved data.

DWR is a RPC library which makes it easy to call Java functions from JavaScript and to call JavaScript functions from Java (a.k.a Reverse Ajax).

It has a large user-base, active mailing list and has been used in many projects including the Walmart shopping site and American Airlines flight booking site.

DWR has a number of features like call batching, marshalling of virtually any data-structure between Java and Javascript (including binary file uploading and downloading), exception handling, advanced CSRF protection and deep integration with several Java server-side technologies like Spring and Guice.

Picture below: High level pictorial representation of DWR in action.

Getting ready for the DWR Development Environtment.

DWR 2.0  require JDK 1.3 or higher , and a servlet  spec 2.2 or higher. DWR works in numerous containers and application servers including Tomcat , WebLogic , WebSphere , JBoss , Jetty , Resin and GlassFish. One caveat is that if you have a web server in front of your app server , and the web server alters the URLs , DWR may (and probably will ) fail.

DWR requires:-

1. Sun Java SDK 1.6.0_03

2. Apache Tomcat 6.0.13

3. Apache Ant 1.7.0

4. Two environtment variable set: JAVA_HOME , which should point to the directory of your SDK was installed to , and ANT_HOME , which should point to the directory Ant was installed to. In addition, you’ll want to add <JAVA_HOME>/bin and <ANT_HOME>/bin to your path. Lastly, as a recommendation , I highly suggest having no CLASSPATH environtment variable set. This will greatly reduce the chance of any kind of classpath issues bitting you.

Example below:-

Name:

Reply:

Source Code:-

HTML source:

<p>
  Name:
  <input type="text" id="demoName"/>
  <input value="Send" type="button" onclick="update()"/>
  <br/>
  Reply: <span id="demoReply"></span>
</p>

Javascript source:

function update() {
  var name = dwr.util.getValue("demoName");
  Demo.sayHello(name, function(data) {
    dwr.util.setValue("demoReply", data);
  });
}

Java source:

package org.getahead.dwrdemo.simpletext;

public class Demo {
    public String sayHello(String name) {
        return "Hello, " + name;
    }
}

dwr.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC
    "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN"
    "http://getahead.org/dwr/dwr20.dtd">

<dwr>
  <allow>
    <create creator="new" javascript="Demo">
      <param name="class" value="org.getahead.dwrdemo.simpletext.Demo"/>
    </create>
  </allow>
</dwr>

  Well guys , for this week post , I'm just introducing you all the concept of DWR 2.
To explain more detail about the implementation and some of the DWR 2 projetcs , try
to check this website:-

  http://directwebremoting/dwr/index.html
 
I suggest you all to read the Practical DWR 2 Projects book , author by Frank W.Zammetti.
The publisher of the book is Apress. It got tons of example and deep explanation of
how to implement and write DWR 2 code and use it in our application.