日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Oracle 11gR2 RAC 中的 Grid Plug and Play(GPnP) 是什么?

發(fā)布時間:2024/4/17 编程问答 59 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Oracle 11gR2 RAC 中的 Grid Plug and Play(GPnP) 是什么? 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?

?

一. 什么是GPnP?

?

Grid Plug and Play (GPnP):Foundation for a Dynamic Cluster Management?

(1)GPnPeliminates the need for a per node configuration

–It is an underlying gridconcept that enables the automation of operations in the cluster?

–Allows nodes to be dynamicallyadded or removed from the cluster?

–Provides an easier managementto build large clusters?OUI does not ask????

–It is the basis for the GridNaming Service (GNS)?for a private node name anymore.??

?

(2)Technically,GPnP is based on an XML profile?

–Defining node personality(e.g. cluster name, network classification)?

–Created during installation?

–Updated withevery relevant change (using oifcfg, crsctl)?

–Stored in local files per homeand in the OCR?

- Wallet protected

?

(3)?GPnPis apparent in things that you do not??

? ?see and that youare not asked for (anymore).

?

Grid Plug and Play (GPnP)eliminates per-node configuration data and the need for explicit add and deletenodes steps. This allows a systemadministrator to take a template system image and run it on a new node with nofurther configuration. This removes many manual operations, reduces theopportunity for errors, and encourages configurations that can be changedeasily. Removal of the per-node configuration makes the nodes easierto replace, because they do not need to contain individually-managed state.

??? --GPnP 簡化了每個節(jié)點的配置數(shù)據(jù)和添加刪除節(jié)點時的一些步驟。也就是說運(yùn)行系統(tǒng)管理創(chuàng)建模板的系統(tǒng)鏡像,并在新的節(jié)點上運(yùn)行,而不需要其他的配置工作。這樣就減少了一些手工操作,降低了發(fā)生錯誤的概率。

?

Grid Plug and Play reduces the cost of installing, configuring, andmanaging database nodes by making their per-node state disposable. It allowsnodes to be easily replaced with regenerated state.

??? --GPnP在每個節(jié)點通過state來減少安裝,配置和管理數(shù)據(jù)庫的成本。

?

Grid Plug andPlay enables you to move your data center toward a dynamic grid infrastructure.This enables you to consolidate applications and lower the costs of managingapplications, while providing a highly available environment that can easilyscale when the workload requires.

?

There are manymodifications in Oracle RAC 11g release 2 (11.2) to support the easy additionof servers in a cluster and therefore a more dynamic grid.

?

?

In the past,adding or removing servers in a cluster required extensive manual preparation.With this release, Grid Plug and Play reduces the costs ofinstalling, configuring, and managing server nodes by automating the followingtasks:

--在過去的版本,添加刪除節(jié)點需要大量的手工準(zhǔn)備,在11gR2中,如下任務(wù)通過自動化的操作,GPnP 減少了每個節(jié)點安裝,配置和管理服務(wù)器的成本。

?

1)??Adding an Oracle RAC databaseinstance

2)??Negotiating appropriate networkidentities for itself

3)??Acquiring additionalinformation it needs to operate from a configuration profile

4)??Configuring or reconfiguringitself using profile data, making host names and addresses resolvable on thenetwork

?

--查看GPnP的進(jìn)程:

[root@rac2 ~]# ps -ef|grep gpnp

grid?????5124???? 1? 0 15:26 ???????? 00:00:01/u01/app/grid/11.2.0/bin/gpnpd.bin

root?????6646? 4954? 0 15:38 pts/0??? 00:00:00 grep gpnp

[root@rac2 ~]#

?

Grid Plug and Play (GPNPD): GPNPD provides access to the Grid Plug and Play profile, andcoordinates updates to the profile among the nodes of the cluster to ensurethat all of the nodes node have the most recent profile.

--GPnPD 進(jìn)程可以訪問Grid Plug and Play 的profile 文件,并且在集群的所有節(jié)點中協(xié)調(diào)更新profile的內(nèi)容。 已確保所有節(jié)點上的GPnP profile是最新的。

?

?

Multicast Domain Name Service (mDNS): Grid Plug and Play uses the mDNS process to locate profiles in thecluster, as well as by GNS to perform name resolution. The mDNS process is abackground process on Linux and UNIX, and a service on Windows.

??? --GpnP 使用mDNS 進(jìn)程來查找集群中的profile文件,然后執(zhí)行名稱解析。

?

?

The section,?AboutPrivate Networks, Network Interfaces, and Network Adapters, says that theentity,?Private network interfaces, is stored in the?OracleClusterware, in the Grid Plug and Play (GPnP) Profile.

--entity,privatenetwork interface 的信息也會存入到Oracle Clusterwre 和Grid Plug and Play Profile中。

?

也就是說我們在安裝過程中配置某個interface作為private interface或者使用oifcfg cluster_interconnects命令配置的private interface信息都會寫入到GPnP的profile中。

?

?

二. GPnP Profile 位置及內(nèi)容

?

GPnP profile文件保存的是集群的配置信息。這個XML 文件里記錄了如下信息:

1.網(wǎng)絡(luò)接口和IP地址(公網(wǎng)和私網(wǎng))

2.ASM diskstring和spfile信息

?

注意:Oracle不支持手動修改profile.xml文件,直接對它的修改可能導(dǎo)致無法修復(fù)的問題,最終導(dǎo)致在所有節(jié)點重建Clusterware。

?

默認(rèn)的保存位置是:

$GRID_HOME/gpnp/$HOSTNAME/profile/peer/profile.xml

$GRID_HOME/gpnp/profile/peer/profile.xml(全局備份)

