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

相关推荐
良许Linux12 分钟前
0.96寸OLED显示屏详解
linux·服务器·后端·互联网
蜜獾云23 分钟前
docker 安装雷池WAF防火墙 守护Web服务器
linux·运维·服务器·网络·网络安全·docker·容器
小屁不止是运维24 分钟前
麒麟操作系统服务架构保姆级教程(五)NGINX中间件详解
linux·运维·服务器·nginx·中间件·架构
Hacker_Oldv29 分钟前
WPS 认证机制
运维·服务器·wps
bitcsljl37 分钟前
Linux 命令行快捷键
linux·运维·服务器
Youkiup1 小时前
【linux 常用命令】
linux·运维·服务器
qq_297504611 小时前
【解决】Linux更新系统内核后Nvidia-smi has failed...
linux·运维·服务器
weixin_437398211 小时前
Linux扩展——shell编程
linux·运维·服务器·bash
小林熬夜学编程2 小时前
【Linux网络编程】第十四弹---构建功能丰富的HTTP服务器:从状态码处理到服务函数扩展
linux·运维·服务器·c语言·网络·c++·http
冷心笑看丽美人2 小时前
探秘 DNS 服务器:揭开域名解析的神秘面纱
linux·运维·服务器·dns