์•ˆ๋…•ํ•˜์„ธ์š”, ์–‘ํ˜„์ฃผ์ž…๋‹ˆ๋‹ค.

์ง€๋‚œ๋ฒˆ ํฌ์ŠคํŒ… ์—์„œ๋Š” IBM Cloud Private ์„ ์„ค์น˜ํ•˜๊ธฐ ์ „ ํ™˜๊ฒฝ์„ ๊ตฌ์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค.
์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ๋ณธ๊ฒฉ์ ์œผ๋กœ ์„ค์น˜๋ฅผ ์‹œ์ž‘ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

๋ณธ ํฌ์ŠคํŒ…์€ IBM Cloud Private 2.1.0.1 ๋ฒ„์ „์„ ๊ธฐ์ค€์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.

2๋‹จ๊ณ„ – IBM Cloud Privateํด๋Ÿฌ์Šคํ„ฐ ์„ค์น˜ํ•˜๊ธฐ

์„ค์น˜๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ Boot Node๋ฅผ ํ†ตํ•ด ์ง„ํ–‰ ๋ฉ๋‹ˆ๋‹ค.
์ผ๋ฐ˜์ ์œผ๋กœ Boot Node๋ฅผ Master Node ์™€ ๋ถ„๋ฆฌํ•˜์ง€ ์•Š๊ณ  ํ•˜๋‚˜์˜ Master Node๋ฅผ Boot Node๋กœ ์‚ฌ์šฉํ•˜๊ธฐ๋„ ํ•˜๋Š”๋ฐ์š”,