?

?

在沒有啟動ASM 實例之前,diskgroup是沒有mount的,這時候啟動ASM 實例必須要讀取spfile文件。?

?

當(dāng)ASM instance 查找初始化文件的時候,搜索的順序如下:

1.? GPnP(Grid Plug and Play) profile 中指定的本地位置

2.? 如果GPnP profile中沒有指定初始化文件的位置,然后搜索ASM InstanceHome目錄。這里會包含2種文件,SPFILE 和 PFILE,默認(rèn)路徑是:$ORACLE_HOME/dbs/spfile+ASM.ora

?

在集群環(huán)境下,集群在啟動的時候,ClusterSynchronization Services (CSS)將掃描所有的ASM disks,它利用的是GPnP profile文件中的ASM discovery string。

?

在Oracle 10g 的RAC里面, OCR 和Votingdisk是存放在單獨(dú)的raw設(shè)備上的,所以我們可以停止啟動ASM 實例。

?

但是在Oracle 11gRAC里。Oracle 的架構(gòu)做了變跟。 和ASM 的spfile一樣,OCR和Votingdisk 也存放到了ASM 的磁盤組里。

?

這時候,在啟動CRS的時候,也必須通過GPnP 屬性文件來獲取OCR和votingdisk的信息。 然后在啟動ASM 實例和數(shù)據(jù)庫實例。

?

也正式如此,我們在11G RAC環(huán)境下,不能停止ASM 實例,只能停數(shù)據(jù)庫實例。 ASM 實例只能和CRS 一起停止。 因為CRS 依賴的文件存放在ASM 磁盤組上。

?

?

將profile.xml的內(nèi)容復(fù)制出來,用瀏覽器打開,如下圖:

?

?

?

?

?

?

?

?

?

?

?

?

?

--------------------------------------------------------------------------------------------

版權(quán)所有,文章允許轉(zhuǎn)載,但必須以鏈接方式注明源地址,否則追究法律責(zé)任!

QQ:???? ?251097186

Skype: ???tianlesoftware

Email: ???tianlesoftware@gmail.com

Blog:?? ? http://blog.csdn.net/tianlesoftware

Weibo: ???http://weibo.com/tianlesoftware

Twitter:? http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

Linkedin: http://cn.linkedin.com/in/tianlesoftware

轉(zhuǎn)載于:https://www.cnblogs.com/tianlesoftware/p/3609071.html

總結(jié)

以上是生活随笔為你收集整理的Oracle 11gR2 RAC 中的 Grid Plug and Play(GPnP) 是什么?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 琪琪秋霞午夜被窝电影网 | 国产做受高潮动漫 | www.xxx国产| 国产精品69久久 | 国产片久久 | 免费毛片一区二区三区久久久 | 免费亚洲网站 | 97视频在线观看免费高清完整版在线观看 | 人人爱人人草 | 欧美另类老妇 | 在线免费观看网站入口在哪 | 扒开美女内裤狂揉下部 | 嫩草在线观看 | 天堂网在线中文 | 中文字幕二区 | 男女免费看 | 黄色网页观看 | 国产精品久久久久久亚洲调教 | 午夜精品毛片 | 久久久久国产精品熟女影院 | 国产视频在线观看网站 | 激情综合网五月 | 欧美日韩精 | 黄色理论视频 | 日韩a毛片 | 欧美天天性 | 免费久久一级欧美特大黄 | 插插插日日日 | 国产精品久久影院 | 国产无遮挡又黄又爽在线观看 | 可以看的av网址 | 欧美熟妇久久久久 | 国产在线高清视频 | 亚洲最新在线视频 | 人人干人人插 | 国产精品毛片久久久久久久av | 国产精品毛片在线 | 综合欧美亚洲 | 美女国产精品 | 国产精品久久一区二区三区 | 亚洲成人黄色小说 | 青青青视频在线播放 | 久久92 | www.自拍| 精品毛片一区二区三区 | 国产尤物在线视频 | 午夜宅男影院 | 欧美夜夜骑 | 亚洲一区二区三 | 久久国产精品电影 | 日本少妇高潮喷水xxxxxxx | 久久这里只有 | 中文字幕在线视频一区二区 | 激情四射网站 | 精品人妻少妇嫩草av无码专区 | 久久久久久久久综合 | 久久精品国产免费 | 手机看片日韩福利 | 亚洲熟妇丰满大屁股熟妇 | 激情图片在线视频 | 三级黄色在线播放 | 丁香啪啪综合成人亚洲 | 亚洲欧美系列 | 精品久久99 | 小小姑娘电影大全免费播放 | 打屁股无遮挡网站 | 三级做爰在线观看视频 | 中文字幕一区二区三区电影 | 国产免费一区二区三区最新不卡 | 一区亚洲| 亚洲啪啪网 | 超碰在线香蕉 | 一区二区欧美在线观看 | 日日夜夜天天 | 亚欧视频在线观看 | 中文字幕在线一区二区三区 | 国产免费叼嘿网站免费 | 天天激情综合 | 国产精品九九 | 色综合五月天 | 日韩免费在线播放 | 欧美乱大交xxxxx春色视频 | 欧美日韩不卡 | 欧美日韩一区电影 | 深夜视频在线播放 | 日韩欧美中 | 欧美视频自拍偷拍 | www.com在线观看| 我和岳m愉情xxxⅹ视频 | 三级黄色生活片 | 在线国产视频一区 | a无一区二区三区 | 岛国伊人 | 亚洲精华国产精华精华液网站 | 91极品国产 | 欧美日韩一级二级 | 内地毛片| 天天色影网 | 亚洲精品视频二区 |