Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ベアメタルのつくりかた

 ベアメタルのつくりかた

NTT Engineers' Festa #2 で発表しました。
Enterprise Cloud 2.0 ベアメタルサーバーの仕組み・裏側についてご紹介。
https://ecl.ntt.com/service-introduction/baremetal-server/

HORIUCHI Akihiko

February 06, 2019
Tweet

More Decks by HORIUCHI Akihiko

Other Decks in Technology

Transcript

  1.   $IBTTJT  $POUSPMMFS %)$1"HFOU $POEVDUPS .POJUPS  3BCCJU.2

    (6*$-* 3&45"1* "QBDIF 5'51E %)$1E  (MBODF ʢʣ*NBHF %PXOMPBE *1.* /*$ ʢʣ"EE&OUSZ ʢʣ$IBOHF#PPU0SEFS1PXFS0O
  2.   $IBTTJT  $POUSPMMFS %)$1"HFOU $POEVDUPS .POJUPS  3BCCJU.2

    (6*$-* 3&45"1* "QBDIF 5'51E %)$1E *1.* /*$ ʢʣ/PUJGZ19&4FSWFS BU%)$10''&3 ʢʣ(FU/#1'JMF #PPU*NBHF #!ipxe kernel http://.../ubuntu/install/netboot/ubuntu-installer/amd64/linux initrd http://.../ubuntu/install/netboot/ubuntu-installer/amd64/initrd.gz imgargs linux initrd=initrd.gz auto=true fb=false priority=critical preseed/url=http://.../ubuntu/16-04-1_64/01-23-45-67-89/preseed.cfg ks=http://.../ubuntu/16-04-1_64/01-23-45-67-89/ks.cfg boot
  3. ͜͏     d-i debian-installer/locale string en_US d-i

    debian-installer/add-kernel-opts string nomod... d-i clock-setup/utc boolean true d-i time/zone string UTC d-i netcfg/choose_interface select 01:23:45:67:89... d-i netcfg/get_nameservers string none d-i netcfg/get_ipaddress string 10.1.0.2 d-i netcfg/get_netmask string 255.255.255.0 d-i netcfg/get_gateway string none d-i netcfg/get_hostname string ubuntu1604 d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-md/device_remove_md boolean true d-i partman-auto/purge_lvm_from_device boolean t... ...
  4.   $IBTTJT  $POUSPMMFS %)$1"HFOU $POEVDUPS .POJUPS  3BCCJU.2

    (6*$-* 3&45"1* ʢʣ"EE.POJUPSJOH5BSHFU
 ʢ3&45"1*ʣ "QBDIF 5'51E %)$1E  (MBODF *1.* /*$ ʢʣ.POJUPSCZ*1.*4/.1FUD
 ʢ&WFSZTʣ
  5. #.$ʹ͍ͭͯ ϕϯμʹΑͬͯΠϯλϑΣʔε͕ҧ͏ w )1&ɿ J-0 w %&--ɿ J%3"$ w 'VKJUTVɿJ3.$

    ඪ४Խͱͯ͠*1.*ʢʙʣͱ 3FEpTIʢʙʣ͕͋Δ    
  6. ϒʔτΦʔμΛมߋ PATCH /redfish/v1/Systems/System.Embedded.1/BootSources/Settings     { "Attributes": {

    "UefiBootSeq": [ { "Name": "NIC.PxeDevice.1-1", "Index": 0, "Id": "BIOS.Setup.1-1#UefiBootSeq#NIC.P...", "Enabled": true }, { "Name": "AHCI.Slot.2-1", "Index": 1, "Id": "BIOS.Setup.1-1#UefiBootSeq#AHCI....", "Enabled": true }, ...
  7. $16ͷεςʔλεΛ؂ࢹ GET /redfish/v1/Systems/System.Embedded.1     { "ProcessorSummary": {

    "Status": { "State": "Enabled", "HealthRollup": "OK", "Health": "OK" }, "Model": "Intel(R) Xeon(R) Gold 6132 CPU @ ...", "Count": 2 }, }
  8. 4ZTUFN ʢ$POTVM%$ʣ 4ZTUFN ʢ$POTVM%$ʣ  -#  +FOLJOT  

    'MVFOUE &MBTUJDTFBSDI *OqVY%# (SBGBOB ,JCBOB 4ZTUFN ʢʣ6QEBUF4PGUXBSFCZ"OTJCMF ʢʣ$SFBUF%FMFUF4FSWFS BT4DFOBSJP5FTU
  9. 4ZTUFN ʢ$POTVM%$ʣ 4ZTUFN ʢ$POTVM%$ʣ  -#  +FOLJOT  

    'MVFOUE &MBTUJDTFBSDI *OqVY%# (SBGBOB ,JCBOB 4ZTUFN ʢʣ4UBSU"QQMJDBUJPOT ʢʣ4UPQ"QQMJDBUJPOT ʢʣ$IBOHF$POTVM%$