Exit Print View

Sun Datacenter InfiniBand Switch 72 Command Reference

Get PDF Book Print View
 

Document Information

Using This Documentation

Related Documentation

Documentation, Support, and Training

Documentation Feedback

Understanding the Commands

Understanding Hardware Commands

Understanding InfiniBand Commands

ibaddr Command

ibcheckerrors Command

ibchecknet Command

ibchecknode Command

ibcheckport Command

ibcheckportstate Command

ibcheckportwidth Command

ibcheckstate Command

ibcheckwidth Command

ibclearcounters Command

ibclearerrors Command

ibdatacounters Command

ibdatacounts Command

ibdiagnet Command

ibdiagpath Command

ibhosts Command

ibnetdiscover Command

ibnodes Command

ibportstate Command

ibroute Command

ibstatus Command

ibswitches Command

ibsysstat Command

ibtracert Command

opensm Command

opensmd Daemon

osmtest Command

perfquery Command

saquery Command

sminfo Command

smpdump Command

smpquery Command

Index

opensmd Daemon

Starts and stops the Subnet Manager within the management controller.

Syntax

/etc/init.d/opensmd start|stop|status

Description

Like the opensm Command, the opensmd daemon initiates an instance of the OpenSM Subnet Manager. The daemon reads the /etc/opensm/opensm.conf configuration file upon startup, which it uses to configure the Subnet Manager. The opensmd daemon is more user-friendly because it is not necessary to provide elaborate command-line options and arguments.

The following table describes the more common parameters provided to the opensmd daemon in the /etc/opensm/opensm.conf file and their default values.

Parameter
Description
Default Value
guid
Port GUID on which the Subnet Manager is running.
0x0000000000000000
m_key
M_Key value sent to all ports qualifying all Set(PortInfo).
0x0000000000000000
m_key_lease_period
Lease period used for the M_Key in seconds.
0
sm_key
SM_Key value of the Subnet Manager used for authentication.
0x0000000000000001
sa_key
SM_Key value used to qualify received Subnet Administrator queries as trusted.
0x0000000000000001
subnet_prefix
Subnet prefix.
0xfe80000000000000
lmc
LMC value used on this subnet.
0
lmc_esp0
lmc_esp0 determines whether LMC value is used for enhanced switch port 0. If TRUE, LMC value for subnet is used for ESP0. Otherwise, LMC value for ESP0s is 0.
FALSE
packet_life_time
Maximum time a packet can live in a switch. Actual time is 4.096 usec * 2^packet_life_time. A value of 0x14 disables the mechanism.
0x12
vl_stall_count
Number of sequential packets dropped that cause the port to enter the VLStalled state. Do not set to 0.
0x07
leaf_vl_stall_count
Similar to vl_stall_count, this value is for switch ports driving a CA or router port. Do not set to 0.
0x07
head_of_queue_lifetime
Maximum time a packet can wait at the head of the transmission queue. Actual time is 4.096 usec * 2^head_of_queue_lifetime. A value of 0x14 disables the mechanism.
0x12
leaf_head_of_queue_lifetime
Maximum time a packet can wait at the head of the queue on a switch port connected to a CA or router port. Actual time is 4.096 usec * 2^leaf_head_of_queue_lifetime.
0x10
max_op_vls
Maximum operational virtual lanes.
5
force_link_speed
Force PortInfo:LinkSpeedEnabled on switch ports. Values are:
  • 0 – Make no change.

  • 1 – 2.5 Gbps

  • 3 – 2.5 Gbps or 5.0 Gbps

  • 5 – 2.5 Gbps or 10.0 Gbps

  • 7 – 2.5 Gbps or 5.0 Gbps or 10.0 Gbps

  • 2, 4, 6, 814 Reserved

Default is 15: set to PortInfo:LinkSpeedSupported

15
subnet_timeout
Subnet timeout for all the ports. Actual timeout is 4.096 usec * 2^subnet_timeout.
18
local_phy_errors_threshold
Threshold of local PHY errors for sending trap 129.
0x08
overrun_errors_threshold
Threshold of credit overrun errors for sending trap 130.
0x08
partition_config_file
Partition configuration file.
/etc/opensm/partitions.conf
no_partition_enforcement
Disable partition enforcement by switches.
FALSE
sweep_interval
Number of seconds between subnet sweeps (0 disables).
10
reassign_lids
If TRUE, reassign all LIDs.
FALSE
force_heavy_sweep
If TRUE, force heavy sweeps.
FALSE
sweep_on_trap
If TRUE, heavy sweep on trap. Successive identical traps (>10) are suppressed.
TRUE
port_profile_switch_nodes
If TRUE, count switches as link subscriptions.
FALSE
routing_engine
Routing engine: minhop, updn, file, ftree, lash, or dor. Multiple routing engines are comma delimited.
ftree
sm_priority
Subnet Manager priority determines the master. Range is 0 (lowest priority) to 13 (highest).
0
ignore_other_sm
If TRUE, ignore other Subnet Managers.
FALSE
sminfo_polling_timeout
Timeout in msec between consecutive polls of active master Subnet Manager.
1000
polling_retry_number
Number of failing polls of remote Subnet Manager to declare it dead.
3
honor_guid2lid_file
If TRUE, honor the guid2lid file when coming out of standby state.
FALSE
max_wire_smps
Maximum number of SMPs sent in parallel.
4
transaction_timeout
Maximum time in msec allowed for a transaction to complete.
200
max_msg_fifo_timeout
Maximum time in msec a message can stay in the incoming message queue. If two or more messages exceed this time in the queue, any Subnet Administrator request is returned with a BUSY status.
10000
single_thread
Use a single thread for handling Subnet Administrator queries.
FALSE
daemon
Daemon mode.
FALSE
sm_inactive
Deactivate the Subnet Manager.
FALSE
babbling_port_policy
Babbling Port Policy.
FALSE
log_flags
Log flags used.
0x03
force_log_flush
Force flush of the log file after each log message.
FALSE
log_file
Log file to be used.
/var/log/opensm.log
log_max_size
Maximum size of the log file in MB. If overrun, log is restarted.
0
accum_log_file
If TRUE, accumulates the log over multiple OpenSM sessions.
TRUE
dump_files_dir
Directory for the OpenSM dump files.
/var/log/
no_clients_rereg
If TRUE, disables client reregistration.
FALSE
disable_multicast
If TRUE, multicast support and multicast routing is disabled.
FALSE
exit_on_fatal
If TRUE, opensm exits on fatal initialization issues.
TRUE
console
Console is either off or local.
off
console_port
Telnet port for console (default 10000).
10000
prefix_routes_file
Prefix routes file name.
/etc/opensm/prefix-routes.conf
Options

The following table describes the options to the opensmd daemon and their purposes:

Option
Purpose
start
Initiates the OpenSM Subnet Manager using the /etc/opensm/opensm.conf file to configure the Subnet Manager.
stop
Terminates the OpenSM Subnet Manager.
status
Provides the status of the Subnet Manager.
Example

The following example shows how to start the Subnet Manager with the opensmd daemon.

# /etc/init.d/opensmd start
Starting IB Subnet Manager.                                [  OK  ]
#
Related Information