Oracle T4-4小型机上配置Ldom部署rac

发布时间:2023年12月26日

Ldom控制域配置 (两台主机一样,以hydb1为例)
root@hydb1 # ldm add-vds primary-vds0 primary
root@hydb1 # ldm add-vcc port-range=5000-5100 primary-vcc0 primary
root@hydb1 # ldm add-vsw net-dev=igb0 primary-vsw0 primary
root@hydb1 # ldm add-vsw net-dev=ixgbe0 primary-vsw10 primary
root@hydb1 # ldm add-vsw net-dev=ixgbe1 primary-vsw11 primary
root@hydb1 # ldm set-mau 1 primary
root@hydb1 # ldm set-vcpu 16 primary???????????????????? ?
root@hydb1 # ldm set-memory 16g primary
root@hydb1 # ldm list-spconfig
root@hydb1 # ldm add-spconfig initial
root@hydb1 # ldm list-spconfig
root@hydb1 # mv /etc/hostname.igb0 /etc/hostname.vsw0
root@hydb1 # sync;sync;sync;init 6

每台T4-4机器上三个客户域,仅以1个域为例
hydb1 配置jwxtdom1
hydb2 配置jwxtdom2

##############################################################
客户域 jwxtdom 配置

jwxtdom1和jwxtdom2的共享存储如下:
c11t600601607E703500A84F01D7ADBFE311d0??? 4.0G
c11t600601607E7035002A62223984C0E311d0??? 4.1G
c11t600601607E70350010531B6984C0E311d0??? 4.2G
c11t6006016034803500B7C676D285C0E311d0??? 4.3G
c11t60060160348035003F030B1086C0E311d0??? 4.4G
c11t600601607E703500AC0C5B798BC0E311d0??? 800GB
c11t600601607E7035005C9257E883C0E311d0??? 800GB
c11t600601607E70350086F196B183C0E311d0??? 800GB
c11t600601607E7035009816D6628BC0E311d0??? 800GB
c11t60060160348035000A3EB0B08BC0E311d0??? 800GB
c11t6006016034803500B8415EA18BC0E311d0??? 800GB
c11t60060160348035004DC9857185C0E311d0??? 800GB
c11t60060160348035007F338E9585C0E311d0??? 800GB


主机hydb1上配置
root@hydb1 # ldm add-domain jwxtdom1
root@hydb1 # ldm add-vcpu 128 jwxtdom1
root@hydb1 # ldm add-memory 128g jwxtdom1
root@hydb1 # ldm add-vdsdev /jwxtdom1/jwxtdom1.img vol0@primary-vds0
root@hydb1 # ldm add-vdisk vdisk0 vol0@primary-vds0 jwxtdom1
root@hydb1 # ldm add-vnet vnet0 primary-vsw0 jwxtdom1
root@hydb1 # ldm add-vnet vnet1 primary-vsw10 jwxtdom1
root@hydb1 # ldm add-vnet vnet2 primary-vsw11 jwxtdom1
root@hydb1 # ldm add-vdsdev /software/sol-10-u11-ga-sparc-dvd.iso vol3@primary-vds0
root@hydb1 # ldm add-vdisk dvdrom vol3@primary-vds0 jwxtdom1
root@hydb1 # ldm set-variable auto-boot\?=false jwxtdom1
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E703500A84F01D7ADBFE311d0s2 vol5@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E7035002A62223984C0E311d0s2 vol6@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E70350010531B6984C0E311d0s2 vol7@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t6006016034803500B7C676D285C0E311d0s2 vol8@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t60060160348035003F030B1086C0E311d0s2 vol9@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E703500AC0C5B798BC0E311d0s2 vo20@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E7035005C9257E883C0E311d0s2 vo21@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E70350086F196B183C0E311d0s2 vo22@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t600601607E7035009816D6628BC0E311d0s2 vo23@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t60060160348035000A3EB0B08BC0E311d0s2 vo24@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t6006016034803500B8415EA18BC0E311d0s2 vo25@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t60060160348035004DC9857185C0E311d0s2 vo26@primary-vds0
root@hydb1 # ldm add-vdsdev /dev/dsk/c11t60060160348035007F338E9585C0E311d0s2 vo27@primary-vds0
root@hydb1 # ldm add-vdisk vdisk2 vol5@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk3 vol6@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk4 vol7@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk5 vol8@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk6 vol9@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk7 vo20@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk8 vo21@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk9 vo22@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk10 vo23@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk11 vo24@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk12 vo25@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk13 vo26@primary-vds0? jwxtdom1
root@hydb1 # ldm add-vdisk vdisk14 vo27@primary-vds0? jwxtdom1
root@hydb1 # ldm bind-domain jwxtdom1????????????? ?
root@hydb1 # ldm start-domain jwxtdom1
root@hydb1 # telnet localhost 5000

