[grid@dbrac1 ~]$ which olsnodes /oracle/app/11.2.0/grid/bin/olsnodes [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which oifcfg /oracle/app/11.2.0/grid/bin/oifcfg [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which crsctl /oracle/app/11.2.0/grid/bin/crsctl [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which ocrcheck /oracle/app/11.2.0/grid/bin/ocrcheck [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which ocrconfig /oracle/app/11.2.0/grid/bin/ocrconfig [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which ocrdump /oracle/app/11.2.0/grid/bin/ocrdump [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which srvctl /oracle/app/11.2.0/grid/bin/srvctl [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which onsctl /oracle/app/11.2.0/grid/bin/onsctl [grid@dbrac1 ~]$ [grid@dbrac1 ~]$ which crs_stat /oracle/app/11.2.0/grid/bin/crs_stat
oracle用户: [oracle@dbrac1 ~]$ which olsnodes /usr/bin/which: no olsnodes in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which oifcfg /usr/bin/which: no oifcfg in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which crsctl /usr/bin/which: no crsctl in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which ocrcheck /usr/bin/which: no ocrcheck in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which ocrconfig /usr/bin/which: no ocrconfig in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which ocrdump /usr/bin/which: no ocrdump in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which srvctl /oracle/app/oracle/product/11.2.0/dbhome_1/bin/srvctl [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which onsctl /oracle/app/oracle/product/11.2.0/dbhome_1/bin/onsctl [oracle@dbrac1 ~]$ [oracle@dbrac1 ~]$ which crs_stat /usr/bin/which: no crs_stat in (/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch:/sbin:/bin:/usr/sbin:/usr/bin) [oracle@dbrac1 ~]$
一、节点层: [grid@dbrac1 ~]$ olsnodes -h Usage: olsnodes [ [-n] [-i] [-s] [-t] [ | -l [-p]] | [-c] ] [-g] [-v] where -n print node number with the node name -p print private interconnect address for the local node -i print virtual IP address with the node name print information for the specified node -l print information for the local node -s print node status - active or inactive -t print node type - pinned or unpinned -g turn on logging -v Run in debug mode; use at direction of Oracle Support only. -c print clusterware name
- name of the host, as known to a communications network - name by which the interface is configured in the system - subnet address of the interface - type of the interface { cluster_interconnect | public }