<

365bet体育投注

  • 1
  • 2
  • 3
  • 4
  • 5
首頁>> 教育教學>> 教育教學 >> 詳細內容
 
教育教學 >> 正文
全面認識openstack:OpenStack架構詳解
日期:2019-12-11 00:00:00  發布人:admin  瀏覽量:44

openstackjishiyigeshequ,yeshiyigexiangmuheyigekaiyuanruanjian,tigongkaifangyuanmaruanjian,jianligonggonghesiyouyun,tatigongleyigebushuyundecaozuopingtaihuogongjuji,qizongzhizaiyu:bangzhuzuzhiyunxingweixunijisuanhuocunchufuwudeyun,weigongyouyun、siyouyun,yeweidayun、xiaoyuntigongkekuozhande、linghuodeyunjisuan。

365bet体育投注 openstackdkaiyuanxiangmuyoushequweihu,baokuoopenstackjisuan(daihaoweinova),openstackduixiangcunchu(daihaoweiswift),bingopenstackjingxiangfuwu(daihaoglance)dejihe。 openstacktigongleyigecaozuopingtai,huogongjubao,yongyubianpaiyun。 xiamianliechuopenstackdexiangxigoujiatu

28158779a0fe0d24.jpg

openstackdewangluotuopujiegoutu

907596-20160803154957606-291369411.png

907596-20160803161818153-400482667.png

907596-20160803162042356-1138315067.png

zhenggeopenstackshiyoukongzhijiedian,jisuanjiedian,wangluojiedian,cunchujiediansidabufenzucheng。(zhesigejiedianyekeyianzhuangzaiyitaijiqishang,danjibushu) qizhong: kongzhijiedianfuzeduiqiyujiediandekongzhi,baohanxunijijianli,qianyi,wangluofenpei,cunchufenpeidengdeng jisuanjiedianfuzexunijiyunxing wangluojiedianfuzeduiwaiwangluoyuneiwangluozhijiandetongxin cunchujiedianfuzeduixunijideewaicunchuguanlidengdeng kongzhijiedianjiagou: kongzhijiedianbaokuoyixiafuwu guanlizhichifuwu jichuguanlifuwu kuozhanguanlifuwu

365bet体育投注 1)guanlizhichifuwubaohanmysqlyuqpidlianggefuwu mysql:shujukuzuoweijichu/kuozhanfuwuchanshengdeshujucunfangdedifang qpid:xiaoxidaili(yechengxiaoxizhongjianjian)weiqitagezhongfuwuzhijiantigongletongyidexiaoxitongxinfuwu

365bet体育投注 2)jichuguanlifuwubaohankeystone,glance,nova,neutron,horizonwugefuwu

365bet体育投注 keystone:renzhengguanlifuwu,tigongleqiyusuoyouzujianderenzhengxinxi/lingpaideguanli,chuangjian,xiugaidengdeng,shiyongmysqlzuoweitongyideshujuku

glance:jingxiangguanlifuwu,tigongleduixunijibushudeshihousuonengtigongdejingxiangdeguanli,baohanjingxiangdedaoru,geshi,yijizhizuoxiangyingdemoban

365bet体育投注 nova:jisuanguanlifuwu,tigongleduijisuanjiediandenovadeguanli,shiyongnova-apijinxingtongxin

365bet体育投注 neutron:wangluoguanlifuwu,tigongleduiwangluojiediandewangluotuopuguanli,tongshitigongneutronzaihorizondeguanlimianban horizon:kongzhitaifuwu,tigongleyiwebdexingshiduisuoyoujiediandesuoyoufuwudeguanli,tongchangbagaifuwuchengweidashboard

