If you change the host name for Oracle Automatic Storage Management, then the Oracle CSS service does not start.
In order to solve this problem, perform the following steps:
- Log in as a user with Administrator privileges.
roothas.batto deconfigure CSS.
C:\> cd \app\oracle\product\12.2.0\grid\crs\install
perl roothas.bat -deconfig -force
Starting with Oracle Database 12c Release 1 (188.8.131.52), the
roothas.batscript replaces the
roothas.plscript in the Oracle Grid Infrastructure home.
This removes any configuration related files on the system that referenced the old host name.
gridconfig.batscript to reconfigure CSS using the new host name:
C:\> cd \app\oracle\product\12.2.0\grid\crs\config
- Go to the grid home's
bindirectory. Use the
srvctl add databasecommand with the
-c SINGLEflag to add the database in an Oracle Restart configuration. Also use the
srvctl addcommand to add the listener, the Oracle ASM instance, all Oracle ASM disk groups, and any database services to the Oracle Restart configuration.