Delete Broker
삭제Coordinator 노드에서 broker 노드를 삭제한다Remove the broker node from the Coordinator node.
Code Block | ||
---|---|---|
| ||
# Delete broker 노드를 삭제한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --remove-node="192.168.0.84:5301" |
Broker 종료/중단
Coordinator 노드에서 broker 노드를 종료/중단하는 방법이 있다Shut Down / Stop Broker
There is a way to shut down / kill the broker node on the Coordinator node.
Code Block | ||
---|---|---|
| ||
# Terminate broker 노드를 종료한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --shutdown-node="192.168.0.84:5301" # Stop broker 노드를 중단한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --kill-node="192.168.0.84:5301" |
또는, broker가 설치된 서버에서 직접 그 프로세스를 종료/중단하는 방법도 있다Alternatively, you can shut down / kill the process directly from the server where the broker is installed.
Code Block |
---|
# Terminate broker 노드를 종료한다node. $MACHBASE_HOME/bin/machadmin -s # Stop broker 노드를 종료한다node. $MACHBASE_HOME/bin/machadmin -k |
Warehouse
설치Installation
Coordinator 노드에서 active 노드와 standby 노드를 설치한다.
사전에 설치된 deployer 를 통해서 설치된다.
Group1 설치
첫번째 Warehouse 그룹인 Group1 노드를 설치한다Install the active node and the standby node from the Coordinator node.
They will be installed through a pre-installed deployer.
Group 1 Installation
Install the first Warehouse Group1 node.
Code Block | ||
---|---|---|
| ||
# Install group1 warehouse를 설치한다warehouse. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --add-node="192.168.0.83:5401" \ --node-type=warehouse --deployer="192.168.0.83:5201" --port-no="5400" \ --home-path="/home/machbase/warehouse_g1" --package-name=machbase \ --replication="192.168.0.83:5402" --group="group1" --no-replicate # 설치된Run 노드를installed 구동한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --startup-node="192.168.0.84:5401" |
Option Items |
---|
Description |
---|
Example |
---|
--add-node |
추가할 노드명으로 “IP:PORT” 형식으로 지정한다.
Specifies the node name to be added as "IP: PORT". The PORT value is set to the CLUSTER_LINK_PORT_NO |
value. | 192.168.0.84:5401 |
--node-type |
Specifies the node type. There are five types: coordinator, deployer, lookup, broker, and warehouse |
. | warehouse |
--deployer |
Registers the deployer node |
information of the server to be installed. | 192.168.0.84:5201 |
--port-no |
machbased 구동 포트를 지정한다.
Broker에서 5656값을 설정하였으므로 동일 서버에 설치되는 경우 다른 포트를 지정해야 한다. 따라서 warehouse 사용 포트 대역인 5400 을 지정한다.
Specifies the working port of 'machbased'. Since the value was set to 5656 on the Broker, a different port must be specified if it is installed on the same server. The warehouse port number is set as 5400. | 5400 |
--home-path |
Specifies the path to install. To distinguish the groups, set them in order of warehouse_g1, g2, g3 |
. | /home/machbase/warehouse_g1 |
--package-name |
Sets the package name specified when adding the package. | machbase |
--replication |
Replication을 담당할 노드를 “IP:PORT” 형식으로 지정한다.
Specifies the node in charge of replication as "IP: PORT". The port value is set to the warehouse port number 5402. | 192.168.0.84:5402 |
--group |
Specifies the Group name. | group1 |
--no-replicate |
Group내의 warehouse데이터가 있는 경우, 노드추가 시, 데이터를 복제할 것 인지 지정한다.
Group1 에 노드 추가 설치
Warehouse Group1에 노드를 한 개 더 추가 설치한다Specifies whether to replicate data when adding a node if there is warehouse data in the group. | ||
--set-group-state | Specifies the state of the group as normal and readonly. Normal is read, write / readonly is read only |
Add Node to Group 1
Add another node to Warehouse Group1.
Code Block | ||
---|---|---|
| ||
# group1에Add warehouse node를node 추가to 설치한다group1. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --add-node="192.168.0.84:5401" \ --node-type=warehouse --deployer="192.168.0.84:5201" --port-no="5400" \ --home-path="/home/machbase/warehouse_g1" --package-name=machbase \ --replication="192.168.0.84:5402" --group="group1" --no-replicate # 설치된Run 노드를installed 구동한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --startup-node="192.168.0.84:5401" |
Option Items |
---|
Description |
---|
Example |
---|
--add-node |
추가할 노드명으로 “IP:PORT” 형식으로 지정한다.
Specifies the node name to be added as "IP: PORT". The PORT value is set to the CLUSTER_LINK_PORT_NO |
value. | 192.168.0.84:5401 |
--node-type |
Specifies the node type. There are five types: coordinator, deployer, lookup, broker, |
and warehouse. | warehouse |
--deployer |
Registers the deployer node |
information of the server to be installed. | 192.168.0.84:5201 |
--port-no |
machbased 구동 포트를 지정한다.
Broker에서 5656값을 설정하였으므로 동일 서버에 설치되는 경우 다른 포트를 지정해야 한다. 따라서 warehouse 사용 포트 대역인 5400 을 지정한다.
Specifies the working port of 'machbased'. Since the value was set to 5656 on the Broker, a different port must be specified if it is installed on the same server. The warehouse port number is set as 5400. | 5400 |
--home-path |
Specifies the path to install. To distinguish the groups, set them in order of warehouse_g1, g2, g3 |
. | /home/machabse/warehouse_g1 |
--package-name |
Sets the package name specified when adding the package. | machbase |
--replication |
Replication 을 담당할 노드를 “IP:PORT” 형식으로 지정한다.
Specify the node in charge of replication as "IP: PORT". The port value is set to the warehouse port number 5402. | 192.168.0.84:5402 |
--group |
Specifies the Group name. | group1 |
--no-replicate |
Specifies whether to replicate data when adding a node if there is warehouse data in the group. | |
--set-group-state |
그룹의 상태를 normal과 readonly 두가지로 지정한다.
Normal은 읽기,쓰기 / Readonly 읽기만 가능
Group2 설치
두 번째 Warehouse 그룹인 Group2 노드를 설치한다Specifies the state of the group as normal and readonly. Normal is read, write / readonly is read only |
Group 2 Installation
Install the second Warehouse Group2 node.
Code Block | ||
---|---|---|
| ||
# Install group1 warehouse를 설치한다warehouse. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --add-node="192.168.0.84:5411" \ --node-type=warehouse --deployer="192.168.0.84:5201" --port-no="5410" \ --home-path="/home/machbase/warehouse_g2" --package-name=machbase \ --replication="192.168.0.84:5412" --group="group2" --no-replicate # 설치된Run 노드를installed 구동한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --startup-node="192.168.0.84:5411" |
Option Items |
---|
Description |
---|
Example |
---|
--add-node |
추가할 노드명으로 “IP:PORT” 형식으로 지정한다.
Specifies the node name to be added as "IP: PORT". The PORT value is set to the CLUSTER_LINK_PORT_NO |
value. | 192.168.0.84:5411 |
--node-type |
Specifies the node type. There are five types: coordinator, deployer, lookup, broker, and warehouse |
. | warehouse |
--deployer |
Registers the deployer node |
information of the server to be installed. | 192.168.0.84:5201 |
--port-no |
machbased 구동 포트를 지정한다.
Broker에서 5656값을 설정하였으므로 동일 서버에 설치되는 경우 다른 포트를 지정해야 한다. 따라서 warehouse 사용 포트 대역인 5410 을 지정한다.
Specifies the working port of 'machbased'. Since the value was set to 5656 on the Broker, a different port must be specified if it is installed on the same server. The warehouse port number is set as 5410. | 5410 |
--home-path |
Specifies the path to install. To distinguish the groups, set them in order of warehouse_g1, g2, g3 |
. | /home/machbase/warehouse_g2 |
--package-name |
Sets the package name specified when adding the package. | machbase |
--replication |
Replication을 담당할 노드를 “IP:PORT” 형식으로 지정한다.
Specifies the node in charge of replication as "IP: PORT". The port value is set to the warehouse port number 5412. | 192.168.0.84:5412 |
--group |
Specifies the Group name. | group2 |
--no-replicate |
Specifies whether to replicate data when adding a node if there is warehouse data in the group. | |
--set-group-state |
그룹의 상태를 normal과 readonly 두가지로 지정한다.
Normal은 읽기,쓰기 / Readonly 읽기만 가능
Specifies the state of the group as normal and readonly. Normal is read, write / readonly is read only |
Add Node to Group 2
Add another node to Warehouse Group2.
Code Block | ||
---|---|---|
| ||
# group1에Add warehouse node를node 추가to 설치한다group1. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --add-node="192.168.0.83:5411" \ --node-type=warehouse --deployer="192.168.0.83:5201" --port-no="5410" \ --home-path="/home/machbase/warehouse_g2" --package-name=machbase \ --replication="192.168.0.83:5412" --group="group2" --no-replicate # 설치된Run 노드를installed 구동한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --startup-node="192.168.0.83:5411" |
Option Items |
---|
Description |
---|
Example |
---|
--add-node |
추가할 노드명으로 “IP:PORT” 형식으로 지정한다.
Specifies the node name to be added as "IP: PORT". The PORT value is set to the CLUSTER_LINK_PORT_NO |
value. | 192.168.0.83:5411 |
--node-type |
Specifies the node type. There are five types: coordinator, deployer, lookup, broker, and warehouse |
. | warehouse |
--deployer |
Registers the deployer node |
information of the server to be installed. | 192.168.0.83:5201 |
--port-no |
machbased 구동 포트를 지정한다.
Broker에서 5656값을 설정하였으므로 동일 서버에 설치되는 경우 다른 포트를 지정해야 한다. 따라서 warehouse 사용 포트 대역인 5410 을 지정한다.
Specifies the working port of 'machbased'. Since the value was set to 5656 on the Broker, a different port must be specified if it is installed on the same server. The warehouse port number is set as 5400. | 5410 |
--home-path |
Specifies the path to install. To distinguish the groups, set them in order of warehouse_g1, g2, g3 |
. | /home/machbase/warehouse_g2 |
--package-name |
Sets the package name specified when adding the package. | machbase |
--replication |
Replication 을 담당할 노드를 “IP:PORT” 형식으로 지정한다.
Specifies the node in charge of replication as "IP: PORT". The port value is set to the warehouse port number 5412. | 192.168.0.83:5412 |
--group |
Specifies the Group name. | group2 |
--no-replicate |
Specifies whether to replicate data when adding a node if there is warehouse data in the group. | |
--set-group-state |
그룹의 상태를 normal과 readonly 두가지로 지정한다.
Normal은 읽기,쓰기 / Readonly 읽기만 가능
Warehouse 삭제
Coordinator 노드에서 warehouse 노드를 삭제한다Specifies the state of the group as normal and readonly. Normal is read, write / readonly is read only |
Delete Warehouse
Delete the warehouse node from the Coordinator node.
Code Block | ||
---|---|---|
| ||
# Delete warehouse 노드를 삭제한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --remove-node="192.168.0.83:5401" |
Warehouse 종료/중단
Coordinator 노드에서 warehouse 노드를 종료/중단하는 방법이 있다Shut Down / Stop Warehouse
There is a way to shut down / kill the warehouse node at the Coordinator node.
Code Block | ||
---|---|---|
| ||
# Terminate warehouse 노드를 종료한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --shutdown-node="192.168.0.83:5401" # Stop warehouse 노드를 중단한다node. $MACHBASE_COORDINATOR_HOME/bin/machcoordinatoradmin --kill-node="192.168.0.83:5401" |
또는 warehouse가 설치된 서버에서 직접 그 프로세스를 종료/중단하는 방법이 있다Otherwise, the process can be shut down / killed directly from the server where the warehouse is installed.
Code Block |
---|
# Terminate warehouse 노드를 종료한다node. $MACHBASE_HOME/bin/machadmin -s # Stop warehouse 노드를 종료한다node. $MACHBASE_HOME/bin/machadmin -k |