root@delta # ldm
Usage:
ldm [--help] command
[options] [properties] operands
ldm -V
Options:
-V Display version information
Command(s) for each resource (aliases in parens):
bindings
list-bindings [-e] [-p]
[-o <format>] [<ldom>...]
'format' is: network|net
services
list-services [-e] [-p]
[<ldom>...]
constraints
list-constraints ([-x] |
[-e] [-p]) [<ldom>...]
core
add-core
<number>|cid=<id>[,<id>[,...]] <ldom>
set-core
<number>|cid=[<id>[,<id>[,...]]] <ldom>
remove-core [-f|--force]
[<number>|cid=<id>[,<id>[,...]] <ldom>
[-n <ncore>] -g <rsrc_group> <ldom>
devices
list-devices [-a] [-p]
[-B] [-S] [cmi] [core] [cpu] [crypto|mau]
[io] [memory]
domain ( dom )
add-domain (-i
<file> | [mac-addr=<num>] [hostid=<num>]
[uuid=<xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx]
[failure-policy=<ignore|stop|reset|panic>]
[master=<master_ldom1,...,master_ldom4>]
[extended-mapin-space=<on>]
[perf-counters=[[global],[strand|htstrand]]]
[max-cores=<num>|unlimited]
[cpu-arch=<generic|migration-class1|sparc64-class1|native>]
[rc-add-policy=[iov]]
[shutdown-group=<priority>]
[boot-policy=<none|warning|enforce>] <ldom>...)
set-domain (-i
<file> | [mac-addr=<num>] [hostid=<num>]
[failure-policy=<ignore|stop|reset|panic>]
[master=<master_ldom1,...,master_ldom4>]
[extended-mapin-space=[<on|off>]]
[perf-counters=[[global],[strand|htstrand]]]
[max-cores=[<num>|unlimited]]
[cpu-arch=<generic|migration-class1|sparc64-class1|native>]
[rc-add-policy=[iov]]
[shutdown-group=<priority>]
[boot-policy=<none|warning|enforce>] <ldom>)
remove-domain (-a |
<ldom>...)
list-domain [-e] [-l]
[-S] [-o <format>] [-p] [<ldom>...]
'format' is one or more of:
cmi,console,core,cpu,crypto|mau,disk,domain,memory|mem,
network|net,physio,resmgmt,serial,status,hba,san
start-domain [-f] [-m]
([-a] | -i <file> | <ldom>...)
stop-domain [[-f | -q] |
[[-h | -r | -t sec] [-m msg]]] (-a | <ldom>...)
bind-domain [-f] [-q] (-i
<file> | <ldom>)
unbind-domain
<ldom>
panic-domain <ldom>
migrate-domain [-f] [-n]
[-p <password_file>] <source_ldom>
[<user>@]<target_host>[:<target_ldom>]
ldm migrate [-f] [-n]
[-c] <source_ldom>
<target_host>[:<target_ldom>]
rsrc-group ( group )
list-rsrc-group [-a] [-l]
[-p] [-o (core|memory|io)] [-d <ldom>] [<rsrc_grp>]
dependencies ( dep )
list-dependencies [-l]
[-p] [-r] [<ldom>]
io
add-io <device|vf>
<ldom>
add-io [iov=on|off]
<bus> <ldom>
set-io iov=on|off
<bus>
set-io
<property-name>=<value>
[<property-name>=<value> ...] <pf_name>
set-io
[name=[<user-assigned-name>]] <vf_name>
[NETWORK]
set-io
[mac-addr=<num>]
[alt-mac-addrs=[auto|<num1>[,auto|<num2>,...>]]]
[pvid=[<pvid>]] [vid=[<vid1,vid2,...>]]
[mtu=<value>]
[<property-name>=<value> ...] <net_vf_name>
[INFINIBAND]
set-io
<property-name>=[<value>]
[<property-name>=[<value>] ...] <ib_pf_name>
[FIBRECHANNEL]
set-io
[port-wwn=<value> node-wwn=<value>]
[bw-percent=[<value>]]
<fc_vf_name>
remove-io [-n]
<bus|device|vf> <ldom>
list-io [-l] [-p]
[<bus|device|pf>]
list-io -d <pf>
vf
create-vf [-n
<count>|max] <pf_name>
[name=<user_assigned_name>] <pf_name>
[NETWORK]
create-vf
[mac-addr=<num>]
[alt-mac-addrs=auto|<num1>[,auto|<num2>,...]]
[pvid=<pvid>]
[vid=<vid1,vid2,...>] [mtu=<value>]
[<property-name>=<value> ...] <net_pf_name>
[INFINIBAND]
create-vf
[<property-name>=<value> ...] <ib_pf_name>
[FIBRECHANNEL]
create-vf
[port-wwn=<value> node-wwn=<value>]
[bw-percent=<value>] <fc_pf_name>
destroy-vf
<vf_name>
destroy-vf -n
<count>|max <pf_name>
crypto ( mau )
add-crypto <number>
<ldom>
set-crypto [-f]
<number> <ldom>
remove-crypto [-f]
<number> <ldom>
memory ( mem )
add-memory
[--auto-adj] <number>[GMK] |
mblock=<PA[GMK]:size[GMK]>
[,<PA[GMK]:size[GMK]>[,...]] <ldom>
set-memory
[--auto-adj] <number>[GMK] |
mblock=<PA[GMK]:size[GMK]>
[,<PA[GMK]:size[GMK]>[,...]] <ldom>
remove-memory
[--auto-adj] <number>[GMK] |
mblock=<PA[GMK]:size[GMK]>
[,<PA[GMK]:size[GMK]>[,...]] <ldom>
[-s <size>] -g <rsrc_grp> <ldom>
operation
cancel-operation
(migration | reconf | memdr) <ldom>
policy
add-policy
[enable=yes|no] [priority=<value>]
[attack=<value>] [decay=<value>]
[elastic-margin=<value>]
[sample-rate=<value>]
[tod-begin=<hh>:<mm>[:<ss>]]
[tod-end=<hh>:<mm>[:<ss>]]
[util-lower=<percent>]
[util-upper=<percent>] [vcpu-min=<value>]
[vcpu-max=<value>] name=<policy-name> <ldom>
set-policy
[enable=[yes|no]] [priority=[<value>]]
[attack=[<value>]] [decay=[<value>]]
[elastic-margin=[<value>]]
[sample-rate=[<value>]]
[tod-begin=[<hh>:<mm>:<ss>]]
[tod-end=[<hh>:<mm>:<ss>]]
[util-lower=[<percent>]]
[util-upper=[<percent>]] [vcpu-min=[<value>]]
[vcpu-max=[<value>]] name=<policy-name> <ldom>
remove-policy
[name=]<policy-name>... <ldom>
reconf
start-reconf <ldom>
cancel-reconf
<ldom>
spconfig ( config )
add-spconfig [-r
<autosave>] <config_name>
set-spconfig
<config_name>
remove-spconfig [-r]
<config_name>
list-spconfig [-r]
[<config_name>]
variable ( var )
add-variable
<var_name>=<value>... <ldom>
set-variable
<var_name>=<value>... <ldom>
remove-variable
<var_name>... <ldom>
list-variable
[<var_name>...] <ldom>
vconscon ( vcc )
add-vconscon
port-range=<x>-<y> <vcc_name> <ldom>
set-vconscon
port-range=<x>-<y> <vcc_name>
remove-vconscon [-f]
<vcc_name>
vconsole ( vcons )
set-vconsole
[port=[<port-num>]] [group=<group>]
[service=<vcc_server>]
[log=[on|off]] <ldom>
vcpu
add-vcpu <number>
<ldom>
set-vcpu <number>
<ldom>
remove-vcpu [-f|--force]
<number> <ldom>
vdisk
add-vdisk
[timeout=<seconds>] [id=<diskid>]
<disk_name> <volume_name>@<service_name>
<ldom>
set-vdisk
[timeout=<seconds>]
[volume=<volume_name>@<service_name>] <disk_name>
<ldom>
remove-vdisk [-f]
<disk_name> <ldom>
vdiskserver ( vds )
add-vdiskserver
<service_name> <ldom>
remove-vdiskserver [-f]
<service_name>
vsan
add-vsan [-q]
<iport_path> <vsan_name> <ldom>
remove-vsan
<vsan_name>
vhba
add-vhba
[id=<value>] [timeout=<seconds>] <vhba_name>
<vsan_name> <ldom>
set-vhba
timeout=[<seconds>] <vhba_name> <ldom>
remove-vhba
<vhba_name> <ldom>
rescan-vhba
<vhba_name> <ldom>
hba
list-hba [-c] [-d] [-l]
[-p] [-t] <ldom>
vdiskserverdevice ( vdsdev )
add-vdiskserverdevice
[-f] [-q] [options={ro,slice,excl}] [mpgroup=<mpgroup>]
<backend> <volume_name>@<service_name>
set-vdiskserverdevice
[-f] [options=[{ro,slice,excl}]] [mpgroup=[<mpgroup>]]
<volume_name>@<service_name>
remove-vdiskserverdevice
[-f] <volume_name>@<service_name>
vnet
add-vnet
[mac-addr=<num>] [pvid=<pvid>]
[alt-mac-addrs=auto|<num1>[,auto|<num2>,...]]
[auto-alt-mac-addrs=<num>] [vid=<vid1,vid2,...>]
[pvlan=<secondary-vid>,<isolated|community>]
[mtu=<mtu>] [maxbw=<maxbw>]
[protection=<mac-nospoof|restricted|
ip-nospoof|dhcp-nospoof>,...]
[allowed-ips=<ipaddr>,<ipaddr>,...]
[allowed-dhcp-cids=<macaddr|string>,<macaddr|string>,...]
[priority=<high|medium|low>] [cos=<0-7>]
[linkprop=phys-state]
[id=<networkid>] [custom=<enable|disable>]
[custom/max-mac-addrs=<num>] [custom/max-vlans=<num>]
<if_name> <vswitch_name> <ldom>
set-vnet
[mac-addr=<num>] [mode=] [pvid=[<pvid>]]
[alt-mac-addrs=[[+|-]auto|<num1>[,auto|<num2>,...]]]
[auto-alt-mac-addrs=[+]<num>]
[vid=[[+|-]<vid1,vid2,...>]]
[pvlan=[<secondary-vid>,<isolated|community>]]
[mtu=[<mtu>]] [maxbw=[<maxbw>]]
[protection=[[+|-]<mac-nospoof|restricted|
ip-nospoof|dhcp-nospoof>],...]
[allowed-ips=[+|-]<ipaddr>,<ipaddr>,...]
[allowed-dhcp-cids=[[+|-]<macaddr|string>,<macaddr|string>,...]]
[priority=[<high|medium|low>]] [cos=[<0-7>]]
[linkprop=[phys-state]] [custom=<enable|disable>]
[custom/max-mac-addrs=[<num>]][custom/max-vlans=[<num>]]
[vswitch=<vswitch_name>] <if_name> <ldom>
remove-vnet [-f]
<if_name> <ldom>
vswitch ( vsw )
add-vswitch [-q]
[default-vlan-id=<vid>] [pvid=<pvid>]
[vid=<vid1,vid2,...>] [mac-addr=<num>]
[net-dev=<device>]
[linkprop=phys-state] [mode=<mode>] [mtu=<mtu>]
[id=<switchid>]
[inter-vnet-link=<on|off|auto>]
[vsw-relay-mode=<local|remote>] <vswitch_name>
<ldom>
set-vswitch [-q]
[pvid=[<pvid>]] [vid=[[+|-]<vid1,vid2,...>]]
[mac-addr=<num>] [net-dev=[<device>]]
[mode=[<mode>]]
[mtu=[<mtu>]] [linkprop=[phys-state]]
[inter-vnet-link=<on|off|auto>]
[vsw-relay-mode=<local|remote>] <vswitch_name>
remove-vswitch [-f]
<vswitch_name>
system
init-system [-r |
--reboot] [-s | --services-only] [-f | --force]
-i <file>
netdev
list-netdev [-l] [-p]
[-b] [-o <net-device>] [<ldom>...]
netstat
list-netstat [-p] [-u
R|K|M|G] [-o <net-device>][-t <interval> [-c
<count>] [<ldom>]
logctl
set-logctl
[history=<num>] [cmd=[on|off|resp]] [notice=[on|off]]
[info=[on|off]] [debug=[on|off]] [defaults]
list-logctl [-a|--all]
[-d|--defaults] [<level>...]
history
list-history
Verb aliases:
Alias Verb
----- -------
rm
remove
ls
list
Command aliases:
Alias Command
----- -------
cancel-op cancel-operation
history list-history
create add-domain
modify set-domain
destroy remove-domain
remove-reconf
cancel-reconf
start
start-domain
stop
stop-domain
bind
bind-domain
unbind unbind-domain
panic
panic-domain
migrate migrate-domain
create create-domain
destroy destroy-domain
root@delta #