国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Vagrant安裝Oracle Data Guard環(huán)境示例

這篇具有很好參考價(jià)值的文章主要介紹了Vagrant安裝Oracle Data Guard環(huán)境示例。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問(wèn)。

在Windows 11下,通過(guò)Vagrant安裝標(biāo)準(zhǔn)的Data Guard環(huán)境(默認(rèn)為non-CDB模式),耗時(shí)約26分鐘,共生成2臺(tái)虛機(jī)。以下為安裝日志:

...
    host2: Welcome to DGMGRL, type "help" for information.
    host2: Connected to "DB193H1"
    host2: Connected as SYSDBA.
    host2: DGMGRL> Database "db193h1_stdby" added
    host2: DGMGRL> DGMGRL for Linux: Release 19.0.0.0.0 - Production on Fri Jan 12 11:39:44 2024
    host2: Version 19.3.0.0.0
    host2:
    host2: Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.
    host2:
    host2: Welcome to DGMGRL, type "help" for information.
    host2: Connected to "DB193H1"
    host2: Connected as SYSDBA.
    host2: DGMGRL> Enabled.
    host2: DGMGRL> -----------------------------------------------------------------
    host2: INFO: 2024-01-12 11:40:05: Setup standby env
    host2: -----------------------------------------------------------------
    host2:
    host2: SQL*Plus: Release 19.0.0.0.0 - Production on Fri Jan 12 11:40:05 2024
    host2: Version 19.3.0.0.0
    host2:
    host2: Copyright (c) 1982, 2019, Oracle.  All rights reserved.
    host2:
    host2:
    host2: Connected to:
    host2: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
    host2: Version 19.3.0.0.0
    host2:
    host2: SQL> ORACLE instance started.
    host2:
    host2: Total System Global Area 3305108784 bytes
    host2: Fixed Size               8901936 bytes
    host2: Variable Size                  654311424 bytes
    host2: Database Buffers      2634022912 bytes
    host2: Redo Buffers             7872512 bytes
    host2: Database mounted.
    host2: SQL> Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
    host2: Version 19.3.0.0.0
    host2: DGMGRL for Linux: Release 19.0.0.0.0 - Production on Fri Jan 12 11:41:18 2024
    host2: Version 19.3.0.0.0
    host2:
    host2: Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.
    host2:
    host2: Welcome to DGMGRL, type "help" for information.
    host2: Connected to "DB193H1"
    host2: Connected as SYSDBA.
    host2: DGMGRL>
    host2: Configuration - db_broker_config
    host2:
    host2:   Protection Mode: MaxPerformance
    host2:   Members:
    host2:   db193h1       - Primary database
    host2:     db193h1_stdby - Physical standby database
    host2:       Warning: ORA-16854: apply lag could not be determined
    host2:
    host2: Fast-Start Failover:  Disabled
    host2:
    host2: Configuration Status:
    host2: WARNING   (status updated 79 seconds ago)
    host2:
    host2: DGMGRL>
    host2: Database - db193h1
    host2:
    host2:   Role:               PRIMARY
    host2:   Intended State:     TRANSPORT-ON
    host2:   Instance(s):
    host2:     DB193H1
    host2:
    host2: Database Status:
    host2: SUCCESS
    host2:
    host2: DGMGRL>
    host2: Database - db193h1_stdby
    host2:
    host2:   Role:               PHYSICAL STANDBY
    host2:   Intended State:     APPLY-ON
    host2:   Transport Lag:      0 seconds (computed 1 second ago)
    host2:   Apply Lag:          0 seconds (computed 1 second ago)
    host2:   Average Apply Rate: 0 Byte/s
    host2:   Real Time Query:    OFF
    host2:   Instance(s):
    host2:     DB193H1
    host2:
    host2: Database Status:
    host2: SUCCESS
    host2:
    host2: DGMGRL> -----------------------------------------------------------------
    host2: INFO: 2024-01-12 11:41:20: Setup DB autostart
    host2: -----------------------------------------------------------------
    host2: Created symlink from /etc/systemd/system/multi-user.target.wants/dbora.service to /usr/lib/systemd/system/dbora.service.
    host2: -----------------------------------------------------------------
    host2: INFO: 2024-01-12 11:41:20: Running user-defined post-setup scripts
    host2: -----------------------------------------------------------------