3)擴展管理服務包含Cinder,Swift,Trove,Heat,Centimeter五個服務
Cinder:提供管理存儲節點的Cinder相關,同時提供Cinder在Horizon中的管理面板
Swift:提供管理存儲節點的Swift相關,同時提供Swift在Horizon中的管理面板
Trove:提供管理數據庫節點的Trove相關,同時提供Trove在Horizon中的管理面板
Heat:提供了基于模板來實現云環境中資源的初始化,依賴關系處理,部署等基本操作,也可以解決自動收縮,負載均衡等高級特性。
Centimeter:提供對物理資源以及虛擬資源的監控,并記錄這些數據,對該數據進行分析,在一定條件下觸發相應動作 控制節點一般來說只需要一個網絡端口用于通信/管理各個節點 網絡節點架構 網絡節點僅包含Neutron服務 Neutron:負責管理私有網段與公有網段的通信,以及管理虛擬機網絡之間的通信/拓撲,管理虛擬機之上的防火等等 網絡節點包含三個網絡端口

eth0:yongyuyukongzhijiedianjinxingtongxin

eth1:yongyuyuchulekongzhijiedianzhiwaidejisuan/cunchujiedianzhijiandetongxin

eth2:yongyuwaibudexunijiyuxiangyingwangluozhijiandetongxin jisuanjiedianjiagou jisuanjiedianbaohannova,neutron,telemetersangefuwu

1)jichufuwu nova:tigongxunijidechuangjian,yunxing,qianyi,kuaizhaodenggezhongweiraoxunijidefuwu,bingtigongapiyukongzhijiedianduijie,youkongzhijiedianxiafarenwu neutron:tigongjisuanjiedianyuwangluojiedianzhijiandetongxinfuwu

365bet体育投注 2)kuozhanfuwu telmeter:tigongjisuanjiediandejiankongdaili,jiangxunijideqingkuangfankuigeikongzhijiedian,shicentimeterdedailifuwu jisuanjiedianbaohanzuishaolianggewangluoduankou eth0:yukongzhijiedianjinxingtongxin,shoukongzhijiediantongyidiaopei eth1:yuwangluojiedian,cunchujiedianjinxingtongxin cunchujiedianjiagou cunchujiedianbaohancinder,swiftdengfuwu cinder:kuaicunchufuwu,tigongxiangyingdekuaicunchu,jiandanlaishuo,jiushixunichuyikuaicipan,keyiguazaidaoxiangyingdexunijizhishang,bushouwenjianxitongdengyinsuyingxiang,duixunijilaishuo,zhegecaozuojiuxiangshixinjialeyikuaiyingpan,keyiwanchengduicipanderenhecaozuo,baokuoguazai,xiezai,geshihua,zhuanhuanwenjianxitongdengdengcaozuo,daduoyingyongyuxunijikongjianbuzudeqingkuangxiadekongjiankuorongdengdeng swift:duixiangcunchufuwu,tigongxiangyingdeduixiangcunchu,jiandanlaishuo,jiushixunichuyikuaicipankongjian,keyizaizhegekongjiandangzhongcunfangwenjian,yejinjinzhinengcunfangwenjian,bunengjinxinggeshihua,zhuanhuanwenjianxitong,daduoyingyongyuyuncipan/wenjian cunchujiedianbaohanzuishaolianggewangluojiekou eth0:yukongzhijiedianjinxingtongxin,jieshoukongzhijiedianrenwu,shoukongzhijiediantongyidiaopei eth1:yujisuan/wangluojiedianjinxingtongxin,wanchengkongzhijiedianxiafadegeleirenwu ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

下面說一說Openstack的各個組件作用及關系 Openstack發展至今,總共集成了下面幾個組件:
365bet体育投注 Nova - 計算服務 Neutron-網絡服務 Swift - 對象存儲服務 Cinder-塊存儲服務 Glance - 鏡像服務 Keystone - 認證服務 Horizon - UI服務 Ceilometer-監控服務 Heat-集群服務 Trove-數據庫服務 組件間的關系圖如下: 重要組件介紹 OpenStack認證服務(Keystone) Keystone為所有的OpenStack組件提供認證和訪問策略服務,它依賴自身REST(基于Identity API)系統進行工作,主要對(但不限于)Swift、Glance、Nova等進行認證與授權。事實上,授權通過對動作消息來源者請求的合法性進行鑒定。下圖顯示了身份認證服務流程: Keystone采用兩種授權方式,一種基于用戶名/密碼,另一種基于令牌(Token)。

chucizhiwai,keystonetigongyixiasanzhongfuwu:

