Review the following topics for information about using earlier Oracle Database releases with Oracle Grid Infrastructure 12c Release 2 (12.2) installations:
lsnrctl command, set your $ORACLE_HOME environment variable to the path for the Oracle Grid Infrastructure home (Grid home).