real    25m50.651s
user    0m0.015s
sys     0m0.031s

查看主備機(jī)的狀態(tài):

$ vagrant status

│????????????????????????????????????????????????????????????????????????│
 Oracle DG (Database Dataguard) Vagrant box for KVM/libVirt or VirtualBox
 Copyright (c) 1982-2021 Oracle and/or its affiliates
--------------------------------------------------------------------------
 Author: Ruggero Citton <ruggero.citton@oracle.com>
         RAC Pack, Cloud Innovation and Solution Engineering Team
│????????????????????????????????????????????????????????????????????????│


--------------------
Detected virtualbox
--------------------
getting Proxy Configuration from Host...
Current machine states:

host1                     running (virtualbox)
host2                     running (virtualbox)

This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.

使用ssh登錄host1,即Primary host:

PS C:\Users\****\Desktop\WORKSPACE\vagrant-projects\OracleDG\OL7> vagrant ssh host1

│????????????????????????????????????????????????????????????????????????│
 Oracle DG (Database Dataguard) Vagrant box for KVM/libVirt or VirtualBox
 Copyright (c) 1982-2021 Oracle and/or its affiliates
--------------------------------------------------------------------------
 Author: Ruggero Citton <ruggero.citton@oracle.com>
         RAC Pack, Cloud Innovation and Solution Engineering Team
│????????????????????????????????????????????????????????????????????????│


--------------------
Detected virtualbox
--------------------
getting Proxy Configuration from Host...

Welcome to Oracle Linux Server release 7.9 (GNU/Linux 5.4.17-2136.325.5.el7uek.x86_64)

The Oracle Linux End-User License Agreement can be viewed here:

  * /usr/share/eula/eula.en_US

For additional packages, updates, documentation and community help, see:

  * https://yum.oracle.com/

[vagrant@primary ~]$

占用空間25.2GB,其實(shí)包含了ORCL_software目錄下5.54GB的軟件,即Oracle DB和GI軟件(GI軟件實(shí)際并沒(méi)有用到,我只是放在那里而已)。
Vagrant安裝Oracle Data Guard環(huán)境示例,Oracle數(shù)據(jù)庫(kù)管理,Oracle 19c,vagrant,oracle,database,dataguard,sqldeveloper
虛機(jī)啟動(dòng)時(shí)的情況,兩個(gè)虛機(jī)實(shí)際占用內(nèi)存約10G:
Vagrant安裝Oracle Data Guard環(huán)境示例,Oracle數(shù)據(jù)庫(kù)管理,Oracle 19c,vagrant,oracle,database,dataguard,sqldeveloper
使用SQL Developer連接時(shí),請(qǐng)注意需要再端口轉(zhuǎn)發(fā)中新增tcp1521條目。例如primary的1521端口映射為15211,而standby的1521端口映射為15212:
Vagrant安裝Oracle Data Guard環(huán)境示例,Oracle數(shù)據(jù)庫(kù)管理,Oracle 19c,vagrant,oracle,database,dataguard,sqldeveloper

SQL Developer中的管理界面:
Vagrant安裝Oracle Data Guard環(huán)境示例,Oracle數(shù)據(jù)庫(kù)管理,Oracle 19c,vagrant,oracle,database,dataguard,sqldeveloper文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-812761.html

