Solved

QLA2460 OPENFILER 2.99.2, ESXI 5.1

Posted on 2013-05-14
10
856 Views
Last Modified: 2013-05-16
Can anyone provide a script or a command to disable a fibre channel port in OPENFILER or ESXi?  I'm currently diagnosing the reason behind why this is occurring, but desperately need to be able to do this, otherwise I have to drive back and forth to the office.  

Again, the only thing I want (and I will reward 500 points for) is a script or command that will disable a fibre channel port on a QLA2460 card.  I understand that this is not an optimal solution, not supported, or even crazy.  DON'T CARE!!!!!!!!!!!!!!!!!!!!!!!!!


If this is even the path, then here is the path to the HBA:
/sys/class/fc_host/host6/


Thanks!!!!1
0
Comment
Question by:choward16980
  • 6
  • 3
10 Comments
 
LVL 117
ID: 39166698
remove the fibre cable?

unload the driver module from ESXi?
0
 
LVL 16

Author Comment

by:choward16980
ID: 39166877
Can you provide a method of unloading the driver module?

Thanks!
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 39166903
I posted this in your other question. I don't know if it'll work, but it's worth a try:

All three LEDs flashing:
"The firmware for the adapter successfully initialized the HBA, and the HBA is in a ready state. The firmware for the adapter initializes the HBA when the BIOS code for the adapter is loaded. when you press Ctrl+Q, or when the HBA device driver is loaded." from http://publib.boulder.ibm.com/infocenter/tivihelp/v4r1/index.jsp?topic=%2Fcom.ibm.sspc_v15.doc%2Ffqz0_r_sspc_determining_state_of_hba_ports.html
This indicates that it's waiting to establish a link, and the adapter should be accessible from SANsurfer.

Oops. My bad. SANsurfer has been replaced by QConverge (who comes up with these names?). Documentation is here: http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct.aspx?ProductCategory=39&Product=934&Os=26
Scroll down to the bottom for the documentation.

The link I've posted is for 32 bit Red Hat. There's 64 bit Red Hat software and 32 - and 64 - bit SuSe versions as well - I don't knwo what's suitable for Openfiler, I'm afraid.

A loopback test on then off may do what you want. Once you've installed the software, try
# qaucli -pr fc -kl (<hba instance> | <hba wwpn>)
Then pressing enter again to stop the test. See page 6-18 and 6-19 of the CLI guide
0
 
LVL 16

Author Comment

by:choward16980
ID: 39168617
Am I crazy, or does qconverge only work if there's a vcenter server in place?  I'm running esxi free....
0
 
LVL 117
ID: 39168673
if you are using ESXi free, you will have limited management access to the host.

at the console type

esxcli system module list

this will list all the load modules (drivers!)

(e.g. login via SSH remotely if not at the console)

esxcli system module set

to disable the module
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 16

Author Comment

by:choward16980
ID: 39168818
I type:
esxcli system module list | grep q

Returns:
qla2xxx                             true        true

When I go into the converge tomcat webpage on my windows 7 machine, it does not allow me to connect to the FC adapter.  I've installed the following on ESXi:

QLGC-ESX-5.0.0-qlogic-adapter-provider-1.6.22-1073584
qla2xxx-934.5.20.0-1063703

Am I missing a VIB/ZIP ?  If so , where to I find?

THanks!
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39169090
the qla2xxx module is loaded.

what do you want to do exactly, I thought you wanted to disable, unload the module, and it will disable it.
0
 
LVL 16

Author Comment

by:choward16980
ID: 39169212
Ahhhh.  Gotcha.  I thought this was aiding the installation of the qconverge.  I will test when I return from lunch.

THanks!
0
 
LVL 16

Author Comment

by:choward16980
ID: 39169531
Did not work for my required task, but was exactly what I was looking for.  Thanks!
0
 
LVL 16

Author Comment

by:choward16980
ID: 39172762
I finally solved the issue.  The problem is with SCST on the OPENFILER box.  I ran  
scstadmin -issue_lip

Open in new window

and wallah.  Reconnected immediately and luns are present.  The fix for me is when the server boots, rc.local runs the following:
scstadmin -issue_lip

Open in new window

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now