遇到“found 0 gpnp ..."

對RAC心跳做IP調整時候,當在修改ip時可能會報錯Found 0 gpnp service,此時還需檢查gpnp配置文件,在修改該xml文件後,記錄下正常文件:

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

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


$gpnptool rget

Warning: some command line parameters were defaulted. Resulting command line: 
         /oracle11g/app/grid/bin/gpnptool.bin rget -o-




Found 2 gpnp service instance(s) to rget profile from.


RGET from tcp://gapsdb1:32794 (mdns:service:gpnp._tcp.local.://gapsdb1:32794/agent=gpnpd,cname=gapsdb-cluster,host=gapsdb1,pid=9240804/gpnpd h:gapsdb1 c:gapsdb-cluster):


<?xml version="1.0" encoding="UTF-8"?><gpnp:GPnP-Profile Version="1.0" xmlns="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:gpnp="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:orcl="http://www.oracle.com/gpnp/2005/11/gpnp-profile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.grid-pnp.org/2005/11/gpnp-profile gpnp-profile.xsd" ProfileSequence="10" ClusterUId="210b1db7555cdf3bff682659bdd71113" ClusterName="gapsdb-cluster" PALocation=""><gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*"><gpnp:Network id="net2" IP="10.10.10.0" Adapter="en2" Use="cluster_interconnect"/><gpnp:Network id="net1" Adapter="en1" IP="38.19.18.0" Use="public"/></gpnp:HostNetwork></gpnp:Network-Profile><orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/><orcl:ASM-Profile id="asm" DiscoveryString="" SPFile="+DATA/gapsdb-cluster/asmparameterfile/registry.253.815239007"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="gpnp orcl xsi"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>8IaN8MHSfInQ8113kKyTVMrJXlU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>HEsNxq4TzJeMNUk40T3DNOQVJsZQ/W/NLqMBsnfIHOu7ZBXys6T2VY3WQ2b++47n55Ih7k9a0IQESBVIUPU1Pn3B1mVh9pNvsqUPfX67DoOArUd2McYVwQz73QZMO/e3N/osciM1iptCI6zxVyEICssyTrFEf3UMixFxr34V1pE=</ds:SignatureValue></ds:Signature></gpnp:GPnP-Profile>
Success.


RGET from tcp://gapsdb2:32794 (mdns:service:gpnp._tcp.local.://gapsdb2:32794/agent=gpnpd,cname=gapsdb-cluster,host=gapsdb2,pid=7864452/gpnpd h:gapsdb2 c:gapsdb-cluster):


<?xml version="1.0" encoding="UTF-8"?><gpnp:GPnP-Profile Version="1.0" xmlns="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:gpnp="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:orcl="http://www.oracle.com/gpnp/2005/11/gpnp-profile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.grid-pnp.org/2005/11/gpnp-profile gpnp-profile.xsd" ProfileSequence="10" ClusterUId="210b1db7555cdf3bff682659bdd71113" ClusterName="gapsdb-cluster" PALocation=""><gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*"><gpnp:Network id="net2" IP="10.10.10.0" Adapter="en2" Use="cluster_interconnect"/><gpnp:Network id="net1" Adapter="en1" IP="38.19.18.0" Use="public"/></gpnp:HostNetwork></gpnp:Network-Profile><orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/><orcl:ASM-Profile id="asm" DiscoveryString="" SPFile="+DATA/gapsdb-cluster/asmparameterfile/registry.253.815239007"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="gpnp orcl xsi"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>8IaN8MHSfInQ8113kKyTVMrJXlU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>HEsNxq4TzJeMNUk40T3DNOQVJsZQ/W/NLqMBsnfIHOu7ZBXys6T2VY3WQ2b++47n55Ih7k9a0IQESBVIUPU1Pn3B1mVh9pNvsqUPfX67DoOArUd2McYVwQz73QZMO/e3N/osciM1iptCI6zxVyEICssyTrFEf3UMixFxr34V1pE=</ds:SignatureValue></ds:Signature></gpnp:GPnP-Profile>
Success.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章