From ab6dfd557bb74f461f37f0f47f06a362c2a1e9b7 Mon Sep 17 00:00:00 2001 From: cjcchen Date: Mon, 7 Oct 2024 16:37:49 +0000 Subject: [PATCH] rm cert --- scripts/deploy/README.md | 2 +- .../deploy/config/kv_performance_server.conf | 10 +++--- scripts/deploy/config/kv_server.conf | 10 +++--- scripts/deploy/data/cert/admin.key.pri | 2 +- scripts/deploy/data/cert/admin.key.pub | 2 +- scripts/deploy/data/cert/cert_1.cert | Bin 166 -> 0 bytes scripts/deploy/data/cert/cert_2.cert | 7 ---- scripts/deploy/data/cert/cert_3.cert | 7 ---- scripts/deploy/data/cert/cert_4.cert | 6 ---- scripts/deploy/data/cert/cert_5.cert | 8 ----- scripts/deploy/data/cert/cert_6.cert | Bin 166 -> 0 bytes scripts/deploy/data/cert/cert_7.cert | 6 ---- scripts/deploy/data/cert/cert_8.cert | Bin 166 -> 0 bytes scripts/deploy/data/cert/cert_9.cert | 7 ---- scripts/deploy/data/cert/node1.key.pri | 2 -- scripts/deploy/data/cert/node1.key.pub | 3 -- scripts/deploy/data/cert/node2.key.pri | 2 -- scripts/deploy/data/cert/node2.key.pub | 2 -- scripts/deploy/data/cert/node3.key.pri | Bin 36 -> 0 bytes scripts/deploy/data/cert/node3.key.pub | 3 -- scripts/deploy/data/cert/node4.key.pri | Bin 36 -> 0 bytes scripts/deploy/data/cert/node4.key.pub | 2 -- scripts/deploy/data/cert/node5.key.pri | 2 -- scripts/deploy/data/cert/node5.key.pub | 3 -- scripts/deploy/data/cert/node6.key.key.pri | 2 -- scripts/deploy/data/cert/node6.key.key.pub | 2 -- scripts/deploy/data/cert/node6.key.pri | 2 -- scripts/deploy/data/cert/node6.key.pub | 2 -- scripts/deploy/data/cert/node7.key.key.pri | 2 -- scripts/deploy/data/cert/node7.key.key.pub | 2 -- scripts/deploy/data/cert/node7.key.pri | 2 -- scripts/deploy/data/cert/node7.key.pub | 2 -- scripts/deploy/data/cert/node8.key.key.pri | 2 -- scripts/deploy/data/cert/node8.key.key.pub | 2 -- scripts/deploy/data/cert/node8.key.pri | 2 -- scripts/deploy/data/cert/node8.key.pub | 2 -- scripts/deploy/data/cert/node9.key.key.pri | 2 -- scripts/deploy/data/cert/node9.key.key.pub | 2 -- scripts/deploy/data/cert/node9.key.pri | 2 -- scripts/deploy/data/cert/node9.key.pub | 2 -- .../deploy/performance/pbft_performance.sh | 1 + scripts/deploy/script/deploy.sh | 19 ++++++++--- scripts/deploy/script/generate_admin_key.sh | 30 ++++++++++++++++++ 43 files changed, 59 insertions(+), 109 deletions(-) delete mode 100644 scripts/deploy/data/cert/cert_1.cert delete mode 100644 scripts/deploy/data/cert/cert_2.cert delete mode 100644 scripts/deploy/data/cert/cert_3.cert delete mode 100644 scripts/deploy/data/cert/cert_4.cert delete mode 100644 scripts/deploy/data/cert/cert_5.cert delete mode 100644 scripts/deploy/data/cert/cert_6.cert delete mode 100644 scripts/deploy/data/cert/cert_7.cert delete mode 100644 scripts/deploy/data/cert/cert_8.cert delete mode 100644 scripts/deploy/data/cert/cert_9.cert delete mode 100644 scripts/deploy/data/cert/node1.key.pri delete mode 100644 scripts/deploy/data/cert/node1.key.pub delete mode 100644 scripts/deploy/data/cert/node2.key.pri delete mode 100644 scripts/deploy/data/cert/node2.key.pub delete mode 100644 scripts/deploy/data/cert/node3.key.pri delete mode 100644 scripts/deploy/data/cert/node3.key.pub delete mode 100644 scripts/deploy/data/cert/node4.key.pri delete mode 100644 scripts/deploy/data/cert/node4.key.pub delete mode 100644 scripts/deploy/data/cert/node5.key.pri delete mode 100644 scripts/deploy/data/cert/node5.key.pub delete mode 100644 scripts/deploy/data/cert/node6.key.key.pri delete mode 100644 scripts/deploy/data/cert/node6.key.key.pub delete mode 100644 scripts/deploy/data/cert/node6.key.pri delete mode 100644 scripts/deploy/data/cert/node6.key.pub delete mode 100644 scripts/deploy/data/cert/node7.key.key.pri delete mode 100644 scripts/deploy/data/cert/node7.key.key.pub delete mode 100644 scripts/deploy/data/cert/node7.key.pri delete mode 100644 scripts/deploy/data/cert/node7.key.pub delete mode 100644 scripts/deploy/data/cert/node8.key.key.pri delete mode 100644 scripts/deploy/data/cert/node8.key.key.pub delete mode 100644 scripts/deploy/data/cert/node8.key.pri delete mode 100644 scripts/deploy/data/cert/node8.key.pub delete mode 100644 scripts/deploy/data/cert/node9.key.key.pri delete mode 100644 scripts/deploy/data/cert/node9.key.key.pub delete mode 100644 scripts/deploy/data/cert/node9.key.pri delete mode 100644 scripts/deploy/data/cert/node9.key.pub create mode 100755 scripts/deploy/script/generate_admin_key.sh diff --git a/scripts/deploy/README.md b/scripts/deploy/README.md index ee41cae3a..97b25b313 100644 --- a/scripts/deploy/README.md +++ b/scripts/deploy/README.md @@ -60,6 +60,6 @@ Before running, place the private IP addresses of your machines in the file ``co Run the script: - ./performance/run_performance.sh config/kv_performance_server.conf + ./performance/pbft_performance.sh config/kv_performance_server.conf Results will be saved locally and be shown on the screen as well. diff --git a/scripts/deploy/config/kv_performance_server.conf b/scripts/deploy/config/kv_performance_server.conf index f29dd30e5..1fa02d130 100644 --- a/scripts/deploy/config/kv_performance_server.conf +++ b/scripts/deploy/config/kv_performance_server.conf @@ -1,9 +1,9 @@ iplist=( -172.31.41.205 -172.31.43.69 -172.31.41.203 -172.31.41.181 -172.31.42.42 +172.31.25.4 +172.31.27.205 +172.31.27.141 +172.31.20.222 +172.31.28.162 ) client_num=1 diff --git a/scripts/deploy/config/kv_server.conf b/scripts/deploy/config/kv_server.conf index 500e34d6c..833852f4d 100644 --- a/scripts/deploy/config/kv_server.conf +++ b/scripts/deploy/config/kv_server.conf @@ -1,8 +1,8 @@ iplist=( -172.31.57.186 -172.31.57.186 -172.31.57.186 -172.31.57.186 -172.31.57.186 +172.31.25.4 +172.31.27.205 +172.31.27.141 +172.31.20.222 +172.31.28.162 ) diff --git a/scripts/deploy/data/cert/admin.key.pri b/scripts/deploy/data/cert/admin.key.pri index 7629a70a9..6933b7c4a 100644 --- a/scripts/deploy/data/cert/admin.key.pri +++ b/scripts/deploy/data/cert/admin.key.pri @@ -1,2 +1,2 @@ - |quwq&07!6fa's| \ No newline at end of file + 4B790BCC48862950DA85216F3F1335CB \ No newline at end of file diff --git a/scripts/deploy/data/cert/admin.key.pub b/scripts/deploy/data/cert/admin.key.pub index 492481053..6933b7c4a 100644 --- a/scripts/deploy/data/cert/admin.key.pub +++ b/scripts/deploy/data/cert/admin.key.pub @@ -1,2 +1,2 @@ - u>,Nb+Rm.dQ|;V;݅  \ No newline at end of file + 4B790BCC48862950DA85216F3F1335CB \ No newline at end of file diff --git a/scripts/deploy/data/cert/cert_1.cert b/scripts/deploy/data/cert/cert_1.cert deleted file mode 100644 index cb2ffd016e8ff7b2c275972455ad78f84b380d7e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 166 zcmV;X09pSEBnlvPK8>s_>deW_PGT!kC=NeUyT%MRs10T2QZ0U`-8GB++TE-)@JD3MMQ zLK;AUU4cmw{c)RSsEc_aPjoX(s?l9yNYbI%XgT!nKCp{6eD7Y}>rXh<=r`Ftvsfyo UI{|Fu@uX(T5m#Wu7u*0K0WVEKHvj+t diff --git a/scripts/deploy/data/cert/cert_2.cert b/scripts/deploy/data/cert/cert_2.cert deleted file mode 100644 index 81b874353..000000000 --- a/scripts/deploy/data/cert/cert_2.cert +++ /dev/null @@ -1,7 +0,0 @@ - -$ - u>,Nb+Rm.dQ|;V;݅ | -6 -$ - 󗑉EjK' =zp@rE" 127.0.0.1(NB@,'GJ|R;'m@:#9ĝ'[ JZ}_,Iʟ9'n)% -n|G  \ No newline at end of file diff --git a/scripts/deploy/data/cert/cert_3.cert b/scripts/deploy/data/cert/cert_3.cert deleted file mode 100644 index f7f811218..000000000 --- a/scripts/deploy/data/cert/cert_3.cert +++ /dev/null @@ -1,7 +0,0 @@ - -$ - u>,Nb+Rm.dQ|;V;݅ | -6 -$ - |a9 #Y,Nb+Rm.dQ|;V;݅ | -6 -$ - { aLx2٢=y{֐6]gw  \ No newline at end of file diff --git a/scripts/deploy/data/cert/cert_5.cert b/scripts/deploy/data/cert/cert_5.cert deleted file mode 100644 index b04bf7a91..000000000 --- a/scripts/deploy/data/cert/cert_5.cert +++ /dev/null @@ -1,8 +0,0 @@ - -$ - u>,Nb+Rm.dQ|;V;݅ ~ -8 -$ - HY -1hܘhT]%%꡽eyV" 127.0.0.1(NB@P$4L vt`#+gX7i -L]൮! ]k!d{qP  \ No newline at end of file diff --git a/scripts/deploy/data/cert/cert_6.cert b/scripts/deploy/data/cert/cert_6.cert deleted file mode 100644 index 92e27c8883c80cb59234ec2f367ce158204fab92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 166 zcmV;X09pSEBnlvPK8>s_>deW_PGT!kKLPa<>L^3%tG)6@;L^C!wMlm)tGC4CuIYmN4HxL651|kVDGB++TE-)@JD3(qV zLK;Bx91H=1+SB770@jI__B3;KvEh%r%MvBpdaQgU1fmDhtcqS=VZs^B(>&L&ICoxX U2)ojt=evWiey#{H9gF}V21Hmp+W-In diff --git a/scripts/deploy/data/cert/cert_7.cert b/scripts/deploy/data/cert/cert_7.cert deleted file mode 100644 index 982a0b91e..000000000 --- a/scripts/deploy/data/cert/cert_7.cert +++ /dev/null @@ -1,6 +0,0 @@ - -$ - u>,Nb+Rm.dQ|;V;݅ | -6 -$ - 374850F7F3BBE65DF6483A6D4D90AFAE" 127.0.0.1(NB@\~nMm;$iUBKEwcڃ;G#ӞݽQ眮zf6  \ No newline at end of file diff --git a/scripts/deploy/data/cert/cert_8.cert b/scripts/deploy/data/cert/cert_8.cert deleted file mode 100644 index e392ad442c7be38fd0a2b47c47c918324558c206..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 166 zcmV;X09pSEBnlvPK8>s_>deW_PGT!kKLPa<>L^3%tG)6@;L^C!wMlm)tGC4CuIYmN4HxL652qFnFGB++TE-)@JD40$X zLK;AoJbTkmQM1UY0Pn0;3(_djzHU>0G*0B!v=$(lNPMEHSQ$e~r+~F57wYu7K&Yd! UW%rKzZWmbTwUlQD1M&?Z2t9s0GXMYp diff --git a/scripts/deploy/data/cert/cert_9.cert b/scripts/deploy/data/cert/cert_9.cert deleted file mode 100644 index feb0ef7ed..000000000 --- a/scripts/deploy/data/cert/cert_9.cert +++ /dev/null @@ -1,7 +0,0 @@ - -$ - u>,Nb+Rm.dQ|;V;݅ | -6 -$ - 194BE86D2924FE3D367F164293D9EBC7 " 127.0.0.1(NB@jTq`z=G_ F.ܒl"t.LtTj/q@;" -PJx \ No newline at end of file diff --git a/scripts/deploy/data/cert/node1.key.pri b/scripts/deploy/data/cert/node1.key.pri deleted file mode 100644 index f6306d804..000000000 --- a/scripts/deploy/data/cert/node1.key.pri +++ /dev/null @@ -1,2 +0,0 @@ - - %A^fK@W7c|K% \ No newline at end of file diff --git a/scripts/deploy/data/cert/node1.key.pub b/scripts/deploy/data/cert/node1.key.pub deleted file mode 100644 index 583c105ca..000000000 --- a/scripts/deploy/data/cert/node1.key.pub +++ /dev/null @@ -1,3 +0,0 @@ - - A/{?"XU,lErI -#A \ No newline at end of file diff --git a/scripts/deploy/data/cert/node2.key.pri b/scripts/deploy/data/cert/node2.key.pri deleted file mode 100644 index b5e05751e..000000000 --- a/scripts/deploy/data/cert/node2.key.pri +++ /dev/null @@ -1,2 +0,0 @@ - - @ diff --git a/scripts/deploy/data/cert/node4.key.pub b/scripts/deploy/data/cert/node4.key.pub deleted file mode 100644 index 25f8b40f8..000000000 --- a/scripts/deploy/data/cert/node4.key.pub +++ /dev/null @@ -1,2 +0,0 @@ - - { aLx2٢