B2B Integration

 View Only
  • 1.  Need More than one host key tied to the same partner

    Posted Mon April 27, 2020 11:00 AM

    <Partner> doesn't have the same known host key on their servers. When we hit the one with the host key we don't have cached, it fails. We only have the option of caching 1 known host key and <Partner> said they can't have just one load-balanced VIP

     

    We need to know how to tie many host-keys to one partner or how do you handle load-balancing systems

     



    ------------------------------
    Jeff Endres
    IT Senior Analyst EDI
    GPC IT Shared Services
    ------------------------------

    #B2BIntegration
    #SupplyChain


  • 2.  RE: Need More than one host key tied to the same partner

    Posted Mon April 27, 2020 12:01 PM
    Jeff,

    Can you try using SSH - Remote profiles (Trading Partner -> SSH - Remote Profiles),  multiple Known host keys can be linked to one Partner profile. Remote Profile Id can be used in SFTP Client Begin service instead of providing all details explicitly.

    ------------------------------
    Rajasekhar Muthamsetty
    ------------------------------



  • 3.  RE: Need More than one host key tied to the same partner

    Posted Mon April 27, 2020 02:24 PM
    Rajasekhar, 
           Thanks for your response
    It caused much discussion with my other teammates.  Where I made a mistake was we are wanting to have work in SFG and not B2Bi.  That was totally my fault for not having that in my question i will place a few comments below any insight in how to solve this for the SFG MFT side of the world would be much appreciated.


    ++++++++++++++++
    That is true when you are setting up profiles in B2Bi (Remote Profile in B2Bi dashboard) but HPI is a custom delivery protocol in SFG
    +++++++++++++++++++
    Right, this would be a redesign of SFG's SFTP custom protocol. The only way to utilize the SSH Partner Profile would be for either 1) a pull from HPI (doesn't apply in this case) or 2) Delivery Thread Group.
    +++++++++++++++++++++++++++++++++++++

    Yes, those protocols will not use our custom Business processes Delivery_SFTP (which has additional functionality like grabbing change directory from codelist tables, renaming files, retries etc) and instead use the default SFTP business process Sterling provides


    ------------------------------
    Jeff Endres
    ------------------------------



  • 4.  RE: Need More than one host key tied to the same partner

    Posted Tue April 28, 2020 07:41 AM
    Remote profiles are tightly couple with SFG, but not B2Bi. In B2Bi you write your own process (mostly) it's up to the user whether to use Remote profile or not. Where in SFG while creating a partner, you'll be asked to choose the existing SSH Remote profile (or create one).

    If you are using Custom protocol, and the BP is accepting remote host, port, and other details instead of Remote profile ID, then yes you either have to redesign the flow or create a new one. You can use Remote Profile Id just to make the connection, retrying, Change directory, and others still can be controlled by code-lists.

    If you are connecting to DNS, check with your customer see if you can always connect one IP.

    You can also consider, requesting the partner to pull the file from your server. OR by adding an extension to this process, to collect the file from destination mailbox (internal) and push to the customer from B2Bi.

    ------------------------------
    Rajasekhar Muthamsetty
    ------------------------------



  • 5.  RE: Need More than one host key tied to the same partner

    Posted Tue April 28, 2020 05:26 PM
    Hello Jeff,

    Can you take a closer look at your DELIVERY_SFTP BP? it should have "SFTP Begin Session" service. You need to look at how it gets the parameters populated. I mean  Message To Service (Output Message) section of the service if you are looking at XML or "Output Msg" in "Message to Service" tab in the GPM for that service.

    What my suggestion is to populate SSH Profile ID in ProcessData (from Codelist) and pass it onto "SFTP Begin Session" service. You need to change the "Output" section of service ( to "Obtain Message first, then Process Data", this will provide overrides for parameters. For example, if all but one parameter is set in ProcessData, the one missing parameter could be put into the message for the service to pick up.

    -Dhiraj Patil

    ------------------------------
    Dhiraj Patil
    ------------------------------