Quantcast
Channel: Emerson . – setaOffice
Viewing all 312 articles
Browse latest View live

Configure HP Remote Insight Lights-Out Edition II Board (RILOE II) – ILO 1

$
0
0

In an HP Proliant DL380 G3 I had an older iLO.
riloeII

This version is also called Remote Insight Lights-Out Edition II Board (RILOE II)
http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/manualsResults/?sp4ts.oid=397204&spf_p.tpst=psiContentResults&spf_p.prp_psiContentResults=wsrp-navigationalState%3Daction%253Dmanualslist%257Ccontentid%253DUser-Guide-%252528how-to-use%252529%257Clang%253Den&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

The ROM-based setup utility F8 (RBSU F8) allows you to configure RILOE II during server boot-up. RBSU F8 is useful for configuring servers that do not use DNS/DHCP. RBSU F8 is available every time the server is booted. RBSU F8 cannot run remotely.

06


Filed under: Hardware Tagged: hp, ilo, proliant

Setting up a SVM soft partition in a mirror

$
0
0

This is the mirror we will be using

root@solaris:/ # metastat d80
d80: Mirror
Submirror 0: d82
State: Okay
Submirror 1: d81
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 96081792 blocks (45 GB)

d82: Submirror of d80
State: Okay
Size: 96081792 blocks (45 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s4 0 No Okay Yes

d81: Submirror of d80
State: Okay
Size: 96081792 blocks (45 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t10d0s4 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c1t8d0 Yes id1,sd@TSEAGATE_ST314670LSUN146G3KS2ZHD2
c0t10d0 Yes id1,sd@TSEAGATE_ST314670LSUN146G3KS2RP29

Creating a soft partition and instead of indicating a partition, declare the mirror

root@solaris:/ # metainit d83 -p d80 2g
d83: Soft Partition is setup

Create the filesystem

root@solaris:/ # newfs /dev/md/rdsk/d83
newfs: construct a new file system /dev/md/rdsk/d83: (y/n)? y
Warning: 18560 sector(s) in last cylinder unallocated
/dev/md/rdsk/d83: 4194304 sectors in 207 cylinders of 24 tracks, 848 sectors
2048.0MB in 42 cyl groups (5 c/g, 49.69MB/g, 12032 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 102640, 205248, 307856, 410464, 513072, 615680, 718288, 820896, 923504,
3256352, 3358960, 3461568, 3564176, 3666784, 3769392, 3872000, 3974608,
4077216, 4179824

Check status

root@solaris:/ # metastat -c
d83 p 2.0GB d80
d80 m 45GB d82 d81
d82 s 45GB c1t8d0s4
d81 s 45GB c0t10d0s4
d50 m 516MB d52 d51
d52 s 516MB c1t8d0s7
d51 s 516MB c0t10d0s7
d40 m 19GB d42 d41
d42 s 19GB c1t8d0s6
d41 s 19GB c0t10d0s6
d30 m 19GB d32 d31
d32 s 19GB c1t8d0s5
d31 s 19GB c0t10d0s5
d20 m 31GB d22 d21
d22 s 31GB c1t8d0s1
d21 s 31GB c0t10d0s1
d10 m 19GB d12 d11
d12 s 19GB c1t8d0s0
d11 s 19GB c0t10d0s0


Filed under: Solaris Tagged: metastat, newfs

Linux – route add error: SIOCADDRT: No such process

$
0
0

root@linux:~ # route add -net 172.22.1.0 gw 172.22.18.1 netmask 255.255.255.0 dev eth1
SIOCADDRT: No such process

I added the route to /etc/sysconfig/network/routes and then restarted the network service

192.168.1.1 192.168.233.2 255.255.255.255 eth1
148.91.0.0 172.22.18.1 255.255.0.0 eth1
207.169.17.0 172.22.18.1 255.255.255.0 eth1
172.22.0.0 172.22.18.1 255.255.255.0 eth1
172.22.14.0 172.22.18.1 255.255.255.0 eth1
172.22.1.0 172.22.18.1 255.255.255.0 eth1
default 172.22.240.1 – -


Filed under: Linux Tagged: route

HP Proliant: Device is reporting an internal degraded status

$
0
0

When you see an exclamation mark next to the blade server, verify the server hardware
DeviceBays
First click on the server device bay and check its status
Degraded
If it shows Device is reporting an internal degraded status, first upgrade the iLO firmware. Then verify if it was solved.

If not, verify if there is a faulty disk in the disk array with hpacucli ctrl all show config

root@linux:~ # hpacucli ctrl all show config

Smart Array P400i in Slot 0 (Embedded) (sn: )

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

After this, you’ll have to run diagnostics using HP Insight Online Diagnostics that you installed on the operating system or boot with the CD/DVD to run the HP Insight Offline Diagnostics


Filed under: Hardware Tagged: hpacucli, proliant

HP BladeSystem Onboard Administrator – How to Make “SHOW ALL” Inventory Report

wget running in a Synology NAS not downloading. Error message: HTTPS support not compiled in.

$
0
0

After you installed ipkg maybe you found that wget is not downloading files through https

DiskStation> wget http://dl.dropbox.com/u/3001640/webman.pyload.tar.gz
–2014-10-11 14:26:09– http://dl.dropbox.com/u/3001640/webman.pyload.tar.gz
Resolving dl.dropbox.com… 50.17.213.189
Connecting to dl.dropbox.com|50.17.213.189|:80… connected.
HTTP request sent, awaiting response… 302 FOUND
Location: http://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz [following]
–2014-10-11 14:26:09– http://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz
Resolving dl.dropboxusercontent.com… 23.23.237.190, 23.23.121.189, 54.243.96.35, …
Connecting to dl.dropboxusercontent.com|23.23.237.190|:80… connected.
HTTP request sent, awaiting response… 302 FOUND
Cookie coming from dropbox.com attempted to set domain to dropbox.com
Cookie coming from dropbox.com attempted to set domain to dropbox.com
Location: https://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz [following]
https://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz: HTTPS support not compiled in.

To solve this problem, install the package wget-ssl. This version has support for HTTPS

DiskStation> ipkg install wget-ssl
Installing wget-ssl (1.12-2) to root…
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: The following packages conflict with wget-ssl:
wget

If you still have the wget version installed from Optware, first remove it

DiskStation> ipkg remove wget
Removing package wget from root…
Successfully terminated.

Then try to install again

DiskStation> ipkg install wget-ssl
Installing wget-ssl (1.12-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/wget-ssl_1.12-2_arm.ipk
Installing libidn (1.25-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libidn_1.25-1_arm.ipk
Configuring libidn
Configuring wget-ssl
Successfully terminated.


Filed under: Synology

Adding packages from SynoCommunity repository for Synology NAS

$
0
0

You can add a new package source to add more programs to your Synology NAS. We will be adding the SynoCommunity software repository.

Open the Package Center and click on Settings
synocommunity_01
Under Package Sources add a new one called SynoCommunity with the location http://packages.synocommunity.com/. Press ok
synocommunity_02
At the end there is a new tab called Community that you can start adding new software
synocommunity_03
As of 2014/10/11 you can add the following software using the SynoCommunity repository

BicBucStriim – BicBucStriim streams books, digital books. It fills a gap in the functionality of current NAS devices, which provide access to your collection of music, videos and photos — but not books…
BitlBee – BitlBee brings IM (instant messaging) to IRC clients. It’s a great solution for people who have an IRC client running all the time and don’t want to run an additional MSN/AIM/whatever client.
BitTorrent Sync – Automatically sync files via secure, distributed technology.
Box Backup Client – Box Backup is an open source, completely automatic, on-line backup system. This is the client part of Box Backup.
COPS – Calibre OPDS and HTML PHP Server : light alternative to Calibre content server / Calibre2OPDS.
CouchPotato Custom – CouchPotato Custom allows you to run the fork of your choice of CouchPotato. You will be asked for the fork’s git URL during install.
Debian Chroot – Debian is a free operating system (OS) that comes with over 29000 packages, precompiled software bundled up in a nice format for easy installation on your DiskStation. Debian Chroot allows you…
Feng Office – Feng Office is a Collaboration Platform and Project Management System.
Full-Text RSS – Create full-text feed from feed or webpage URL.
GateOne – Gate One is an HTML5-powered terminal emulator and SSH client
Git – Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
HAProxy – HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
Headphones – Headphones is an automatic NZB and torrent downloader for music. Mark albums as wanted and have them downloaded as soon as they are available. Different quality settings are…
HTPC-Manager – Contol your Htpc with ease. Using multiple applications to control you htpc? No More! Htpc Manager combines all your software and provides an easy way to controll them all!
Maraschino – Maraschino is a simple web interface that acts as a nice overview/front page for your XBMC HTPC. It has many modules: Media library browser, SABnzbd+, SickBeard, XBMC controller, Diskspace…
MantisBT – Mantis is an easily deployable, web based bugtracker to aid product bug tracking. It requires PHP, MySQL and a web server. It is simpler than Bugzilla and easily editable.
Midnight Commander – Midnight Commander is a console application with a text user interface. The main interface consists of two panels which display the file system.
Memcached – Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database…
Mylar – Mylar is an automatic Comic Book downloader (cbr/cbz)
Node.js – Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications.
NZBGet – NZBGet is a command-line based binary newsgrabber for nzb files, written in C++. It supports client/server mode, automatic par-check/-repair, unpack and web-interface. NZBGet requires low system…
ownCloud – ownCloud is a personal cloud which runs on your own server and gives you freedom and control over your own data.
Python – Python Programming Language.
Python3 – Python Programming Language.
Redis – Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
Roundcube Webmail – Roundcube is a free and open source webmail solution with a desktop-like user interface which is easy to install/configure and that runs on a standard LAMPP server. It is the same software Synology…
SABnzbd – SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically…
Selfoss – The new multipurpose rss reader, live stream, mashup, aggregation web application.
SickBeard Custom – SickBeard Custom allows you to run the fork of your choice of SickBeard. You will be asked for the fork’s git URL during install.
SickBeard – SickBeard is a PVR for newsgroup users (with limited torrent support). It watches for new episodes of your favorite shows and when they are posted it downloads them, sorts and renames them…
Subliminal – Subliminal allows you automatically download best-matching subtitles for your movies and tv shows on your DiskStation. This package is named after Subliminal, the Python library used to search and…
Tiny Tiny RSS – Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as…
Transmission – Transmission is an easy and fast BitTorrent client. You can control it remotely with its web interface or dedicated applications.
Tvheadend – Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV and Analog video (V4L) as input sources. It also comes with a powerful and easy to use web…
uMurmur – uMurmur is a minimalistic VoIP server based on the open source software Mumble. It allows simultaneous communications between multiple users. Its low latency makes it especially…
ZNC – Advanced IRC bouncer. An IRC bouncer is nothing more than an IRC proxy. ZNC will always be connected in your chat rooms, and will be the gateway between your clients, and your IRC servers. You…


Filed under: Synology

SSH connection error – no supported authentication methods available (server sent keyboard-interactive)

$
0
0

Edit /etc/ssh/sshd_config and set the parameter PAMAuthenticationViaKBDInt to yes

# To disable tunneled clear text passwords, change PasswordAuthentication to no.
PasswordAuthentication yes

# Use PAM via keyboard interactive method for authentication.
# Depending on the setup of pam.conf(4) this may allow tunneled clear text
# passwords even when PasswordAuthentication is set to no. This is dependent
# on what the individual modules request and is out of the control of sshd
# or the protocol.
#PAMAuthenticationViaKBDInt no
PAMAuthenticationViaKBDInt yes


Filed under: Security Tagged: ssh

HP Data Protector error: [12:1625] Import host failed.

$
0
0

root@hp-ux:~ # omnicc -import_host suse11host.bkp
[12:1625] Import host failed.

The host information cannot be added/updated in the Cell Manager configuration file.

* Please check that the Data Protector services on the Cell Manager computer are running.
* Also check that Data Protector Inet service on the remote computer is running
(use: telnet 5555 to see if the service responds).
* Make sure that the remote client is not already part of another cell.
Afterwards use Data Protector GUI or omnicc -import_host command to manually import
the client to the selected Cell Manager.
* On NetWare make sure Data Protector directory structure is created properly
(check that directory SYS:USR\OMNI\CONFIG\CLIENT exists) or check that
localhost (127.0.0.1) entry exists in SYS:ETC\HOSTS file for servers
not using DNS IP address resolution.

[12:1051] Client security violation. Access denied.
, error=1625

Verify if file /etc/opt/omni/client/allow_hosts exists and if there is any content. Modify accordingly to your servers.

Also verify the log file from the inetd to verify the error

root@linux:/etc/xinetd.d # cat omni
service omni
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /opt/omni/lbin/inet
server_args = inet -log /var/opt/omni/log/inet.log
disable = no

instances = UNLIMITED
per_source = UNLIMITED
}

root@linux:~ # tail /var/opt/omni/log/inet.log
10/14/14 14:52:38 INET.20969.0 ["/inet/allow_deny.c $Rev: 29682 $ $Date:: 2012-03-15 19:42:59":490] A.06.20 b409
A request 0 (INCLUDE) came from host hp-ux (172.22.19.188) which is not in AllowList: not proceeding with this request!
[Critical] From: INET@linux “” Time: 10/14/14 14:52:38
[12:1051] Client security violation. Access denied.


Filed under: HP-UX, Linux Tagged: omnicc

Check HPOM version

HPOM certificate request: terminate called after throwing an instance of ‘char const*’

$
0
0

Triggered the certificate request but gave the following error

root@linux:~ # ovcert –certreq
terminate called after throwing an instance of ‘char const*’
Aborted

Stop HPOM and remove the files from the directories shown below. Verify if there is a HPOM agent process running and then kill if there is.

root@linux:~ # /opt/OV/bin/ovc -kill
root@linux:~ # /opt/OV/bin/opcagt -kill
(ctrl-111) Ovcd is not yet started.

root@linux:~ # rm /var/opt/OV/tmp/OpC/*
rm: cannot remove `/var/opt/OV/tmp/OpC/bin': Is a directory
rm: cannot remove `/var/opt/OV/tmp/OpC/conf': Is a directory
root@linux:~ # rm /var/opt/OV/tmp/public/OpC/*
rm: cannot remove `/var/opt/OV/tmp/public/OpC/*': No such file or directory
root@linux:~ # rm /var/opt/OV/tmp/*.pid

root@linux:~ # ps -ef |grep -i opc
root@linux:~ # ps -ef |grep -i ov

Wait 3 minutes then start the agent

root@linux:~ # sleep 180

root@linux:~ # /opt/OV/bin/opcagt -start
root@linux:~ # /opt/OV/bin/ovc -start -debug

root@linux:~ # /opt/OV/bin/opcagt -status
scopeux Perf Agent data collector (23366) Running
midaemon Measurement Interface daemon (23372) Running
ttd ARM registration daemon (23354) Running
perfalarm Alarm generator (23421) Running
coda OV Performance Core COREXT (23414) Running
opcacta OVO Action Agent AGENT,EA (23565) Running
opcmsga OVO Message Agent AGENT,EA (23542) Running
ovbbccb OV Communication Broker CORE (23395) Running
ovcd OV Control CORE (23387) Running
ovconfd OV Config and Deploy COREXT (23507) Running
Message Agent is not buffering.

root@linux:~ # /opt/OV/bin/ovc -status
coda OV Performance Core COREXT (23414) Running
opcacta OVO Action Agent AGENT,EA (23565) Running
opcmsga OVO Message Agent AGENT,EA (23542) Running
ovbbccb OV Communication Broker CORE (23395) Running
ovcd OV Control CORE (23387) Running
ovconfd OV Config and Deploy COREXT (23507) Running

root@linux:~ # /opt/perf/bin/ovpa start

The Perf Agent scope collector is being started.
The ARM registration daemon ttd is already running.
It will be signaled to reprocess its configuration file.

The Performance Collector daemon
/opt/perf/bin/scopeux, is already running.

The coda daemon /opt/OV/lbin/perf/coda is already running.
The alarm generator /opt/perf/bin/perfalarm is already running.
It is signaled to reprocess its alarm definitions.

root@linux:~ # /opt/perf/bin/ovpa status
Perf Agent status:
Running scopeux (Perf Agent data collector) pid 23366
Running midaemon (Measurement Interface daemon) pid 23372
Running ttd (ARM registration daemon) pid 23354

Perf Agent Server status:

Running ovcd (OV control component) pid 23387
Running ovbbccb (BBC5 communication broker) pid 23395
Running coda (perf component) pid(s) 23414
Running perfalarm (alarm generator) pid(s) 23421

root@linux:~ # ovc -status
coda OV Performance Core COREXT (23414) Running
opcacta OVO Action Agent AGENT,EA (23565) Running
opcmsga OVO Message Agent AGENT,EA (23542) Running
ovbbccb OV Communication Broker CORE (23395) Running
ovcd OV Control CORE (23387) Running
ovconfd OV Config and Deploy COREXT (23507) Running

root@linux:~ # ovcert -certreq
INFO: Certificate request has been successfully triggered.


Filed under: HPOM Tagged: opcagt, ovc, ovcert, ovpa

Upgrading firmware on an Emulex Zephyr-X LightPulse Fibre Channel HBA on HP Proliant

$
0
0

I have a Linux server and I need to upgrade the HBA card.

First we verify which model is the HBA card. It’s a dual port HBA card (same addressing but the last number differ)

root@linux:~ # lspci -k | grep -A2 -i fibre
06:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
Subsystem: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter
Kernel driver in use: lpfc
Kernel modules: lpfc
06:00.1 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
Subsystem: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter
Kernel driver in use: lpfc
Kernel modules: lpfc

Verify the model description. It’s a HP FC2242SR 4Gb PCI-e DC Fibre Channel Adapter

root@linux:~ # cat /sys/class/scsi_host/host0/modeldesc
HP FC2242SR 4Gb PCI-e DC Fibre Channel Adapter
root@linux:~ # cat /sys/class/scsi_host/host1/modeldesc
HP FC2242SR 4Gb PCI-e DC Fibre Channel Adapter

Go to http://www8.hp.com/us/en/drivers.html

Type FC2242SR

Choose your operating system and download the scexe file under the box Firmware – Storage Fibre Channel

Copy the file to the server and then run the file you just downloaded

root@linux:~ # ./CP022701.scexe


Filed under: Hardware, Linux Tagged: lspci

Sun Cluster 3.1: Listener probe timed out two times consecutively

$
0
0

Oct 19 22:01:02 solaris10node1 SC[SUNWscor.oracle_listener.monitor]:dbs-oracle-proddb-rg:lsn-oraproddb-01-res: [ID 523531 user.error] Listener probe timed out two times consecutively

This error was appearing in one server because every night a full database export was being done. The listener was being overloaded.


Filed under: Solaris

Updating iLO3 firmware on a Proliant BL685c G7 running RHEL 5

$
0
0

I have a ProLiant BL685c G7 and I will update iLO3 firmware

Go to http://www8.hp.com/us/en/drivers.html
Search by the product name ProLiant BL685c G7
Select your operating system. In my case Red Hat Linux Enterprise 5 Server (x86-64)
Select Firmware – Lights-Out Management and download the file

Copy the file to the server and make it executable
root@linux:~ # chmod 700 CP022551.scexe

iLO3 was running version 1.55 and was upgraded to 1.80

root@linux:~ # ./CP022551.scexe

FLASH_iLO3 v1.09 for Linux (Jan 23 2013)
(C) Copyright 2002-2013 Hewlett-Packard Development Company, L.P.
Firmware image: ilo3_180.bin
Current iLO 3 firmware version 1.55; Serial number ILOUSE253RVDV

Component XML file: CP022551.xml
CP022551.xml reports firmware version 1.80
This operation will update the firmware on the
iLO 3 in this server with version 1.80.
Continue (y/N)?y
Current firmware is 1.55 (Jan 24 2013 )
Firmware image is 0x801664(8394340) bytes
Committing to flash part…
******** DO NOT INTERRUPT! ********
Flashing completed.
Attempting to reset device.
Succeeded.
***** iLO 3 reboot in progress (may take up to 60 seconds.)
***** Please ignore console messages, if any.
iLO 3 reboot completed.


Filed under: Hardware, Linux

Removing vpath disks coming from IBM storage

$
0
0

root@linux:~ # datapath query device

Total Devices : 7

DEV#: 0 DEVICE NAME: vpathk TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000097
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sdaw CLOSE NORMAL 0 0
1 Host1Channel0/sdbd CLOSE NORMAL 0 0
2 Host1Channel0/sdai CLOSE NORMAL 173 0
3 Host1Channel0/sdap CLOSE NORMAL 106 0
4 Host0Channel0/sdu CLOSE NORMAL 0 0
5 Host0Channel0/sdab CLOSE NORMAL 0 0
6 Host0Channel0/sdg CLOSE NORMAL 80 0
7 Host0Channel0/sdn CLOSE NORMAL 236 0

DEV#: 1 DEVICE NAME: vpathn TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000092
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sdax CLOSE NORMAL 0 0
1 Host1Channel0/sdaj CLOSE NORMAL 9294 0
2 Host1Channel0/sdaq CLOSE NORMAL 0 0
3 Host0Channel0/sdv CLOSE NORMAL 0 0
4 Host1Channel0/sdac CLOSE NORMAL 9067 0
5 Host0Channel0/sda CLOSE NORMAL 8218 0
6 Host0Channel0/sdh CLOSE NORMAL 7460 0
7 Host0Channel0/sdo CLOSE NORMAL 0 0

DEV#: 2 DEVICE NAME: vpathl TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000096
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sday CLOSE NORMAL 1819009 0
1 Host1Channel0/sdak CLOSE NORMAL 0 0
2 Host1Channel0/sdar CLOSE NORMAL 1818549 0
3 Host0Channel0/sdw CLOSE NORMAL 1820897 0
4 Host1Channel0/sdad CLOSE NORMAL 0 0
5 Host0Channel0/sdb CLOSE NORMAL 0 0
6 Host0Channel0/sdi CLOSE NORMAL 0 0
7 Host0Channel0/sdp CLOSE NORMAL 1804045 0

DEV#: 3 DEVICE NAME: vpathm TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000091
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sdaz CLOSE NORMAL 0 0
1 Host1Channel0/sdal CLOSE NORMAL 100105 0
2 Host1Channel0/sdas CLOSE NORMAL 0 0
3 Host0Channel0/sdq CLOSE NORMAL 0 0
4 Host0Channel0/sdx CLOSE NORMAL 0 0
5 Host1Channel0/sdae CLOSE NORMAL 95597 0
6 Host0Channel0/sdc CLOSE NORMAL 96473 0
7 Host0Channel0/sdj CLOSE NORMAL 95534 0

DEV#: 4 DEVICE NAME: vpathh TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000095
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sdba CLOSE NORMAL 160 0
1 Host1Channel0/sdam CLOSE NORMAL 0 0
2 Host1Channel0/sdat CLOSE NORMAL 219 0
3 Host0Channel0/sdr CLOSE NORMAL 254 0
4 Host0Channel0/sdy CLOSE NORMAL 370 0
5 Host1Channel0/sdaf CLOSE NORMAL 0 0
6 Host0Channel0/sdd CLOSE NORMAL 0 0
7 Host0Channel0/sdk CLOSE NORMAL 0 0

DEV#: 5 DEVICE NAME: vpathi TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000094
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sdbb CLOSE NORMAL 4959899 0
1 Host1Channel0/sdag CLOSE NORMAL 0 0
2 Host1Channel0/sdan CLOSE NORMAL 0 0
3 Host1Channel0/sdau CLOSE NORMAL 4956162 0
4 Host0Channel0/sds CLOSE NORMAL 5032326 0
5 Host0Channel0/sdz CLOSE NORMAL 5055897 0
6 Host0Channel0/sde CLOSE NORMAL 0 0
7 Host0Channel0/sdl CLOSE NORMAL 0 0

DEV#: 6 DEVICE NAME: vpathj TYPE: 2145 POLICY: Optimized Sequential
SERIAL: 600507680191818c1000000000000093
============================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Host1Channel0/sdbc CLOSE NORMAL 3715251 0
1 Host1Channel0/sdah CLOSE NORMAL 0 0
2 Host1Channel0/sdao CLOSE NORMAL 0 0
3 Host1Channel0/sdav CLOSE NORMAL 3743916 0
4 Host0Channel0/sdt CLOSE NORMAL 3823190 0
5 Host0Channel0/sdaa CLOSE NORMAL 3800038 0
6 Host0Channel0/sdf CLOSE NORMAL 0 0
7 Host0Channel0/sdm CLOSE NORMAL 0 0

Use the command rmvpath to remove all paths

root@linux:~ # rmvpath
Continuing will remove all IBM vpath devices.
Do you want to continue (y/n)?: n

This is a little man page for the rmvpath command

root@linux:~ # rmvpath ?

NAME
rmvpath — remove IBM vpath devices.

SYNOPSIS
rmvpath [OPTION]… [VPATH]

DESCRIPTION
rmvpath can be invoked with no options or with the name
of a specific vpath device to remove, and/or a specific
configuration file.

OPTIONS
-f [FILENAME] indicate a specific configuration file to update
rmvpath will default to /etc/vpath.conf
[VPATH] if no vpath is specified, all IBM vpath
devices will be removed
debug prints debug information to stdout

DEFAULTS
o default configuration file is /etc/vpath.conf
o all vpaths are removed

To remove /dev/vpath4, updating /tmp/configuration:

rmvpath -f /tmp/configuration vpath4

I removed only the vpathi disk here

root@linux:~ # rmvpath vpathi
Remove vpathi requested
Deleting file: /dev/vpathi

Source: Implementing Linux with IBM Disk Storage


Filed under: Linux Tagged: datapath, rmvpath

hpacucli takes a long time to respond

$
0
0

If run hpacucli and your server is taking a long time to respond, it is because HP decided to change the hpacucli utility to scan multiple LUNs connected via Fibre or iSCSI storage

root@linux:~ # time hpacucli ctrl all show config

Smart Array P410i in Slot 0 (Embedded) (sn: 500143801176C960)

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143801176C96F)

real 2m25.058s
user 0m0.083s
sys 0m0.071s

Type INFOMGR_BYPASS_NONSA=1 to disable the scan hpacucli. To reenable type export -n INFOMGR_BYPASS_NONSA

root@linux:~# export INFOMGR_BYPASS_NONSA=1
root@linux:~# time hpacucli ctrl all show config

Smart Array P410i in Slot 0 (Embedded) (sn: 50014380226F2BA0)

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (279.4 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)

SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380226F2BAF)

real 0m0.931s
user 0m0.130s
sys 0m0.167s

Source: http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c03696601


Filed under: Hardware, Linux Tagged: hpacucli

Emulex OneConnect initialization failed

$
0
0

I have a HP Proliant BL685C G7 and both network interfaces are missing.

Rebooted the server and it showed some messages from the network card

be2net 0000:05:00.0 Waiting for POST, 58s elapsed
be2net 0000:05:00.0 POST timeout; stage=0xb00
be2net 0000:05:00.0 PCI INT A disabled
be2net 0000:05:00.0 Emulex OneConnect initialization failed
be2net: probe of 0000:05:00.0 failed with error -1
ACPI: PCI Interrupt Link [I031] enabled at IRQ 29

According to this document HP Store All Storage – Interface ETH 4 and ETH 5 are Missing it is a physical hardware failure and you need to contact HP – even though that the affected equipment is a storage I believe it is the same case with the server.

There is also another document be2net Driver Fails to Initialize where it shows that the NIC fails to initiate and asks you to update to update to a newer kernel or upgrade the NIC firmware. In this case the server’s OS was upgraded recently and firmware updated.

be2net 0000:10:00.0: Emulex OneConnect 10Gbps NIC initialization failed
be2net: probe of 0000:10:00.0 failed with error -1


Filed under: Hardware, Linux Tagged: rhel

2014 in review

$
0
0

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 150,000 times in 2014. If it were an exhibit at the Louvre Museum, it would take about 6 days for that many people to see it.

Click here to see the complete report.


Filed under: Personal

Migrating from RAID 0 to RAID 1 in an HP Smart Array

$
0
0

I have two disks in an HP Smart Array P410 and one disk is configured as a logicaldrive.

root@linux:~ # hpacucli ctrl all show config

Smart Array P410i in Slot 0 (Embedded) (sn: 5001438010849BE0)

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (279.4 GB, RAID 0, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)

unassigned

physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)

In order to do that, I’ll add the drive to the logical drive using the command below. Note that I can’t using the current configuration.

root@linux:~ # hpacucli ctrl slot=0 ld 1 add drives=1I:1:3

Error: This operation is not supported with the current configuration. Use the
“show” command on devices to show additional details about the
configuration.

I also try to modify the RAID to RAID 1 in this logical drive.

root@linux:~ # hpacucli ctrl slot=0 ld 1 modify raid=1

Error: This operation is not supported with the current configuration. Use the
“show” command on devices to show additional details about the
configuration.

According to Smart Array P410i Controller Technical Specifications

The HP Smart Array P410 is an 8 Port Serial Attached SCSI (SAS) RAID controller. The P410 is designed for RAID applications and can be upgraded with the 512MB battery-backed write cache (BBWC) or 512MB / 1GB flash-backed write cache (FBWC) and the Smart Array Advanced Pack.

Management Features:
Online array expansion (with BBWC/FBWC upgrade)
Online Advanced Capacity Expansion (with BBWC/FBWC and Smart Array Advanced Pack upgrade)
Online logical drive extension (with BBWC/FBWC upgrade)
Online RAID level migration (with BBWC/FBWC upgrade)
Online strip size migration (with BBWC/FBWC upgrade)
Offline Mirror splitting and recombining (with BBWC/FBWC and Smart Array Advanced Pack upgrade)
Unlimited global online spare assignment
User selectable expand and rebuild priority
User selectable RAID level and stripe size
User selectable read and write cache sizes

That means that you must have the Battery-Based Write Cache  (BBWC) or Flash-Based Write Cache (FBWC) upgrade in order to do that.

To check if you have BBWC, run hpacucli ctrl all show config detail and verify if it shows Battery/Capacitor Count: 1


Filed under: Hardware, Linux Tagged: hpacucli

HP iLO 2 ClassNotFoundException com.hp.ilo2.remcons.remcons.class

$
0
0

You must have seen the dialog box with the error message when using the Remote Console applet that uses Java.
ClassNotFoundException

There is no definite solution. Use the Integrated Remote Console with Internet Explorer.

If you want to try some solutions:

First you verify if you are running the latest Java version. Some browsers refuse to load the applet if isn’t running the latest version.
Verify Java version

Check if the iLO 2 firmware isn’t too old. Upgrade to the latest version.
iLO 2 Firmware
Copy your configuration and then perform a factory reset to defaults in HP iLO 2 and then reconfigure it.

Nothing garantees that it will work but some people reported success with the steps shown above.


Filed under: HP iLO
Viewing all 312 articles
Browse latest View live