Advertisements

Linux Fibre HBA in status Linkdown

root@linux:~ # systool -c fc_host -v
Class = “fc_host”

Class Device = “host1”
Class Device path = “/sys/class/fc_host/host1”
fabric_name = “0x100000051e36219e”
issue_lip =
node_name = “0x50060b0000c29e39”
port_id = “0x1ebe01”
port_name = “0x50060b0000c29e38”
port_state = “Online”
port_type = “NPort (fabric via point-to-point)”
speed = “4 Gbit”
supported_classes = “Class 3”
supported_speeds = “1 Gbit, 2 Gbit, 4 Gbit”
symbolic_name = “QMH2462 FW:v5.06.03 DVR:v8.03.07.15.05.09-k”
system_hostname = “”
tgtid_bind_type = “wwpn (World Wide Port Name)”
uevent =

Device = “host1”
Device path = “/sys/devices/pci0000:00/0000:00:09.0/0000:09:00.0/host1”
fw_dump =
nvram = “ISP ”
optrom_ctl =
optrom =
reset =
uevent =
vpd = “▒8”

Class Device = “host2”
Class Device path = “/sys/class/fc_host/host2”
fabric_name = “0x50060b0000c29e3b”
issue_lip =
node_name = “0x50060b0000c29e3b”
port_id = “0x000000”
port_name = “0x50060b0000c29e3a”
port_state = “Linkdown
port_type = “Unknown
speed = “unknown
supported_classes = “Class 3”
supported_speeds = “1 Gbit, 2 Gbit, 4 Gbit”
symbolic_name = “QMH2462 FW:v5.06.03 DVR:v8.03.07.15.05.09-k”
system_hostname = “”
tgtid_bind_type = “wwpn (World Wide Port Name)”
uevent =

Device = “host2”
Device path = “/sys/devices/pci0000:00/0000:00:09.0/0000:09:00.1/host2”
fw_dump =
nvram = “ISP ”
optrom_ctl =
optrom =
reset =
uevent =
vpd = “▒8”

Perform diagnostic steps below to isolate initialization issue. Engaged hardware vendor to check the card

Advertisements

Resetting HP iLO through command line

From my Linux server, I ssh to the iLO IP address

emerson@linux:~ $ ssh Administrator@172.22.4.251
Warning: Permanently added ‘172.22.4.251’ (RSA) to the list of known hosts.
Administrator@172.22.4.251’s password:
User:Administrator logged-in to ILOBRC6087BS6.(172.22.4.251 / FE80::9657:A5FF:FE4E:3852)

iLO Advanced 2.40 at Dec 02 2015
Server Name: linux.setaoffice.com
Server Power: On

Type cd /Map1

</>hpiLO-> cd /Map1

status=0
status_tag=COMMAND COMPLETED
Mon Aug 28 16:37:16 2017

/Map1

Type reset

hpiLO-> reset

status=0
status_tag=COMMAND COMPLETED
Mon Aug 28 16:37:27 2017

Resetting iLO.

CLI session stopped
Received disconnect from 172.22.4.251: 11: Client Disconnect

Oracle SMF Oracle Configuration Manager (OCM) svc:/system/ocm:default

Listing status of ocm service

root@solaris:~ # svcs svc:/system/ocm:default
STATE STIME FMRI
disabled Jul_17 svc:/system/ocm:default

Listing SMF

root@solaris:~ # svcs -l svc:/system/ocm:default
fmri svc:/system/ocm:default
name Oracle Configuration Manager (OCM)
enabled false
state disabled
next_state none
state_time Mon Jul 17 04:48:06 2017
logfile /var/svc/log/system-ocm:default.log
restarter svc:/system/svc/restarter:default
contract_id
manifest /etc/svc/profile/generic.xml
manifest /lib/svc/manifest/system/ocm.xml
dependency require_all/none svc:/milestone/multi-user-server:default (online)
dependency require_all/error svc:/milestone/network:default (online)
dependency require_all/none svc:/system/cryptosvc (online)

Oracle Configuration Manager is used to collect client configuration information and upload it to the Oracle repository
When enabling OCM, it goes to maintenance mode

root@solaris:~ # svcadm enable svc:/system/ocm:default

root@solaris:~ # svcs -v svc:/system/ocm:default
STATE NSTATE STIME CTID FMRI
maintenance – 10:58:25 1081435 svc:/system/ocm:default

There are two errors in this installation. There is no proxy setup and it is missing user ocm

root@solaris:~ # cat /var/svc/log/system-ocm:default.log
[ Aug 28 10:58:09 Enabled. ]
[ Aug 28 10:58:09 Executing start method (“/lib/svc/method/svc-ocm start”). ]
/lib/svc/method/svc-ocm: starting…
OCM not registered
Collector running in connected mode
Begin anonymous registration…
Starting response file generation…
Can not create response file: Unknown Host: ccr.oracle.com: unknown error
Failed to create response file…
Failed to generate anonymous response file…
Unable to contact ccr.oracle.com. Please set your system proxy
in order to allow this system to contact Oracle for better
serviceability. See the configCCR(1M) manual page on home to set
the proxy server for Oracle Configuration Manager.

svc:/system/ocm:default has been temporarily disabled.

[ Aug 28 10:58:20 Method “start” exited with status 0. ]
[ Aug 28 10:58:20 Stopping because service disabled. ]
[ Aug 28 10:58:20 Executing stop method (“/lib/svc/method/svc-ocm stop”). ]
Stopping scheduler…
su: Unknown id: ocm
[ Aug 28 10:58:25 Method “stop” exited with status 95. ]

Solaris – UXMON: [ID 377184 daemon.error] SUNW-MSG-ID: ZFS-8000-D3, TYPE: Fault, VER: 1, SEVERITY: Major

UXMON: [ID 377184 daemon.error] SUNW-MSG-ID: ZFS-8000-D3, TYPE: Fault, VER: 1, SEVERITY: Major

Node : solaris.setaoffice.com
Node Type : Sun SPARC (HTTPS)
Severity : major
OM Server Time: 2017-08-12 10:27:31
Message : UXMON: [ID 377184 daemon.error] SUNW-MSG-ID: ZFS-8000-D3, TYPE: Fault, VER: 1, SEVERITY: Major
Msg Group : OS
Application : SOL_mon
Object : FMT
Event Type :
not_found

Instance Name :
not_found

