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

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

相关推荐
九河云36 分钟前
AWS账号注册费用详解:新用户是否需要付费?
服务器·云计算·aws
Lary_Rock40 分钟前
RK3576 LINUX RKNN SDK 测试
linux·运维·服务器
幺零九零零2 小时前
【计算机网络】TCP协议面试常考(一)
服务器·tcp/ip·计算机网络
云飞云共享云桌面3 小时前
8位机械工程师如何共享一台图形工作站算力?
linux·服务器·网络
幺零九零零6 小时前
【C++】socket套接字编程
linux·服务器·网络·c++
free7 小时前
netstat中sendq/recvq用于排查发送端发送数据的问题
服务器
力姆泰克7 小时前
看电动缸是如何提高农机的自动化水平
大数据·运维·服务器·数据库·人工智能·自动化·1024程序员节
力姆泰克7 小时前
力姆泰克电动缸助力农业机械装备,提高农机的自动化水平
大数据·服务器·数据库·人工智能·1024程序员节
程思扬8 小时前
为什么Uptime+Kuma本地部署与远程使用是网站监控新选择?
linux·服务器·网络·经验分享·后端·网络协议·1024程序员节
sun0077008 小时前
拷贝 cp -rdp 和 cp -a
linux·运维·服务器