Scripted Keepalive Problem

I've run into an issue with a new scripted keepalive. I've created the script and copied it to a CSS11000. I can run the script manually and it works as expected, however when I add it to a service, it is not run. After the service is activated, the service shows down, and the following information is shown for the script:
Script Error: None (suspended)
Script Run Time: Did not finish
I know I've run into similar issues when upgrading the CSS code. After restoring archived scripts within the new version, I'd have to reboot the CSS before I could use them in keepalives.
I'd prefer not to have to reboot my production switches if there is another way to get this to work.

Thanks Gilles,
I am quite backlevel on this particular pair of CSS's. I loaded the newest code on a CSS in the lab and did not have this problem.
Looks like I need to schedule an upgrade for the production boxes.
-Dominic

Similar Messages

  • Scripted Keepalive Library

    Does anyone know if a library exists for scripted keepalives? I know that the css comes with 15 scripted keepalives pre-loaded and with the new 5.0 version of software there is a capability for up to 255 keepalives. What I am looking for specifically is a place where css users can post scripted keepalives that they use, that can be used by others in the css community.
    Thanks,
    Jim

    I'm not aware of anything like this. The only problem I see with this is that many scripts will be custom and as you may know the TAC does not support custom scripts. In the scenario were a shared script fails to work, TAC will not be able to help.
    Also, the 255 keepalives that you are referring is how many scripted keepalives you can run at any given moment. On version 4.0 you can run up to 16 scripted keepalives at any given moment. The limit on how many you can have installed is based on the disk space of your box.
    I hope this helps,
    Gonzalo

  • Script keepalive limitation with use-output option

    Hi there,
    The optional use-output keyword on CSS script keepalive allows the script to parse the output for each executed command. This optional keyword allows the use of grep and file direction within a script. You can configure a maximum of 16 script keepalives (out of a maximum of 255 script keepalives) to use script output.
    I have one application which CSS will consider it is alive only when the two keepalive (one is the tcp on port 20100, another one is the http page) are both alive. I am running out of the "16" quota when I use scipt to show both individual service alive by using grep -u Alive.
    How can I circumvent this "16" limitation.
    Appreciate your thoughts and help.
    Richard

    why don't you create a single script that checks the tcp port 20100 and the http page instead of creating 2 separate kal and another one to check the status of the other 2.
    Gilles.

  • CSS: How does DNS Scripted Keepalive (ap-kal-dns) work?

    Hello everyone,
    I have a question about how does DNS Scripted Keepalive (ap-kal-dns) work on CSS 11503.
    According to the "Using the CSS Scripting Language",
    http://www.cisco.com/en/US/partner/docs/app_ntwk_services/data_center_app_services/css11500series/v7.50/configuration/administration/guide/Scripts.html
    it says
    Since we just want to see if the DNS server is alive we will send a simple DNS Query.  This query is hard coded in hexadecimal and sent raw to the DNS server.
    and
    Receive some unexplained response. We don't care what it is because an unstable DNS server or a non-existent one would probably not send ! us any data back at all.
    but it also says
    Failure Upon: 1. Not resolving the host's IP from the domain name
    And according to the "How to Configure the CSS to Load Balance DNS Servers and Use the DNS Scripted Keepalives",
    http://www.cisco.com/en/US/partner/products/hw/contnetw/ps789/products_configuration_example09186a00801d015a.shtml
    it says
    The script is hard-coded to resolve www.cisco.com.  It does not matter if the DNS server can resolve this address or not, as long as a DNS response comes back that the service is alive. This keepalive is only testing if a DNS server can respond to a query, not if it can resolve a specific name. The script queries from the CSS to DNS internal servers keep track of the availability of the DNS servers.
    but it also says
    Access to Internet Domain Name System Root Servers is required for successful implementation of DNS scripted keepalives.
    So I am confused whether DNS server has to resolve the host's IP address correctly for DNS query received from CSS or just needs to reply any response but not need to resolve it.
    I would like to recap about my question.
    Q1: Does DNS Scripted Keepalive (ap-kal-dns) send DNS query with cisco.com as DNS name by default?
    Q2: Does DNS server has to resolve IP address of  cisco.com or just need to respond for DNS query with any response but not need to resolve IP address of cisco.com?
    I understand I should get capture data and see how DNS scripted keepalive works, but I can not prepare lab environment to do it at the present.
    Your information would be appreciated.
    Best regards,
    Shinichi

    yes the query is for www.cisco.com and the script expect a reponse that contains the word cisco.
    Gilles.

  • Script Keepalive with Passive UDP Services

    When sending a script keepalive (socket connect) to a passive UDP service (snmp, syslog, etc.), it doesn't appear that the CSS will recognize an ICMP Port Unreachable response as being associated with the socket. Is this correct, or am I missing something?
    ~Zach

    the scripting function is pretty basic.
    So, I don't know if this is *correct* but it sounds like normal.
    Gilles.

  • Keepalive problem on CSS11506

    Greeting
    One of application which using my CSS has problem to work with my CSS11506 after the application upgrade.
    It does not regconize CSS' keepalive check and give error "broken pipe" on the backend server. (it treat the keepalive traffic as session?)
    The CSS configuration for the application is:
    service dev-host1-2304
    ip address 10.2.2.21
    protocol tcp
    port 2304
    keepalive type tcp
    keepalive port 2304
    active
    service dev-host2-2304
    ip address 10.2.2.22
    protocol tcp
    port 2304
    keepalive type tcp
    keepalive port 2304
    active
    content dev-2304
    vip address 10.1.1.123
    port 2304
    protocol tcp
    balance leastconn
    add service dev-host1-2304
    add service dev-host2-2304
    active
    the backend server error messages is:
    <log4j:event logger="com.webct.platform.tools.chatwb.server.ChatWBServer" timestamp="1201219035043" level
    ="ERROR" thread="Thread-0">
    <log4j:message><![CDATA[CLASS: com.webct.platform.tools.chatwb.server.ChatWBServer METHOD: run
    Caught exception - attempting to continue]]></log4j:message>
    <log4j:throwable><![CDATA[org.beepcore.beep.core.BEEPException: java.net.SocketException: Broken pipe
    at org.beepcore.beep.transport.tcp.TCPSessionCreator.listen(TCPSessionCreator.java:214)
    at com.webct.platform.tools.chatwb.server.ChatWBServer.run(ChatWBServer.java:770)
    ]]></log4j:throwable>
    </log4j:event>
    <log4j:event logger="com.webct.platform.tools.chatwb.server.ChatWBServer" timestamp="1201219096053" level="ERROR" thread="Thread-0">
    <log4j:message><![CDATA[CLASS: com.webct.platform.tools.chatwb.server.ChatWBServer METHOD: run
    Caught exception - attempting to continue]]></log4j:message>
    <log4j:throwable><![CDATA[org.beepcore.beep.core.BEEPException: java.net.SocketException: Broken pipe
    at org.beepcore.beep.transport.tcp.TCPSessionCreator.listen(TCPSessionCreator.java:214)
    at com.webct.platform.tools.chatwb.server.ChatWBServer.run(ChatWBServer.java:770)
    ]]></log4j:throwable>
    </log4j:event>
    <log4j:event logger="com.webct.platform.tools.chatwb.server.ChatWBServer" timestamp="1201219157048" level="ERROR" thread="Thread-0">
    <log4j:message><![CDATA[CLASS: com.webct.platform.tools.chatwb.server.ChatWBServer METHOD: run
    Caught exception - attempting to continue]]></log4j:message>
    <log4j:throwable><![CDATA[org.beepcore.beep.core.BEEPException: java.net.SocketException: Broken pipe
    at org.beepcore.beep.transport.tcp.TCPSessionCreator.listen(TCPSessionCreator.java:214)
    at com.webct.platform.tools.chatwb.server.ChatWBServer.run(ChatWBServer.java:770)
    ]]></log4j:throwable>
    </log4j:event>
    Question:
    1. Is it CSS's problem?
    2. How can I configure keepalive for port 2304 to fix the error message? or how the application should configure to match with CSS11506?
    Any comments will be appreciated
    Thanks in advance

    I have found what the application do is:
    When you connect to port 2304 on the application server, if functional, the SocketServer service sends a banner:
    RPY 0 0 . 0 246
    Content-Type: application/beep+xml
    http://xxxxx/xxxx/Profile' />http://xxx/xxx/TLS
    ' />http://xxxxxxx/xxxxProfile' />END
    So, I need to script for receiving "END".
    I have looked the script for socket:
    kwd-css:julie(config)# socket ?
    connect connect to a remote host
    disconnect Disconnect a currently connected socket
    inspect Inspect data received on a socket
    receive Receive data through a socket
    send Send a string of data to a remote host
    waitfor Wait for a specific data string to be received through the
    socket
    css11506# socket receive ?
    Socket number to send data through
    Css11506# socket receive 1 ?
    Execute command
    Number of milliseconds to receive data (default 100ms)
    raw Receive data in hexidecimal format (no ascii conversion)
    css11506# socket receive 1 2000 ?
    Execute command
    raw Receive data in hexidecimal format (no ascii conversion)
    css11506# socket receive 1 2000 raw ?
    Execute command
    it looks like there is no way to check if received is "END" or not?
    Could you please advice?
    1. To receive a banner, should I use keepalive tcp?
    2. Do I need special the "socket receive" command
    3. Does "socket receive" has a buffer or variable to store the banner, so I can check if the "END" is there?
    Any comments will be appreciated
    Thanks in advance

  • SAP SCRIPT code problem

    521
    - Heading for trans. w/out sp.G/L indicators (item sorting method 2)-
    Transactions without special G/L indicators
    522
    - Heading for trans. with sp.G/L indicators (item sorting method 2)-
    &T074T-LTEXT&
    523
    - Heading for open item list of line items -
    &ULINE(71)&
    <K>Invoice No,,Reference.,,Inv.Date,,                   Due date,,,,
                 Balance</>
    &ULINE(71)&
    PERFORM GET_DATE IN PROGRAM ZREPORT
    USING &BSID-BELNR&
    CHANGING &S_DATE&
    ENDPERFORM.
                                                                                    530
    - Line items    Customer open items -
    &BSID-BELNR&,,&RF140-BELEGNUM&,,&BSID-BLDAT&,,&S_DATE&,,
    FORM get_date tables
            int_cond structure itcsy
            outt_cond structure itcsy.
    BREAK SNAGI.
    tables : bseg.
    data : w_belnr type ITCSY-value.
    DATA due_date TYPE rfpos-faedt.
    READ TABLE OUTT_COND WITH KEY name = 'S_DATE'.
      IF sy-subrc = 0.
        outt_cond-value = S_itab11.
        MODIFY outt_cond INDEX sy-tabix.
       ENDIF.
    SELECT SINGLE
    shkzg zfbdt zbd1t zbd2t zbd3t rebzg
    FROM bseg
    INTO CORRESPONDING FIELDS OF bseg
    WHERE
    *bukrs = bukrs AND
    belnr = int_cond-value.
    *AND vbeln = belnr.
    CALL FUNCTION 'NET_DUE_DATE_GET'
    EXPORTING
    i_zfbdt = bseg-zfbdt
    i_zbd1t = bseg-zbd1t
    i_zbd2t = bseg-zbd2t
    i_zbd3t = bseg-zbd3t
    i_shkzg = bseg-shkzg
    i_rebzg = bseg-rebzg
    I_KOART = 'D'
    IMPORTING
    e_faedt = due_date.
    outt_cond-value = due_date.
    MODIFY outt_cond INDEX sy-tabix.
    ENDFORM.
    Now the problem is that,it is int_cond-value is always picking up the first invoice number.
    and the net due date is always same for all invoices..?
    should I loop in the sap script or in the form..?

    Solved my self.
    just placing the perform and endform in 530

  • Script language problem

    Hi friends,
    We designed a script for purchase order for taiwans, and it is
    displaying the incorrect Payment Terms when outputted (e.g. printed) using the ZEBT(own outtype) output type in language 'ZF'.  The Payment Terms text displayed in the ouputted form is not the correct text for the Payment Term on the Purchase Order.
    and it is displaying correct when the outtype in language 'EN'.
    can any suggest me on this, how it is happening.
    Thanks.

    HI friend..
    I have faced the same problem very long ago..
    Try to debug the script first in se71.
    At the main window look for the field netwr....
    Just do some checking there..
    Otherwise i can think for u  some other solution...
    regards..
    saravannan...

  • Indic script display problem - Open Office PDF export does

    I am trying to create a PDF document using iText (a Java library) and I found out that Indic script specificaly Malayalam Language Unicode is not displayed properly. Ligature substitution and reordering is not working at all. (See attached image1.png)
    However, Open Office does display the text properly (see attached image2.png)
    and when I export this document to a PDF document, the text in the PDF is fine (See attached image3.png).
    I am suprised at this bevahiour. The font I am using in all the three case is FreeSerif.ttf, which has support for Malayalam language and has the Open Type tables that is required for ligature substitutions.
    Please help.

    One difference I noted is this -
    Document Property (Fonts) of the PDF with problem shows FreeSerif , True Type (CID), Embedded
    and Document Property (Fonts) of the Open Office Exported PDF shows Free Serif, True Type, Embedded SubSet

  • Script execution problem

    dear sir
    i got a problem with script execution. i have successfully  activate the form painter in ABAP editor. but i am getting the error like "Form  ZLASRISUD language EN is not active and has no errors". please give me the solution for above as soon as possible.

    dear sir
    i got a problem with script execution. i have successfully  activate the form painter in ABAP editor. but i am getting the error like "Form  ZLASRISUD language EN is not active and has no errors". please give me the solution for above as soon as possible.

  • Help in script logic - problem in FOR loop

    Hi Experts,
    We are using BPC 7.5 SP08. I have written a FOR loop in script logic default.lgf which is as follows:
    *FOR %TIM_MEM%=%TIME_SET%
    *XDIM_MEMBERSET TIME =%TIM_MEM%
    *WHEN P_ACCT2
    *IS "OSDU"
    REC(EXPRESSION=[P_ACCT2].[ASSTCAINVURO][P_ACCT2].[COGSUPRVIPSA]/[P_ACCT2].[ASSTUPRVTAQTY],P_ACCT2="COGSUIPSAO")
    *ENDWHEN
    *COMMIT
    *NEXT
    As per my requirement, all this members: [ASSTCAINVURO], [COGSUPRVIPSA], [ASSTUPRVTAQTY] exists for months September to next year's August. But in my input schedule, the months are from August to next year's July(which is the company's fiscal year). Consequently the loop runs for month August to next year's July while I need to run the loop 1 month late(i.e. September to next year's August). This was achieved earlier by hard-coding the time members which we cannot afford as this requires to update these hard-coded member IDs every year.
    We have also tried using the "NEXT" property of TIME dimension as follows:
    *XDIM_MEMBERSET TIME =%TIM_MEM%.NEXT
    but %TIM_MEM%.NEXT doesn't get the month in 'NEXT'.
    Please suggest if there is any way out to solve this problem.
    Thanks in advance.

    Hi Appu,
    Even if you restrict the scope using the XDIM statement, your script will just run the number of times as per the for loop. Actually, in reality, the same calculation is happening again and again, in your code; since your calculation is not based on the time member.
    To use the for loop effectively, you need to incorporate the time member in your calculation.
    Please look at the below sample code:
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *FOR %TIM_MEM%=%TIME_SET%
       *WHEN P_ACCT2
       *IS "OSDU"
          *REC(EXPRESSION=<CALCULATION>,P_ACCT2="COGSUIPSAO")
       *ENDWHEN
    *NEXT
    And in your calculation, you can use statements like
    ([P_ACCT2].[ASSTCAINVURO],TMVL(1, [TIME].[%TIM_MEM%]))
    This will ensure that everytime (as per the for loop), the calculation works on separate set of data.
    Hope you got the idea.

  • Script PO problem

    Hi All,
    I am working on scripts for purchase order form .
    I am able to display the form perfectly.
    Problem is if i have 2 units of measure in  PO ex. OPU = 'EA' and ODU = 'ST'.
    then same line item is displaying two times.
    I am using elemnts 'ITEM_LINE_2F' and 'ITEM_LINE_3F'
    Can yanybody please provide solution where i am doing mistake.
    Thanks

    Hi ,
         Can u please give some more details like form name and which standard form u copied.
    Thanks,
    suma.

  • Script logic problem BPC 7.5

    Hi!
    We have a script logic that worked fine in BPC 5.1 but after our upgrade to BPC 7.5 it doesn´t work anymore.
    I will try to explain the part of or logic that doesn´t work anymore.
    We have 2 lines that will pass through the script, each line creates a temporary value  on KATEGORI ="#avskr1").
    Depending on the value created on  u201C#avskr1" it should do calculation A if the value is negative and calculation B if the value is positive. To do this we the following script logic:
    *WHEN GET(KATEGORI="#avskr1")
           *IS < 0
    *Calculation A
    ELS
    *Calculation B
    And this logic worked fine in BPC 5.1.
    If line X had -50 as a value in  u201C#avskr1"   and line Y had 75 as a value  in u201C#avskr1" , calculation A would be performed on line X and calculation B on line Y
    With the same example as above in BPC 7.5 calculation A will be performed on both lines.
    But if I change the logic to the following script logic in BPC 7.5:
    *WHEN GET(KATEGORI="#avskr1")
           *IS  = -50
    *Calculation A
    ELS
    *Calculation B
    Calculation A would be performed on line X and calculation B on line Y. It seems like the logic can´t handle <> signs in this script logic anymore.
    Regards
    Fredrik

    Hi!
    Unfortunately it didn´t help still the same error.
    And I just got an answer from SAP Support that there are a bug in the use of "Get whith When or lookup" in 7.5 SP03 which we currently are using, but it has been fixed in SP04. They just put up a SAP not 1515973 about the issue.
    Unfortunately they have no work around for this problem so I don´t know how to solve it untill we have installed SP04.
    Regards
    Fredrik

  • Pls. help, SQL script page problem

    Hi,
    Im using the Hands On Oracle Database 10g Express Edition for Linux. Im in chap06 already p. 218. I just uploaded the SYSMGMT1 script. After that I Clicked the script's icon but I cannot see any SQL DDL commands inside. Nothing happened. It said in the book that I supposed to see and browse the SQL DDL commands that make up the script. I tried to click RUN, nothing happened either. Is there some kind of a bug in my System? Pls. help me because I cannot continue this chapter's exercise if I cannot solve this first problem that I encountered here in chap06. Any help from the guys outhere is really greatly appreciated. Thank you.
    respectfully waiting,
    Len

    Hi, did you ever get a solution to this because I am having exact same problem - I cannot see the scripts if I upload them nor can I type them in from scratch as the area for seeing/editting the script doesn't seem to be accessible.

  • Irca script password problem

    Hello,
    When executing the irca script I keep receiving the following error : Failed to establish a database connection due to the following error : ORA-01017 : invalid username/password; logon denied
    The problem is that I'm very certain about the password that I'm using (it's my sys password). The username on the other hand is something that I'm unable to enter when executing the irca script. Perhaps this is the problem.
    All help would be greatly appreciated.
    Cheerz,
    Kris

    Oh what a tangled web we weave.  I read up on keychain and I don't understand what I'm reading.  Right now I cannot download my email on my computer, I can access it through the cloud. I'm sure it will be the same for the other iCloud feathers.   When I go to preferences and select iCloud when ever I try to sign in I get some dialog box it shows up "A keychain cannot be found to store 1076701306.  It doesn't matter whether I reset it or cancel it out iCloud preferences remains grayed out. 
    In keychain access on the left side under keychains and Read's local item, systems, and systems roots.
    When I select local items nothing shows up to the right under the name column even when down under all items is selected nothing shows up.  And nothing shows up to the right when under categories I selected the other options password etc.  On the other hand when I select under keychains systems, systems roots I do get items to show up on the right side under names under all items, passwords, etc.  Where do I start?

Maybe you are looking for

  • How do I group songs under one album, please?

    OK, so I iTunes works better than Windows media player for my set up with Windows 7 Ultimate .... BUT it 'took over' the Media Player library and put some tracks as separate entries - so, for example, I have one album of Rod Stewart in 6 different pl

  • Win 7 doesn't see ipod clickwheel

    Downloaded iTunes and installed on Win7.  Connected iPod click wheel, windows says "driver didn't install" and iPod doesn't appear in iTunes.

  • Could i Hook up my 360 to an imac?

    i want to use my imac as a display for my 360 elite, is this even possible? i have the new Anodized Aluminum imac with the extreme.

  • Purchasing Organization to Company code relationship question

    My client is running EEC 6.0 in production.  When the original configuration was done, the purchasing organization was incorrectly assigned to the company code (table V_T024E_Assign; menu path: IMG > Enterprise Structure > Assignment > Materials Mana

  • Customer exit variable issue

    Hi Friends, Below code using to find the Quarter values from Year, For ex: If ZU1_AY_YEAR = 2010 (User entry variable), I need Quarter values like 2009 Q1. ZZ1_Y_X6 is customer exit variable againt Quarter. Here Quarter values are always 2009 Q1,2009