Instruction : “The Fault Management agent has identified a HW or OS related problem with the severity presented by the ticket.
The problem(s) can be viewed and managed with the command – fmdump
To get a better understanding of the problem and on how to resolve it, locate the event that generated
the ticket in the syslog file /var/adm/messages, a URL will be found (http://sun.com/msg/xxx-nnnn-yy),
follow the link using your Oracle portal account for instructions.”

After running fmadm faulty, we see that there is a problem with a zpool. Run zpool status -x and then we see pool prd027_software is having problems

root@solaris:~ # zpool status prd027_software
pool: prd027_software
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
Run ‘zpool status -v’ to see device specific details.
see: http://support.oracle.com/msg/ZFS-8000-8A
scan: none requested
config:

NAME STATE READ WRITE CKSUM
prd027_software ONLINE 0 0 14.7K
c0t600507680191818C1000000000000BE9d0 ONLINE 0 0 0
c0t600507680191818C1000000000000BEAd0 ONLINE 0 0 0
c0t600507680191818C1000000000000BEBd0 ONLINE 0 0 0
c0t600507680191818C1000000000000BECd0 ONLINE 0 0 0

errors: 3 data errors, use ‘-v’ for a list

Run zpool scrub prd027_software

root@solaris:~ # zpool scrub prd027_software

root@solaris:~ # zpool status -xv
pool: prd027_software
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://support.oracle.com/msg/ZFS-8000-8A
scan: scrub in progress since Wed Dec 31 21:00:00 1969
50.7M scanned out of 1.08T at 25.3M/s, 12h25m to go
0 repaired, 0.00% done
config:

NAME STATE READ WRITE CKSUM
prd027_software ONLINE 0 0 14.7K
c0t600507680191818C1000000000000BE9d0 ONLINE 0 0 0
c0t600507680191818C1000000000000BEAd0 ONLINE 0 0 0
c0t600507680191818C1000000000000BEBd0 ONLINE 0 0 0
c0t600507680191818C1000000000000BECd0 ONLINE 0 0 0

errors: Permanent errors have been detected in the following files:

/zones/prd027/root/usr/software/best1/Patrol3/Solaris-2-10-sparc-64/best1/7.4.00/bgs/monitor/log/prd027-bgsagent_6767.als
prd027_software/software027:<0x198c996>
prd027_software/software027:<0x198de4e>

After the pool is scanned, check if there is still a problem

root@solaris:~ # zpool status -xv
all pools are healthy

Repairing fmadm entries

root@solaris:~ # fmadm faulty|grep “Aug”
Aug 12 11:23:22 82fe93a5-8120-657b-9e61-e33252b84d30 ZFS-8000-D3 Major
Aug 12 11:22:01 74c61e33-7c56-4aca-d707-a32ce06a9bd8 ZFS-8000-CS Major

root@solaris:~ # fmadm repair 82fe93a5-8120-657b-9e61-e33252b84d30
fmadm: recorded repair to 82fe93a5-8120-657b-9e61-e33252b84d30

root@solaris:~ # fmadm repair 74c61e33-7c56-4aca-d707-a32ce06a9bd8
fmadm: recorded repair to 74c61e33-7c56-4aca-d707-a32ce06a9bd8

root@solaris:~ # fmadm faulty
root@solaris:~ #

Updating Suse Linux 11 to Suse Linux SP2 using ISO image

Create a directory to mount the ISO image and then mount it

suse11:/var/tmp # mkdir /root/iso

suse11:/var/tmp # mount -o loop /var/tmp/SLES-11-SP2-DVD-x86_64-GM-DVD1.iso /root/iso/

suse11:/var/tmp # df -h /root/iso
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 3.1G 3.1G 0 100% /root/iso

Add the directory as a new repository. In the example below, I’m calling my repository Suse11SP2

suse11:/var/tmp # zypper ar /root/iso/ Suse11SP2
Adding repository ‘Suse11SP2’ [done]
Repository ‘Suse11SP2’ successfully added
Enabled: Yes
Autorefresh: No
URI: dir:///root/iso

Refresh the repository

suse11:/var/tmp # zypper ref
Retrieving repository ‘Suse11SP2’ metadata [done]
Building repository ‘Suse11SP2’ cache [done]
All repositories have been refreshed.

List the repositories

suse11:/var/tmp # zypper ls
# | Alias | Name | Enabled | Refresh | Type
–+————————————–+————————————–+———+———+——
1 | SUSE-Linux-Enterprise-Server-11 11-0 | SUSE-Linux-Enterprise-Server-11 11-0 | Yes | No | yast2
2 | Suse11SP2 | Suse11SP2 | Yes | No | yast2

Upgrading my system with repository called Suse11SP2

suse11:/var/tmp # zypper dup -r Suse11SP2
Loading repository data…
Reading installed packages…
Computing distribution upgrade…

The following packages are going to be upgraded:
ConsoleKit ConsoleKit-32bit ConsoleKit-x11 Mesa Mesa-32bit MozillaFirefox
MozillaFirefox-branding-SLED MozillaFirefox-translations NetworkManager-glib
OpenEXR OpenIPMI PolicyKit PolicyKit-32bit PolicyKit-doc PolicyKit-gnome
PolicyKit-gnome-libs PolicyKit-gnome-libs-32bit SuSEfirewall2 a2ps aaa_base acl acpid
akonadi-runtime alsa alsa-plugins alsa-plugins-pulse apparmor-admin_en apparmor-docs
apparmor-parser apparmor-profiles apparmor-utils at at-spi at-spi-32bit at-spi-lang
atk atk-lang audiofile audiofile-32bit audit audit-audispd-plugins audit-libs
audit-libs-32bit audit-libs-python autofs autoyast2 autoyast2-installation bash
bash-doc bind-libs bind-libs-32bit bind-utils binutils blktrace bluez bootsplash
branding-SLES bzip2 cairo cairo-32bit cdparanoia cdrkit-cdrtools-compat
cmpi-bindings-pywbem command-not-found coreutils coreutils-lang cpio cpio-lang cpp43
cracklib cracklib-32bit crash crash-sial cron cryptconfig cryptconfig-32bit cryptsetup
cups cups-autoconfig cups-client cups-libs cups-libs-32bit curl cyrus-sasl
cyrus-sasl-32bit cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi
cyrus-sasl-gssapi-32bit cyrus-sasl-plain cyrus-sasl-plain-32bit dasher dasher-lang
dbus-1 dbus-1-32bit dbus-1-glib dbus-1-glib-32bit dbus-1-python dbus-1-qt3 dbus-1-x11
dejavu delayacct-utils desktop-data-SLED desktop-data-SLES-extra-gnome
desktop-translations device-mapper device-mapper-32bit dhcpcd dialog diffutils dmapi
dmraid dos2unix dosfstools e2fsprogs ed efibootmgr eject elfutils elilo emacs emacs-info
emacs-x11 enscript eog eog-lang ethtool evince evince-lang evolution-data-server
evolution-data-server-32bit evolution-data-server-lang expat expect file file-32bit
file-roller file-roller-lang filesystem findutils foomatic-filters freetype2
freetype2-32bit fuse gawk gcalctool gcalctool-lang gcc43 gcc43-32bit gcc43-c++
gcc43-info gcc43-locale gconf-editor gconf-editor-lang gconf2 gconf2-32bit
gconf2-branding-SLES gconf2-lang gdb gdm gdm-branding-upstream gdm-lang gedit
gedit-lang genisoimage gfxboot gfxboot-branding-SLES ghostscript-fonts-other
ghostscript-fonts-std ghostscript-library ghostscript-omni ghostscript-x11 glib2
glib2-lang glibc glibc-32bit glibc-devel glibc-devel-32bit glibc-i18ndata glibc-info
glibc-locale glibc-locale-32bit glibmm2 gmime gnokii gnome-applets gnome-applets-lang
gnome-control-center gnome-control-center-lang gnome-desktop gnome-desktop-lang
gnome-doc-utils gnome-icon-theme gnome-keyring gnome-keyring-32bit
gnome-keyring-lang gnome-mag gnome-mag-lang gnome-main-menu gnome-main-menu-lang
gnome-media gnome-media-lang gnome-menus gnome-menus-editor gnome-menus-lang
gnome-mime-data gnome-mount gnome-mount-lang gnome-nettool gnome-nettool-lang
gnome-panel gnome-panel-32bit gnome-panel-lang gnome-power-manager
gnome-power-manager-lang gnome-python-desktop gnome-screensaver
gnome-screensaver-lang gnome-session gnome-session-lang gnome-settings-daemon
gnome-settings-daemon-lang gnome-speech gnome-system-monitor
gnome-system-monitor-lang gnome-terminal gnome-terminal-lang gnome-themes
gnome-utils gnome-utils-lang gnome-vfs2 gnome-vfs2-32bit gnome-vfs2-lang gok gok-lang
gpg2 gpg2-lang grep groff grub gstreamer-0_10 gstreamer-0_10-lang
gstreamer-0_10-plugins-base gstreamer-0_10-plugins-base-lang
gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-lang gtk2 gtk2-32bit
gtk2-lang gtk2-theme-SLED gtkmm2 gtksourceview-lang gucharmap gucharmap-lang gvfs
gvfs-backends gvfs-fuse gvfs-lang gzip hal hal-32bit hdparm hplip hplip-hpijs hwinfo
icedax input-utils insserv inst-source-utils ipmitool iproute2 iptables iputils
irqbalance ivman java-1_6_0-ibm java-1_6_0-ibm-fonts java-1_6_0-ibm-jdbc k3b k3b-lang
kbd kde-susetranslations kde4-filesystem kde4-kgreeter-plugins kde4-kupdateapplet
kdebase4 kdebase4-SLED kdebase4-SLED-lang kdebase4-libkonq kdebase4-runtime
kdebase4-session kdebase4-wallpapers kdebase4-workspace
kdebase4-workspace-branding-SLED kdebase4-workspace-ksysguardd kdelibs3
kdelibs3-default-style kdelibs4 kdelibs4-core kdenetwork4-filesharing kdepim4
kdepim4-wizards kdepimlibs4 kdump kernel-default kernel-default-base kernel-source
kexec-tools klogd kpartx krb5 krb5-32bit ksh lcms libHX13 libHX13-32bit libMagickCore1
libQtWebKit4 libacl libacl-32bit libaio libaio-32bit libaio-devel libaio-devel-32bit
libakonadi4 libakonadiprotocolinternals1 libapparmor1 libart_lgpl libart_lgpl-32bit
libasm1 libasound2 libasound2-32bit libatk-1_0-0 libatk-1_0-0-32bit libavahi-client3
libavahi-client3-32bit libavahi-common3 libavahi-common3-32bit libavahi-glib1
libavahi-glib1-32bit libblkid1 libbluetooth3 libbonobo libbonobo-32bit
libbonobo-lang libbonoboui libbonoboui-32bit libbonoboui-lang libbz2-1
libbz2-1-32bit libcanberra-gtk libcanberra-gtk-32bit libcanberra-gtk0
libcanberra-gtk0-32bit libcanberra0 libcanberra0-32bit libcap2 libcap2-32bit
libcom_err2 libcom_err2-32bit libcryptsetup0 libcurl4 libcurl4-32bit libdns_sd libdrm
libdrm-32bit libdw1 libebl1 libelf0 libelf1 libesd0 libesd0-32bit libesmtp libexpat1
libexpat1-32bit libext2fs2 libfprint0 libfuse2 libgcrypt11 libgcrypt11-32bit
libgimpprint libgio-2_0-0 libgio-2_0-0-32bit libglade2 libglade2-32bit libglib-2_0-0
libglib-2_0-0-32bit libgmime-2_0-3 libgmodule-2_0-0 libgmodule-2_0-0-32bit libgnome
libgnome-32bit libgnome-lang libgnome-menu2 libgnome-menu2-32bit libgnomecanvas
libgnomecanvas-32bit libgnomecanvas-lang libgnomekbd libgnomekbd-lang libgnomeprint
libgnomeprint-lang libgnomeprintui libgnomeprintui-lang libgnomesu libgnomesu-lang
libgnomesu0 libgnomeui libgnomeui-32bit libgnomeui-lang libgnutls26
libgnutls26-32bit libgobject-2_0-0 libgobject-2_0-0-32bit libgpg-error0
libgpg-error0-32bit libgphoto2 libgphoto2-lang libgssglue1 libgstinterfaces-0_10-0
libgstreamer-0_10-0 libgstreamer-0_10-0-32bit libgthread-2_0-0
libgthread-2_0-0-32bit libgtksourceview-2_0-0 libgtop libgtop-2_0-7 libgtop-lang
libgvfscommon0 libgweather libgweather-lang libgweather1 libgweather1-32bit libical0
libicu libidl libidl-32bit libjasper libjasper-32bit libkde4 libkdecore4 libkdepim4
libkdepimlibs4 libkonq5 liblcms1 liblcms1-32bit libldap-2_4-2 libldap-2_4-2-32bit
libldapcpp1 libltdl7 libltdl7-32bit libmysqlclient15 libmysqlclient_r15 libnetpbm10
libnetpbm10-32bit libnotify libnotify1 libnuma1 libopensc2 libopensc2-32bit
libopenssl0_9_8 libopenssl0_9_8-32bit libpangomm-1_4-1 libpcap0 libphonon4
libpng12-0 libpng12-0-32bit libpoppler-glib4 libpoppler-qt4-3 libpulse0
libpulse0-32bit libpython2_6-1_0 libqca2 libqimageblitz4 libqt4 libqt4-32bit
libqt4-qt3support libqt4-sql libqt4-sql-32bit libqt4-sql-mysql libqt4-x11
libqt4-x11-32bit libreadline5 librsvg librsvg-32bit libselinux1 libselinux1-32bit
libsensors4 libsepol1 libsepol1-32bit libsmbclient0 libsmbclient0-32bit libsmbios2
libsndfile libsnmp15 libsoprano4 libsoup-2_4-1 libsoup-2_4-1-32bit libsqlite3-0
libsqlite3-0-32bit libssh2-1 libstdc++43-devel libstdc++43-devel-32bit libstrigi0
libtasn1 libtasn1-3 libtdb1 libtdb1-32bit libtheora0 libtiff3 libtiff3-32bit libtirpc1
libtool libtool-32bit libusb-0_1-4 libuuid1 libuuid1-32bit libvorbis libvorbis-32bit
libwbclient0 libwbclient0-32bit libwnck libwnck-1-22 libwnck-1-22-32bit libwnck-lang
libwsman1 libxcrypt libxcrypt-32bit libxml2 libxml2-32bit libxml2-python libzip1
libzypp limal limal-ca-mgm limal-ca-mgm-perl limal-nfs-server limal-nfs-server-perl
limal-perl linux-kernel-headers login logrotate lsb lsof lsscsi lvm2 makedumpfile
man-pages mcelog mdadm metacity metacity-lang microcode_ctl mkinitrd module-init-tools
mozilla-nspr mozilla-nspr-32bit mozilla-nss mozilla-nss-32bit multipath-tools mutt
mysql mysql-client nautilus nautilus-32bit nautilus-cd-burner
nautilus-cd-burner-32bit nautilus-cd-burner-lang nautilus-lang
nautilus-open-terminal nautilus-open-terminal-lang nautilus-share
nautilus-share-lang net-tools netcfg netpbm nfs-client nfs-doc notification-daemon
notification-daemon-lang nscd ntp numactl openldap2 openldap2-client opensc
opensc-32bit openslp openslp-32bit openslp-server openssh openssh-askpass openssl
openssl-certs openwsman-client openwsman-server opie opie-32bit orarun orbit2
orbit2-32bit oxygen-icon-theme oxygen-icon-theme-scalable pam pam-32bit pam-config
pam-doc pam-modules pam-modules-32bit pam_mount pam_mount-32bit pango pango-32bit
parted parted-32bit patch pciutils pciutils-32bit pciutils-ids pcsc-lite
pcsc-lite-32bit perl perl-32bit perl-Bootloader perl-Crypt-SSLeay perl-HTML-Parser
perl-IO-Socket-SSL perl-base perl-doc perl-libwww-perl perl-satsolver
perl-spamassassin permissions phonon phonon-backend-gstreamer-0_10 pinentry
pinentry-qt plasma-theme-aya pm-profiler pm-utils pmtools poppler-data poppler-tools
popt popt-32bit postfix ppp procmail procps psmisc pulseaudio pulseaudio-esound-compat
pwdutils pwdutils-plugin-audit python python-base python-gnome-menus python-gobject2
python-gtk python-notify python-qt4 python-satsolver python-sip python-xml pyxml quota
rarian readline-doc release-notes-sles rpm rpm-32bit rpm-python rsh rsvg-view rsync
samba samba-32bit samba-client sane-backends sash satsolver-tools sax2 sax2-gui
sax2-ident sax2-libsax sax2-libsax-perl sax2-tools sblim-cmpi-base sblim-sfcb
sblim-sfcc sblim-wbemcli scout screen sg3_utils shared-mime-info sles-admin_en-pdf
sles-deployment_en-pdf sles-installquick_en-pdf sles-manuals_en sles-release
sles-release-DVD sles-security_en-pdf sles-storage_en-pdf smartmontools
smis-providers snmp-mibs soprano soprano-backend-redland spamassassin sqlite3 star
strace strace-32bit sudo supportutils suse-build-key suse-sam suseRegister suspend
sysconfig sysfsutils sysfsutils-32bit syslinux syslog-ng sysstat sysstat-isag
system-config-printer system-config-printer-lang sysvinit t1lib tango-icon-theme tar
tcsh tightvnc timezone timezone-java tk tk-32bit totem-pl-parser totem-pl-parser-lang
udev ulimit unzip usbutils utempter utempter-32bit util-linux util-linux-lang
uuid-runtime vim vim-base vim-data vino vino-lang vlan vsftpd vte vte-doc vte-lang w3m wget
wireless-tools wodim x86info xfsprogs xinetd xkeyboard-config xlockmore xorg-x11
xorg-x11-Xvnc xorg-x11-driver-input xorg-x11-driver-video
xorg-x11-driver-video-radeonhd xorg-x11-driver-video-unichrome xorg-x11-libX11
xorg-x11-libX11-32bit xorg-x11-libXext xorg-x11-libXext-32bit xorg-x11-libs
xorg-x11-libs-32bit xorg-x11-libxcb xorg-x11-libxcb-32bit xorg-x11-server
xorg-x11-server-extra xorg-x11-xauth xscreensaver yast2 yast2-add-on
yast2-add-on-creator yast2-apparmor yast2-audit-laf yast2-autofs yast2-backup
yast2-bootloader yast2-ca-management yast2-control-center
yast2-control-center-gnome yast2-control-center-qt yast2-core yast2-country
yast2-country-data yast2-dhcp-server yast2-dirinstall yast2-dns-server
yast2-fingerprint-reader yast2-firewall yast2-ftp-server yast2-hardware-detection
yast2-http-server yast2-installation yast2-instserver yast2-irda yast2-iscsi-client
yast2-iscsi-server yast2-isns yast2-kdump yast2-kerberos-client
yast2-kerberos-server yast2-ldap yast2-ldap-client yast2-ldap-server yast2-libyui
yast2-mail yast2-mail-plugins yast2-ncurses yast2-ncurses-pkg yast2-network
yast2-nfs-client yast2-nfs-common yast2-nfs-server yast2-nis-client
yast2-ntp-client yast2-online-update yast2-online-update-frontend yast2-packager
yast2-pam yast2-perl-bindings yast2-pkg-bindings yast2-power-management
yast2-printer yast2-profile-manager yast2-python-bindings yast2-qt yast2-qt-pkg
yast2-registration yast2-registration-branding-SLE yast2-repair yast2-restore
yast2-runlevel yast2-samba-client yast2-samba-server yast2-schema yast2-security
yast2-slp-server yast2-sound yast2-squid yast2-storage yast2-storage-lib
yast2-support yast2-theme-SLE yast2-trans-en_US yast2-transfer yast2-update
yast2-users yast2-vm yast2-wagon yast2-x11 yast2-ycp-ui-bindings yelp yelp-lang
yp-tools zenity zenity-lang zip zypper

The following product is going to be upgraded:
SUSE_SLES

The following NEW packages are going to be installed:
PackageKit PackageKit-lang akregator ark augeas-lenses blt brasero brasero-lang
bridge-utils cifs-utils dolphin gnome-doc-utils-lang gwenview haveged kaddressbook
kalarm kcalc kde4-kupdateapplet-packagekit kdebase4-runtime-branding-SLED
kdelibs4-branding-SLED kdepasswd kdepim4-runtime kdessh kdialog kdm kdm-branding-SLED
keditbookmarks kernel-default-devel kernel-firmware kfind kfloppy kgpg kio_sysinfo
kio_sysinfo-branding-SLED kiosktool kmail kmix knotes konqueror konqueror-plugins
konqueror-plugins-lang konsole kontact kopete korganizer ksnapshot ktimetracker
kwalletmanager kwikdisk kwin kwrite libFLAC8-32bit libaugeas0 libblkid1-32bit
libboost_program_options1_36_0 libbrasero-burn0 libbrasero-media0
libcdda_interface0 libcdda_paranoia0 libcolorblind0 libfreebl3 libfreebl3-32bit
libgcc46 libgcc46-32bit libgmime-2_4-2 libgnome-desktop-2-11
libgnome-desktop-2-11-32bit libgnome-window-settings1 libgomp46 libgomp46-32bit
libgstapp-0_10-0 libical0-32bit libjack0 libkexiv2-7 libkipi6
libknotificationitem-1-1 libldb1 liblzma5 liblzma5-32bit libmsn0_1 liborc-0_4-0
libpackagekit-glib10 libpciaccess0 libpciaccess0-32bit libpixman-1-0
libpixman-1-0-32bit libpolkit-qt0 libpoppler5 libproxy0 libproxy0-32bit
libproxy0-config-gnome libproxy0-config-kde4 libpulse-mainloop-glib0
libpython2_6-1_0-32bit libqt4-qt3support-32bit libslab-lang libslab0
libsmbios2-32bit libsndfile-32bit libstdc++46 libstdc++46-32bit libtalloc2
libtalloc2-32bit libtasn1-3-32bit libtelepathy-glib0 libtevent0 libudev0
libudev0-32bit libunique-1_0-0 libusb-1_0-0 libxklavier15 lsb-release meanwhile
mozilla-kde4-integration mozilla-xulrunner192 mozilla-xulrunner192-gnome
mpt-firmware okular perl-Crypt-OpenSSL-RSA perl-IO-Socket-INET6 perl-Mail-DKIM
perl-MailTools perl-NetAddr-IP perl-Socket6 perl-WWW-Curl perl-apparmor
plasma-addons plasmoid-quickaccess pulseaudio-lang python-argparse python-numpy
python-tk re2c samba-client-32bit subscription-tools suse-sam-data tunctl xz xz-lang
yast2-dbus-client yast2-dbus-server zypper-log

The following packages are going to be REMOVED:
PolicyKit-kde PolicyKit-kde-lang cifs-mount gtksourceview kde4-akonadi
kde4-akregator kde4-ark kde4-dolphin kde4-gwenview kde4-kaddressbook kde4-kalarm
kde4-kcalc kde4-kdepasswd kde4-kdessh kde4-kdm kde4-kdm-branding-SLED
kde4-keditbookmarks kde4-kfind kde4-kfloppy kde4-kgpg kde4-kio_sysinfo
kde4-kio_sysinfo-branding-SLED kde4-kiosktool kde4-kmail kde4-kmix kde4-knotes
kde4-konqueror kde4-konqueror-plugins kde4-konqueror-plugins-lang kde4-konsole
kde4-kontact kde4-kopete kde4-korganizer kde4-ksnapshot kde4-ktimetracker
kde4-kupdateapplet-zypp kde4-kwalletmanager kde4-kwikdisk kde4-kwin kde4-kwrite
kde4-okular kde4-plasma-addons kde4-plasmoid-quickaccess
kde4-plasmoid-quicklauncher libgcc43 libgcc43-32bit libgomp43 libgomp43-32bit
libpfm3 libpulsecore7 libsoup libstdc++43 libstdc++43-32bit libxklavier linux32
perl-libapparmor pfmon powerdevil powerdevil-lang qlogic-firmware
x11-input-synaptics

The following packages are going to change architecture:
apparmor-docs apparmor-utils gnome-doc-utils yast2-schema

The following packages are not supported by their vendor:
libmysqlclient15 libmysqlclient_r15 mysql mysql-client

Overall download size: 1002.0 M. After the operation, additional 687.5 M will be used.
Continue? [YES/no]: y

After “downloading” the packages, accept the terms of the license

Do you agree with the terms of the license? [yes/NO]: yes

Red Hat Enterprise Linux 5 with Cluster Suite Software is inquorate

One of the nodes of a Red Hat Enterprise Linux 5 with Cluster Suite software is inquorate

root@linux01:~ # clustat
Cluster Status for clinformatica @ Tue Jul 18 14:52:42 2017
Member Status: Quorate

Member Name ID Status
—— —- —- ——
linux01.heartbeat.local 1 Online, Local, rgmanager
linux02.heartbeat.local 2 Offline
/dev/mapper/qdisk0 0 Online, Quorum Disk

Service Name Owner (Last) State
——- —- —– —— —–
service:PCenterETL_41 linux01.heartbeat.local started
service:PCenterETL_42 (none) stopped

root@linux02:~ # clustat
Cluster Status for clinformatica @ Tue Jul 18 14:53:10 2017
Member Status: Inquorate

Member Name ID Status
—— —- —- ——
linux01.heartbeat.local 1 Offline
linux02.heartbeat.local 2 Online, Local
/dev/mapper/qdisk0 0 Offline

To troubleshoot the problem, install omping. It is part of EPEL

Download the package here: https://download.fedoraproject.org/pub/archive/epel/5/x86_64/omping-0.0.4-1.el5.x86_64.rpm
Install the package

root@linux01:/tmp # rpm -ivh omping-0.0.4-1.el5.x86_64.rpm
warning: omping-0.0.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing… ########################################### [100%]
1:omping ########################################### [100%]

root@linux02:/tmp # rpm -ivh omping-0.0.4-1.el5.x86_64.rpm
warning: omping-0.0.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing… ########################################### [100%]
1:omping ########################################### [100%]

Check which IP address the cluster uses

root@linux01:~ # grep clusternode /etc/cluster/cluster.conf | grep name

linux01-hb is 142.40.81.128
linux02-hb is 142.40.81.129

Run omping with the IP of the machine followed by the other node

root@linux01:~ # omping 142.40.81.128 142.40.81.129
142.40.81.129 : waiting for response msg
142.40.81.129 : waiting for response msg
142.40.81.129 : waiting for response msg
142.40.81.129 : waiting for response msg
142.40.81.129 : waiting for response msg
142.40.81.129 : waiting for response msg
142.40.81.129 : joined (S,G) = (*, 232.43.211.234), pinging
142.40.81.129 : unicast, seq=1, size=69 bytes, dist=0, time=0.246ms
142.40.81.129 : multicast, seq=1, size=69 bytes, dist=0, time=0.251ms

142.40.81.129 : multicast, seq=179, size=69 bytes, dist=0, time=0.269ms
142.40.81.129 : unicast, seq=180, size=69 bytes, dist=0, time=0.233ms
142.40.81.129 : multicast, seq=180, size=69 bytes, dist=0, time=0.239ms
142.40.81.129 : unicast, seq=181, size=69 bytes, dist=0, time=0.213ms
142.40.81.129 : multicast, seq=181, size=69 bytes, dist=0, time=0.219ms
142.40.81.129 : unicast, seq=182, size=69 bytes, dist=0, time=0.231ms
142.40.81.129 : multicast, seq=182, size=69 bytes, dist=0, time=0.236ms
142.40.81.129 : unicast, seq=183, size=69 bytes, dist=0, time=0.209ms
142.40.81.129 : multicast, seq=183, size=69 bytes, dist=0, time=0.286ms
142.40.81.129 : unicast, seq=184, size=69 bytes, dist=0, time=0.254ms
142.40.81.129 : unicast, seq=185, size=69 bytes, dist=0, time=0.176ms
142.40.81.129 : unicast, seq=186, size=69 bytes, dist=0, time=0.191ms
142.40.81.129 : unicast, seq=187, size=69 bytes, dist=0, time=0.291ms
142.40.81.129 : unicast, seq=188, size=69 bytes, dist=0, time=0.203ms
142.40.81.129 : unicast, seq=189, size=69 bytes, dist=0, time=0.199ms
142.40.81.129 : unicast, seq=190, size=69 bytes, dist=0, time=0.209ms
142.40.81.129 : unicast, seq=191, size=69 bytes, dist=0, time=0.145ms
142.40.81.129 : unicast, seq=192, size=69 bytes, dist=0, time=0.210ms
142.40.81.129 : unicast, seq=193, size=69 bytes, dist=0, time=0.281ms
142.40.81.129 : unicast, seq=194, size=69 bytes, dist=0, time=0.186ms
142.40.81.129 : unicast, seq=195, size=69 bytes, dist=0, time=0.195ms
142.40.81.129 : unicast, seq=196, size=69 bytes, dist=0, time=0.141ms
142.40.81.129 : unicast, seq=197, size=69 bytes, dist=0, time=0.205ms
142.40.81.129 : unicast, seq=198, size=69 bytes, dist=0, time=0.196ms
142.40.81.129 : unicast, seq=199, size=69 bytes, dist=0, time=0.179ms
142.40.81.129 : unicast, seq=200, size=69 bytes, dist=0, time=0.190ms

142.40.81.129 : unicast, xmt/rcv/%loss = 200/200/0%, min/avg/max/std-dev = 0.104/0.199/0.306/0.039
142.40.81.129 : multicast, xmt/rcv/%loss = 200/183/8%, min/avg/max/std-dev = 0.126/0.215/0.311/0.041

Running omping with the IP of the machine followed by the other node

root@linux02:~ # omping 142.40.81.129 142.40.81.128
142.40.81.128 : waiting for response msg
142.40.81.128 : joined (S,G) = (*, 232.43.211.234), pinging
142.40.81.128 : unicast, seq=1, size=69 bytes, dist=0, time=0.172ms
142.40.81.128 : multicast, seq=1, size=69 bytes, dist=0, time=0.287ms
142.40.81.128 : unicast, seq=2, size=69 bytes, dist=0, time=0.196ms
142.40.81.128 : multicast, seq=2, size=69 bytes, dist=0, time=0.252ms

142.40.81.128 : unicast, seq=184, size=69 bytes, dist=0, time=0.311ms
142.40.81.128 : multicast, seq=184, size=69 bytes, dist=0, time=0.367ms
142.40.81.128 : unicast, seq=185, size=69 bytes, dist=0, time=0.286ms
142.40.81.128 : multicast, seq=185, size=69 bytes, dist=0, time=0.338ms
142.40.81.128 : unicast, seq=186, size=69 bytes, dist=0, time=0.184ms
142.40.81.128 : unicast, seq=187, size=69 bytes, dist=0, time=0.193ms
142.40.81.128 : unicast, seq=188, size=69 bytes, dist=0, time=0.174ms
142.40.81.128 : unicast, seq=189, size=69 bytes, dist=0, time=0.192ms
142.40.81.128 : unicast, seq=190, size=69 bytes, dist=0, time=0.200ms
142.40.81.128 : unicast, seq=191, size=69 bytes, dist=0, time=0.241ms
142.40.81.128 : unicast, seq=192, size=69 bytes, dist=0, time=0.304ms
142.40.81.128 : unicast, seq=193, size=69 bytes, dist=0, time=0.259ms
142.40.81.128 : unicast, seq=194, size=69 bytes, dist=0, time=0.272ms
142.40.81.128 : unicast, seq=195, size=69 bytes, dist=0, time=0.246ms
142.40.81.128 : unicast, seq=196, size=69 bytes, dist=0, time=0.611ms
142.40.81.128 : unicast, seq=197, size=69 bytes, dist=0, time=0.208ms
142.40.81.128 : unicast, seq=198, size=69 bytes, dist=0, time=0.200ms
142.40.81.128 : unicast, seq=199, size=69 bytes, dist=0, time=0.194ms
142.40.81.128 : unicast, seq=200, size=69 bytes, dist=0, time=0.186ms
142.40.81.128 : unicast, seq=201, size=69 bytes, dist=0, time=0.190ms
142.40.81.128 : waiting for response msg
142.40.81.128 : server told us to stop

142.40.81.128 : unicast, xmt/rcv/%loss = 201/201/0%, min/avg/max/std-dev = 0.115/0.223/0.611/0.055
142.40.81.128 : multicast, xmt/rcv/%loss = 201/185/7%, min/avg/max/std-dev = 0.159/0.278/0.797/0.062

After a few minutes, the network switch blocked multicast communication.

Solved after reconfiguring network switch

How to Avoid a Split-Brain Scenario with Cisco Switches by Enabling Multicast Communication

Solaris 10: passwd: password is based on a reversed dictionary word.

root@solaris:~ # passwd emerson
New Password:
passwd: password is based on a reversed dictionary word.

Please try again
New Password:

Edit file /etc/default/passwd and comment the files containing DICTIONDBDIR and DICTIONLIST

root@solaris:~ # vi /etc/default/passwd
#DICTIONDBDIR=/var/passwd
#DICTIONLIST=/usr/share/lib/dict/words

Removing jfs2 filesystem

Removing filesystem /tsmdbtmp

root@aix:/ # df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 5120.00 4061.67 21% 15690 2% /
/dev/hd2 5120.00 1654.30 68% 62483 14% /usr
/dev/hd9var 4096.00 1206.40 71% 13476 5% /var
/dev/hd3 4096.00 2477.13 40% 3112 1% /tmp
/dev/hd1 10752.00 9897.09 8% 266 1% /home
/dev/hd11admin 512.00 511.57 1% 5 1% /admin
/proc – – – – – /proc
/dev/hd10opt 6144.00 2451.30 61% 45594 7% /opt
/dev/livedump 512.00 511.31 1% 5 1% /var/adm/ras/livedump
/dev/fslv01 1024.00 1020.62 1% 560 1% /usr/users
/dev/fslv02 2048.00 1693.61 18% 70 1% /local
/dev/fslv03 20480.00 8860.54 57% 38450 2% /usr/software/oracle
/dev/fslv04 51200.00 27043.68 48% 17670 1% /bkpcvrd
/dev/fslv05 2048.00 1948.29 5% 89 1% /audit
/dev/fslv06 234592.00 130406.19 45% 81 1% /usr/oradata/orarvt1
/dev/fslv07 6144.00 6142.74 1% 3 1% /home/db2inst1
/dev/fslv08 511904.00 511825.50 1% 4 1% /tsmdbtmp

Remove the filesystem

root@aix:/ # rmfs -r /tsmdbtmp

Checking logical volume, volume group and physical volume information

root@aix:/ # lslv fslv08
LOGICAL VOLUME: fslv08 VOLUME GROUP: tsmdbtmp
LV IDENTIFIER: 00c94ad400004c000000015d801914eb.2 PERMISSION: read/write
VG STATE: active/complete LV STATE: closed/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 15997 PP SIZE: 32 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 15997 PPs: 15997
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 2
MOUNT POINT: /tsmdbtmp LABEL: /tsmdbtmp
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no

Checking volume group tsmdbtmp

root@aix:/ # lsvg tsmdbtmp
VOLUME GROUP: tsmdbtmp VG IDENTIFIER: 00c94ad400004c000000015d801914eb
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 15999 (511968 megabytes)
MAX LVs: 256 FREE PPs: 1 (32 megabytes)
LVs: 2 USED PPs: 15998 (511936 megabytes)
OPEN LVs: 0 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 16256 MAX PVs: 2
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
DISK BLOCK SIZE: 512 CRITICAL VG: no

Listing physical volumes

root@aix:/ # lspv
hdisk0 00c94ad454a2d4c5 rootvg active
hdisk1 00c94ad45808a18f rootvg active
hdisk3 00c94ad4229190d8 tsmpoolvg active
hdisk21 00ce196f4b9604c3 aplicvg active
hdisk22 00ce196f418e3f6d aplicvg active
hdisk44 00c94ad4c75dfb09 aplicvg active
hdisk2 none None
hdisk57 00c94ad481c4f2aa aplicvg active
hdisk55 00c94ad4f99f7480 tsm55dbvg active
hdisk56 00c94ad4f99f2d43 tsm55logvg active
hdisk4 00c94ad4801882d5 tsmdbtmp active

Checking if there is an active logical volume

root@aix:/ # lsvg -l tsmdbtmp
tsmdbtmp:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv00 jfs2log 1 1 1 closed/syncd N/A
fslv08 jfs2 15997 15997 1 closed/syncd /tsmdbtmp

Deactivating a volume group and removing disk

root@aix:/ # varyoffvg tsmdbtmp

I need to return the disk to storage. Removing device from system

root@aix:/ # rmdev -dl hdisk4
hdisk4 deleted

Replacing a disk in AIX

IBM technician informed that disk on DQD 82MC-P3-D5 needs to be replaced.

Server is ESERVER P5 570 9117 with 2 LPARs

aix6
aix7

Listing disks

root@aix6:/ # lsdev -Cc disk
hdisk0 Available 08-08-00 SAS Disk Drive
hdisk1 Available 08-08-00 SAS Disk Drive
hdisk2 Available 08-08-00 SAS RAID 5 Disk Array
hdisk3 Available 0D-08-00 SAS RAID 5 Disk Array
hdisk4 Available 01-00-02 MPIO FC 2145
hdisk21 Available 01-00-02 MPIO FC 2145
hdisk22 Available 01-00-02 MPIO FC 2145
hdisk44 Available 01-00-02 MPIO FC 2145
hdisk55 Available 01-00-02 MPIO FC 2145
hdisk56 Available 01-00-02 MPIO FC 2145
hdisk57 Available 01-00-02 MPIO FC 2145

Trying to find disk with Hardware Location Code DQD 82MC-P3-D5

root@aix6:/ # lsdev -Cc disk | awk ‘{print “lscfg -vpl “$1’}
lscfg -vpl hdisk0
lscfg -vpl hdisk1
lscfg -vpl hdisk2
lscfg -vpl hdisk3
lscfg -vpl hdisk4
lscfg -vpl hdisk21
lscfg -vpl hdisk22
lscfg -vpl hdisk44
lscfg -vpl hdisk55
lscfg -vpl hdisk56
lscfg -vpl hdisk57

root@aix6:/ # lsdev -Cc disk | awk ‘{print “lscfg -vpl “$1” | grep \”Hardware Location Code\””‘} | sh
Hardware Location Code……U789D.001.DQD60VA-P3-D5
Hardware Location Code……U789D.001.DQD60VA-P3-D6

Found on LPAR aix7

root@aix7:/root # lsdev -Cc disk | awk ‘{print “lscfg -vpl “$1” | grep \”Hardware Location Code\””‘} | sh
Hardware Location Code……U789D.001.DQD82MC-P3-D1
Hardware Location Code……U789D.001.DQD82MC-P3-D2
Hardware Location Code……U789D.001.DQD82MC-P3-D3
Hardware Location Code……U789D.001.DQD82MC-P3-D4
Hardware Location Code……U789D.001.DQD82MC-P3-D5
Hardware Location Code……U789D.001.DQD82MC-P3-D6

root@aix7:/root # lscfg -vpl hdisk4
hdisk4 U789D.001.DQD82MC-P3-D5 SAS Disk Drive (450000 MB)

Manufacturer…………….IBM
Machine Type and Model……ST3450856SS
FRU Number………………44V4432
ROS Level and ID…………45363134
Serial Number……………3QQ0KZEP
EC Level………………..L35857
Part Number……………..44V4433
Device Specific.(Z0)……..000005329F001002
Device Specific.(Z1)……..1217E614
Device Specific.(Z2)……..0021
Device Specific.(Z3)……..000-0
Device Specific.(Z4)……..
Device Specific.(Z5)……..22
Device Specific.(Z6)……..L35857
Hardware Location Code……U789D.001.DQD82MC-P3-D5

PLATFORM SPECIFIC

Name: disk
Node: disk
Device Type: block

Before replacing the disk using diag, remove disk definition otherwise you will receive the error: The device is currently in use and cannot be removed

root@aix7:/root # rmdev -dl hdisk4
hdisk4 deleted

Run diag

root@aix7:/root # diag
DIAGNOSTIC OPERATING INSTRUCTIONS VERSION 7.1.3.15 801001

LICENSED MATERIAL and LICENSED INTERNAL CODE – PROPERTY OF IBM
(C) COPYRIGHTS BY IBM AND BY OTHERS 1982, 2014.
ALL RIGHTS RESERVED.

These programs contain diagnostics, service aids, and tasks for
the system. These procedures should be used whenever problems
with the system occur which have not been corrected by any
software application procedures available.

In general, the procedures will run automatically. However,
sometimes you will be required to select options, inform the
system when to continue, and do simple tasks.

Several keys are used to control the procedures:
– The Enter key continues the procedure or performs an action.
– The Backspace key allows keying errors to be corrected.
– The cursor keys are used to select an option.

Press the F3 key to exit or press Enter to continue.

FUNCTION SELECTION 801002

Move cursor to selection, then press Enter.

Diagnostic Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will not be used.
Advanced Diagnostics Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will be used.
Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)
This selection will list the tasks supported by these procedures.
Once a task is selected, a resource menu may be presented showing
all resources supported by the task.
Resource Selection
This selection will list the resources in the system that are supported
by these procedures. Once a resource is selected, a task menu will
be presented showing all tasks that can be run on the resource(s).