lingpaifuwu:hanyoushouquanyonghudeshouquanxinxi

365bet体育投注 mulufuwu:hanyouyonghuhefacaozuodekeyongfuwuliebiao celvefuwu:liyongkeystonejutizhidingyonghuhuoqunzumouxiefangwenquanxian keystonerenzhengfuwuzhuyidian: fuwurukou:runova、swiftheglanceyiyangmeigeopenstackfuwudouyongyouyigezhidingdeduankouhezhuanshudeurl,womenchengqiweirukou(endpoints)。 quwei:zaimougeshujuzhongxin,yigequweijutizhidingleyichuwuliweizhi。zaidianxingdeyunjiagouzhong,ruguobushisuoyoudefuwudoufangwenfenbushishujuzhongxinhuofuwuqidehua,zeyechengqiweiquwei。 yonghu:keystoneshouquanshiyongzhe   

ps:daibiaoyigegeti,openstackyiyonghudexingshilaishouquanfuwugeitamen。yonghuyongyouzhengshu(credentials),qiekenengfenpeigeiyigehuoduogezuhu。jingguoyanzhenghou,huiweimeigedandudezuhutigongyigetedingdelingpai。 fuwu:zongtieryan,renhetongguokeystonejinxinglianjiehuoguanlidezujiandoubeichengweifuwu。jugelizi,womenkeyichengglanceweikeystonedefuwu。 jiaose:weileweihuanquanxianding,jiuyunneitedingyonghukezhixingdecaozuoeryan,gaiyonghuguanliandejiaoseshifeichangzhongyaode。  

 ps:yigejiaoseshiyingyongyumougezuhudeshiyongquanxianjihe,yiyunxumougezhidingyonghufangwenhuoshiyongtedingcaozuo。jiaoseshishiyongquanxiandeluojifenzu,tashidetongyongdequanxiankeyijiandandifenzubing

365bet体育投注 bangdingdaoyumougezhidingzuhuxiangguandeyonghu。 zujian:zujianzhideshijuyouquanbufuwurukoubingpeiyoutedingchengyuanjiaosedeyigexiangmu。   ps:yigezujianyingshedaoyigenovade“project-id”,zaiduixiangcunchuzhong,yigezujiankeyiyouduogerongqi。genjubutongdeanzhuangfangshi,yigezujiankeyidaibiaoyigekehu、zhanghao、zuzhihuoxiangmu。 openstackjisuansheshi----nova novashiopenstackjisuandedanxingkongzhiqi。openstackyunshilishengmingqisuoxudegezhongdongzuodoujiangyounovajinxingchulihezhicheng,zhejiuyiweizhunovayiguanlipingtaideshenfendengchang,fuzeguanlizhenggeyundejisuanziyuan、wangluo、shouquanjicedu。suirannovabenshenbingbutigongrenhexuninengli,danshitajiangshiyonglibvirt apiyuxunijidesuzhujijinxingjiaohu。novatongguowebfuwuapilaiduiwaitigongchulijiekou,erqiezhexiejiekouyuamazondewebfuwujiekoushijianrongde。 gongnengjitedian:  shilishengmingzhouqiguanli jisuanziyuanguanli wangluoyushouquanguanli jiyurestdeapi yibulianxutongxin zhichigezhongsuzhu:xen、xenserver/xcp、kvm、uml、vmware vspherejihyper-v novadanxingyun(openstackjisuanbujian)baohanyixiazhuyaobufen: api server(nova-api) xiaoxiduilie(rabbit-mq server) yunsuangongzuozhan(nova-compute) wangluokongzhiqi(nova-network) juanguanli(nova-volume) diaoduqi(nova-scheduler) jieshiruxia:

365bet体育投注 1)apifuwuqi(nova-api) apifuwuqitigongleyunsheshiyuwaijiejiaohudejiekou,tashiwaijieyonghuduiyunshishiguanlideweiyitongdao。tongguoshiyongwebfuwulaidiaoyonggezhongec2deapi,jiezhuapifuwuqibiantongguoxiaoxiduiliebaqingqiusongdazhiyunneimubiaosheshijinxingchuli。zuoweiduiec2-apidetidai,yonghuyekeyishiyongopenstackdeyuanshengapi,womenbatajiaozuo“openstack api”。

2)xiaoxiduilie(rabbit mq server) openstackneibuzaizunxunamqp(gaojixiaoxiduiliexieyi)dejichushangcaiyongxiaoxiduiliejinxingtongxin。novaduiqingqiuyingdajinxingyibudiaoyong,dangqingqiujieshouhoubianzelijichufayigehuidiao。youyushiyongleyibutongxin,buhuiyouyonghudedongzuobeichangzhiyudengdaizhuangtai。liru,qidongyigeshilihuoshangchuanyifenjingxiangdeguochengjiaoweihaoshi,apidiaoyongjiujiangdengdaifanhuijieguoerbuyingxiangqitacaozuo,zaiciyibutongxinqidaolehendazuoyong,shizhenggexitongbiandegengjiagaoxiao。

365bet体育投注  3)diaoduqi(nova-scheduler)   diaoduqifuzebanova-apidiaoyongsongdageimubiao。diaoduqiyimingwei“nova-schedule”deshouhujinchengfangshiyunxing,binggenjudiaodusuanfacongkeyongziyuanchizhongqiadangdixuanzeyunsuanfuwuqi。youhenduoyinsudoukeyiyingxiangdiaodujieguo,birufuzai、neicun、zijiediandeyuanjin、cpujiagoudengdeng。qiangdadeshinovadiaoduqicaiyongdeshikecharushijiagou。 muqiannovadiaoduqishiyonglejizhongjibendediaodusuanfa:   suijihua:zhujisuijixuanzekeyongjiedian;   keyonghua:yusuijixiangsi,zhishisuijixuanzedefanweibeizhiding;   jiandanhua:yingyongzhezhongfangshi,zhujixuanzefuzaizuixiaozhelaiyunxingshili。fuzaishujukeyicongbiechuhuode,rufuzaijunhengfuwuqi。

365bet体育投注 4)yunsuangongzuozhan(nova-compute) yunsuangongzuozhandezhuyaorenwushiguanlishilidezhenggeshengmingzhouqi。tamentongguoxiaoxiduiliejieshouqingqiubingzhixing,congerduishilijinxinggezhongcaozuo。zaidianxingshijishengchanhuanjingxia,huijiashexuduoyunsuangongzuozhan,genjudiaodusuanfa,yigeshilikeyizaikeyongderenyiyitaiyunsuangongzuozhanshangbushu。  

5)wangluokongzhiqi(nova-network) wangluokongzhiqichulizhujidewangluopeizhi,liruipdizhifenpei,peizhixiangmuvlan,shedinganquanqunzuyijiweijisuanjiedianpeizhiwangluo。

365bet体育投注  6)juangongzuozhan(nova-volume)  juangongzuozhanguanlijiyulvmde shilijuan,tanenggouweiyigeshilichuangjian、shanchu、fujiajuan,yekeyicongyigeshilizhongfenlijuan。juanguanliweiherucizhongyao?yinweitatigongleyizhongbaochishilichixucunchudeshouduan,birudangjieshuyige shilihou,genfenquruguoshifeichixuhuade,neimeduiqiderenhegaibiandoujiangdiushi。keshi,ruguocongyigeshilizhongjiangjuanfenlichulai,huozheweizhegeshilifujiashangjuandehua,jishishilibeiguanbi,shuju rengranbaocunqizhong。zhexieshujukeyitongguojiangjuanfujiadaoyuanshilihuoqitashilidefangshierzhongxinfangwen。 yinci,weilerihoufangwen,zhongyaoshujuwubiyaoxierujuanzhong。zhezhongyingyongduiyushujufuwuqishilidecunchueryan,youweizhongyao。 openstackjingxiangfuwuqi----glance openstackjingxiangfuwuqishiyitaoxunijijingxiangfaxian、zhuce、jiansuoxitong,womenkeyijiangjingxiangcunchudaoyixiarenyiyizhongcunchuzhong: bendiwenjianxitong(moren) s3zhijiecunchu s3duixiangcunchu(zuoweis3fangwendezhongjianqudao) openstackduixiangcunchudengdeng。  

  gongnengjitedian: tigongjingxiangxiangguanfuwu。 glancegoujian:

