IBM Sterling B2B: Instalação para Node secundário de cluster

From Wiki
Revision as of 16:58, 9 June 2021 by Ebasso (talk | contribs) (→‎Configuring the nodes in a cluster)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Para o node secundário (node 2) ou superior.


Instalação

Follow the steps in IBM Sterling B2B: Instalação usando Installation Manager - Node 1. The only difference you MUST mark on the Question “This installation if for a cluster node 2 or higher” in the Installation Manager and specify the number of node.


Post install

Verifying the cluster environment settings in the properties files

cd <si_install_directory>/properties/

egrep -i cluster=true sandbox.cfg
egrep -i cluster=true centralops.properties
egrep -i cluster=true noapp.properties_platform_ifcresources_ext
egrep -i clustered_env ui_properties

Must exist on these files.

Configuring the nodes in a cluster

  • on Node 1:
cd <si_install_directory>'/bin/

./hardstop.sh

./startCluster.sh 1 true

./run.sh
  • on Node 2:
cd <si_install_directory>/bin/

./hardstop.sh

./startCluster.sh 2 false

./run.sh

Adding host[port] from all the nodes to jgroups_cluster.property.in

Edit file <si_install_directory>/properties/jgroups_cluster.property.in and add:

  • on Node 1:
initial_hosts=node1_ipaddress[port1],node2_ipaddress[port2]

example: initial_hosts=10.0.0.1[40061],10.0.0.2[40061]

  • on Node 2
initial_hosts=node2_ipaddress[port2],node1_ipaddress[port1]

example: initial_hosts=10.0.0.2[40061],10.0.0.1[40061]

Run setupfiles.sh to update config

cd <si_install_directory>/bin/
./setupfiles.sh


Restart a cluster in the Unix/Linux environment

To restart a cluster in the Unix/Linux environment, complete the following steps:

  • on Node 1:
./run.sh restart
  • on Node 2 and higher:
./run.sh

Checking Status of cluster

Open Dashboard

choose Operations -> System -> Cluster -> Node Status.

Post Install - Optional

(Optional) Configuring shared file systems as document storage

Sterling B2B Integrator handled Documents stored in Database or on File System.

To configure the shared file systems as document storage, change on file <si_install_directory>/properties/sandbox.cfg and change:

DOC_PAYLOAD_DIR=/SI_Shared_Area

After run setupfiles.sh to update config

cd <si_install_directory>/bin/

./setupfiles.sh

This will update document_dir and RESTORE_DOCUMENT_DIR properties of the jdbc.properties.in file.

(Optional) Updating the sandbox.cfg file for an IPv4 address

Edit file <si_install_directory>/properties/sandbox.cfg and ADD:

IPV4STACK=true

After run setupfiles.sh to update config

cd <si_install_directory>/bin/
./setupfiles.sh

Ver também