The GPnP profile is a small XML file located in GRID_HOME/gpnp/<hostname>/profiles/peer under the name profile.xml. It is used to establish the correct global personality of a node. Each node maintains a local copy of the GPnP Profile and is maintanied by the GPnP Deamon (GPnPD) .
/data01/app/11.2.0/grid_11204/gpnp/node1/profiles/peer/profile.xml
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool get
Warning: some command line parameters were defaulted. Resulting command line:
/data01/app/11.2.0/grid_11204/bin/gpnptool.bin get -o-
<?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="4" ClusterUId="3ae91d6243b0df45ff7af75dc0ef0fa3" ClusterName="node-cluster" PALocation="">
<gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*">
<gpnp:Network id="net1" IP="192.168.56.0" Adapter="eth0" Use="public"/>
<gpnp:Network id="net2" IP="192.168.10.0" Adapter="eth1" Use="cluster_interconnect"/>
</gpnp:HostNetwork>
</gpnp:Network-Profile>
<orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/>
<orcl:ASM-Profile id="asm" DiscoveryString="/dev/oracleasm/disks*" SPFile="+DATA/node-cluster/asmparameterfile/registry.253.866681801"/>
<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>Qo8cEYWiMWje2ivla0Y3iaY85WY=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>ZPkyemS5LEm5kDgoYTl8wPdaJzKk3S06nLvfywuRTMlivF75af1GYicSOfYpRdZ675tUU4W2UkdUzKVB2OKkHPIlfVXndxcfMaiyTNBO88hHeXINC3RL0GvabPjtWlVJ9SyAAH3hahInJn7F8ScFedtxtdMGg+IEyQ6gqn6lJiI=</ds:SignatureValue>
</ds:Signature>
</gpnp:GPnP-Profile>
Success.
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool lfind
Success. Local gpnpd found.
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool find
Found 2 instances of service 'gpnp'.
mdns:service:gpnp._tcp.local.://node1:61702/agent=gpnpd,cname=node-cluster,host=node1,pid=3034/gpnpd h:node1 c:node-cluster
mdns:service:gpnp._tcp.local.://node2:55239/agent=gpnpd,cname=node-cluster,host=node2,pid=3133/gpnpd h:node2 c:node-cluster
[grid@node1 peer]$
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool getpval -asm_spf
Warning: some command line parameters were defaulted. Resulting command line:
/data01/app/11.2.0/grid_11204/bin/gpnptool.bin getpval -asm_spf -p=profile.xml -o-
+DATA/node-cluster/asmparameterfile/registry.253.866681801
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool.bin getpval -asm_spf -p=profile.xml -o-
+DATA/node-cluster/asmparameterfile/registry.253.866681801
/data01/app/11.2.0/grid_11204/gpnp/node1/profiles/peer/profile.xml
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool get
Warning: some command line parameters were defaulted. Resulting command line:
/data01/app/11.2.0/grid_11204/bin/gpnptool.bin get -o-
<?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="4" ClusterUId="3ae91d6243b0df45ff7af75dc0ef0fa3" ClusterName="node-cluster" PALocation="">
<gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*">
<gpnp:Network id="net1" IP="192.168.56.0" Adapter="eth0" Use="public"/>
<gpnp:Network id="net2" IP="192.168.10.0" Adapter="eth1" Use="cluster_interconnect"/>
</gpnp:HostNetwork>
</gpnp:Network-Profile>
<orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/>
<orcl:ASM-Profile id="asm" DiscoveryString="/dev/oracleasm/disks*" SPFile="+DATA/node-cluster/asmparameterfile/registry.253.866681801"/>
<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>Qo8cEYWiMWje2ivla0Y3iaY85WY=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>ZPkyemS5LEm5kDgoYTl8wPdaJzKk3S06nLvfywuRTMlivF75af1GYicSOfYpRdZ675tUU4W2UkdUzKVB2OKkHPIlfVXndxcfMaiyTNBO88hHeXINC3RL0GvabPjtWlVJ9SyAAH3hahInJn7F8ScFedtxtdMGg+IEyQ6gqn6lJiI=</ds:SignatureValue>
</ds:Signature>
</gpnp:GPnP-Profile>
Success.
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool lfind
Success. Local gpnpd found.
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool find
Found 2 instances of service 'gpnp'.
mdns:service:gpnp._tcp.local.://node1:61702/agent=gpnpd,cname=node-cluster,host=node1,pid=3034/gpnpd h:node1 c:node-cluster
mdns:service:gpnp._tcp.local.://node2:55239/agent=gpnpd,cname=node-cluster,host=node2,pid=3133/gpnpd h:node2 c:node-cluster
[grid@node1 peer]$
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool getpval -asm_spf
Warning: some command line parameters were defaulted. Resulting command line:
/data01/app/11.2.0/grid_11204/bin/gpnptool.bin getpval -asm_spf -p=profile.xml -o-
+DATA/node-cluster/asmparameterfile/registry.253.866681801
[grid@node1 peer]$ /data01/app/11.2.0/grid_11204/bin/gpnptool.bin getpval -asm_spf -p=profile.xml -o-
+DATA/node-cluster/asmparameterfile/registry.253.866681801