HackMD
  • Prime
    Prime  Full-text search on all paid plans
    Search anywhere and reach everything in a Workspace with Prime plan.
    Got it
    • Prime  Full-text search on all paid plans
      Prime  Full-text search on all paid plans
      Search anywhere and reach everything in a Workspace with Prime plan.
      Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Help
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- title: Lab Meeting Minutes 2021/08/18 tags: lab_meeting --- > Outline > [TOC] --- # PERAL Lab Meeting - 時間:110年08月18日15:00 - 地點:[Online](https://meet.google.com/wnd-gnpt-wxx) - 出席者:吳坤熹老師、謝萬霖、周以恆、吳騰然、陳嘉瑋、劉怡君、田蕙瑜、劉又聖、洪胤勛、莊才賢、丘世宇 - 會議主題: [OpenStack](http://ms15.voip.edu.tw/~webmaster/meeting/1091/ppt/0818_openstack_v2.pptx) - 主講者: 陳嘉瑋 - 主記: 田蕙瑜 ## 會議內容 - What is OpenStack? - - 重要核心元件 - Nova: Compute - Keystone: Identity - Neutron: for Network - Glance: Image storage - Horizon: Dashboard - Swift: 防止單點故障 - Cinder: 負責劃分硬體資源上 - 允許區塊儲存裝置能夠整合商業化的企業儲存平臺 *** ### Demo - [Install Openstack](https://hackmd.io/CFCrZO_fSwudU1l-BT8zEw) > [Create the Instance](https://hackmd.io/I-B0RItcT-CHMAgpFWbFaQ?both) - 安裝後網路架構: - instance: VM another name in Openstack - instance 透過 linux bridge 連接外部網路 - Create your own instance - use key pair to login ssh - before istalling, config the evn first - ~/devstack/openrc admin <proj_name> # Use your username as the proj_name - - 浮動式的IP addr - 無 DHCP server,則下指令後會去一到一個IP addr - After login - 需手動在 /etc/hosts 加上VM1 的 IP address, 不然會等很久 ### 建議&問題 #### Advice - Check pronounce [name=Solomon] - 若有容易產生誤解的term,若省略不影響後面簡報進行請省略[name=Solomon] - NCNU CSIE DNS Server IP address: 163.22.20.1 **** #### Q&A - p.10 public meaning? [name=Solomon] - public 相對 instance 來說是一個外部網路 [name= Johnson] - 建立的instance在 openstack 內部,而instance 透過 Linux Bridge 連接 openstack network,藉由openstack 實體網卡連接外部網路 [name=Jeffery] - 因此p.10所要描述的是 4 instance 藉由 Linux Bridge 連接openstack server 使體網卡連接外部網路 [name= Solomon] - Command, floating, 影響哪一台機器?[name= Solomon] ```bash= $> openstack floating ip create public ``` - 是建立NAT規則的指令沒錯 [name=Jeffery] - 最後面restart 指令,e.g. 為什麼需要改etc的host,否則會跑很久[name= 士宇] - 只有log host,而sudo 會去抓host,若沒有會須亦很久時間 [name= Jeffery] - 因DNS 尚未config 好,sudo 需等DNS server time out;因此若在DNS尚未cofig 的情況下,可在 etc/host 加上 IP addr,則 sudo 無須去DNS 詢問 [name=Solomon] - 為何執行sudo 需要找到 host 的對應IP Address? [name= Jerry] - sudo 比 su 安全? [name=Solomon] 1. su 因不會自動切換回一般使用者,[name= Johnson] @Shung, SOS 2. sudo 會 log 誰下了哪個指令 [name=Solomon] - 可以在Virtual box重複實驗嗎? [name=Branku] - VM的部份可以;Network和Storage的功能VirtualBox較缺[name=Solomon] - Jerry: Why reset network by "networking" instead of netplan"? A: Because this host is Ubuntu 16. Since Ubuntu 18, netplan is perferred. - I believe you can add the DNS configuration in "cloud-init". [name=Jerry] - I'll double check. - What's the difference between your "Linux-Bridge" and "Open vSwitch"? [name=Johnson] - Difference between Cinder and Swift [name=Johnson] - Swift may be similar to a concept in Kubernetes. You stored an object, when a pod fails, you can quickly start a new pod to continue the service. [name=Phoebe] - [name=Toby] - 基本上是防火牆 [name=Solomon] - [name=Henry] 一般情況下,不同的網段可藉由router來進行routing,那為何instance 必須將每一個IP addr 手動 mapping,再有static route 的情況下,是否因為未將routing table設置好,才需要使用floating 來取得IP addr? - *實驗待追蹤* - [name=Edgar] Flavor...... @qvRrq26HTLC4tGK8sBL9PA - [name=Edgar] OpenStack 介面,Public 介面是自己取的嗎? - 不是 [name=Jeffery] - [name=Solomon] 如果沒有public 則無法離開openstack 這台主機 - 多一層Public 是否是有必要的? 是否是為了保護 Instance 不要直接暴露在外部網路下? [name= Edgar] - *實驗後補充[name= Jeffery]* – 承上Edgaer所問,若VMware 能做到的,Openstack 也做得到,而Openstack 的Dashboard 也較好,那是否考慮將VMWare轉移至OpenStack? 因Openstack 有更多的開源服務支援[name=Solomon] 1. Network 2. Image format --- ## 待追蹤事項 ### For Jeffery 1. 評估是否須從VMWare 搬遷至Openstack。特別是關於Identity的部分,期望帳密一致。[name=Solomon] > [color= #6C9BD2] 評估人員: Edgar, Jeffery, Jerry - 確認事項 - Network - Image Format - 實驗環境 - 新到貨的主機 - VM1 2. The answer to Henry's Question > 一般情況下,不同的網段可藉由router來進行routing,那為何instance 必須將每一個IP addr 手動 mapping,再有static route 的情況下,是否因為未將routing table設置好,才需要使用floating 來取得IP addr? [name= Henry] 3. The answer to Edgar's Question > 多一層Public 是否是有必要的? 是否是為了保護 Instance 不要直接暴露在外部網路下? [name= Edgar] ## 臨時動議 - 無 --- 散會結束時間: 17:09

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in via Google

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully