运维联盟俱乐部

 找回密码
 立即注册
查看: 1394|回复: 0

[安装部署] clone oracle home

[复制链接]
  • TA的每日心情
    开心
    2023-8-9 11:05
  • 发表于 2021-10-13 09:53:32 | 显示全部楼层 |阅读模式
    19以下用这个方法,19用goldimage

    --源库关闭实例,监听
    1. [oracle@vm1 12.2.0.1]$ pwd
    2. /app/oracle/db/12.2.0.1
    3. [oracle@vm1 12.2.0.1]$ zip -r db12.zip home1
    复制代码
    1. scp db12.zip 192.168.56.81:/u01/app/oracle/product/12.2.0/
    复制代码
    --目标库

    1. unzip db12.zip
    复制代码

    1. [oracle@zy1 bin]$ /u01/app/oracle/product/12.2.0/home1/perl/bin/perl /u01/app/oracle/product/12.2.0/home1/clone/bin/clone.pl ORACLE_BASE="/u01/app/oracle" ORACLE_HOME="/u01/app/oracle/product/12.2.0/home1" OSDBA_GROUP=dba OSOPER_GROUP=oper OSBACKUPDBA_GROUP=backupdba OSRACDBA_GROUP=racdba -defaultHomeName
    2. Starting Oracle Universal Installer...

    3. Checking Temp space: must be greater than 500 MB.   Actual 66649 MB    Passed
    4. Checking swap space: must be greater than 500 MB.   Actual 8057 MB    Passed
    5. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-10-13_10-42-17AM. Please wait ...You can find the log of this install session at:
    6. /u01/app/oraInventory/logs/cloneActions2021-10-13_10-42-17AM.log
    7. ..................................................   5% Done.
    8. ..................................................   10% Done.
    9. ..................................................   15% Done.
    10. ..................................................   20% Done.
    11. ..................................................   25% Done.
    12. ..................................................   30% Done.
    13. ..................................................   35% Done.
    14. ..................................................   40% Done.
    15. ..................................................   45% Done.
    16. ..................................................   50% Done.
    17. ..................................................   55% Done.
    18. ..................................................   60% Done.
    19. ..................................................   65% Done.
    20. ..................................................   70% Done.
    21. ..................................................   75% Done.
    22. ..................................................   80% Done.
    23. ..................................................   85% Done.
    24. ..........
    25. Copy files in progress.

    26. Copy files successful.

    27. Link binaries in progress.

    28. Link binaries successful.

    29. Setup files in progress.

    30. Setup files successful.

    31. Setup Inventory in progress.

    32. Setup Inventory successful.

    33. Finish Setup successful.
    34. The cloning of OraHome2 was successful.
    35. Please check '/u01/app/oraInventory/logs/cloneActions2021-10-13_10-42-17AM.log' for more details.

    36. Setup Oracle Base in progress.

    37. Setup Oracle Base successful.
    38. ..................................................   95% Done.

    39. As a root user, execute the following script(s):
    40.         1. /u01/app/oracle/product/12.2.0/home1/root.sh



    41. ..................................................   100% Done.
    复制代码
    1. [root@zy1 bin]# /u01/app/oracle/product/12.2.0/home1/root.sh
    2. Check /u01/app/oracle/product/12.2.0/home1/install/root_zy1_2021-10-13_10-46-09-103383368.log for the output of root script
    复制代码




    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    运维联盟俱乐部 ( 冀ICP备19036648号 )

    GMT+8, 2024-5-17 11:46 , Processed in 0.046260 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表