1)glance-api:   zhuyaofuzejieshouxiangyingjingxiangguanliminglingderestfulqingqiu,fenxixiaoxiqingqiuxinxibingfenfaqisuodaidemingling(ruxinzeng,shanchu,gengxindeng)。morenbangdingduankoushi9292。

2)glance-registry:   

主要負責接收響應鏡像元數據命令的Restful請求。分析消息請求信息并分發其所帶的命令(如獲取元數據,更新元數據等)。默認綁定的端口是9191。 OpenStack存儲設施----Swift Swift為OpenStack提供一種分布式、持續虛擬對象存儲,它類似于Amazon Web Service的S3簡單存儲服務。Swift具有跨節點百級對象的存儲能力。Swift內建冗余和失效備援管理,也能夠處理歸檔和媒體流,特別是對大數據(千兆字節)和大容量(多對象數量)的測度非常高效。
swift功能及特點:   海量對象存儲 大文件(對象)存儲 數據冗余管理 歸檔能力-----處理大數據集 為虛擬機和云應用提供數據容器 處理流媒體 對象安全存儲 備份與歸檔 良好的可伸縮性 Swift組件 Swift賬戶 Swift容器 Swift對象 Swift代理 Swift RING   
Swift代理服務器   用戶都是通過Swift-API與代理服務器進行交互,代理服務器正是接收外界請求的門衛,它檢測合法的實體位置并路由它們的請求。 此外,代理服務器也同時處理實體失效而轉移時,故障切換的實體重復路由請求。 Swift對象服務器 對象服務器是一種二進制存儲,它負責處理本地存儲中的對象數據的存儲、檢索和刪除。對象都是文件系統中存放的典型的二進制文件,具有擴展文件屬性的元數據(xattr)。 注意:xattr格式被Linux中的ext3/4,XFS,Btrfs,JFS和ReiserFS所支持,但是并沒有有效測試證明在XFS,JFS,ReiserFS,Reiser4和ZFS下也同樣能運行良好。不過,XFS被認為是當前最好的選擇。 Swift容器服務器 容器服務器將列出一個容器中的所有對象,默認對象列表將存儲為SQLite文件(譯者注:也可以修改為MySQL,安裝中就是以MySQL為例)。容器服務器也會統計容器中包含的對象數量及容器的存儲空間耗費。 Swift賬戶服務器 賬戶服務器與容器服務器類似,將列出容器中的對象。 Ring(索引環) Ring容器記錄著Swift中物理存儲對象的位置信息,它是真實物理存儲位置的實體名的虛擬映射,類似于查找及定位不同集群的實體真實物理位置的索引服務。這里所謂的實體指賬戶、容器、對象,它們都擁有屬于自己的不同的Rings。 OpenStack管理的Web接口----Horizon
Horizon是一個用以管理、控制OpenStack服務的Web控制面板,它可以管理實例、鏡像、創建密匙對,對實例添加卷、操作Swift容器等。除此之外,用戶還可以在控制面板中使用終端(console)或VNC直接訪問實例。

365bet体育投注 zongzhi,horizonjuyouruxiayixietedian: 

  實例管理:創建、終止實例,查看終端日志,VNC連接,添加卷等 訪問與安全管理:創建安全群組,管理密匙對,設置浮動IP等 偏好設定:對虛擬硬件模板可以進行不同偏好設定 鏡像管理:編輯或刪除鏡像 查看服務目錄 管理用戶、配額及項目用途 用戶管理:創建用戶等 卷管理:創建卷和快照 對象存儲處理:創建、刪除容器和對象 為項目下載環境變量
 

點擊數:44收藏本頁
太阳城亚洲官网_太阳城亚洲手机版 中国福彩app下载_中国福彩app官方下载 kok体育赛事-2020年体育娱乐新网站 葡京备用网址app丨APP下载客户端 KOK体育-2020年体育娱乐新网站 申博体育官网-申博体育下注