Showing posts with label Brocade. Show all posts
Showing posts with label Brocade. Show all posts

Thursday, November 24, 2016

Brocade SAN incoming SSH authentication not working - ssh login without password: wrong permissions on authorized_keys file

I have faced issue in FOS v7.4.1d that incoming SSH authentication (ssh login without password) did not work, even I have configured regarding to Brocade manual:
http://www.brocade.com/content/html/en/administration-guide/fos-741-adminguide/GUID-6FE6380F-52C8-4C5F-A69E-23EE7DB57E65.html 

The root cause of problem was in permissions on authorized_keys on Brocade SAN SW:

Login as root user:
ssh root@SANSW

Change directory to: /fabos/users/admin/.ssh
SANSW:root> cd /fabos/users/admin/.ssh

and list permisisons
SANSW:root> ls -la
total 32
drwxr-xr-x   2 root     admin        4096 Nov 13 17:27 ./
drwxr-xr-x   3 root     admin        4096 Sep  8 17:30 ../
-rw-r--r--   1 root     admin       10240 Nov 13 17:27 authorizedKeys.tar
-rw-------   1 root     admin         392 Nov 13 17:27 authorized_keys
-rw-------   1 root     admin         392 Nov 13 17:27 authorized_keys.admin
-rw-r--r--   1 root     admin         134 Jul 15 01:09 environment

Change permissions of authorized_keys.admin file for user admin:
SANSW:root> chmod g+r,a+r authorized_keys.admin
SANSW:root> ls -la
total 32
drwxr-xr-x   2 root     admin        4096 Nov 13 17:27 ./
drwxr-xr-x   3 root     admin        4096 Sep  8 17:30 ../
-rw-r--r--   1 root     admin       10240 Nov 13 17:27 authorizedKeys.tar
-rw-------   1 root     admin         392 Nov 13 17:27 authorized_keys
-rw-r--r--   1 root     admin         392 Nov 13 17:27 authorized_keys.admin
-rw-r--r--   1 root     admin         134 Jul 15 01:09 environment




Wednesday, September 19, 2012

Brocade FOS 6.x and 7.x Interoperability and FOS 7.x Supported Products

How to check If old SAN switches with FOS 6.x are supported to be connected with new SAN SW with FOS 7.x?


FOS V7.0 is only supported on 16G and 8G platforms. 
Means all 2498-xxx  and 2499-xxx products sold by IBM.

Tuesday, August 28, 2012

Severe latency bottleneck detected on ISL / Trunk port

How to troubleshoot error "Severe latency bottleneck detected" on ISL/trunk port?
What can cause this problem and how a root cause can be found?


I faced this problem at one of my customers.
We received this alert on trunk created from two 8Gbit ISL ports between two 5100 switches.

Here is alert message:
Time    Level    Message    Service    Number    Count    Message ID    Switch 
Mon Aug 06 2012 20:32:05 CEST    Warning    Severe latency bottleneck detected at slot 0 port 35.    Switch    1241    1    AN-1010    XSAN01

Thursday, September 15, 2011

How to find port and slot ID by index port ID shown in name server on SAN Brocade Director

When you wanna find out physical port location - slot and port ID by WWN in name server you can see just index port ID and Port# which is not as same ID as physical port ID.

If you know Index port # or port ID gathered in name server you can link it with slot and port ID by using switchshow command:

42 is index port ID, 3 is slot ID and 10 is physical port ID


SAN:admin> switchshow | grep " 42"
Index Slot Port Address Media Speed State     Proto
===================================================
 42    3   10   642a00   id    N4   Online           F-Port  10:00:00:00:00:00:00:01

Thursday, June 2, 2011

How to schedule backup of Brocade SAN switch configuration on UNIX/Linux

Brocade SAN switch can be backed up using Web tools or using CLI over SSH.
We can also schedule backup up of configuration.


Here is how to backup switch configuration from UNIX over SSH and SCP.

1, Generate key pair on switch as admin user:
SANSW:admin> sshutil genkey -rsa

2, Generate key pair on host as user used for backing up configuration (if you don't have it).
username@host:# ssh-keygen -t rsa -P ""