主机hydb2上配置
root@hydb2 # ldm add-domain jwxtdom2
root@hydb2 # ldm add-vcpu 128 jwxtdom2
root@hydb2 # ldm add-memory 128g jwxtdom2
root@hydb2 # ldm add-vdsdev /jwxtdom2/jwxtdom2.img vol0@primary-vds0
root@hydb2 # ldm add-vdisk vdisk0 vol0@primary-vds0 jwxtdom2
root@hydb2 # ldm add-vnet vnet0 primary-vsw0 jwxtdom2
root@hydb2 # ldm add-vnet vnet1 primary-vsw10 jwxtdom2
root@hydb2 # ldm add-vnet vnet2 primary-vsw11 jwxtdom2
root@hydb2 # ldm add-vdsdev /software/sol-10-u11-ga-sparc-dvd.iso vol3@primary-vds0
root@hydb2 # ldm add-vdisk dvdrom vol3@primary-vds0 jwxtdom2
root@hydb2 # ldm set-variable auto-boot\?=false jwxtdom2
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E703500A84F01D7ADBFE311d0s2 vol5@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E7035002A62223984C0E311d0s2 vol6@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E70350010531B6984C0E311d0s2 vol7@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t6006016034803500B7C676D285C0E311d0s2 vol8@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t60060160348035003F030B1086C0E311d0s2 vol9@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E703500AC0C5B798BC0E311d0s2 vo20@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E7035005C9257E883C0E311d0s2 vo21@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E70350086F196B183C0E311d0s2 vo22@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t600601607E7035009816D6628BC0E311d0s2 vo23@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t60060160348035000A3EB0B08BC0E311d0s2 vo24@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t6006016034803500B8415EA18BC0E311d0s2 vo25@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t60060160348035004DC9857185C0E311d0s2 vo26@primary-vds0
root@hydb2 # ldm add-vdsdev /dev/dsk/c11t60060160348035007F338E9585C0E311d0s2 vo27@primary-vds0
root@hydb2 # ldm add-vdisk vdisk2 vol5@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk3 vol6@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk4 vol7@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk5 vol8@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk6 vol9@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk7 vo20@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk8 vo21@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk9 vo22@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk10 vo23@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk11 vo24@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk12 vo25@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk13 vo26@primary-vds0? jwxtdom2
root@hydb2 # ldm add-vdisk vdisk14 vo27@primary-vds0? jwxtdom2
root@hydb2 # ldm bind-domain jwxtdom2????????????? ?
root@hydb2 # ldm start-domain jwxtdom2
root@hydb2 # telnet localhost 5000
root@hydb1 #? ldm list
NAME???????????? STATE????? FLAGS?? CONS??? VCPU? MEMORY?? UTIL? NORM? UPTIME
primary????????? active???? -n-cv-? UART??? 16??? 16G????? 0.1%? 0.1%? 1h 27m
jwxtdom1?????? active???? -t----? 5000??? 128?? 128G???? 0.8%? 0.8%? 0h 27m
root@hydb1 #??????? ?

root@hydb1 #? telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Connecting to console "jwxtdom1" in group "jwxtdom1" ....
Press ~? for control options ..

{0} ok

?

文章来源:https://blog.csdn.net/kevinyu998/article/details/135219749
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。