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

From Wiki
 
(12 intermediate revisions by the same user not shown)
Line 10: Line 10:


= Post install =
= 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 ==  
== Adding host[port] from all the nodes to jgroups_cluster.property.in ==  
Line 18: Line 51:


  initial_hosts=node1_ipaddress[port1],node2_ipaddress[port2]
  initial_hosts=node1_ipaddress[port1],node2_ipaddress[port2]
example: '''initial_hosts=10.0.0.1[40061],10.0.0.2[40061]'''


* on Node 2
* on Node 2
Line 23: Line 58:
  initial_hosts=node2_ipaddress[port2],node1_ipaddress[port1]
  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
Run setupfiles.sh to update config


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




= Post Install - Optional =
== 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 =


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


Edit file '''<si_install_directory>/properties/sandbox.cfg''' and ADD:
choose '''Operations -> System -> Cluster -> Node Status'''.


IPV4STACK=true
[[File:b2b_dashboard_cluster_status.png]]


After run setupfiles.sh to update config
= Post Install - Optional =


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


== (Optional) Configuring shared file systems as document storage==
== (Optional) Configuring shared file systems as document storage==
Line 53: Line 99:
After run setupfiles.sh to update config
After run setupfiles.sh to update config


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


This will update document_dir and RESTORE_DOCUMENT_DIR properties of the jdbc.properties.in file.
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 =
= Ver também =

Latest revision as of 16:58, 9 June 2021

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