TASKS SELECTION LIST 801004

From the list below, select a task by moving the cursor to
the task and pressing ‘Enter’.
To list the resources for the task highlighted, press ‘List’.

Run Diagnostics
Run Error Log Analysis
Run Exercisers
Display or Change Diagnostic Run Time Options

Add Resource to Resource List
Automatic Error Log Analysis and Notification
Backup and Restore Media
Certify Media
Change Hardware Vital Product Data
Configure Platform Processor Diagnostics
Delete Resource from Resource List
Disk Maintenance
Display Configuration and Resource List
Display Firmware Device Node Information
Display Hardware Error Report
Display Hardware Vital Product Data
Display Multipath I/O (MPIO) Device Configuration
Display Previous Diagnostic Results
Display Resource Attributes
Display Service Hints
Display Software Product Data
Display or Change Bootlist
Format Media
Gather System Information
Hot Plug Task
IBM Tape Drive Service Aids
This selection provides a set of tools to perform utility functions on
Tape and Medium Changer Devices supported by the Atape Device Driver.
Identify and Attention Indicators
Log Repair Action
Microcode Tasks
Periodic Diagnostics
RAID Array Manager
Update Disk Based Diagnostics

Hot Plug Task 801004

Move cursor to desired item and press Enter.

PCI Hot Plug Manager
SCSI and SCSI RAID Hot Plug Manager

