Jason Russell

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 70 total)
  • Author
    Replies
  • in reply to: need help with either TCL proc or Translation #122114
    Jason Russell
    Participant

      What version of Cloverleaf are you using?

      in reply to: Platform question, Cloverleaf 2022.09 #122113
      Jason Russell
      Participant

        We’re in a virtual cluster, we have 8 CPUs allotted for our production box. The CPUs are Intel E5-2697’s.

        The clustering system is older and they’ve been talking about upgrading them for some time. Do not know when that is planned.

        I think most of your decisions should be based around what kind of load you’re looking at doing, how many million messages you’re processing, etc. We’re a smaller shop and do around 2 million message (all inbound, outbound, site-to-site counted here). RAM,  disk write speed are just as (in some cases more) important than your CPU. Running sar we rarely go below 90% idle, and drops below that are usually us processing a cron job off hours. We’re not fully migrated yet, but I don’t think our CPU usage is going to change that much. Ram, disk speed, etc will change as we’re going to be processing bigger files (getting to migrating the PDFs).

        in reply to: Release Notes #122099
        Jason Russell
        Participant

          So after a bit of back-and-forth with support, it seems on-premises customers are not given access to the “Release Center” even though all their documentation points to the Release Center without mentioning on-prem’s lack of access. Here are the necessary KB articles you’re expected to know and subscribe to for updates.
          KB2287007 – The announcement. No KB articles linked, instructions are for non-on-premises customers (Cloud? Only Infor hosted? They weren’t clear): (https://customerportal.infor.com/csmcore?id=kb_article_view&sysparm_article=KB2287007)</p>
          KB2293813 – Release Report. This is the report that has the enhancements and bug fixes listed. https://customerportal.infor.com/csmcore?id=kb_article_view&sys_kb_id=f2471229c35f52900d906cbeb0013189</p>
          KB2282305 – Technical Compatibility Overview – The actual server compatibility listing.  https://customerportal.infor.com/csmcore?id=kb_article_view&sysparm_article=KB2282305</p>
          If you want updates you need to subscribe to those KB articles or at least have them handy to get any release information.

          Naturally, to access this you will need to have an active Infor Concierge account with your facility.

          in reply to: Release Notes #122098
          Jason Russell
          Participant

            The reason I can’t find them it seems is because I don’t have ‘release center’ in my concierge portal. I can find the “release record” if I dig around and search, but I can’t ever find the notes, and it seems that is the root cause. The thing is, the release report doesn’t specify supported systems and whatnot, whereas the new “Technical Compatibility Overview” is essentially what I’m looking for.

            Makes things a pain when you don’t have the direct access and they change names of their documents so it’s impossible to find via search.

            in reply to: elog.elogdb-wal reduction? #122084
            Jason Russell
            Participant

              Thanks James. None of the hcidb* commands would touch it, but it it looks like it actually cleared up on it’s own. That’s good to know for future use, my SQLite knowledge is bare-minimum.

              in reply to: PROTOCOL:fileset-local save file after processing #122078
              Jason Russell
              Participant

                ** This is given assuming you’re writing in Linux, not windows. If you’re in Windows you’ll have to adjust the slash direction (/ vs \) and file path.

                My script renames the file in place. $msg_list contains the full path, and I’m simply appending ‘.processed’ so it doesn’t get picked up by the file-path glob/regex. So I pick up *.txt normally, so having it end in *.txt.processed means it won’t get picked up again.

                file rename -force /opt/cloverleaf/cis2022.09/integrator/sd_lab1/indata/file_to_run.txt /opt/cloverleaf/cis2022.09/integrator/sd_lab1/indata/file_to_run.txt.processed

                If you want to change the folder completely and put it in an archival folder, you would have to get the file name by stripping off everything but the last ‘/’ ( set fileName [lindex [split [$msg_list] /] end] ), and set the full path in the destination. Paul got his ‘archive’ path by passing it in. You can code it in if you want.

                Also, I haven’t had much time to play with the script since I put it in place, but you may want to change file rename to file copy, as I think cloverleaf will automatically clean up the file regardless, and I get an error saying it can’t find the original file.

                in reply to: Cloverleaf 2022.09 on windows server 2025 #122077
                Jason Russell
                Participant

                  Your best best is probably to have a test server and install and run some testing. You’ll find there’s probably not a lot of people who are “bleeding edge” in terms of OSes.

                  I don’t know anything about your environment in general, but we use VMs for everything. If you have a test server (you should), I would install on 2025 and migrate and see how it pans out. If it fails, you can move back to the old server. That is generally the process we would follow if you can’t do an in-place upgrade.

                  in reply to: PROTOCOL:fileset-local save file after processing #122062
                  Jason Russell
                  Participant

                    Jeff, I simplified Paul’s script a bit, and it does what you’re looking for. You still have to rename the file for it to work properly. The files I use simply get named with ‘<filename>.processed’ in the same directory they were stored. I’m going to do something more akin to what Paul did on the FTPs, but this I’m using for local files.

                    The main issue I found with his is an errant return that didn’t return the disposition list which I believe is why you’re getting repeated files. Make sure the “return {}” is removed so it can finish processing the file properly.

                    # Get message handle
                    keylget args MSGID mh

                    # Check for correct context
                    keylget args CONTEXT ctx

                    if {$ctx != “fileset_ibdel”} {
                    echo “\nERROR proc used in wrong context”
                    echo “Context should be fileset_ibdel”
                    echo “Proc called in: $ctx\n”
                    return {CONTINUE $mh}
                    }

                    # In this context the message handed to this proc
                    # by the driver in not a data message. Rather
                    # it is a list of file names from the directory
                    # the fileset driver is configured to read.
                    #
                    # The list of files to process is accessed
                    # in the same way data messages in other contexts
                    # are accessed.
                    #
                    # The list is manipulated and returned
                    #
                    # The fileset driver now processes the files in
                    # order they appear in the returned message list.

                    set msg_list [msgget $mh]
                    set ofileid [open file_process.log a]
                    echo “Inbound File: $msg_list”
                    #set destination_file $arg_dest_dir
                    set destination_file $msg_list.processed
                    #echo “ofile: $msg_list.processed”

                    file rename -force $msg_list $destination_file

                    # Put modified list in the message handle
                    msgset $mh $msg_list

                    lappend dispList “CONTINUE $mh”

                    Jason Russell
                    Participant

                      Interesting. I can’t help and test much, I’m remote, using a MacBook pro to VPN into our network, log into a linux workstation for all of my CLI needs, and a Windows 10 workstation onsite for GUI needs.I’m assuming you’re on a VPN of some sort, and that shouldn’t make a difference.

                      If you’re running the GUI locally on your laptop, I can only think it is some Windows shenanigans switching from wireless to wired. The only thing I can think of just as a troubleshooting step (not as a workaround) is if you have started the laptop on the dock itself, if it acts differently.

                      My inner tech is coming out and I really wanna see this firsthand, lol.

                      Jason Russell
                      Participant

                        There’s a lot that could be going on here, but here’s my first question: Are you at work or remote? Our facility has a different IP range and grouping arrangement for wireless vs wired connections. You may be hitting a strange thing where you’re losing authentication between sessions because your IP is different.

                        Are you logging out before changing from docked to undocked?

                        Are you completely exiting the gui?

                        When you dock, does it disable the wireless connection completely (not just set your wired to primary)?

                         

                        in reply to: PROTOCOL:fileset-local save file after processing #122054
                        Jason Russell
                        Participant

                          Dear Cloverleaf, please let me edit my message over and over to cover for my mistakes:

                          I think my edit is answered by the comments, but it is still unclear to me why you would have: return “{CONTINUE $mh}” in the error but a blank return at the end of the command. That return near the end would stop the command before the displist return is processed.

                          in reply to: PROTOCOL:fileset-local save file after processing #122051
                          Jason Russell
                          Participant

                            I love it when I come in and someone asked the same question I was about to.

                            First off, thank you for the answers above. I’m probably going to grab Paul’s code and modify a bit.

                            However, is there a ‘default’ tps that is used, or is file deletion simply written into the engine itself?

                            edit: Also, I’m not seeing the return of a dispList in some form, are these not necessary? I see it in Paul’s code for the error (IE: Nothing happens), but not after everything gets moved.

                            in reply to: Need to swap the PID3 field to MDM file #122019
                            Jason Russell
                            Participant

                              I would iterate and key off your assigning authority or assigning facility (PID 3.4 or 3.5), then run a simple if statement to grab the correct ID. That way it doesn’t matter if there is a change in their system, you will always get the ID you want. Essentially:

                              Iterate on basis of field PID-3

                              if PID 3.5 eq =PI

                              pathcopy PID 3 (iteration %f) to outbound PID 3

                              We do this frequently, and I can pull the code for you in our system if you need a direct view.

                              in reply to: document conversion interfaces into Epic Gallery #122018
                              Jason Russell
                              Participant

                                Cloverleaf prioritizes inbound traffic, and if that traffic never stops, it may cause the outbounds to slow down too much. This also gives your outbound routes time to process everything so they don’t become clogged up or unbalanced. We would never put more than around a hundred thousand messages (ESPECIALLY PDFs!) at a time. Time it, see how long it takes to process them out completely and set your pickup timer to do that.

                                You should be able to control that with a fileset local, and throttle so you only pick up x number of messages every y seconds (depending on if they’re in a single file, or single message/file).

                                That’s a big load, and it’s going to take a few days to process it all through.

                                in reply to: Message in Logs Unrecognized command: ‘cmd’ #122017
                                Jason Russell
                                Participant

                                  If it’s running on all sites and processes, it’s probably a very global process. May want to check your $HCIROOT/tclprocs to see if anything was modified. What’s a hard find unless you know what’s calling it.

                                Viewing 15 replies – 1 through 15 (of 70 total)