Use the crsctl get hostname command to retrieve the host name of the local server.
crsctl get hostname
Oracle Clusterware returns the host name of the local server:
$ crsctl get hostname node2
Scripting on this page enhances content navigation, but does not change the content in any way.