public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* opensm configuration question
@ 2010-12-14 22:42 Tom Ammon
       [not found] ` <4D07F2D8.4080602-wbocuHtxKic@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Ammon @ 2010-12-14 22:42 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; +Cc: Sam Liston

Hi,

I've got an opensm question.

With opensm running, I run opensm --help, and it tells me what I am 
expecting from the configuration I have given it. I configured it for 
updn routing with /etc/opensm/rootguids.conf as the root guids file:


-------------------------------------------------
OpenSM 3.3.7
  Reading Cached Option File: /etc/opensm/opensm.conf
  Loading Cached Option:guid = 0x0002c9030009714d
  Loading Cached Option:routing_engine = updn
  Loading Cached Option:root_guid_file = /etc/opensm/rootguids.conf
  Loading Cached Option:sm_priority = 15
  Loading Cached Option:log_flags = 4
  Loading Cached Option:console = local
Command Line Arguments:


However, when I do an ibtracert between two nodes on different leaf 
switches, it appears to be using minhop routing (the root guids I 
specified are not in the path):

[root@sm2 ~]# ibtracert 24 69
 From ca {0x0002c903000bb5d8} portnum 1 lid 24-24 "em001 HCA-1"
[1] -> switch port {0x0008f10500201d8c}[1] lid 15-15 "Voltaire 4036 # 
komas-is-a1-1"
[36] -> switch port {0x0008f105006515ca}[19] lid 9-9 "Voltaire sLB-4018 
    Line 8  Chip 1 4200 #komas-is-a6-1"
[20] -> switch port {0x0008f10500201b32}[36] lid 18-18 "Voltaire 4036 # 
komas-is-a2-1"
[28] -> ca port {0x0002c903000bb5f9}[1] lid 69-69 "em056 HCA-1"
To ca {0x0002c903000bb5f8} portnum 1 lid 69-69 "em056 HCA-1"

Looking in the opensm log file, I see this over and over:

OpenSM $ OpenSM $ OpenSM $ Dec : Command not found

Supported commands and syntax:
help [<command>]
quit (not valid in local mode; use ctl-c)
loglevel [<log-level>]
priority [<sm-priority>]
resweep [heavy|light]
reroute
sweep [on|off]
status [loop]
logflush -- flush the opensm.log file
querylid lid -- print internal information about the lid specified
portstatus [ca|switch|router]
switchbalance [verbose] [guid]
lidbalance [switchguid]
dump_conf
update_desc
version -- print the OSM version
dump_portguid [file filename] regexp1 [regexp2 [regexp3 ...]] -- Dump 
port GUID matching a regexp
OpenSM $


Any ideas?

Also, how can I use the console? I noticed a couple of config options 
for it, but I don't understand how to actually attach to the console to 
try things out.

Thanks,

Tom



-- 
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-15 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 22:42 opensm configuration question Tom Ammon
     [not found] ` <4D07F2D8.4080602-wbocuHtxKic@public.gmane.org>
2010-12-15  0:12   ` Ira Weiny
     [not found]     ` <20101214161227.0db1eb1d.weiny2-i2BcT+NCU+M@public.gmane.org>
2010-12-15 16:12       ` Tom Ammon
     [not found]         ` <4D08E8FE.6090703-wbocuHtxKic@public.gmane.org>
2010-12-15 16:53           ` Ira Weiny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox