diff --git a/content/10_prerequisites/10_firewall_configuration.md b/content/10_prerequisites/10_firewall_configuration.md index 428db55..8676207 100644 --- a/content/10_prerequisites/10_firewall_configuration.md +++ b/content/10_prerequisites/10_firewall_configuration.md @@ -10,7 +10,7 @@ draft: false #### 1. *(Only for CN)* Firewall configuration ##### 1) If pre-cypress performance test is completed, remove below Klaytn CN's IP address of Pre-cypress from your firewall ingress rule. -```61.109.239.176``` +```61.109.238.31``` ```52.199.8.244``` ##### 2) For communication and multichannel between Baobab CN, allow TCP ```32323-32324``` with below IP addresses to your firewall ingress rule. diff --git a/content/30_download_chaindata/10_download_chaindata.md b/content/30_download_chaindata/10_download_chaindata.md index 5230a67..d037f76 100644 --- a/content/30_download_chaindata/10_download_chaindata.md +++ b/content/30_download_chaindata/10_download_chaindata.md @@ -9,47 +9,49 @@ draft: false {{< line_break >}} #### 1. Download the latest chaindata snapshot from the Baobab snapshot archive. ##### 0) Before proceeding, please check if your disk space is enough to store and extract the Baobab chaindata. -_** You can refer to the chaindata size via **[Boabab snapshot archive](https://packages.klaytn.net/baobab/chaindata/)** where the Baobab chaindata snapshots have been snapshotted._ +_** You can refer to the chaindata size via **[Boabab snapshot archive](https://packages.klaytn.net/baobab/pruning-chaindata/)** where the Baobab chaindata snapshots have been snapshotted._ {{< line_break >}} ##### 1) Download the latest one from the archive. _** Please note that this step will take a lot of time to download since snapshot is more than 100 GB. If you want to reduce the time, please refer the next step._ _** The latest chaindata name can be different with this example due to the date information._ -##### 1) For CN and PN1 +##### 1) For CN +_** Please note that this step will take a lot of time to download since snapshot is more than 1.4 TB. If you want to reduce the time, please refer the next step._ +_** The latest chaindata name can be different with this example due to the date information._ {{< highlight html >}} -$ URL=`curl -s https://packages.klaytn.net/baobab/chaindata/ |grep latest |awk -F'"' '{print $2}'` +$ URL=`curl -s https://packages.klaytn.net/baobab/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'` $ echo $URL -https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/klaytn-baobab-chaindata-20240107010111.tar.gz +https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/pruning/klaytn-baobab-pruning-chaindata-20240131010111.tar.gz $ wget $URL {{< /highlight >}} -##### 2) For PN2 +##### 2) For PN {{< highlight html >}} $ URL=`curl -s https://packages.klaytn.net/baobab/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'` $ echo $URL -https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/pruning/klaytn-baobab-pruning-chaindata-20240107010112.tar.gz +https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/pruning/klaytn-baobab-pruning-chaindata-20240131010111.tar.gz $ wget $URL {{< /highlight >}} ##### 2) Optional - If you want to save the time for downloading, you can consider using ```axel``` command. _**[Axel](https://github.com/axel-download-accelerator/axel) tries to accelerate the download process by using multiple connections per file._ -##### 1) For CN and PN1 +##### 1) For CN {{< highlight html >}} (Amazon Linux 2) $ sudo amazon-linux-extras install epel (CentOS) $ sudo yum install epel-release -y $ sudo yum install axel -y -$ URL=`curl -s https://packages.klaytn.net/baobab/chaindata/ |grep latest |awk -F'"' '{print $2}'` +$ URL=`curl -s https://packages.klaytn.net/baobab/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'` $ echo $URL -https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/klaytn-baobab-chaindata-20240107010111.tar.gz +https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/pruning/klaytn-baobab-pruning-chaindata-20240131010111.tar.gz $ axel -n8 $URL {{< /highlight >}} -##### 2) For PN2 +##### 2) For PN {{< highlight html >}} (Amazon Linux 2) $ sudo amazon-linux-extras install epel (CentOS) $ sudo yum install epel-release -y $ sudo yum install axel -y $ URL=`curl -s https://packages.klaytn.net/baobab/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'` $ echo $URL -https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/pruning/klaytn-baobab-chaindata-20240107010111.tar.gz +https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/baobab/pruning/klaytn-baobab-pruning-chaindata-20240131010111.tar.gz $ axel -n8 $URL {{< /highlight >}} {{< line_break >}} diff --git a/content/30_download_chaindata/20_unarchive_chaindata.md b/content/30_download_chaindata/20_unarchive_chaindata.md index b68ee6b..09f8020 100644 --- a/content/30_download_chaindata/20_unarchive_chaindata.md +++ b/content/30_download_chaindata/20_unarchive_chaindata.md @@ -11,15 +11,10 @@ draft: false ##### 1) For CN, {{< highlight html >}} -$ tar -C /kcnd/data -xvf klaytn-baobab-chaindata-20240107010111.tar.gz --exclude klay/chaindata/receipts +$ tar -C /kcnd/data -xvf klaytn-baobab-pruning-chaindata-20240107010111.tar.gz --exclude klay/chaindata/receipts {{< /highlight >}} -##### 2) For PN1, -{{< highlight html >}} -$ tar -C /kpnd/data -xvf klaytn-baobab-chaindata-20240107010111.tar.gz --exclude klay/chaindata/receipts -{{< /highlight >}} - -##### 3) For PN2, +##### 2) For PN, {{< highlight html >}} $ tar -C /kpnd/data -xvf klaytn-baobab-pruning-chaindata-20240107010111.tar.gz --exclude klay/chaindata/receipts {{< /highlight >}} @@ -29,7 +24,7 @@ _** If you want to reduce the time for extracting, please refer this [pigz](http (Amazon Linux 2) $ sudo amazon-linux-extras install epel (CentOS) $ sudo yum install epel-release -y $ sudo yum install pigz -$ tar -I pigz -C /k*nd/data -xvf klaytn-baobab-chaindata-20240107010111.tar.gz --exclude klay/chaindata/receipts +$ tar -I pigz -C /k*nd/data -xvf klaytn-baobab-pruning-chaindata-20240107010111.tar.gz --exclude klay/chaindata/receipts {{< /highlight >}} {{< line_break >}} diff --git a/content/40_configure_network/20_node_configuration.md b/content/40_configure_network/20_node_configuration.md index 8fd926a..26a4898 100644 --- a/content/40_configure_network/20_node_configuration.md +++ b/content/40_configure_network/20_node_configuration.md @@ -12,30 +12,22 @@ _** Note that CN and PN have some different information._ ##### 1) For CN, your configuration should be modified as shown below. {{< highlight html >}} -$ egrep "^NETWORK|NO_DISCOVER|BOOTNODES" /etc/kcnd/conf/kcnd.conf +$ egrep "^NETWORK|NO_DISCOVER|BOOTNODES|ADDITIONAL" /etc/kcnd/conf/kcnd.conf NETWORK="baobab" NETWORK_ID= NO_DISCOVER=0 # setting 1 to disable discovery BOOTNODES="kni://979159c738bb0c8c60b36267c56d2b4d4a995326be666460c3d612856caab522ebe6f81ea5cdbb605051f12cbf8f787ce0f172256545a5b3400c751afbdcd0c8@13.209.190.55:32323?discport=32323&ntype=bn" +ADDITIONAL="--state.trie-cache-limit 5000 --state.live-pruning" {{< /highlight >}} -##### 2) For PN1, your configuration should be modified as shown below. -{{< highlight html >}} -$ egrep "^NETWORK|NO_DISCOVER|BOOTNODES" /etc/kpnd/conf/kpnd.conf -NETWORK="baobab" -NETWORK_ID= -NO_DISCOVER=1 # setting 1 to disable discovery -BOOTNODES="" -{{< /highlight >}} - -##### 3) For PN2, your configuration should be modified as shown below. +##### 2) For PN {{< highlight html >}} $ egrep "^NETWORK|NO_DISCOVER|BOOTNODES|ADDITIONAL" /etc/kpnd/conf/kpnd.conf -NETWORK="baobab" +NETWORK="cypress" NETWORK_ID= NO_DISCOVER=1 # setting 1 to disable discovery BOOTNODES="" -ADDITIONAL="--state.live-pruning" +ADDITIONAL="--state.trie-cache-limit 5000 --state.live-pruning" {{< /highlight >}} {{< line_break >}}