Friday, 26 October 2012

WAS 8.5 and Liberty Profile

What is WAS 8.5?
  • It is a proven, high-performance transaction engine that can help to build, run, integrate, and manage dynamic business applications. 
  • It introduces the concept of dynamically adding applications  
  • It does not requires server re-start after adding any applications on Liberty profile
What is new in WAS 8.5?
  • New Liberty profile: a lightweight application foundation
  • Fast, flexible, and simplified application development
  • Intelligent Management and enhanced resiliency 
  • Integrated tools 
  • Improved operations, security, control, and integration 
Why Liberty on z/OS? 
  • Improved performance  
  • It is included with all the commercial editions of WAS 8.5 server 
  • It provides a lightweight profile of the server for web, mobile and OSGi applications
  • It is a functional subset of the full profile of WebSphere Application Server, for both development and production use
  • Install size of under 50 MB, a start up time of around 03 seconds and a new XML-based server configuration
Liberty Profile Installation
   There 02 ways to install Liberty profile-
     1) Unzip jar file ‘wlp-developers-8.5.0.0.jar’
     It creates following directories-
     bin, clients, dev, lafiles, lib, templates, usr   

    2) Install Eclipse Java EE IDE for Web Developers (Indigo Service Release 2).
    Select the install icon for WAS V8.5 Liberty Profile. 
   https://www.ibm.com/developerworks/mydeveloperworks/blogs/wasdev/entry/download_wlp?lang=en
   Drag it onto the menu bar in Eclipse IDE(Integrated Development Environment). 

   And then follow the prompts.

Install directory created for Liberty  Profile

 'Usr' directory contains server instances with their configuration and applications

Liberty Profile Architecture 


Deploy Applications on Liberty
  • Drop new application into dropins directory, the application is automatically deployed on the server 
  • Location of dropins directory: wlp/usr/servers/server1/dropins

Liberty Profile Commands

    1) To create new Liberty server
    bin> server.bat create <serverName> (windows)
    bin> server create <serverName> (other Platform) 
   
    2) To start Liberty server  
    bin> server.bat start <serverName> (windows)
    bin> server start <serverName> (other Platform)
 

   3) To stop Liberty server
   bin> server.bat stop <serverName> (windows)
   bin> server stop <serverName> (other Platform)  

NOTE: Commands may slightly differ for different Operating Systems.
The user needs to set JAVA_HOME & PATH pointing to JDK install path.


Features of Liberty Profile 
  1. Unlike traditional WAS on z/OS, the Liberty Profile server instance is a single JVM rather than the multiple JVM model used by traditional WAS on z/OS. 
  2. Configuration of Liberty Profile server instances is done by editing the 'server.xml' file and a small set of other optional files.
  3. There is no "Administrative Console" for Liberty Profile.
  4. The Liberty Profile is designed to be composable, lightweight, dynamic and fast.
  5. Liberty Profile does not support EJB (Enterprise JavaBeans) applications at this point of time. 
  6. It only supports JEE Web modules and Enterprise applications.
  7. To install an application on Liberty profile, just place your application file into the dropins directory. 
  8. Liberty profile kernel will identify application files placed in the dropins directory to install them.

Thursday, 4 October 2012

IBM Cognos Audit Reporting

The large software systems and applications have logs for various things which can be useful for debugging, data mining and analysis. When an application or a system crashes then the error details found in such logs are useful for the investigation purpose.
By default there is only one IBM Cognos logging target “File.” This set up has the various Cognos components logging to 'cogserver.log' file. The log files are useful for administrator since it can be used to watch the log as events occur.
If a customer have requirement for Cognos audit reporting then he can follow the below steps-

1) Route IBM Cognos log messages to a different database. It should be different from the Content Store database.
a) Open IBM Cognos Configuration window
Under Environment -> right click Logging -> click New Resource ->Destination
 
Type the name and select the db type of destination & click OK.

b) Now right-click on the newly created 'Audit_db' and select New Resource -> Database
Type the name of the db, select the db type and click OK.
 
Give following details for the new db-
-Database server with port number or instance name
-User ID and password
-Database name