SCSI and SCSI RAID HOT PLUG MANAGER 802481

The following operations can be performed on devices attached to
SCSI and SCSI RAID Hot Plug Enclosure devices.

Make selection, use Enter to continue.

List Hot Swap Enclosure Devices
This selection lists all scsi hot swap slots and their contents.
Identify a Device Attached to a SCSI Hot Swap Enclosure Device
This selection sets the Identify indication.
Attach a Device to an SCSI Hot Swap Enclosure Device
This selection sets the Add indication and prepares
the slot for insertion of a device.
Replace/Remove a Device Attached to an SCSI Hot Swap Enclosure Device
This selection sets the Remove indication and prepares
the device for removal.
Configure Added/Replaced Devices
This selection runs the configuration manager on the
parent adapter where devices have been added or replaced.

REMOVE OR REPLACE DEVICE ATTACHED TO A SCSI HOT SWAP ENCLOSURE DEVICE 802485

The following is a list of configured, unconfigured and populated
SCSI Hot Swap Enclosure device slots. Select a slot to remove or
replace the device attached to that slot.
ENSURE THAT NO OTHER HOST IS USING THE DEVICE BEFORE REMOVING IT.

Make selection, use Enter to continue.

U789D.001.DQD50B4-
ses0 P4-Y1
slot 1 P4-D1 cd0

