سلام
یکی از دوستان درخواست تغییر clustername رو داشتن که من این مقاله رو برای این گذاشتم که دیگر دوستان هم استفاده کنن
خب برای اینکار ما باید ابتدا کلاستر رو deconfig کنیم و دوباره config کنیم
اینکه این کار باعث downtime میشه و اینکه دیتابس ما حذف نمیشه بعد از config ما این دیتابیس رو به cluster اضافه میکنیم
خب برای اینکار ابتدا ما با کاربر root کلاستر رو deconfig میکنیم
روی تمام نود ها بجز نود اخر این دستور رو میزنیم
[root@prod1 install]# cd /grid/app/12.2/grid/crs/install [root@prod1 install]# ./rootcrs.pl -deconfig -force -verbose
Using configuration parameter file: ./crsconfig_params The log of current session can be found at: /grid/grid_base/crsdata/prod1/crsconfig/crsdeconfig_prod1_2019-05-14_04-51-07PM.log CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'prod1' CRS-2673: Attempting to stop 'ora.crsd' on 'prod1' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'prod1' CRS-2673: Attempting to stop 'ora.mciprod.db' on 'prod1' CRS-2673: Attempting to stop 'ora.chad' on 'prod1' CRS-2677: Stop of 'ora.mciprod.db' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.DATA.dg' on 'prod1' CRS-2673: Attempting to stop 'ora.FRA.dg' on 'prod1' CRS-2673: Attempting to stop 'ora.OCRVOTING.dg' on 'prod1' CRS-2677: Stop of 'ora.FRA.dg' on 'prod1' succeeded CRS-2677: Stop of 'ora.DATA.dg' on 'prod1' succeeded CRS-2677: Stop of 'ora.OCRVOTING.dg' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'prod1' CRS-2677: Stop of 'ora.asm' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'prod1' CRS-2673: Attempting to stop 'ora.ASMNET2LSNR_ASM.lsnr' on 'prod1' CRS-2677: Stop of 'ora.ASMNET2LSNR_ASM.lsnr' on 'prod1' succeeded CRS-2677: Stop of 'ora.chad' on 'prod1' succeeded CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'prod1' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'prod1' has completed CRS-2677: Stop of 'ora.crsd' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'prod1' CRS-2673: Attempting to stop 'ora.crf' on 'prod1' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'prod1' CRS-2673: Attempting to stop 'ora.gpnpd' on 'prod1' CRS-2673: Attempting to stop 'ora.mdnsd' on 'prod1' CRS-2677: Stop of 'ora.drivers.acfs' on 'prod1' succeeded CRS-2677: Stop of 'ora.crf' on 'prod1' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'prod1' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'prod1' succeeded CRS-2677: Stop of 'ora.asm' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'prod1' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.ctssd' on 'prod1' CRS-2673: Attempting to stop 'ora.evmd' on 'prod1' CRS-2677: Stop of 'ora.ctssd' on 'prod1' succeeded CRS-2677: Stop of 'ora.evmd' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'prod1' CRS-2677: Stop of 'ora.cssd' on 'prod1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'prod1' CRS-2677: Stop of 'ora.gipcd' on 'prod1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'prod1' has completed CRS-4133: Oracle High Availability Services has been stopped. 2019/05/14 16:53:06 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector. 2019/05/14 16:54:10 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector. 2019/05/14 16:54:10 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node