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

物理サーバ構築のここんとこ-MAASのはなしをしまーず-

sonod
November 13, 2017

 物理サーバ構築のここんとこ-MAASのはなしをしまーず-

MAASのお話です

sonod

November 13, 2017
Tweet

More Decks by sonod

Other Decks in Technology

Transcript

  1. 

  2. 

  3. 

  4. 

  5. 

  6. 

  7. 

  8. .""4ͷ͍͍ͱ͜Ζ # maas-region apikey --username=admin > /root/maas_api_key # maas login

    admin http://localhost/MAAS/api/2.0 - < /root/maas_api_key .""4"1*,FZ 
  9. .""4ͷ͍͍ͱ͜Ζ Create bonding interface # maas admin interfaces create-bond {system-id}

    name=bond0 \ parents=208 parents=209 bond_mode=802.3ad \ bond_xmit_hash_policy=layer3+4 Create vlan interface # maas admin interfaces create-vlan {system-id} parents=218 vlan=5009 # maas admin interfaces create-vlan {system-id} parents=218 vlan=5011 
  10. 04Πϯετʔϧ·ͰͷྲྀΕ w&OMJTUNFOU ࢀՃ 
 4UBUVT/FX
 4FWFSͷ)BSEXBSF৘ใ ."$"EESFTT *1.* Λ.""4ʹొ࿥ w$PNNJTTJPOJOH

    ࢼӡస 
 4UBUVT3FBEZ
 ࢼӡసͱ)BSEXBSFςετΛ࣮ࢪ w%FQMPZ ల։ 
 .""4"1*Λ࢖ͬͨઃఆΛ͠ɺ࣮ࡍͷ04Πϯετʔϧ 
  11. $POUSPMMFS wSFHJPODPOUSPMMFS w3&45"1*TFSWFS 5$1QPSU  w1PTUHSF42-EBUBCBTF w%/4 wDBDIJOH)551QSPYZ wXFC6* wSBDLDPOUSPMMFS

    w%)$1 w5'51 w)551 GPSJNBHFT  wJ4$4* wQPXFSNBOBHFNFOU  (6*΍"1*΍%#؅ཧ αʔόͱͷ΍ΓऔΓ
  12. 3BDL $POUSPMMFS 4FSWFS 4FSWFS 4XJUDI 3BDL 4FSWFS 4FSWFS NPVOUJNBHF 1PXFS0GG

    3FHJPO $POUSPMMFS 1PTUHSFTRM 3FHJTUFS $MPVEJOJU ߏ੒ਤ 
  13. 

  14. 

  15. 

  16. 

  17. 

  18. 

  19. 

  20. 

  21. 

  22. ߏ੒ਤ 3BDL $POUSPMMFS 4FSWFS 4FSWFS 4XJUDI 4FSWFS 4FSWFS 19&CPPU %)$1

    3FHJPO $POUSPMMFS 1PTUHSFTRM NPVOUJNBHF 3BDL 
  23. ߏ੒ਤ 3BDL $POUSPMMFS 4FSWFS 4FSWFS 4XJUDI 3BDL 4FSWFS 4FSWFS 3FHJPO

    $POUSPMMFS 1PTUHSFTRM DPNNJTTJPOJOHBOESFHJTUFS $MPVEJOJU 
  24. 

  25. 

  26. 

  27. 

  28. 

  29. ߏ੒ਤ 3BDL $POUSPMMFS 4FSWFS 4FSWFS 4XJUDI 4FSWFS 4FSWFS 19&CPPU %)$1

    3FHJPO $POUSPMMFS 1PTUHSFTRM NPVOUJNBHF 3BDL 
  30. ؔ܎ਤ 3BDL $POUSPMMFS 4FSWFS 4FSWFS 4XJUDI 3BDL 4FSWFS 4FSWFS 3FHJPO

    $POUSPMMFS 1PTUHSFTRM 3FHJTUFS $MPVEJOJU 
  31.