U789D.001.DQD82MC-
ses1 P3-Y2
ses2 P3-Y1
slot 1 P3-D1 hdisk0
slot 2 P3-D2 hdisk1
slot 3 P3-D3 hdisk2
slot 4 P3-D4 hdisk3
slot 5 P3-D5 [populated]
slot 6 P3-D6 hdisk5

Tell the technician to replace the disk. After disk is replaced, press Enter

The LED should be in the Remove state for the selected device. You may now remove or replace the device. Use ‘Enter’ to indicate you are finished.

Instead of showing populated, it will show the disk name

REMOVE OR REPLACE DEVICE ATTACHED TO A SCSI HOT SWAP ENCLOSURE DEVICE 802485

The following is a list of configured, unconfigured and populated
SCSI Hot Swap Enclosure device slots. Select a slot to remove or
replace the device attached to that slot.
ENSURE THAT NO OTHER HOST IS USING THE DEVICE BEFORE REMOVING IT.

Make selection, use Enter to continue.

U789D.001.DQD50B4-
ses0 P4-Y1
slot 1 P4-D1 cd0

U789D.001.DQD82MC-
ses1 P3-Y2
ses2 P3-Y1
slot 1 P3-D1 hdisk0
slot 2 P3-D2 hdisk1
slot 3 P3-D3 hdisk2
slot 4 P3-D4 hdisk3
slot 5 P3-D5 hdisk4
slot 6 P3-D6 hdisk5

