Validating the installation

After installing Sterling B2B Integrator, you should validate the installation to ensure that everything is working according to your needs.

Use the following commands to validate the deployment:

Run the following command to validate if the Certified Container deployment using Helm charts is successful and check the status of the Helm chart release.

helm status {{Release Name}}
Run the following command to check the status of application server replica sets. At least 1 replica must be in 'READY' state.

kubectl get replicasets -l release={{ .Release.Name }} -n {{ .Release.Namespace }}
Run the following command to check the status of the application server pods for the release.

kubectl get pods -l release={{ .Release.Name }} -n {{ .Release.Namespace }} -o wide
Run the following command to view the logs for a pod.

kubectl logs <pod name> -n {{ .Release.Namespace }}
Access the application by running the following URL.
  • If ingress is enabled and virtual host domain names are specified, URL: dashboard: http://{{ingress internal hostname}}/dashboard
  • If SSL is enabled for ingress, URL: dashboard: https://{{ingress internal hostname}}/dashboard
  • If service type is NodePort:
    
    export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
    export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[1].nodePort}" services {{ template "b2bi.fullname" . }})
    
    dashboard: http://$NODE_IP:$NODE_PORT/dashboard
    
  • If service type is LoadBalancer:
    
    export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
    export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[1].nodePort}" services {{ template "b2bi.fullname" . }})
    
    dashboard: http://{{External IP address}}:{External Service Port}}/dashboard