0% found this document useful (0 votes)
119 views2 pages

Solaris LDOM Cluster Setup Guide

The document shows the configuration of a logical domain resource group (fldom-rg) containing a logical domain (fgd0) across two servers (s1 and s2) using Oracle Solaris Cluster. Key steps include: creating the resource group and registering the logical domain resource type; adding virtual devices and installing software on fgd0; configuring the name service switch and enabling DNS; registering and creating the storage and logical domain resources; placing the group online on s1; setting migration and probe properties.

Uploaded by

raghu12421
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views2 pages

Solaris LDOM Cluster Setup Guide

The document shows the configuration of a logical domain resource group (fldom-rg) containing a logical domain (fgd0) across two servers (s1 and s2) using Oracle Solaris Cluster. Key steps include: creating the resource group and registering the logical domain resource type; adding virtual devices and installing software on fgd0; configuring the name service switch and enabling DNS; registering and creating the storage and logical domain resources; placing the group online on s1; setting migration and probe properties.

Uploaded by

raghu12421
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

root@s1 # ldm set-domain failure-policy=reset primary

root@s2 # ldm set-domain failure-policy=reset primary

ldm add-vswitch net-dev=net0 public-vsw1 primary


ldm add-domain fgd0
ldm set-vcpu 16 fgd0
ldm set-mem 8G fgd0
ldm add-vnet public-net0 public-vsw1 fgd0
ldm set-domain master=primary fgd0
ldm set-var auto-boot?=false fgd0

s1:/dev/rdsk/c3t500A098198366EEBd15 /dev/did/rdsk/d12
s2:/dev/rdsk/c4t500A098298366EEBd15 /dev/did/rdsk/d12

ldm add-vdsdev /dev/did/rdsk/d12s2 boot_fgd0@primary-vds0


ldm add-vdisk root_fgd0 boot_fgd0@primary-vds0 fgd0

ldm add-vdsdev /opt/sfw/solaris/sol-11_3_34_4_0-text-sparc.iso s11-iso@primary-vds0


ldm add-vdisk s11-iso s11-iso@primary-vds0 fgd0

ldm bind fgd0


ldm start fgd0

pkg info ha-cluster/data-service/ha-ldom


pkg install ha-cluster/data-service/ha-ldom

svccfg -s name-service/switch listprop config/host


config/host astring "cluster files dns"

svccfg -s name-service/switch listprop config/ipnodes


config/ipnodes astring "files dns"

svccfg -s name-service/switch listprop config/netmask


config/netmask astring "cluster files ldap"

svccfg -s name-service/switch setprop config/host = astring: '("cluster files


dns")'
svccfg -s name-service/switch setprop config/ipnodes = astring: '("cluster files
dns")'
svccfg -s name-service/switch setprop config/netmask = astring: '("cluster files")'

svcadm enable dns/client


svcadm refresh name-service/switch

clrg create -n s1,s2 fldom-rg


clrt register SUNW.HAStoragePlus

clrs create -g fldom-rg -t SUNW.HAStoragePlus -p


GlobalDevicePaths=/dev/global/dsk/d12s0 fgd0-has-rs

clrg online -M -n s1 fldom-rg

clrt register SUNW.ldom

clpstring create -b fgd0-rs fldom-rg_fgd0-rs_ldompasswd

clrs create -g fldom-rg -t SUNW.ldom -p Domain_name=fgd0 -p


resource_dependencies=fgd0-has-rs fgd0-rs
root@s1 # clrs show -v fgd0-rs | grep Migration_type
Migration_type: MIGRATE

clrs set -p Migration_type=MIGRATE fgd0-rs

clrs disable fgd0-rs

clrs enable fgd0-rs

root@s1 # clrg status

=== Cluster Resource Groups ===

Group Name Node Name Suspended Status


---------- --------- --------- ------
fldom-rg s1 No Online
s2 No Offline

root@s1 # clrs status

=== Cluster Resources ===

Resource Name Node Name State Status Message


------------- --------- ----- --------------
fgd0-rs s1 Online Online - Service is online.
s2 Offline Offline

fgd0-has-rs s1 Online Online


s2 Offline Offline

root@s1 # ldm list


NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 16 16G 1.0% 1.0% 4d 34m
fgd0 active -n---- 5000 16 8G 14% 14% 1m
ldom1 inactive ------ 112 108G

clrg switch -n s2 fldom-rg

clrg switch -n s1 fldom-rg

clrs set -p STOP_TIMEOUT=1200 fldom-rg

clrs set -p Thorough_probe_interval=180 -p Probe_timeout=90 fldom-rs

You might also like