Source:
Replacing a disk drive with the AIX system or logical partition powered on
Replacing a SCSI disk drive

Creating a jfs2 filesystem in AIX

Listing physical volumes

root@aix:/ # lspv
hdisk0 00c94ad454a2d4c5 rootvg active
hdisk1 00c94ad45808a18f rootvg active
hdisk3 00c94ad4229190d8 tsmpoolvg active
hdisk21 00ce196f4b9604c3 aplicvg active
hdisk22 00ce196f418e3f6d aplicvg active
hdisk44 00c94ad4c75dfb09 aplicvg active
hdisk2 none None
hdisk57 00c94ad481c4f2aa aplicvg active
hdisk55 00c94ad4f99f7480 tsm55dbvg active
hdisk56 00c94ad4f99f2d43 tsm55logvg active

Configures devices

root@aix:/ # cfgmgr

Listing physical volumes

root@aix:/ # lspv
hdisk0 00c94ad454a2d4c5 rootvg active
hdisk1 00c94ad45808a18f rootvg active
hdisk3 00c94ad4229190d8 tsmpoolvg active
hdisk21 00ce196f4b9604c3 aplicvg active
hdisk22 00ce196f418e3f6d aplicvg active
hdisk44 00c94ad4c75dfb09 aplicvg active
hdisk2 none None
hdisk57 00c94ad481c4f2aa aplicvg active
hdisk55 00c94ad4f99f7480 tsm55dbvg active
hdisk56 00c94ad4f99f2d43 tsm55logvg active
hdisk4 none None

