06-29-2018
Different connection status between 2 servers
Hello All,
Actually, We have a problem in our server (RHEL 7.1), 1st server is used for payment apps like switch card payment (passthru only), and 2nd server is used for Database transaction.
When high transaction there is different connection between Apps Server and DB server, Apps Server sends connection to DB Server, but sometimes that's connection not ESTABLISHED like low traffic (I checked thru netstat in 2 servers). I have changed value Local_port range, and fin_timeout but it wasn't solve this problem, and I think my current kernel needs to update kernel to latest or stable version to solve this.
current kernel : 3.10.0-229.e17.x86_64
Please give me suggest about our this connection problem.
Thank you
Regards
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends,
I'm newbie to shell script. I wanted to create a shell script which able to write a result for all the telnet connection status. For example, from this machine I want to test the telnet connection (total 100+ servers) with this machine.
Any idea how to write this shell script?... (16 Replies)
Discussion started by: yhcheong
16 Replies
2. Shell Programming and Scripting
hi,
Say me the command to check the status of server. whether its up or down (11 Replies)
Discussion started by: satheeshkr_cse
11 Replies
3. Red Hat
Hi,
I want to kill TCP connections which have status as TIME_WAIT & no PID
(as per the output of the "netstat - p" command).
Is there any command/utility available to kill connections to a specific port or IP address.
The problem is that these connections don't have process ID (see... (4 Replies)
Discussion started by: Davinder31may
4 Replies
4. Shell Programming and Scripting
Hello,
I am looking for a way for a server to launch a connection command to one of the other servers where the connection command has already embedded in it a server name, user name and a password. (2 Replies)
Discussion started by: LiorAmitai
2 Replies
5. Shell Programming and Scripting
Hi,
I am running a shell script which will spawn the telnet and login.
But sometimes, the telnet session itself is not getting spawned.
My requirement is, if the telnet session is not spawned, the user must be notified that it failed.
Is there any command to capture the status of telnet... (2 Replies)
Discussion started by: merin
2 Replies
6. Solaris
hello all,
i have a question if i have two servers each one run an application i want to make a tunnel channel between the two servers the two application each one has a specific port .
for example server A has port 2001 and server B has port 2002
server A talk to server A using any... (1 Reply)
Discussion started by: maxim42
1 Replies
7. Shell Programming and Scripting
Suppose i have 3 different servers say x,y and z.
Im running some process say ABC and 40 instances for the same is being created.
In load sharing suppose on
server x, 20 instances are running
server y, 10 instances are running
server z, 10 instances are running.
While checking the... (1 Reply)
Discussion started by: ankitknit
1 Replies
8. AIX
Hi Techies,
I have a doubt.
ent0 Available Logical Host Ethernet Port (lp-hea)
ent1 Available Logical Host Ethernet Port (lp-hea)
ent2 Available Logical Host Ethernet Port (lp-hea)
ent3 Available Logical Host Ethernet Port (lp-hea)
ent4 Available... (4 Replies)
Discussion started by: jayadeava
4 Replies
9. Shell Programming and Scripting
Hi All,
We are working on linux with putty terminal for file transferring using SFTP server...
here we want to know /We have Urgent Requirement
If SFTP connection is successfull then we should get .txt log file in target locaton as "Success/Failure"
Please provide batch script for above... (7 Replies)
Discussion started by: sravanreddy
7 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to connect from Server A to Server B to transfer files from A to B. I'm using NUID A1 in Server A and NUID A2 in Server B. I have done the following the steps to setup password-less login.
1. Add the public key of A1 in A to the Authorized keys of A2 in B.
2. Add the public key of... (4 Replies)
Discussion started by: sanchid312
4 Replies
LEARN ABOUT DEBIAN
vend::payment::testpayment
Vend::Payment::TestPayment(3pm) User Contributed Perl Documentation Vend::Payment::TestPayment(3pm)
NAME
Vend::Payment::TestPayment - Interchange payment test module
SYNOPSIS
&charge=testpayment
or
[charge mode=testpayment param1=value1 param2=value2]
PREREQUISITES
None.
DESCRIPTION
The Vend::Payment::TestPayment module implements the testpayment() routine for use with Interchange. It's compatible on a call level with
the other Interchange payment modules -- in theory (and even usually in practice) you could switch from TestPayment to another payment
module with a few configuration file changes.
The module will perform one of three actions:
o If the card number is 4111111111111111 then the transaction will be approved.
o If the card number is 4111111111111129 then the transaction will be declined.
o Any other card number will raise an error and the transaction will be declined.
To enable this module, place this directive in "interchange.cfg":
Require module Vend::Payment::TestPayment
This must be in interchange.cfg or a file included from it.
Make sure CreditCardAuto is off (default in Interchange demos).
The mode can be named anything, but the "gateway" parameter must be set to "testpayment". To make it the default payment gateway for all
credit card transactions in a specific catalog, you can set in "catalog.cfg":
Variable MV_PAYMENT_MODE testpayment
It uses several of the standard settings from Interchange payment. Any time we speak of a setting, it is obtained either first from the
tag/call options, then from an Interchange order Route named for the mode, then finally a default global payment variable, For example, the
"id" parameter would be specified by:
[charge mode=testpayment id=testid]
or
Route testpayment id testid
or
Variable MV_PAYMENT_ID testid
The active settings are:
id A test account ID, which can be any value you like. Global parameter is MV_PAYMENT_ID.
secret
A test account password, which can be any value you like. Global parameter is MV_PAYMENT_SECRET. This is not needed for test charges,
using this module, but you may as well set it up anyway.
transaction
The type of transaction to be run. Valid values are:
auth
return
reverse
sale
settle
void
Actually, the transaction type is ignored in this version, but you may as well set it anyway.
remap
This remaps the form variable names to the ones needed by TestPayment. See the "Payment Settings" heading in the Interchange
documentation for use.
Troubleshooting
o Make sure you "Require"d the module in interchange.cfg:
Require module Vend::Payment::TestPayment
o Check the error logs, both catalog and global.
o Make sure you set your payment parameters properly.
o Try an order, then put this code in a page:
<XMP>
[calc]
my $string = $Tag->uneval( { ref => $Session->{payment_result} });
$string =~ s/{/{
/;
$string =~ s/,/,
/g;
return $string;
[/calc]
</XMP>
That should show what happened.
o If all else fails, Cursor Software and other consultants are available to help with integration for a fee.
BUGS
There is actually nothing *in* Vend::Payment::TestPayment. It changes packages to Vend::Payment and places things there.
AUTHORS
Kevin Walsh <kevin@cursor.biz> Based on original code by Mike Heins <mheins@perusion.com>
perl v5.14.2 2010-03-25 Vend::Payment::TestPayment(3pm)