【正文】
這些在 GMA中沒有定義,可以實現(xiàn)時確定。 Producer ? 有的組件同時既是 Consumer也是Producer 網(wǎng)格計算- Grid Computing 肖儂 事件數(shù)據(jù)源 ? 用于構(gòu)建事件的數(shù)據(jù)能從許多資源上進行收集。 Archiver:為存檔服務(wù)收集信息。 ? Accept Notification: Consumer 接受來自Producer通知。 ? Initiate Subscribe:Consumer 請求建立到producer的連接以連續(xù)接收數(shù)據(jù)。 網(wǎng)格計算- Grid Computing 肖儂 Consumer ? Consumer 是通過接口從 Producer接受事件數(shù)據(jù)的任意組件。被授權(quán)可以給Consumer傳送數(shù)據(jù)。 如果訂閱成功,生產(chǎn)者發(fā)送事件數(shù)據(jù)給消費者直到訂閱被終止。 網(wǎng)格計算- Grid Computing 肖儂 Producer ? 負責(zé)通過接口為 Consumer提供事件數(shù)據(jù)的組件。這樣一來 ,若想獲得事件的數(shù)據(jù) ,首先要通過目錄服務(wù)找到該事件生產(chǎn)者的靜態(tài)信息,比如事件類型、主機地址等,然后再向該生產(chǎn)者發(fā)出請求獲得相應(yīng)數(shù)據(jù)。 網(wǎng)格計算- Grid Computing 肖儂 GMA 生產(chǎn)者和消費者協(xié)議 (1) ? Publish/Subscribe model ?Consumer can subscribe to Producer to receive a stream of events ?Producer can subscribe to Consumer to push a stream of events ?Either side can unsubscribe ? Query model ?Consumer can get a single event 網(wǎng)格計算- Grid Computing 肖儂 GMA 生產(chǎn)者和消費者協(xié)議 (2) c o n s u m e rp r o d u c e rd ir e c to r ys e r v i c e4 : e v e n t s1 : re g i s te rl a te n c yb e tw e e nf o o a n d bar2 : l o o k u pp ro d u c e r f o rl a te n c y b e t w e e nf oo a n d b a r3 : s u b s c r i b ef o r l a t e n c yb e tw e e nf o o a n d bar? Example of Consumer subscribing to latency information between two hosts. 網(wǎng)格計算- Grid Computing 肖儂 GMA組件和接口 ? Directory Service ? producer ? consumer ? pound ponents 網(wǎng)格計算- Grid Computing 肖儂 Directory Service ? 目錄服務(wù)的作用是定位、命名和描述網(wǎng)格中具有結(jié)構(gòu)化特征的數(shù)據(jù),讓信息消費者( users, visualization tools, programs and resource schedulers)發(fā)現(xiàn)信息、理解可用信息的特性。 ? 主要貢獻是提出 Producer/Comsumer模型和 Event Subscribe的數(shù)據(jù)傳送方式 網(wǎng)格計算- Grid Computing 肖儂 GMA體系結(jié)構(gòu)和術(shù)語 ? GMA體系結(jié)構(gòu):由三種類型的組件組成 ?Consumer ?Producers ?Directory Service 網(wǎng)格計算- Grid Computing 肖儂 GMA體系結(jié)構(gòu) 網(wǎng)格計算- Grid Computing 肖儂 GMA體系結(jié)構(gòu) Producer Directory Service (LDAP?) Consumer 1) Event publication information 2) Lookup 3) Event producer amp。 ? SNMP能夠提供遠程訪問的功能,但只提供了點對點的訪問機制。 網(wǎng)格計算- Grid Computing 肖儂 網(wǎng)格資源管理和分配任務(wù) ? 全局統(tǒng)一管理 ? 統(tǒng)一視圖 ? 用戶操作多個管理域的資源,如同在一個管理域 ? 在日常的工作中,動態(tài)地發(fā)現(xiàn)、請求與管理計算資源 ? 不受資源所在地理位置不同的影響 ? 任務(wù)運行時間的長短以及運行該任務(wù)的開銷 software Storage SGI IBM SP2 銀河 分布多域資源 網(wǎng)格計算- Grid Computing 肖儂 網(wǎng)格資源管理和分配任務(wù)(續(xù)) ? 保持局部資源管理的自治特性 ?每個管理域都有自己的資源管理系統(tǒng)和控制策略,例如 PBS, LSF等 ?相互之間是一個平等關(guān)系 資源聚合器 WAS Globus Globus 資源聚合器 SPM 北航 LSF WAS Globus Globus 資源聚合器 SPM 清華大學(xué) PBS WAS Globus Globus SPM 國防科大 YHRS 資源聚合器 SPM 網(wǎng)格計算- Grid Computing 肖儂 網(wǎng)格資源管理和分配任務(wù)(續(xù)) ? 多種訪問控制和授權(quán)機制協(xié)調(diào) ?全局訪問授權(quán)和局部訪問授權(quán) ?全局訪問控制和局部訪問控制 ?用戶定義問題?網(wǎng)格用戶和局部用戶 ?多級訪問控制? ?映射? Resource the Is this usert authorized for the CAS? Is this user authorized bycapability? 局部策略信息 Resource the Is this user authorized for the CAS? Is this user authorized by capability? 局部策略信息 邏輯網(wǎng)格管理授權(quán)中心 網(wǎng)格計算- Grid Computing 肖儂 網(wǎng)格資源管理和分配任務(wù)(續(xù)