์ €๋„ ๋ณธ ํŠœํ† ๋ฆฌ์–ผ์—์„œ Master Node๋ฅผ Boot Node๋กœ ํ•จ๊ป˜ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
์•„๋ž˜ ์„ค์น˜ ๊ณผ์ •์€ Boot/Master Node์—์„œ ์ˆ˜ํ–‰ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.
์ด๋ฏธ ์ด์ „ ํŠœํ† ๋ฆฌ์–ผ์—์„œ ๋…ธ๋“œ ๊ฐ„ ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋„๋ก ์—ฐ๊ฒฐ์„ ํ•ด๋†“์•˜๊ธฐ์—,
์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ์ž๋™์œผ๋กœ ๋…ธ๋“œ๋ฅผ ์—ฎ์–ด ํ•˜๋‚˜์˜ ํด๋Ÿฌ์Šคํ„ฐ๋กœ ๊ตฌ์„ฑํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

  1. IBM Cloud Private ์„ค์น˜ ์ด๋ฏธ์ง€๋ฅผ ์ €์žฅํ•œ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
    cd /root/install/icp

  2. IBM Cloud Private ์ด๋ฏธ์ง€๋ฅผ Docker๋กœ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. ํด๋Ÿฌ์Šคํ„ฐ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ์ด๋ฏธ์ง€๊ฐ€ ๋งŽ์œผ๋ฏ€๋กœ ์‹œ๊ฐ„์ด ๋‹ค์†Œ ๊ฑธ๋ฆฝ๋‹ˆ๋‹ค. ํ˜น ์•„๋ฌด ๋ฐ˜์‘์ด ์—†๋”๋ผ๋„ ๊ธฐ๋‹ค๋ ค์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. :-)
    (30๋ถ„~1์‹œ๊ฐ„ ์†Œ์š”)
    tar xf ibm-cp-app-mod-x86_64-2.1.0.1.tar.gz -O | docker load

  3. IBM Cloud Private์„ ์„ค์น˜ํ•  ํด๋”๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ €๋Š” IBM Cloud Private ์ด๋‹ˆ์…œ๊ณผ ํ˜„์žฌ ๋ฒ„์ „ (2.1.0.1) ํ‘œ๊ธฐ๋ฅผ ์œ„ํ•ด icp2101๋กœ ๋„ค์ด๋ฐ ํ–ˆ์Šต๋‹ˆ๋‹ค.
    mkdir /opt/icp2101

  4. ์„ค์ • ํŒŒ์ผ์„ Extract ํ•ฉ๋‹ˆ๋‹ค.
    cd /opt/icp2101
    docker run -v $(pwd):/data -e LICENSE=accept ibmcom/icp-inception:2.1.0.1-ee cp -r cluster /data
    ์ด์ œ /opt ์•„๋ž˜ ๊ฒฝ๋กœ์— IBM Cloud Private Cluster ํด๋” ๋ฐ ์„ค์ • ํŒŒ์ผ๋“ค์ด ์ƒ๊ฒผ์Šต๋‹ˆ๋‹ค.

  5. /opt/icp2101/cluster/hosts ํŒŒ์ผ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
    ๊ทธ ์ „์— ์ƒ์„ฑํ–ˆ๋˜ private key ํŒŒ์ผ์„ /opt/icp2101/cluster/ ๋””๋ ‰ํ† ๋ฆฌ๋กœ ๋ณต์‚ฌํ•ด์˜ต๋‹ˆ๋‹ค.
    cp /root/.ssh/id_rsa /opt/icp2101/cluster/ssh_key

  6. config.yaml ํŒŒ์ผ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
    config.yaml ํŒŒ์ผ์„ ํ†ตํ•ด IBM Cloud Private ์„ค์น˜์‹œ ํ•„์š”ํ•œ ์„ค์ • ๋ฐ ๊ตฌ์„ฑ ์ •๋ณด๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    ์ €๋Š” ์ด๋ฒˆ ์„ค์น˜์—์„œ ํ”Œ๋žซํผ ๋กœ๊ทธ๋ฅผ ์ˆ˜์ง‘ํ•  ์ˆ˜ ์žˆ๋Š” Kibana ์„ค์น˜์™€
    ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€์˜ ๋ณด์•ˆ ์Šค์บ๋‹์„ ํ•  ์ˆ˜ ์žˆ๋Š” Vulnerability Advisor ๋ฅผ ํ™œ์„ฑํ™” ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. Vulnerability Advisor๋Š” Enterprise ๋ฒ„์ „์—์„œ๋งŒ ๊ฐ€๋Šฅํ•œ ์˜ต์…˜์œผ๋กœ, Cloud Native ํ˜น์€ Community ๋ฒ„์ „์„ ์‚ฌ์šฉํ•˜์‹œ๋Š” ๊ฒฝ์šฐ์—๋Š” ๋„˜์–ด๊ฐ€์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

    ๊ทธ ์™ธ ํ•„์š”ํ•œ VIP ์„ค์ • ๋“ฑ์˜ ์˜ต์…˜์€ ๋‹ค์Œ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
    https://www.ibm.com/support/knowledgecenter/en/SSBS6K_2.1.0/installing/config_yaml.html

  7. ๋‹ค์šด๋ฐ›์€ IBM Cloud Private ์ด๋ฏธ์ง€ ํŒŒ์ผ์„ ์ ์ ˆํ•œ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
    cd /opt/icp2101/cluster
    mkdir images
    mv /install/icp/ibm-cp-app-mod-x86_64-2.1.0.1.tar.gz /opt/icp2101/cluster/images/
    **์ฐธ๊ณ : ibm-cp-app-mod-x86_64-2.1.0.1.tar.gz ์€ ์ด๋ฏธ์ง€ ํŒŒ์ผ ์ด๋ฆ„์ด๋ฏ€๋กœ ๋ฒ„์ „ ๋ณ„๋กœ ์ƒ์ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  8. /opt/icp2101/cluster ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•ด ์ž๋™ ์„ค์น˜๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.
    sudo docker run --net=host -t -e LICENSE=accept -v $(pwd):/installer/cluster ibmcom/icp-inception:2.1.0.1-ee install

  9. ์Šคํฌ๋ฆฝํŠธ๋ฅผ ํ†ตํ•œ ์ž๋™ ์„ค์น˜๋Š” ์•ฝ 3-40๋ถ„ ์†Œ์š”๋ฉ๋‹ˆ๋‹ค. ์•„๋ž˜์™€ ๊ฐ™์ด ์„ค์น˜ ๊ณผ์ •์ด ๋ณด์ž…๋‹ˆ๋‹ค.

  10. ๋งˆ์ง€๋ง‰ ์„ค์น˜ ์™„๋ฃŒ ๋ฌธ๊ตฌ๊ฐ€ ๋œจ๋ฉด ํ•ด๋‹น URL ์— ์ ‘์†ํ•ด ์„ค์น˜๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
    default username: admin / password: admin

ํ† ๋ก  ์ฐธ๊ฐ€

์ด๋ฉ”์ผ์€ ๊ณต๊ฐœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ•„์ˆ˜ ์ž…๋ ฅ์ฐฝ์€ * ๋กœ ํ‘œ์‹œ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค