Management Dilemma: A Resource Optimization Problem

Management is looking for a mechanism to meet service level agreement and facing following questions

  1. Is there any feasible solution with given constraints to meet the service level agreement
  2. Can management reduce number of resources below and still meet aggregate service level agreements.
  3. If there is no feasible solution, shall management re-negotiate the SLA? If management is re-negotiating what are option it have to consider.

Download below document to get full analysis of problem.

Management Dilemma A Resource Optimization Problem

Posted in Uncategorized | Leave a comment

Internal Server Error during installation of simpleInvoices

when i was trying to install simpleInvoices application on my ubuntu m/c

i encountered following problem

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

when i used http://localhost/simpleinvoices

when i checked error.log it shows

[Sun Dec 26 20:48:06 2010] [alert] [client ::1] /usr/share/simpleinvoices/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration

 

To fix this problem a had to enable mod_rewrite in apache2 sever. following are steps to enable mod_rewrite in apache2

cd /etc/apache2/mods-enabled
touch rewrite.load
vi rewrite.load

now paste this following line

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so

 

Posted in Uncategorized | Leave a comment

How to make money from Open source

Posted in Uncategorized | Leave a comment

Standards Redefine eHealth

why growth in the area of health information technology must happen on a foundation of open standards and format?

Read the article. I am  co-author of it.

http://www.ehealthonline.org/articles/article-details.asp?Title=Standards%20Redefine%20eHealth&ArticalID=2469&Type=COLUMNS

 

 

Posted in Uncategorized | Leave a comment

One way Voice with Linux SIP conntrack

one way voice problem is seen on device running behind NAT, if call is initiated from device to Soft phone which is not running on SIP Server m/c.
( Softphone and SIP server, running on diffrent m/c)
Following is Setup
|——– Softphone
VoIP device behind NAT——– Host (running SIP conntrack)———–
|
———SIP Server

When invite message is sent set_expected_rtp_rtcp function defined in nf_conntrack_sip.c makes expected connection tracking entry using nf_ct_expect_init function

nf_ct_expect_init function fills source mask value as 0xFFFFFFFF. Since Source mask is 0xFFFFFFFF, that means connection tracking module expects, exact SRC IP address but if VoIP phone is not running on same m/c as SIP server, IP address of VoIP Phone is not really know while sending the INVITE message. ( INVITE message goes to SIP server).

Because of which following are expected connections

<UDP PROTO NUM> <SIP SERVER IP ADDRESS:0 -> <Public IP address of phone behind NAT>:<RTP Port number of Phone behind NAT>

<UDP PROTO NUM> <SIP SERVER IP ADDRESS:0 -> <Public IP address of phone behind NAT>:<RTCP Port number of Phone behind NAT>

But the incoming packets will as following

<UDP PROTO NUM> <External VoIP Phone IP:<RTP Port number> > <IP address of phone behind NAT>:<RTP Port number of Phone behind NAT>

<UDP PROTO NUM> <External VoIP Phone IP:<RTCP Port number> -> <IP address of phone behind NAT>:<RTCP Port number of Phone behind NAT>

So there will never a hit with expected connection and we see 1 way voice problem,

To resolve this problem in expected connection entry, we should ignore Source IP address, one way is to make MASK value as 0x0.
In nf_ct_expect_init function.

Following is code diff

root@sw-dev netfilter# diff nf_conntrack_expect.c nf_conntrack_expect.c.fix
265c265,266
< memset(&exp->mask.src.u3, 0xFF, len);


> //memset(&exp->mask.src.u3, 0xFF, len);
> memset(&exp->mask.src.u3, 0x00, len);

Obviously above fix opens up security hole.

Posted in Uncategorized | Leave a comment

Integrated Low Cost, Power sipping small business server

Simple and Efficient Server for MSME sector, which has all the required devices integrated it and uses single power source; You don’t need any more adapter for Broadband/Wifi modems. Integrated Server eliminates the need for multiple power conversion and makes it power efficient.

On software side, we have demonstrated running most of business processes, office and communication software from open source community; which gives huge monetary benefit to MSMEs

Server has build in power backup, so you don’t need UPS connection.

Server is fanless and does not has bulky SMPS; it just takes 4W of power in idle condition and 20W at peak.

Sachin and Me demonstrating Integrated Low Cost, Power sipping small business server at Intel Campus Bangalore.

Posted in Uncategorized | Leave a comment

How to integrate use unimrcp in freeswitch

could not find any complete document, for integration of unimrcp with freeswitch so thought of documenting it.

I had requirement to use MRCP interface for integration of ASR module with Freeswitch for Pizza demo.

here it is what i had to do.

1. prepare the Gino Pizza setup according to

http://wiki.freeswitch.org/wiki/Mod_pocketsphinx

  1. In ps_pizza.js change

var asr = new SpeechDetect(session, “pocketsphinx”)

to

var asr = new SpeechDetect(session, “unimrcp”);

2. In /usr/local/freeswitch/conf/autoload_configs/unimrcp.conf.xml file change the value of default-asr-profile to correct profile name as defined in one of file under mrcp_profiles

3. add follwing line

/usr/local/freeswitch/conf/autoload_configs/modules.conf.xml

<load module=”mod_unimrcp” critical=”true/>

so that mod_unimrcp module can be loaded by Free Switch.

That is all, you are all set to use ASR module using MRCP.

Posted in Uncategorized | 2 Comments

Is Microsoft afraid of Openoffice

After watching below video i recalled  the statement mentioned by one of celebrity  “be happy if people  criticize you, that means your are growing”.

Watch yourself and decide.

 

 

 

 

 

Posted in Uncategorized | Leave a comment

Economic Impact of FLOSS – IIMB Study

Do you think future of software will open; if not, sample the below data which gives good economic motivation for using FLOSS.
IT@School, Kerala saved INR 49 Crores by Replaceing MS-Windows on 50,000 desktops in schools.
LIC saved 42 Crores by running FLOSS for IT infrastructure of 3,500 servers and 30,000 desktops
New India Assurance- saved 80 crores by using FLOSS for IT infrastructure of 1,500 servers and 7000 desktops

Posted in Uncategorized | Leave a comment

My old blogs

my Old blogs can be found at

http://prabhusrivastava.blogspot.com/

Posted in Uncategorized | Leave a comment