到了這里,關(guān)于Vagrant安裝Oracle Data Guard環(huán)境示例的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • Oracle19c數(shù)據(jù)庫(kù)安裝 - 基于Linux環(huán)境

    Oracle19c數(shù)據(jù)庫(kù)安裝 - 基于Linux環(huán)境

    安裝文件鏈接在文章末尾。 本文介紹多種在Linux環(huán)境下安裝Oracle19c數(shù)據(jù)庫(kù)軟件和Oracle數(shù)據(jù)庫(kù)的方式,多種方式選擇其中一種即可,適用于19c數(shù)據(jù)庫(kù)學(xué)習(xí)環(huán)境的配置。 數(shù)據(jù)庫(kù)軟件和數(shù)據(jù)庫(kù)是不同的,都需要安裝。 關(guān)閉防火墻和selinux 更改完reboot,使其生效 搭建yum,安裝依賴包

    2024年02月15日
    瀏覽(76)
  • oracle 19c容器數(shù)據(jù)庫(kù)data dump數(shù)據(jù)泵傳輸數(shù)據(jù)(4)---網(wǎng)絡(luò)傳輸

    Transporting a Database Over the Network: Example 這個(gè)的方式導(dǎo)入可以不需要傳輸dmp文件,我原本是想從11g導(dǎo)入到pdb2的,但是因?yàn)榘姹镜脑颍椭苯訉?shí)驗(yàn)從pdb1導(dǎo)入到pdb2吧。 這種方式和前面完全傳輸?shù)姆绞筋愃疲恍枰孪仍谀繕?biāo)數(shù)據(jù)庫(kù)創(chuàng)建相同的表空間,而且不也不用有導(dǎo)出數(shù)據(jù)文

    2024年01月18日
    瀏覽(30)
  • windows 環(huán)境下使用腳本備份 oracle 數(shù)據(jù)庫(kù)數(shù)據(jù)

    windows 環(huán)境下使用腳本備份 oracle 數(shù)據(jù)庫(kù)數(shù)據(jù)

    當(dāng)我們的系統(tǒng)部署在 windows 上時(shí),且使用的數(shù)據(jù)庫(kù)為 oracle 時(shí),需要將數(shù)據(jù)庫(kù)的數(shù)據(jù)定時(shí)備份。 提示:以下是本篇文章正文內(nèi)容,下面案例可供參考 搜索任務(wù)計(jì)劃程序 創(chuàng)建任務(wù) 新建觸發(fā)器,執(zhí)行時(shí)間設(shè)置好 新建操作,選擇bat腳本文件 上述基本步驟創(chuàng)建完成之后便可以看到

    2024年01月17日
    瀏覽(28)
  • Linux環(huán)境下重啟Oracle數(shù)據(jù)庫(kù)

    Linux環(huán)境下重啟Oracle數(shù)據(jù)庫(kù)

    Linux環(huán)境下重啟Oracle數(shù)據(jù)庫(kù) 1、Linux下以O(shè)racle帳戶進(jìn)入Linux系統(tǒng)。 2、執(zhí)行以下命令查看數(shù)據(jù)庫(kù)監(jiān)聽器的狀況: 3、執(zhí)行以下命令停止數(shù)據(jù)庫(kù)監(jiān)聽器運(yùn)行: 4、殺掉所有session,命令: 5、執(zhí)行以下命令進(jìn)入SQLPlus: 6、執(zhí)行以下命令退出SQLPlus: 7、啟動(dòng),查看數(shù)據(jù)庫(kù)監(jiān)聽器: 8、啟動(dòng)

    2024年02月03日
    瀏覽(170)
  • Oracle rac環(huán)境的數(shù)據(jù)庫(kù)導(dǎo)入操作記錄

    Oracle rac環(huán)境的數(shù)據(jù)庫(kù)導(dǎo)入操作記錄

    搞某一大項(xiàng)目的性能測(cè)試,將Oracle數(shù)據(jù)庫(kù)dmp文件(211G)導(dǎo)入性能測(cè)試環(huán)境。 因?yàn)镺racle部署方式為rac,數(shù)據(jù)存儲(chǔ)到共享磁盤。但由于對(duì)rac了解不足,這個(gè)過(guò)程中犯了兩個(gè)錯(cuò)誤: ① 表空間、臨時(shí)表空間沒(méi)有創(chuàng)建到共享磁盤,而是創(chuàng)建到了數(shù)據(jù)庫(kù)服務(wù)本地磁盤; ② 發(fā)現(xiàn)應(yīng)該創(chuàng)建

    2024年02月08日
    瀏覽(19)
  • 本地搭建Oracle數(shù)據(jù)庫(kù)結(jié)合內(nèi)網(wǎng)穿透實(shí)現(xiàn)公網(wǎng)環(huán)境遠(yuǎn)程訪問(wèn)

    本地搭建Oracle數(shù)據(jù)庫(kù)結(jié)合內(nèi)網(wǎng)穿透實(shí)現(xiàn)公網(wǎng)環(huán)境遠(yuǎn)程訪問(wèn)

    最近,我發(fā)現(xiàn)了一個(gè)超級(jí)強(qiáng)大的人工智能學(xué)習(xí)網(wǎng)站。它以通俗易懂的方式呈現(xiàn)復(fù)雜的概念,而且內(nèi)容風(fēng)趣幽默。我覺得它對(duì)大家可能會(huì)有所幫助,所以我在此分享。點(diǎn)擊這里跳轉(zhuǎn)到網(wǎng)站。 Oracle,是甲骨文公司的一款關(guān)系數(shù)據(jù)庫(kù)管理系統(tǒng),它在數(shù)據(jù)庫(kù)領(lǐng)域一直處于領(lǐng)先地位???/p>

    2024年02月01日
    瀏覽(30)
  • 安裝oracle12c數(shù)據(jù)庫(kù)

    目錄 安裝文件下載 ????????下載程序下載步驟 安裝步驟 安裝前提

    2024年02月16日
    瀏覽(30)
  • docker安裝Oracle數(shù)據(jù)庫(kù)

    docker安裝Oracle數(shù)據(jù)庫(kù)

    拉取阿里云的oracle鏡像 查看獲取的鏡像 啟動(dòng)docker容器 默認(rèn)啟動(dòng)容器方式 持久化啟動(dòng)方式如下: --restart 表示docker重啟是容器自動(dòng)重啟。 --mount 表示要將Host上的路徑掛載到容器中。 查看容器,容器狀態(tài)up表示在運(yùn)行狀態(tài) 進(jìn)入容器 切換到root賬戶(默認(rèn)進(jìn)入之后是oracle賬戶)

    2024年02月16日
    瀏覽(22)
  • Oracle數(shù)據(jù)庫(kù)安裝及配置

    Oracle數(shù)據(jù)庫(kù)安裝及配置

    下載地址:(Database Software Downloads | Oracle) 下載好像需要Oracle賬號(hào),只要有郵箱就能注冊(cè)。 解壓好下載的壓縮包,找到setu.exe 點(diǎn)擊安裝。 根據(jù)安裝程序提示點(diǎn)擊下一步 可以創(chuàng)建一個(gè)新的Windows用戶來(lái)使用Oracle,也可以使用虛擬機(jī)來(lái)安裝Oracle 這里口令的格式要求至少一個(gè)大寫

    2024年02月05日
    瀏覽(19)
  • 基于RHEL9,ORACLE LINUX 9安裝Oracle 19c 數(shù)據(jù)庫(kù)

    基于RHEL9,ORACLE LINUX 9安裝Oracle 19c 數(shù)據(jù)庫(kù)

    要基于RHEL9,ORACLE LINUX 9 或RHEL分支,安裝ORACLE 19C 數(shù)據(jù)庫(kù),在一年前,沒(méi)有人會(huì)告訴你能夠成功,都會(huì)告訴你說(shuō)19C只支持 RHEL7/8,在RHEL9上不支持, 如果你非要安裝,在安裝到11%時(shí),就會(huì)報(bào)以下錯(cuò)誤: Error in invoking target \\\' libasmclntsh19.ohso libasmperl19.ohso client_sharedlib \\\' of makefile \\\'/u

    2024年02月03日
    瀏覽(100)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包