Skip to content

Commit

Permalink
Merge pull request #6 from klaytn/12th-onboarding
Browse files Browse the repository at this point in the history
12th onboarding
  • Loading branch information
markyim-kaia authored Mar 18, 2024
2 parents 7da56cc + 00b2c15 commit 7e5d1c7
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 27 deletions.
14 changes: 11 additions & 3 deletions content/10_Klaytn_Installation/20_System_Requirement.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,24 @@ draft: false
| Node Type | Model | vCPU | Memory (GiB) | Storage size (GiB) | Storage speed (IOPS) | Price (Seoul region, USD/h) |
| --- | --- | --- | --- | --- | --- | --- |
| CN | m6i.8xlarge | 32 | 128 | 3,000 (Minimum) | 4,000 (Minimum) | 1.92 |
| PN | m6i.4xlarge | 16 | 64 | 3,000 (Minimum) | 4,000 (Minimum) | 0.96 |
| CN | m6i.8xlarge | 32 | 128 | 4,000 (Minimum) | 4,000 (Minimum) | 1.92 |
| PN (with Live Pruning DB) | m6i.2xlarge | 8 | 32 | 3,500 (Minimum) | 4,000 (Minimum) | 0.472 |

{{< line_break >}}
>Recommended Specification for Azure
| Node Type | Model | vCPU | Memory (GiB) | Storage size (GiB) | Storage speed (IOPS) | Price (Seoul Central, USD/h) |
| --- | --- | --- | --- | --- |---|---|
| CN | D32s v5 | 32 | 128 | P50 (4096) | 7500 | 1.625 |
| PN | D16s v5 | 16 | 64 | P50 (4096) | 7500 | 0.8 |
| PN (with Live Pruning DB) | D8s v5 | 8 | 32 | P50 (4096) | 7500 | 0.472 |

{{< line_break >}}
>Recommended Specification for GCP
| Node Type | Model | vCPU | Memory (GiB) | Storage size (GiB) | Storage speed (IOPS) | Price (Seoul Central, USD/h) |
| --- | --- | --- | --- | --- |---|---|
| CN | n2-standard-32 | 32 | 128 | 4,000 | 4,000 (Minimum) | 1.625 |
| PN (with Live Pruning DB) | n2-standard-8 | 8 | 32 | 3,500 (Minimum) | 7500 | 0.508121 |

{{< line_break >}}
{{< line_break >}}
Expand Down
24 changes: 12 additions & 12 deletions content/10_Klaytn_Installation/30_Klaytn_Package_Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,33 +62,33 @@ The other sections assume that the path is added to the variable.

### 2. RPM Distribution (RHEL/CentOS/Fedora)

#### Install downloaded RPM
>You can install the downloaded RPM file with the following yum command.
#### Install from Klaytn Yum Repo
>You can install from the Klaytn Yum repo, run:
##### 1) CN Installation
{{< highlight html >}}
$ yum install kcnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kcnd-baobab-vX.X.X.el7.x86_64.rpm
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kcnd
{{< /highlight >}}
##### 2) PN Installation
{{< highlight html >}}
$ yum install kpnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kpnd-baobab-vX.X.X.el7.x86_64.rpm
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kpnd
{{< /highlight >}}
{{< line_break >}}

#### Install from Klaytn Yum Repo
>Alternatively, you can install from the Klaytn Yum repo, run:
#### Install downloaded RPM
>Alternatively, you can install the downloaded RPM file with the following yum command.
##### 1) CN Installation
{{< highlight html >}}
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kcnd
$ yum install kcnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kcnd-baobab-vX.X.X.el7.x86_64.rpm
{{< /highlight >}}
##### 2) PN Installation
{{< highlight html >}}
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kpnd
$ yum install kpnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kpnd-baobab-vX.X.X.el7.x86_64.rpm
{{< /highlight >}}
{{< line_break >}}

Expand Down
14 changes: 6 additions & 8 deletions content/20_Klaytn_Configuration/10_firewall_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,18 @@ draft: false

##### 1) For communication and multichannel between klaytn CN, allow TCP ```32323-32324``` with below IP addresses to your firewall ```ingress``` rule.
```vim
61.109.239.176
34.64.236.63
52.79.70.128
5.199.164.114
61.109.238.31
34.143.209.118
47.128.177.208
Your PN1 IP
Your PN2 IP
```

##### 2) Additionally, it is required to allow UDP ```32323``` with the same IP addresses to your firewall ```ingress``` rule.
```vim
61.109.239.176
34.122.80.127
52.79.70.128
5.199.164.114
61.109.238.31
34.143.209.118
47.128.177.208
52.199.8.244
```

Expand Down
6 changes: 4 additions & 2 deletions content/20_Klaytn_Configuration/20_Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,23 @@ Set the PN node in the same way.
##### 1) Add configuration for CN
```vim
NETWORK=""
NETWORK_ID=7233
NETWORK_ID=7234
DATA_DIR=/var/kcnd/data # path where you created in #1
LOG_DIR=/var/kcnd/logs # path where you created in #1
NO_DISCOVER=0
BOOTNODES="kni://8e1881cdca97f52a76c6d2683db030f51a34ffc039476b4ed5bc5c757de1b5ce48fea1e53aa182a6ac2b076460881d50d3b57461d1cf36fae777e992893ad485@52.199.8.244:32323?discport=32323&ntype=bn"
REWARDBASE="" # ADD YOUR REWARDS ADDRESS GENERATED BY KEYTOOL
ADDITIONAL="--state.trie-cache-limit 5000 --state.live-pruning"
```
##### 2) Add configuration for PN
```vim
NETWORK=""
NETWORK_ID=7233
NETWORK_ID=7234
DATA_DIR=/var/kpnd/data # path where you created in #1
LOG_DIR=/var/kpnd/logs # path where you created in #1
NO_DISCOVER=1
BOOTNODES=""
ADDITIONAL="--state.trie-cache-limit 5000 --state.live-pruning"
```
{{< line_break >}}
{{< line_break >}}
Expand Down
4 changes: 2 additions & 2 deletions content/20_Klaytn_Configuration/30_Init_Genesis_Block.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ $ curl -X GET https://packages.klaytn.net/pre-cypress/genesis.json -o /var/kpnd/
### 2. Init Genesis block under DATA directory
##### 1) CN configuration
{{< highlight html >}}
$ kcn --networkid 7233 init --datadir /var/kcnd/data genesis.json
$ kcn --networkid 7234 init --datadir /var/kcnd/data genesis.json
{{< /highlight >}}


##### 2) PN configuration
{{< highlight html >}}
$ kpn --networkid 7233 init --datadir /var/kpnd/data genesis.json
$ kpn --networkid 7234 init --datadir /var/kpnd/data genesis.json
{{< /highlight >}}

{{< line_break >}}
Expand Down

0 comments on commit 7e5d1c7

Please sign in to comment.