IBM Sterling B2B: Instalação para Node secundário de cluster: Difference between revisions
(9 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
== Verifying the cluster environment settings in the properties files == | == Verifying the cluster environment settings in the properties files == | ||
cd | cd ''<si_install_directory>''/properties/ | ||
egrep -i cluster=true sandbox.cfg | egrep -i cluster=true sandbox.cfg | ||
Line 26: | Line 26: | ||
* on Node 1: | * on Node 1: | ||
cd | cd ''<si_install_directory>'''/bin/ | ||
./hardstop.sh | ./hardstop.sh | ||
./startCluster.sh 1 true | ./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 39: | 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 44: | 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 | cd ''<si_install_directory>''/bin/ | ||
./setupfiles.sh | ./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'''. | |||
[[File:b2b_dashboard_cluster_status.png]] | |||
= Post Install - Optional = | = Post Install - Optional = | ||
Line 63: | Line 99: | ||
After run setupfiles.sh to update config | After run setupfiles.sh to update config | ||
cd | 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 == | == (Optional) Updating the sandbox.cfg file for an IPv4 address == | ||
Line 77: | Line 113: | ||
After run setupfiles.sh to update config | After run setupfiles.sh to update config | ||
cd | cd ''<si_install_directory>/bin/'' | ||
./setupfiles.sh | ./setupfiles.sh | ||
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
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