Comparing lspv output, the new disk is hdisk4. Checking ID to see if it matches

root@aix:/ # lsattr -El hdisk4 | grep -i 600507680191818C1000000000000C98
unique_id 33213600507680191818C1000000000000C9804214503IBMfcp Device Unique Identification False

Using script to query all disks

for i in `lspv | awk ‘{print $1’}`
do
echo $i `lsattr -El $i | grep unique_id`
done

Creating volume group with PP SIZE 16MB is not possible

root@aix:/ # mkvg -y tsmdbtmp -s 16 hdisk4
0516-1254 mkvg: Changing the PVID in the ODM.
0516-1208 mkvg: Warning, The Physical Partition Size of 16 requires the
creation of 32000 partitions for hdisk4. The system limitation is 16256
physical partitions per disk at a factor value of 16. Specify a larger
Physical Partition Size or a larger factor value in order create a
volume group on this disk.
0516-862 mkvg: Unable to create volume group.

Creating volume group with PP SIZE 32MB.

root@aix:/ # mkvg -y tsmdbtmp -s 32 hdisk4
tsmdbtmp

Listing volume group information

root@aix:/ # lsvg tsmdbtmp
VOLUME GROUP: tsmdbtmp VG IDENTIFIER: 00c94ad400004c000000015d801914eb
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 15999 (511968 megabytes)
MAX LVs: 256 FREE PPs: 15999 (511968 megabytes)
LVs: 0 USED PPs: 0 (0 megabytes)
OPEN LVs: 0 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 16256 MAX PVs: 2
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
DISK BLOCK SIZE: 512 CRITICAL VG: no

