Workstation keep-alive and connectivity failure detection

Dear all,
I intend to automatically detect network failures from my workstation client and have it attempt to reconnect to the server on its own.
Browsing the documentation for related information I saw the keep-alive option. If I understood correctly you can have the workstation generate periodic keep-alive messages to the server and if these are not acknowledged, all subsequent ATMI calls will fail with TPESYSTEM.
My doubts regarding this are the following:
1) Is there some dummy ATMI function I can invoke periodically to check for a disconnection? Otherwise network failures might go by unnoticed if there are periods where my WSC doesn't require to communicate with the server.
2) Once I get a TPESYSTEM failure, is there some way to programatically discriminate if the cause is a network disconnection? It is a pretty generic error after all.
3) Once all ATMI functions start failing due to keep-alive detecting a network failure, can the system recover on its own? or must I reconnect to the server? What I mean is, maybe some keep alive messages where lost, the system passes to the 'disconnected' state, but then the K.A. messages keep being generated and upon correct acknowledgement of these, subsequent ATMI calls will stop failing.
4) Does the WSC go to 'disconnected' state after the first unanswered keep alive message? or is there some sort of tolerance like, say, 'If N messages in a row are not answered then assume the connection to be dead'.
I'm sorry if it was too long a post, but neither searching the documentation nor this forum clarified any of these issues for me.
Many thanks for your attention.
Regards.

Cacho,
1. I assume that you're talking about the WSL CLOPT option "-K
{client|handler|both|none}", which causes periodic keepalive messages to be
sent. When this option is used, there is no need for the WSC to perform any
periodic operations to keep the network connection alive.
However, if you are worried that the network might suffer a transient
failure and you want to perform your first ATMI call after an extended
period of inactivity as quickly as possible without waiting for another
tpinit(), you may want to perform periodic dummy operations so that you can
reissue the tpinit() if needed as soon as the network connection is
restored.
One option is to make a tpcall() to the ".TMIB" service with an FML32 buffer
where TA_OPERATION is set to "GET" and the other fields are set to retrieve
some system attribute. There is an example of how to call .TMIB at the end
of the TM_MIB(5) manual page. You would want to perform a GET operation
rather than the SET operation shown in that example.
Another option is to write a null service in one of your application servers
which just calls tpreturn() and have your client make periodic cals to that
service.
Calling a verb such as tpalloc() or tpconvert() would not be sufficient,
since these calls do not result in any network traffic.
2. The tperrordetail() function is available in newer releases of Tuxedo to
provide additional information about certain Tuxedo errors. When a
workstation client is disconnected, tperrordetail(0) will return TPED_TERM.
3. If there is a network failure, workstation clients must call tpinit() to
reauthenticate to the system. This is necessary for security reasons.
4. The keepalive option is passed down to the underlying network provider
and Tuxedo has no further involvement with keepalive once it informs the
network of this option. For Sockets the option passed is SO_KEEPALIVE; you
can do a web search on SO_KEEPALIVE to see exactly how the network treats
keepalive messages on your particular platform.
Ed
<Cacho Nakamura> wrote in message news:[email protected]...
Dear all,
I intend to automatically detect network failures from my workstation client
and have it attempt to reconnect to the server on its own.
Browsing the documentation for related information I saw the keep-alive
option. If I understood correctly you can have the workstation generate
periodic keep-alive messages to the server and if these are not
acknowledged, all subsequent ATMI calls will fail with TPESYSTEM.
My doubts regarding this are the following:
1) Is there some dummy ATMI function I can invoke periodically to check for
a disconnection? Otherwise network failures might go by unnoticed if there
are periods where my WSC doesn't require to communicate with the server.
2) Once I get a TPESYSTEM failure, is there some way to programatically
discriminate if the cause is a network disconnection? It is a pretty generic
error after all.
3) Once all ATMI functions start failing due to keep-alive detecting a
network failure, can the system recover on its own? or must I reconnect to
the server? What I mean is, maybe some keep alive messages where lost, the
system passes to the 'disconnected' state, but then the K.A. messages keep
being generated and upon correct acknowledgement of these, subsequent ATMI
calls will stop failing.
4) Does the WSC go to 'disconnected' state after the first unanswered keep
alive message? or is there some sort of tolerance like, say, 'If N messages
in a row are not answered then assume the connection to be dead'.
I'm sorry if it was too long a post, but neither searching the documentation
nor this forum clarified any of these issues for me.
Many thanks for your attention.
Regards.

Similar Messages

  • Can not connect to the App store I keep getting a connection failure message. Mail and Safari are working fine. Also Iphoto wont update to newer version and itunes does open up properly.

    I have recently bought a new imac. Imported all my files etc. from my G5 using Timemachine.
    Iphoto requires updating but wont!
    itunes wont open up properly the text is wrong!!
    I keep getting a connection failure message when trying to visit the App store.
    Safari and Mail are working fine.
    My Apple Id is also fine as it works with my ipad.
    Any suggestions?

    Hello Ben, see if this might be it...
    Anonymous
    Post subject: NSURLErrorDomain error -1100 in OS X 10.8
    If you check for software updates using the App Store in OS X 10.8 and get "NSURLErrorDomain error -1100" the problem may be with your Software Update preferences. This is particularly likely if you were using a custom Apple Software Update server. To solve the problem, quit the App Store, move the following two files (if present) to the trash, restart, and only then rerun App Store updates:
    /Library/Preferences/com.apple.SoftwareUpdate.plist
    /Library/Preferences/com.apple.SoftwareUpdate.plist.lockfile
    http://x704.net/bbs/viewtopic.php?f=12&t=6130

  • Node failed to join the cluster because it ould not send and receive failure detection network messages

    One of my customers has a Windows Server 2008 R2 cluster for an Exchange 2010 Mailbox Database Availability Group.  Lately, they've been having problems with one of their nodes (the one node that is on a different subnet in a different datacenter) where
    their Exchange databases aren't replicating.  While looking into this issue it seems that the problem is the Network Manager isn't started because the cluster service is failing.  Since the issue seems to be with the cluster service, and not Exchange,
    I'm asking here. 
    When the cluster service starts, it appears to start working, but within a few minutes the following is logged in the system event log.
    FailoverClustering
    1572
    Critical
    Cluster Virtual Adapter
    Node 'nodename' failed to join the cluster because it could not send and receive failure detection network messages with other cluster nodes. ...
    It seems that the problem is with the 169.254 address on the cluster virtual adapter.  An entry in the cluster.log file says: Aborting connection because NetFT route to node nodename on virtual IP 169.254.1.44:~3343~ has failed to come up. 
    In my experience, you never have to mess with the cluster virtual adapter.  I'm not sure what happened here, but I doubt it has been modified.  I need the cluster to communicate with its other nodes on our routed 10. network.  I've never experienced
    this before and found little in my searches on the subject.  Any idea how I can fix this?
    Thanks,
    Joe
    Joseph M. Durnal MCM: Exchange 2010 MCITP: Enterprise Messaging Administrator, Exchange 2010 MCITP: Enterprise Messaging Administrator, MCITP: Enterprise Administrator

    Hi,
    I suspected an issue with communication on UDP port 3343. Please confirm the set rules for port 3343 on all the nodes in firewall and enabled all connections for all the profiles
    in firewall on all the nodes are opened, or confirm the connectivity of all the node.
    Use ipconfig /flushdns to update all the node DNS register, then confirm the DNS in your DNS server entry is correct.
    The similar issue article:
    Exchange 2010 DAG - NetworkManager has not yet been initialized
    https://blogs.technet.com/b/dblanch/archive/2012/03/05/exchange-2010-dag-networkmanager-has-not-yet-been-initialized.aspx?Redirected=true
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HFM Web Sever Configuration--Keep Alive and Session Time Out Optimal Config

    We recently implemented an HFM 9.3.1 environment. We are using Windows 2003 Enterprise SP2 servers with IIS6. We have two HFM Web servers connecting to an application cluster with two application servers in the cluster. We were getting some errors when trying to unlock HFM cells in Workspace, but we were able to perform the functions fine on the application using the WIN32 client.
    I opened a ticket with support and they recommended modifying the subcontext.properties file located in %HYPERION_HOME%\deployments\WebLogic9\servers\Workspace\webapps\workspace\conf. They recommended changing the following settings:
    #KeepAliveInterval=30
    #SessionTimeout=60
    From what I understand, these settings are for the communication between the HFM Web Servers and the application cluster servers. I'm wondering how changing these settings may affect our environment. Are there negative effects and/or trade-offs for changing these settings? Is there a recommended threshold or maximum value?

    Hi Dinesh,
    This cannot be achieved without development enhancements to some standard SAP framework component, to introduce a "keep-alive" concept. If you are using a CMS for CTI or email integration, you need to ensure it supports keeping the communications session alive also.
    Sincerely,
    Glenn
    Glenn Abel
    Covington Creative
    www.covingtoncreative.com

  • Keep alive or Connect on Demand??!!

    My new router keeps on reconnecting/disconnecting byitself for some reason.... I wnt it to be on 24/7... My option is Connect on Demand atm, because I do not know what to keep near Keep alive option.. since there are seconds near it. PLZ HLP!!

    Well it is difficult to tell without knowing which router you have.
    Generally you find help in the manual which came on the CD with the router and is available online and in the help of the router web interface on the right. There you'll find something like this probably.

  • Keep Alive SMTP connection

    Hi,
    Is there any way to keep alive a SMTP connection forever using JavaMail? I know being a TCP connection, the connection will be broken if no data is exchanged for specific time. What if NOOP command is send to SMTP server as a heart beat. Can anybody suggest how this can be accomplished using JavaMail?
    Thanks,
    Atul

    You can call the isConnected method, but your server isn't going to like you if you
    keep a connection open even though you're not using it.

  • Connection iphone with msi laptop: keeps disconnecting and connecting.

    I wanted to get a picture from my iphone, and it is the first time I connect the phone to my new msi laptop.
    Suddenly, my iphone keeps buzzing, and charging, and stops charging, , this goes very fast , up (connected) and down(disconnected).
    I thaught maybe the cable, although the cable worked great yesterday charging my phone through a wall outlet.
    I tried another cable, same problem.
    Then I took another laptop: connection established after driver was installed.
    How come msi laptop behave strange ??
    I really hope I can still tell my friends to buy a msi... Can this be fixed with software? I don't want to send it back , after spending so much time installing, troubleshooting... .

    Quote from: hara_mo on 30-May-15, 03:09:35
    I wanted to get a picture from my iphone, and it is the first time I connect the phone to my new msi laptop.
    Suddenly, my iphone keeps buzzing, and charging, and stops charging, , this goes very fast , up (connected) and down(disconnected).
    I thaught maybe the cable, although the cable worked great yesterday charging my phone through a wall outlet.
    I tried another cable, same problem.
    Then I took another laptop: connection established after driver was installed.
    How come msi laptop behave strange ??
    I really hope I can still tell my friends to buy a msi... Can this be fixed with software? I don't want to send it back , after spending so much time installing, troubleshooting... .
    Does the cable you try is the official one from the apple store?
    Which iphone model do you have and what's the iOS version, iTunes version?
    Quote from: hara_mo on 31-May-15, 17:59:41
    added: same problem connection gps on msi laptop.
    installation did not succeed of the new update card.
    second time, I  held the laptop and followed the installation (while watchin tv), at the end, I moved then, connection was lost en then made back again, and this for a couple of times.
    But at the end, card was installed succesfully, luckily, it take hours to download and install the card.
    I really hope for a quick solution.
    Can you explain how you install the card and what kind of card are you installing?
    Are you conneting to the internet through wifi? or you use bluetooth or something else to download the GPS maps or something else?

  • How to keep alive RS232 connection

    Hello everyone. I have a problem with RS232 communication. To activate the connection I have to send the string "RS232", then to keep it alive I have to send every second CR, but in the meantime, I must be able to send other character strings without delay on the same port (COM7). Can anyone help me?
    Thanks 
    Solved!
    Go to Solution.

    RS232 standard does not require by itself to be kept alive someway, so I suppose is your remote device that requires it.
    In every case, you could create a 1-sec timer and have its callback send CR periodically over the serial port.
    To avoid conflicts between this task and the rest of the application you could use a lock: basically, after creating the lock, each function that wants to access the serial port must call CmtGetLock (), operate on the port and call CmtReleaseLock () afterwards. If the lock is owned by another function, other functions trying to get access are frozen waiting for the lock, so you must be careful in designing com-related function so that they are fast. If you do not want to have some function be blocked while waiting for the lock you can use CmtTryToGetLock instead of CmtGetLock. A few informations on locks can be found in this tutorial as well as in this chapter of the Programmer reference.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Why does my ipod keep disconnecting and connecting every half a second?

    I had my iPod touch (4th gen, ios6) synced to a desktop and when I tried connecting it to my new laptop to sync it keeps connecting then disconnecting every half a second (flashing on and off) and will not connect at all. Do I need to do something with my old computer? I don't think it's something wrong with the cord because it connects to the wall just fine.

    Different conductors/contacts are used for charging and dats. Thus, it still could be a bad cable.
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reboot the computer
    - Try another USB port and cable
    - Iphone 5 lightning port charging problem - SOLUTION!
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Try on another computer to help determine if iPod or computer problem
    - If it works with other computer that indicates a problem with your computer. Try
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem with all compouters, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • Mac keeps remembering (and connecting) to a forgotten Wifi Network

    My macs keep connecting to my slower speed (80211g) network. I only want it to connect to my 80211n network. I have removed the 80211g network from open network connections > advanced and selected the network then pressed the minus button. I have also searched my keychain to remove any references to it. However it is still remembered by the computer and sometimes connects to this slow network. It is quite frsutrating. Any suggestions?

    I'd report this as a bug.
    Isn't there some builtin backup to the icloud for ipad settings?  Perhaps this is interfering.
    Some printers support ad hoc network.  This means the printers create their own network.
    Buy another box
    "The xPrintServer-Network Edition is a  'plug-and-print' hardware print server for printing from Apple iOS devices running iOS version 4.2 or higher.  The device is roughly the size of an iPhone and uses the iOS native print menu. It requires no additional applications, software downloads, or printer driver installations and automatically discovers available networked printers supporting JetDirect / AppSocket, LPD and IPP protocols."
    http://www.smallnetbuilder.com/cloud/cloud-devices/497-lantronix-shipping-airpri nt-server

  • Outlook Keeps disconnecting and connecting right away using ZenLoadBlancer

    Hi Guys,
    Have you seen this before? Im not sure you are familiar with this load balancer but if you are can you help me with the configuration?  Everything is working fine except outlook a few times an hour disconnects and reconnects right away.  I heard
    it might have to do with my load balancer and time-out settings.  Any help would be greatly appreciated.
    Thanks

    Hi,
    Firstly, I’d like to explain, the connection issue may have many reasons and is not limited to the load balancer configuration.
    Thus, to narrow down the cause, I’d like to confirm the following information:
    Does the issue happens on all users including external users and internal users?
    Does the issue happen randomly or regularly?
    Does the problematic Outlook user use online mode or cached mode?
    Can the issue be reproduced if you make client pass the load balancer and directly connect to CAS server?
    If you have any question, please feel free to let me know.
    Best regards,
    Angela Shi
    TechNet Community Support

  • Home hub keeps disconnecting and connecting to BTW...

    This only appears to be happeneing on my windows 7 desktop computer. None of my other deviices have a problem. However with the desktop every so often the connection will be dropped from BTHub3 and it will instead try to connect to BTWiFi. I have no idea why. Can anyone please help.

    There is a guide to wireless connection issues here.
    Wireless problems and things you can try, to resolve them
    The other issue about BT wifi is covered here.
    My computer connects to BT Wi-fi, Openzone or BT FON instead of my BT Home Hub
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Connection failure when connecting to the net with...

    I hope someone can help me. I have got Nokia PC suite on my PC. I often use it to connect to the net. Just recently I had a few viruses on my pc and now since they have been cleaned off I keep getting a connection failure when I try to connect. I have tried uninstalling and reinstalling my software but nothing seems to help. I know it is something to do with my pc as I have tried four different phones that do work on other pc's, just not this one.
    I have checked to make sure all the modem settings are right and that the phone is detected as a modem.
    What should I try that might help solve this??
    Thanks
    Katherine

    Make sure you have entered the access point in the one touch access settings, enter the settings maually and try to connect.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • I receive secure connection failure if I try accessing certain websites

    I have been trying to access certain websites and I keep getting secure connection failure for about a week now. When I try using other browsers they don't work either. I tried most of the troubleshooting methods mention here but its still persists. Below are the screenshots of the message I receive and the browser console error message.
    http://prntscr.com/6yjmfz
    http://prntscr.com/6yjokf

    Strangely, I noticed a couple of https sites I had trouble logging into from a link inside a https site.
    In System Preferences I went to Accouns and for myself unchecked "Enable parental controls".
    I was then able to log onto the the https site.

  • Connectivity Failure Message - but I am connected

    I am one of 2 mac users in a dominate 250+ pc user company.
    I access several shared drives and printers through ethernet IP addresses.
    I keep getting a connectivity failure message, but I am connected to everything as best we can tell.
    How can I get the Mac to tell me what I am not connecting to that it is searching for? the IT department has been changing IP addresses and we know this started at the same time (for the work location), but we really can't find an IP address that isn't active in the system settings for the network.
    This also happens to me when I take the computer home a lot, but I always figured it was looking for one of the drives I connect to when I am at work, so I was ignoring it. Now I am not..... ignoring that is.
    The generic failure message pops up repeatedly daily and is very annoying.

    You best bet is to check the console logs for information about what is happening.

Maybe you are looking for