oracle_virtualization

Display Default LDOM services

PURPOSE COMMAND
Check ldom manager (ldmd) # svcs ldmd
Check vntsd is running # svcs vntsd
Check Default Services are running # ldm list-services primary
Check ldm software # ldm -V
check ldoms manager package in Solaris 11 # pkg info ldomsmanager

Creating Default LDOM services

PURPOSE COMMAND
add virtual console concentrator (vcc) # ldm add-vcc port-range=5000-5100 primary-vcc0 primary
add virtual network switch (vsw) # ldm add-vsw net-dev=net0 primary-vsw0 primary
add virtual disk server (vds) #ldm  add-vds primary-vds0 primary
add virtual storage device to virtual disk service (Add zfs filesystem to existing Guest domain) # zfs   create -V   5G   rpool/ldom01_disk01
# ldm add-vdsdev  /dev/zvol/dsk/rpool/ldom01_disk01 [email protected]

Removing Default LDOM services

PURPOSE COMMAND
remove virtual console concentrator (vcc) # ldm remove-vcc  primary-vcc0
remove virtual network switch (vsw) # ldm remove-vsw  primary-vsw0
remove virtual disk server (vds) # ldm remove-vds primary-vds0
remove virtual storage device to virtual disk  service # ldm remove-vdsdev [email protected]

Start Default Services

PURPOSE COMMAND
start ldom manager # svcadm [enable|restart] ldmd
start vntsd # svcadm [enable|restrat] vntsd

Basic Guest LDOM Administration

PURPOSE COMMAND
list resources binded to a Guest Domain #ldm list-bindings ldom01
how to identify if the current domain role ? [Control,Guest,Service or Root] # virtinfo -a
how to check status of I/O device # ldm list-io
how to check logical domain (ldom) status # ldm  list-domain -o domain ldom01
list the status of all the guest domains on the system # ldm list
how to manually list the LDOM config on a  system # ldm list-bindings [ldom_name]
list current LDOM configuration in Solaris # ldm list-spconfig
Check CPU activation # ldm list-permits
Check Autoreplacement policy for CPU # svccfg -s ldmd listprop ldmd/autoreplacement_policy_cpu

stop/start/break/unbind/bind

PURPOSE COMMAND
issue send break # telnet localhost 5000
telnet> send brk
stop Guest Domain # ldm stop ldom01
start Guest Domain # ldm start ldom01
unbind Guest Domain # ldm unbind ldom01
bind Guest Domain # ldm bind ldom01

Add/Create/Assign

PURPOSE COMMAND
Add Guest Domain # ldm add-domain ldom01
assign cpu threads to Guest Domain # ldm add-vcpu 6 ldom01
assign vcpu units of cores # ldm add-core, ldm set-core  [number] [ldom]
assign memory to Guest Domain # ldm add-memory 4G ldom01
add vnet device to Guest Domain # ldm add-vnet vnet1 primary-vsw0 ldom01
assign disk resource to Guest Domain # ldm add-vdisk ldom01-disk01  [email protected]

Remove/Delete

PURPOSE COMMAND
Remove a Guest Domain # ldm remove-domain ldom01
Remove disk resource from Guest Domain # ldm remove-vdisk vdisk01 ldom01
Remove virtual network device from a Guest Domain # ldm remove-vnet vnet1 ldom01
Remove CPU threads from a Guest Domain # ldm remove-vcpu 8 ldom01
Remove virtual cpu units in cores from a  Guest Domain # ldm remove-core 2 ldom01
Remove memory from a Guest Domain # ldm remove-memory 8G ldom01

Save LDOM Config

PURPOSE COMMAND
save ldom configuration to the SP # ldm add-spconfig newconfig
backup of existing configuration from the control domain # ldm list-constraints -x >  /var/tmp/guest-domain-name.xml
# ldm list-bindings > /var/tmp/full-bindings
# ldm ls -l > /var/tmp/guest-domain-list.xml”

Miscellaneous Commands

PURPOSE COMMAND
identify physical resources bindings # ldm list-constraints
login to the console of a Guest Domain # telnet localhost 5001
Enable/Disable console loggging function for  a Guest Domain # ldm set-vcons log=[off|on]  [dom-name]
Display current console settings of a Guest  Domain # ldm list -o console ldom01
list all LDOM config from SP with timestamp -> show /HOST/domain/configs date_created -t
list current LDOM config from SP -> show /HOST/bootmode config -t
Generate crashdump from SP -> set  /HOST/send_break_action=dumpcore
Crash a guest domain from the control domain # ldm panic-domain ldom01
to check failed cpu or memory components from Control Domain # ldm list-domain -l -S

Sumber


5 Comments

Freddy Azapinto · 09/01/2019 at 06:04

Hey There. I found your blog using msn. This is a really well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I will certainly return.

https://tinyurl.com/vvbujr9 · 09/04/2020 at 17:00

Everything is very open with a very clear explanation of the issues.

It was definitely informative. Your site is useful.
Thank you for sharing.

altadefinizione · 14/06/2020 at 11:51

Somebody essentially help to make critically articles I’d
state. This is the first time I frequented your website page and
thus far? I surprised with the analysis
you made to make this actual post amazing. Great task!

tree surgeon Renfrew · 28/06/2020 at 21:09

Amazing! Its truly remarkable article, I have got much clear
idea concerning from this post.

sport club meran · 10/08/2020 at 16:44

I am sure this post has touched all the internet visitors, its
really really good post on building up new blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

eleven + 14 =

Related Posts

Solaris

How to Find and Remove Old or Inactive Files

How to Find and Remove Old or Inactive Files Become an administrator. Find files that have not been accessed for a specified number of days and list them in a file. # find directory -type Read more…

Oracle

How to Collect a Snapshot on SPARC M series servers Mx000 and M10-x systems

Running snapshot The syntax varies slightly from the Mx000 to the M10-x .The M10 requires a “-a” option to collect logs from all chassis. The two most common usages are described below. The first example Read more…

Oracle

Verifying HBA card connectivity in Solaris

1. Use the “luxadm -e port” command to verify HBA has established communication with a node. # luxadm -e port /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl CONNECTED /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0:devctl CONNECTED CONNECTED : HBA has established connection with either target or initiator. Read more…