Setting up AS2 relationship on a Certified Container setup
You can set up an AS2 relationship between an organization and a partner if you install Sterling B2B Integrator using Certified Containers.
There is no change in the process of creating the relationship if you select the options Store AS2 Messages in Mailbox or Invoke Business Processes Directly. But, If you select the option Store AS2 Messages in File System, you need to follow these additional configuration steps to transfer the files from one Trading Partner outbound to another Trading Partner inbound:
Important: You need to mount AS2 messages to an external location. The AS2 messages are
stored in the file system inside pods or containers. To access these messages from the host file
system, you need to mount the internal directories to an external location.
Prerequisite
You need to create an additional persistence volume . For more information, see Setting up PersistentVolume(s).
Procedure
- Configure
extraPVCs
invalues.yaml
based on the adapter configuration on ASI, AC or API. - Enter the
name
,storage class
, andsize
invalues.yaml
.extraPVCs: - name: "as2adapter" storageClassName: "standard" selector: label: "intent" value: "as2" accessMode: ReadWriteMany size: 500Mi extraVolumeMounts: - name: "extra-as2" mountPath: /ibm/as2partner
Note: Thelabel
and the correspondingvalue
andstorageclassname
of the persistence volume must match with the values inextraPVCs
ofvalues.yaml
.In the above example: label: "intent" value: "as2" storageClassName: "standard"
- Provide the directory path to store the AS2 messages when creating the AS2 relationship.
Collection Folder:/ibm/as2partner/{{as2ORG}}/{{as2partner}}/outbound
Extraction Folder:/ibm/as2partner/{{as2ORG}}/{{as2partner}}/inbound
Error Log Folder:/ibm/as2partner/{{as2ORG}}/{{as2partner}}/error
Note: This path (/ibm/as2partner) must match with the path given inextraVolumeMounts
in thevalues.yaml
file.