Difference between development and Production unix servers for a application??


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Difference between development and Production unix servers for a application??
# 1  
Old 08-21-2008
Question Difference between development and Production unix servers for a application??

Hi all
I am running a major script of my application in development for implementing code changes for process improvement in time. The script runs in production once in a month . It takes 8 hours 30 mins in Production server . what surprice me is , when I run the same script in development server with out implementing the changes it completes in 4 hours 20 mins .Everything was updated perfectly . Please can I know the any differences in PRODUCTION and DEVELOPMENT UNIX servers for the application ?

~Sakthifire
# 2  
Old 08-21-2008
Are these servers essentially mirrors of each other? How do you synchronize files from the dev to the production environment? Are they identical hardware? Have you benchmarked the IO performance of each? Are there any host/ or network/ specific commands in the script?
# 3  
Old 08-21-2008
Hi
pleaase see the answers for the questions respectively :
#1 . Yes , they mirrors each other .
#2 . I have ftp the input files required for the processing from PROD to DEV
#3 . Yes , they are identical .
#4 . Yes , I benchmarked the IO performance of each by checking the following .
1) size of the output files in PROD and DEV - resulted correctly.
2) Number of lines in output files in PROD and DEV - resulted correctly
3) Insertion of records in to sybase database - resulted correctly
#5 . In the script , it is connected to sybase development database in case of DEV server and sybase production database in case of PROD server .
Commands used mostly are gunzip , gzip ,gzcat , cat , if else , for , diff , compress ....
# 4  
Old 08-21-2008
Quote:
Originally Posted by sakthifire
Hi
pleaase see the answers for the questions respectively :
#1 . Yes , they mirrors each other .
#2 . I have ftp the input files required for the processing from PROD to DEV
Please, how do you do the mirroring of the programs and OS configuration?
# 5  
Old 08-21-2008
In the DEV server , it contains the same scripts as in the PROD server .Usally DEV server is used for testing and code changes . Once the code has been finalised and tested, the modified script will be moved to PROD by replacing the original . Both DEV and PROD server are equally compatiable . There is no need for me to go for OS configuration here .

~Sakthifire
# 6  
Old 08-21-2008
Alright, then we do it this way: At all possible points of the program, prefix every command with "time". (You should make sure that the output from time doesn't interfere with your script in any way.) Run it on dev, then run it on production and see where the bottlenecks are.

If the main bottleneck is in the SYBASE inserts, then I suspect the problem is related to table-locking while the database is under heavy load.
# 7  
Old 08-21-2008
Sure . I will do it and reach you soon .

~ Sakthifire
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Sudden application crash in servers

Hi, This weekend there was a sudden application crash in the server. I did not know where to start to investigate the problem, so I first looked into the /var/adm/syslog/syslog.log, and this was what I found : Dec 17 00:38:02 L28bi01 sshd: error: accept: No buffer space available Dec 17... (9 Replies)
Discussion started by: anaigini45
9 Replies

2. Shell Programming and Scripting

Switching from production to development envirornment in UNIX

I had a unix scripts in prod. I need to made changes in those scripts which I don't have the edit access. I need to move those scripts from prod to dev to edit. Please tell me how to switch from production to development, So that I can made changes in dev and again move those scripts to Prod. ... (3 Replies)
Discussion started by: Rajeswararao
3 Replies

3. UNIX for Dummies Questions & Answers

ksh to check second time difference between two servers

I am currently setting up a public key authentication between servers. The goal is to get the date via `ssh hostname date` on all the 4 remote servers , put the value in a text file on the central server and compare the date (specifically seconds) for each server date output to check if time is... (7 Replies)
Discussion started by: depam
7 Replies

4. Solaris

SNMP application for production environment

Hi Is there any default/open source snmp application to send traps monitor some processes in Solaris has MIB package available that can be used in production environment I am using SunOS Server1 5.10 Generic_142910-17 i86pc i386 i86pc If it has a GUI its a plus :) (1 Reply)
Discussion started by: kashif_islam
1 Replies

5. BSD

Copying OpenBSD Kernel from a non production to production machine

Hi All, There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel. My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies

6. UNIX for Advanced & Expert Users

Application Servers Installation and Users

Hi, When most of the server applications get installed, they create their own user. I believe this is to not use the "root" account. For example, Apache when installed creates a user called "apache". And the directories which it uses are all owned by this user. This seems to be the... (2 Replies)
Discussion started by: srikanths
2 Replies

7. UNIX for Dummies Questions & Answers

Most common version of UNIX on production systems

I am new to UNIX (about a year) and learning as fast as I can. I am an instructor teaching UNIX and have two labs with Ultra 10 333 MHz, Sun Blade 1000 1 GHz, Blade 100, and Two Enterprise 250 Servers. We are currently teaching our classes using the Solaris 2.10 OS, downloaded in May 2006, I am not... (7 Replies)
Discussion started by: dutchman
7 Replies

8. UNIX for Dummies Questions & Answers

Application servers, proper usage

Is it common in the Unix/Linux environment to install compute intensive applications on a Server system and have the client machines download the executables into memory at runtime to run locally? This model seems taxing to the network, and as I understand, has been largely abandoned in the... (1 Reply)
Discussion started by: jonwillog
1 Replies

9. UNIX for Dummies Questions & Answers

Dominant Unix in production?

What's the dominant Unix in production environment? Solaris or Linux? HP-UX and AIX have never been "dominant", while HP-UX is widely used in financial circles... Is Linux reallly where it's all going for major production environments running Oracle/SAP/whatever or will Solaris remain... (1 Reply)
Discussion started by: etc
1 Replies

10. UNIX for Dummies Questions & Answers

music production, unix

okay, so i'm using windows right now because i produce electronic music and all my software is written for windows. i want to get rid of microsoft's os, so i'm wondering if there is an easy way to run these windows programs on a unix system. maybe a windows emulator for x-windows or something... (1 Reply)
Discussion started by: nydel
1 Replies
Login or Register to Ask a Question