All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Ammon <tom.ammon-wbocuHtxKic@public.gmane.org>
To: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: Sam Liston <sam.liston-wbocuHtxKic@public.gmane.org>
Subject: opensm configuration question
Date: Tue, 14 Dec 2010 15:42:32 -0700	[thread overview]
Message-ID: <4D07F2D8.4080602@utah.edu> (raw)

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

             reply	other threads:[~2010-12-14 22:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 22:42 Tom Ammon [this message]
     [not found] ` <4D07F2D8.4080602-wbocuHtxKic@public.gmane.org>
2010-12-15  0:12   ` opensm configuration question 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D07F2D8.4080602@utah.edu \
    --to=tom.ammon-wbocuhtxkic@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sam.liston-wbocuHtxKic@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.