PREPARATION
# Node
information
information
node1IP:
node2IP:
node3IP:
# TS
installer download
installer download
Step1:
Install Initial node
Install Initial node
Step 2:
Generate bootstrap file on the initial node
Generate bootstrap file on the initial node
tsm
topology nodes get-bootstrap-file --file <path\file>.json
topology nodes get-bootstrap-file --file <path\file>.json
scp
./bootstrap.json dpark@node2IP:~/
./bootstrap.json dpark@node2IP:~/
scp
./bootstrap.json dpark@node3IP:~/
./bootstrap.json dpark@node3IP:~/
Step 3:
Firewall Settings
Firewall Settings
Step 3-1:
Initial node Firewall settings
Initial node Firewall settings
1. confirm gateway and tabadmincontroller port number(by default
8850)
8850)
tsm topology list-ports | grep -E "tabadmincontroller:primary |
gateway"
gateway"
2. Check dynamic port range. typical range
is 8000 to 9000.
is 8000 to 9000.
tsm configuration get -k ports.range.min
tsm configuration get -k ports.range.max
3. Start firewalld:
sudo systemctl start firewalld
4. Verify that the default zone is a high-security zone, such
as public.
as public.
firewall-cmd --get-default-zone
if change is needed,
sudo firewall-cmd --set-default-zone=public
5. Add ports for the gateway, tabadmincontroller port
and port range (27000-27010) for licensing communication between nodes
and port range (27000-27010) for licensing communication between nodes
sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --permanent
--add-port=27000-27010/tcp
--add-port=27000-27010/tcp
6. Configure the firewall to allow all traffic from the other nodes
in the cluster.
in the cluster.
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4
source address=node2IP/32 port port=8000-9000 protocol=tcp accept'
source address=node2IP/32 port port=8000-9000 protocol=tcp accept'
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4
source address=node3IP/32 port port=8000-9000 protocol=tcp accept'
source address=node3IP/32 port port=8000-9000 protocol=tcp accept'
7. Reload the firewall and verify the settings.
sudo
firewall-cmd --reload
firewall-cmd --reload
firewall-cmd
--list-all
--list-all
Step 3-2:
additional nodes firewall setting
additional nodes firewall setting
1. Start firewalld:
sudo
systemctl start firewalld
systemctl start firewalld
2. Verify that the default zone is a high-security zone, such
as public.
as public.
firewall-cmd
--get-default-zone
--get-default-zone
if change is needed,
sudo firewall-cmd --set-default-zone=public
3. Configure the firewall to
allow gateway and tabadmincontroller access from the other
nodes in the cluster.
allow gateway and tabadmincontroller access from the other
nodes in the cluster.
on node 2:
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4
source address=node1IP/32 port port=80 protocol=tcp accept'
source address=node1IP/32 port port=80 protocol=tcp accept'
sudo
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node1IP/32 port port=8000-9000 protocol=tcp accept'
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node1IP/32 port port=8000-9000 protocol=tcp accept'
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4
source address=node3IP/32 port port=80 protocol=tcp accept'
source address=node3IP/32 port port=80 protocol=tcp accept'
sudo
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node3IP/32 port port=8000-9000 protocol=tcp accept'
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node3IP/32 port port=8000-9000 protocol=tcp accept'
on node 3:
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4
source address=node1IP/32 port port=80 protocol=tcp accept'
source address=node1IP/32 port port=80 protocol=tcp accept'
sudo
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node1IP/32 port port=8000-9000 protocol=tcp accept'
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node1IP/32 port port=8000-9000 protocol=tcp accept'
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4
source address=node2IP/32 port port=80 protocol=tcp accept'
source address=node2IP/32 port port=80 protocol=tcp accept'
sudo
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node2IP/32 port port=8000-9000 protocol=tcp accept'
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source
address=node2IP/32 port port=8000-9000 protocol=tcp accept'
4. Reload the firewall and verify the settings.
sudo
firewall-cmd --reload
firewall-cmd --reload
firewall-cmd
--list-all
--list-all
Step 4:
Install Additional node with bootstrap
Install Additional node with bootstrap
sudo yum
install tableau-server-version.x86_64.rpm
install tableau-server-version.x86_64.rpm
Step 5:
run initialize-tsm script
run initialize-tsm script
cd
/opt/tableau/tableau_server/packages/scripts.<version_code>/
/opt/tableau/tableau_server/packages/scripts.<version_code>/
sudo
./initialize-tsm -b /path/to/<bootstrap>.json --accepteula
./initialize-tsm -b /path/to/<bootstrap>.json --accepteula
Repeat
Step4 and 5 on third node.
Step4 and 5 on third node.
Step 6:
Add process to the additional nodes.
Add process to the additional nodes.
On
initial node,
initial node,
tsm
topology set-process -n node2 -pr clustercontroller -c 1
topology set-process -n node2 -pr clustercontroller -c 1
tsm
topology set-process -n node3 -pr clustercontroller -c 1
topology set-process -n node3 -pr clustercontroller -c 1
tsm
pending-changes apply --ignore-warnings
pending-changes apply --ignore-warnings
Step 7:
deploy coordination service
deploy coordination service
tsm stop
##check
if there is any pending list.
if there is any pending list.
tsm
pending-changes list
pending-changes list
tsm
pending-changes discard
pending-changes discard
or
tsm
pending-changes apply
pending-changes apply
# check
node name
node name
tsm
topology list-nodes -v
topology list-nodes -v
#create
coordination service
coordination service
tsm
topology deploy-coordination-service -n node1,node2,node3
topology deploy-coordination-service -n node1,node2,node3
tsm start
Step 8:
Configure Client File Service(CFS)
Configure Client File Service(CFS)
On
initial node
initial node
tsm
topology set-process -n node2 -pr clientfileservice -c 1
topology set-process -n node2 -pr clientfileservice -c 1
tsm
topology set-process -n node3 -pr clientfileservice -c 1
topology set-process -n node3 -pr clientfileservice -c 1
tsm
pending-changes apply
pending-changes apply
Step
9: Configure process for second node
9: Configure process for second node
tsm
topology set-process -n node2 -pr gateway -c 1
topology set-process -n node2 -pr gateway -c 1
tsm
topology set-process -n node2 -pr vizqlserver -c 2
topology set-process -n node2 -pr vizqlserver -c 2
tsm
topology set-process -n node2 -pr vizportal -c 2
topology set-process -n node2 -pr vizportal -c 2
tsm
topology set-process -n node2 -pr backgrounder -c 2
topology set-process -n node2 -pr backgrounder -c 2
tsm
topology set-process -n node2 -pr cacheserver -c 2
topology set-process -n node2 -pr cacheserver -c 2
tsm
topology set-process -n node2 -pr searchserver -c 1
topology set-process -n node2 -pr searchserver -c 1
tsm
topology set-process -n node2 -pr dataserver -c 2
topology set-process -n node2 -pr dataserver -c 2
tsm
topology set-process -n node2 -pr filestore -c 1
topology set-process -n node2 -pr filestore -c 1
tsm
topology set-process -n node2 -pr pgsql -c 1
topology set-process -n node2 -pr pgsql -c 1
tsm
pending-changes apply
pending-changes apply
Step 10:
Configure process for third node
Configure process for third node
tsm
topology set-process -n node3 -pr gateway -c 1
topology set-process -n node3 -pr gateway -c 1
tsm
topology set-process -n node3 -pr vizqlserver -c 2
topology set-process -n node3 -pr vizqlserver -c 2
tsm
topology set-process -n node3 -pr vizportal -c 2
topology set-process -n node3 -pr vizportal -c 2
tsm
topology set-process -n node3 -pr backgrounder -c 2
topology set-process -n node3 -pr backgrounder -c 2
tsm
topology set-process -n node3 -pr cacheserver -c 2
topology set-process -n node3 -pr cacheserver -c 2
tsm
topology set-process -n node3 -pr searchserver -c 1
topology set-process -n node3 -pr searchserver -c 1
tsm
topology set-process -n node3 -pr dataserver -c 2
topology set-process -n node3 -pr dataserver -c 2
tsm
topology set-process -n node3 -pr filestore -c 1
topology set-process -n node3 -pr filestore -c 1
tsm
pending-changes apply
pending-changes apply
tsm start
Comments
Post a Comment