Creating filesystem. Logical volume name is fslvXX

root@aix:/ # smitty crfs

Add a File System

Move cursor to desired item and press Enter.

Add an Enhanced Journaled File System
Add a Journaled File System
Add a CDROM File System

F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do

Add an Enhanced Journaled File System

Move cursor to desired item and press Enter.

Add an Enhanced Journaled File System
Add an Enhanced Journaled File System on a Previously Defined Logical Volume

F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do

Add an Enhanced Journaled File System

Move cursor to desired item and press Enter.

Add an Enhanced Journaled File System
Add an Enhanced Journaled File System on a Previously Defined Logical Volume

+————————————————————————–+
| Volume Group Name |
| |
| Move cursor to desired item and press Enter. |
| |
| rootvg |
| aplicvg |
| tsmpoolvg |
| tsm55logvg |
| tsm55dbvg |
| tsmdbtmp |
| |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
F1| /=Find n=Find Next |
F9+————————————————————————–+

Add an Enhanced Journaled File System

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
Volume group name tsmdbtmp
SIZE of file system
Unit Size Megabytes +
* Number of units [511900] #
* MOUNT POINT [/tsmdbtmp]
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [] +
Block Size (bytes) 4096 +
Logical Volume for Log +
Inline Log size (MBytes) [] #
Extended Attribute Format +
ENABLE Quota Management? no +
Enable EFS? no +
Allow internal snapshots? no +
Mount GROUP []

Mount logical volume

root@aix:/ # mount /tsmdbtmp

Check filesystem size

root@aix:/ # df -m /tsmdbtmp
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/fslv08 511904.00 511825.51 1% 4 1% /tsmdbtmp

%d bloggers like this: