Endpoint node 관련 질문 드립니다

endpoint node 구축을 하고자 패키지를 다운로드 하고,
kend.conf 파일에서 data_dir 설정한 후
kend start 명령어를 사용하면 Starting kend: OK라는 메세지를 확인할 수 있었으나
바로 kend status 명령어를 사용하면 kend is down이라고 나옵니다…
추가적으로 설정해야하는 부분이 있을까요…?

안녕하세요.
EN 연결 Klaytn docs를 참고하여 진행하신 것이 맞을까요?
Network와 data_dir을 제대로 설정하셨으면
Baobab 노드 동작이 가능합니다.
kend.conf와 logs 폴더 안의 로그를 남겨주시면 정확한 이유를 알 수 있을 것 같습니다.

1개의 좋아요

cypress, baobab is only available if you don’t specify NETWORK_ID.

NETWORK=“cypress”

if you specify NETWORK_ID, a private network is created.

NETWORK_ID=

PORT=32323

SERVER_TYPE=“fasthttp”
SYNCMODE=“full”
VERBOSITY=3
MAXCONNECTIONS=10

txpool options setting

TXPOOL_EXEC_SLOTS_ALL=4096
TXPOOL_NONEXEC_SLOTS_ALL=4096
TXPOOL_EXEC_SLOTS_ACCOUNT=4096
TXPOOL_NONEXEC_SLOTS_ACCOUNT=4096
TXPOOL_LIFE_TIME=“30m”

rpc options setting

RPC_ENABLE=1 # if this is set, the following options will be used
RPC_API=“klay” # available apis: admin,debug,klay,miner,net,personal,rpc,txpool,web3
RPC_PORT=8551
RPC_ADDR=“0.0.0.0”
RPC_CORSDOMAIN=""
RPC_VHOSTS="
"

ws options setting

WS_ENABLE=1 # if this is set, the following options will be used
WS_API=“klay” # available apis: admin,debug,klay,miner,net,personal,rpc,txpool,web3
WS_ADDR=“0.0.0.0”
WS_PORT=8552
WS_ORIGINS="*"

service chain options setting

SC_MAIN_BRIDGE=0 # if this is set, the following options will be used.
SC_MAIN_BRIDGE_PORT=50505
SC_MAIN_BRIDGE_INDEXING=0 # this option will be deprecated.

Setting 1 is to enable options, otherwise disabled.

AUTO_RESTART=0
METRICS=1
PROMETHEUS=1
DB_NO_PARALLEL_WRITE=0
MULTICHANNEL=1
SUBPORT=$((PORT + 1)) # used for multi channel option

discover options

NO_DISCOVER=0 # setting 1 to disable discovery
BOOTNODES=""

Raw options e.g) “–txpool.nolocals”

ADDITIONAL=""

DATA_DIR=/kend/data
LOG_DIR=$DATA_DIR/logs
로 설정하였고 log의 경우는 kend.out 파일에
./kend: line 261: /home/ec2-user/klaytn-endpoint/ken-linux-amd64/bin/ken: cannot execute binary file
이라고 확인했습니다… 그리고 cypress에 대한 endpoint node 구축을 진행하고 있습니다.
빠른 답변 감사드립니다

내용 첨부 주셔서 감사합니다.
kend.conf 에서는 문제가 될 만한 부분은 보이지 않네요.
몇 가지 확인을 부탁드리면,
다운로드한 패키지가 본인의 운영체제 (linux / mac)에 해당하는 패키지가 맞는지,
또 cypress package가 맞는지,
아카이브 배포가 아니라 패키지 배포가 맞는지
확인 부탁드립니다.

2개의 좋아요

ec2를 선택할 때, arm 기반 cpu는 binary 파일을 실행할 때 문제가 생기네요… 빠른 답변 감사합니다! 해결되었습니다!

1개의 좋아요