c) On IBM Cognos Configuration window.
From File menu -> click Save and then click Re-start button.
It will create all the necessary tables in the db you have created.
And all newly created tables have a prefix "COGIPF_" as shown below-
2) Edit the logging level for audit reports. Choose the options Minimal, Basic, Request, Trace and Full from given drop down.

3) Enable the "Audit the native query for batch report service" logging. Click OK.


Wednesday, 7 March 2012

MNREGA Scheme- a misuse of taxpayer's money?

MNREGA stands for Mahatma Gandhi National Rural Employment Guarantee Act. In short this govt scheme is referred to as NREGA scheme. It was enacted by central govt legislation on August 25, 2005. This scheme provides a legal guarantee for 100 days of employment in every financial year to adult members of any rural household willing to do public work at the statutory minimum wage of INR 120 per day.

The Central government outlay for NREGA scheme was 40,000 crore (US$8.8 billion) in financial year 2010–11. But the biggest question is whether the real benefit is reaching to the unemployed needy people? The reports of NREGA funds being misused is very common in remote villages. There is a need to make people aware of NREGA social audit process.

The benefits of this scheme is not reaching to the poor people, instead it’s making people richer who are supposed to facilitate this scheme to village GRAM PANCHAYAT level.

A few facts about MNREGA:
1) Mahatma Gandhi National Rural Employment Guarantee Act (MGNREGA) was launched on 2nd February, 2006 from Anantapur in Andhra Pradesh and initially covered 200 “poorest” districts of the country.
2) The Act was implemented in phased manner – 130 districts were added in 2007–08. With its spread over 625 districts across the country.
3) The law was initially called the National Rural Employment Guarantee Act (NREGA) but was renamed on 02 October 2009 to Mahatma Gandhi National Rural Employment Guarantee Act (MGNREGA)
4) This act was introduced with an aim of improving the purchasing power of the rural people, primarily semi or un-skilled work to people living in rural India, whether or not they are below the poverty line.
5) Around one-third of the stipulated work force should be women.
6) Under the MGNREGA the Central Government meets the cost towards the payment of wage, 3/4 of material cost and some percentage of administrative cost. State Governments meet the cost of unemployment allowance, 1/4 of material cost and administrative cost of State council.
7) The national budget for the financial year 2009–2010 for MNREGA was Rs. 391 billion.
8) The MNREGA Job Card should be issued within 15 days of application.
9) Employment should be given within 15 days of application for work, if it is not then daily unemployment allowance as per the Act, has to be paid. The liability of payment of unemployment allowance is of the State Govts.
10) A person is entitled to a daily unemployment allowance of not less than one-fourth the wage rate for the first 30 days. For payment of unemployment deduction can be made from the salary of the gram panchayat secretary and paid to the workers.
11) A Job Card holder may submit a written application for employment to the Gram Panchayat, stating the time and duration for which work is sought.
12) The Gram Panchayat will issue a dated receipt of the written application for employment, against which the guarantee of providing employment within 15 days operates.
13) Work should ordinarily be provided within 5 km radius of the village. In case work is provided beyond 5 km, extra wages of 10% are payable to meet additional transportation and living expenses.
14) Disbursement of wages to labour has to be done on weekly basis and not beyond a fortnight in any case.
15) Permissible works predominantly include water and soil conservation, afforestation and land development works.
16) A 60:40 wage and material ratio has to be maintained. No contractors and machinery is allowed.
17) The Central Govt. bears the 100 percent wage cost of unskilled manual labour and 75 percent of the material cost including the wages of skilled and semi skilled workers
18) It is also widely criticized that NREGS has contributed to farm labour shortage.
19) Dr. Jean Drèze, a Belgian born economist, at the Delhi School of Economics, has been a major influence on MNREGA projecy.

Is central government wasting the hard earned money of tax-payers? If govt is implementing job guaranty schemes for rural unemployed youth, it should make sure the money is not diverted somewhere else. There is an urgent need of enquiry into the financial health of all past and present Sarpanch/Gram Pradhan's to ascertain their all movable and immovable assets & their source of income.