Skip to content

Commit

Permalink
Merge pull request #15 from klaytn/13th-onboarding
Browse files Browse the repository at this point in the history
13th onboarding
  • Loading branch information
markyim-kaia authored May 24, 2024
2 parents 0eac149 + f19e170 commit 2dc19da
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 64 deletions.
35 changes: 26 additions & 9 deletions content/20_Klaytn_Configuration/10_firewall_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,37 @@ draft: false

##### 1) For communication and multichannel between klaytn CN, allow TCP ```32323-32324``` with below IP addresses to your firewall ```ingress``` rule.
```vim
other cco cn ip 1
other cco cn ip 2
other cco cn ip 3
other cco cn ip 4
210.109.52.54
210.109.52.222
35.213.154.116
15.235.219.80
147.92.139.235
147.92.139.230
147.92.139.231
147.92.139.232
147.92.139.233
147.92.139.234
35.213.163.233
47.237.2.159
52.79.244.19
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
other cco cn ip 1
other cco cn ip 2
other cco cn ip 3
other cco cn ip 4
210.109.52.54
210.109.52.222
35.213.154.116
15.235.219.80
147.92.139.235
147.92.139.230
147.92.139.231
147.92.139.232
147.92.139.233
147.92.139.234
35.213.163.233
47.237.2.159
52.79.244.19
52.199.8.244
```

Expand Down
4 changes: 2 additions & 2 deletions content/20_Klaytn_Configuration/20_Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Set the PN node in the same way.
##### 1) Add configuration for CN
```vim
# NETWORK=""
NETWORK_ID=7234
NETWORK_ID=6336
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
Expand All @@ -79,7 +79,7 @@ ADDITIONAL="--state.trie-cache-limit 5000 --state.live-pruning"
##### 2) Add configuration for PN
```vim
# NETWORK=""
NETWORK_ID=7234
NETWORK_ID=6336
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
Expand Down
17 changes: 6 additions & 11 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 7234 init --datadir /var/kcnd/data genesis.json
$ kcn --networkid 6336 init --datadir /var/kcnd/data genesis.json
{{< /highlight >}}


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

{{< line_break >}}
Expand All @@ -44,19 +44,14 @@ $ kpn --networkid 7234 init --datadir /var/kpnd/data genesis.json
> example : /var/kpnd/data/static-nodes.json (* We will give the details.)
```vim
** Generate static-nodes.json **
You have 1 CN and 2 PNs, each are cn1, pn1, pn2.
You have 1 CN and 1 PN, each are cn1, pn1.
1. static-nodes.json in pn1
1. static-nodes.json in pn
[
"CN_KNI_ADDRESS@CN_INTERNAL_IP:PORT?discport=0&ntype=cn",
"Other_PN1_KNI_ADDRESS@Other_pn_1:PORT?discport=0&ntype=pn"
]
2. static-nodes.json in pn2
[
"CN_KNI_ADDRESS@CN_INTERNAL_IP:PORT?discport=0&ntype=cn",
"Other_PN2_KNI_ADDRESS@Other_pn_2:PORT?discport=0&ntype=pn"
"Other_PN_KNI_ADDRESS@Other_pn_1:PORT?discport=0&ntype=pn"
]
```

{{< line_break >}}
Expand Down
2 changes: 1 addition & 1 deletion content/40_Start_the_Services/20_generate_BLS_key.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "generate BLS key"
title: "generate BLS key - Bughole Only"
date: 2022-07-11T18:42:35+09:00
weight: 20
pre: "<b>B. </b>"
Expand Down
45 changes: 4 additions & 41 deletions genesis/pre-cypress-genesis.json

Large diffs are not rendered by default.

0 comments on commit 2dc19da

Please sign in to comment.