Author: Emerson .

Oracle RMAN Error – RMAN-00600: internal error, arguments [2012] [] [] [] []

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01006: error signalled during parse
RMAN-00600: internal error, arguments [2012] [] [] [] []

Check if there is a filesystem with 100% utilization

VMware vSphere Client – Error: Call “ServiceInstance.RetrieveContent” for object “ServiceInstance” on Server failed

I was receiving the error below: The request failed because of a connection failure. (Unable to connect to the remote server)

Call “ServiceInstance.RetrieveContent” for object “ServiceInstance” on Server failed

Despite having followed the instructions for this error I was still unable to connect. I solved this problem by uninstalling Widecap, an alternative that I was trying to replace Proxifier

Fencing agent ipmi_ilo incompatible with Red Hat Cluster and HP iLO3

I have a two node Red Hat Cluster with HP Proliant servers.

This server has an HP iLO3 for Out-of-band management.

The fence_ilo agent works with iLO and iLO2.
Fence Device and Agent Information for Red Hat Enterprise Linux

You will need to use fence_ipmplan agent with the recommended settings following this Red Hat document:
How do you configure the fence device agent information option for the HP ILO 3?

2012 in review

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

Here’s an excerpt:

19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about 99,000 times in 2012. If it were a concert at the Barclays Center, it would take about 5 sold-out performances for that many people to see it.

Click here to see the complete report.

Creating and removing a logical volume in AIX

I had several logical volumes that were presenting a weird error

root@aix:/ # rmlvcopy lvpooldom01001 1
0516-622 rmlvcopy: Warning, cannot write lv control block data.

I tried to migrate the logical volume off the disk

root@cvrdalebk01:/ # migratepv -l lvpooldom01001 hdisk3
0516-076 lmigratelv: Cannot remove last good copy of stale partition.
Resynchronize the partitions with syncvg and try again.
0516-812 migratepv: Warning, migratepv did not completely succeed;
all physical partitions have not been moved off the PV.

But it was not completed successfully

root@aix:/ # lsvg -l tsm01vg
tsm01vg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lvtsm jfs2 32 32 1 open/syncd /tsm
loglv00 jfs2log 1 1 1 open/syncd N/A
lvtsmdborig01 jfs 512 512 1 open/syncd N/A
lvtsmdborig02 jfs 512 512 1 open/syncd N/A
lvtsmlogorig01 jfs 256 256 1 open/syncd N/A
lvtsmdbmirr01 jfs 512 512 1 open/syncd N/A
lvtsmdbmirr02 jfs 512 512 1 open/syncd N/A
lvtsmlogmirr01 jfs 256 256 1 open/syncd N/A
0516-1147 : Warning – logical volume lvpooldom01001 may be partially mirrored.
lvpooldom01001 raw 512 666 11 closed/stale N/A

So I ended up removing the logical volumes

root@aix:/ # rmlv lvpooldom01001
Warning, all data contained on logical volume lvpooldom01001 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
rmlv: Logical volume lvpooldom01001 is removed.
root@aix:/ # rmlv -f lvpooldom01003
rmlv: Logical volume lvpooldom01003 is removed.
root@aix:/ # rmlv -f lvpooldom01004
rmlv: Logical volume lvpooldom01004 is removed.
root@aix:/ # rmlv -f lvpooldom01005
rmlv: Logical volume lvpooldom01005 is removed.

And then recreating them

root@aix:/ # mklv -t raw -y lvpooldom01001 tsm01vg 512
lvpooldom01001

Here is the status. No warning was displayed

root@aix:/ # lsvg -l tsm01vg | grep lvpooldom01001
lvpooldom01001 raw 512 512 1 closed/syncd N/A

Checking WWPN for a Linux host

Here is a dual port HBA

root@linux:~ # lspci | grep -i fibre
06:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
06:00.1 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)

Verifying the WWPN from the HBA

root@linux:~ # cat /sys/class/scsi_host/host0/device/fc_host\:host0/port_name
0x10000000c99f46b4
root@linux:~ # cat /sys/class/scsi_host/host1/device/fc_host\:host1/port_name
0x10000000c99f46b5

The WWPN show above is:
10:00:00:00:c9:9f:46:b4
10:00:00:00:c9:9f:46:b5

Or you can use systool instead of messing with /proc

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

Class Device = “host0”
Class Device path = “/sys/class/fc_host/host0”
active_fc4s = “0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ”
fabric_name = “0x100000051ef61a00”
issue_lip =
maxframe_size = “2048 bytes”
node_name = “0x20000000c99f46b4”
port_id = “0x648acd”
port_name = “0x10000000c99f46b4”
port_state = “Online”
port_type = “NPort (fabric via point-to-point)”
speed = “4 Gbit”
supported_classes = “Class 3”
supported_fc4s = “0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ”
supported_speeds = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type = “wwpn (World Wide Port Name)”
uevent =

Device = “host0”
Device path = “/sys/devices/pci0000:00/0000:00:07.0/0000:06:00.0/host0”
uevent =

Class Device = “host1”
Class Device path = “/sys/class/fc_host/host1”
active_fc4s = “0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ”
fabric_name = “0x1000000533021c00”
issue_lip =
maxframe_size = “2048 bytes”
node_name = “0x20000000c99f46b5”
port_id = “0xc88ac5”
port_name = “0x10000000c99f46b5”
port_state = “Online”
port_type = “NPort (fabric via point-to-point)”
speed = “4 Gbit”
supported_classes = “Class 3”
supported_fc4s = “0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ”
supported_speeds = “1 Gbit, 2 Gbit, 4 Gbit”
tgtid_bind_type = “wwpn (World Wide Port Name)”
uevent =

Device = “host1”
Device path = “/sys/devices/pci0000:00/0000:00:07.0/0000:06:00.1/host1”
uevent =

Deleted file in Linux but didn’t reclaim space in filesystem

The reason that the space in the filesystem wasn’t reclaimed is because the file was opened and in use by another application

root@linux:~ # lsof /bkpcvrd | grep deleted
dsmc 21215 root 11r REG 253,9 4268860136 1097761 /bkpcvrd/pbh020/export/pbh020_20111001.dmp.gz (deleted)
dsmc 30379 root 8r REG 253,9 4268860136 1097761 /bkpcvrd/pbh020/export/pbh020_20111001.dmp.gz (deleted)
dsmc 32691 root 9r REG 253,9 4268860136 1097761 /bkpcvrd/pbh020/export/pbh020_20111001.dmp.gz (deleted)

Check the directory where the file descriptors for the PID is

root@linux:/proc/21215/fd # ls -l
total 12
l-wx—— 1 root root 64 2011-10-04 10:09 0 -> /dev/null
l-wx—— 1 root root 64 2011-10-04 10:09 1 -> /root/nohup.out
lrwx—— 1 root root 64 2011-10-04 10:09 10 -> socket:/[32923523]
lr-x—— 1 root root 64 2011-10-04 10:09 11 -> /bkpcvrd/pbh020/export/pbh020_20111001.dmp.gz (deleted)
l-wx—— 1 root root 64 2011-10-04 10:09 2 -> /dev/null
l-wx—— 1 root root 64 2011-10-04 10:09 3 -> /opt/tivoli/tsm/client/ba/bin/dsmerror.log
l-wx—— 1 root root 64 2011-10-04 10:09 4 -> /opt/tivoli/tsm/client/ba/bin/dsmsched.log
lrwx—— 1 root root 64 2011-10-04 10:09 5 -> socket:/[31319408]
lrwx—— 1 root root 64 2011-10-04 10:09 6 -> socket:/[31319409]
lrwx—— 1 root root 64 2011-10-04 10:09 7 -> socket:/[33998182]
lrwx—— 1 root root 64 2011-10-04 10:09 8 -> socket:/[33083683]
lr-x—— 1 root root 64 2011-10-04 10:09 9 -> /usr/oradata/orapbh020/tbd1/LENEL_DATA.D001

You previously saw that the there is a link and in the end it says deleted. Type > in the number that was shown in that line

root@linux:/proc/21215/fd # > 11

List the other file descriptors

root@linux:/proc/30379/fd # ls -l
total 11
lrwx—— 1 root root 64 2011-10-04 10:09 0 -> /dev/console
l-wx—— 1 root root 64 2011-10-04 10:09 1 -> /dev/null
lrwx—— 1 root root 64 2011-10-04 10:09 10 -> socket:/[33912163]
lr-x—— 1 root root 64 2011-10-04 10:09 11 -> /usr/oradata/orapbh020/tbd1/LENEL_DATA.D001
l-wx—— 1 root root 64 2011-10-04 10:09 2 -> /dev/null
l-wx—— 1 root root 64 2011-10-04 10:09 3 -> /opt/tivoli/tsm/client/ba/bin/dsmerror.log
l-wx—— 1 root root 64 2011-10-04 10:09 4 -> /opt/tivoli/tsm/client/ba/bin/dsmsched.log
lrwx—— 1 root root 64 2011-10-04 10:09 5 -> socket:/[21055400]
lrwx—— 1 root root 64 2011-10-04 10:09 6 -> socket:/[31339242]
lrwx—— 1 root root 64 2011-10-04 10:09 7 -> socket:/[33078656]
lrwx—— 1 root root 64 2011-10-04 10:09 9 -> socket:/[32744402]

root@linux:/proc/32691/fd # ls -l
total 11
l-wx—— 1 root root 64 2011-10-04 10:09 0 -> /dev/null
l-wx—— 1 root root 64 2011-10-04 10:09 1 -> /opt/tivoli/tsm/client/ba/bin/nohup.out
lr-x—— 1 root root 64 2011-10-04 10:09 10 -> /bkpcvrd/pbh020/export/pbh020_20111002.dmp.gz
l-wx—— 1 root root 64 2011-10-04 10:09 2 -> /dev/null
l-wx—— 1 root root 64 2011-10-04 10:09 3 -> /opt/tivoli/tsm/client/ba/bin/dsmerror.log
l-wx—— 1 root root 64 2011-10-04 10:09 4 -> /opt/tivoli/tsm/client/ba/bin/dsmsched.log
lrwx—— 1 root root 64 2011-10-04 10:09 5 -> socket:/[33364746]
lrwx—— 1 root root 64 2011-10-04 10:09 6 -> socket:/[33364747]
lrwx—— 1 root root 64 2011-10-04 10:09 7 -> socket:/[33365181]
lrwx—— 1 root root 64 2011-10-04 10:09 8 -> socket:/[33365142]
lr-x—— 1 root root 64 2011-10-04 10:09 9 -> /bkpcvrd/pbh020/export/pbh020_20111003.dmp.gz

The space is now reclaimed

root@linux:~ # df -h /bkpcvrd
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvg-bkpcvrdlv
17G 8.2G 7.3G 53% /bkpcvrd

Listing the open files in the filesystem to see if there is still an open file with the deleted status

root@linux:~ # lsof /bkpcvrd | grep deleted
root@linux:~ #

Which package contains rstatd for Red Hat Enterprise Linux 5.5

The service rstatd is in package rusers-server

https://access.redhat.com/kb/docs/DOC-51169

After installing the package, set the service to start at boot

root@linux:~ # chkconfig rstatd on
root@linux:~ # chkconfig —list | grep rstat
rstatd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
root@linux:~ # chkconfig rusersd on
root@linux:~ # chkconfig —list | grep rusers
rusersd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Start the services

root@linux:~ # service rstatd start
Starting rstat services: [ OK ]
root@linux:~ # service rusersd start
Starting rusers services: [ OK ]

Check the status

root@linux:~ # service rstatd status
rpc.rstatd (pid 2269) is running…
root@linux:~ # service rusersd status
rpc.rusersd (pid 8147 6266 3464) is running…

Sun ILOM targets

Here is the Sun / Oracle ILOM targets

-> help targets

Target Meaning

/ Contains all static objects
/HOST Host Information
/HOST/bootmode Bootmode Control
/HOST/diag Host Diagnostics Control
/HOST/domain Host Domain Info
/HOST/domain/control Control Domain Info
/SYS Sensors, Indicators, and FRU Information
/SP Service Processor
/SP/alertmgmt Alert rule management
/SP/alertmgmt/rules Alert rules
/SP/check_physical_presence Require a physical presence check for certain system commands
/SP/clients Clients that connect to external services
/SP/clients/activedirectory Active Directory sub-directory
/SP/clients/activedirectory/admingroups administrator groups sub-directory
/SP/clients/activedirectory/alternateservers alternate servers sub-directory
/SP/clients/activedirectory/alternateservers/1/cert cert directory
/SP/clients/activedirectory/alternateservers/2/cert cert directory
/SP/clients/activedirectory/alternateservers/3/cert cert directory
/SP/clients/activedirectory/alternateservers/4/cert cert directory
/SP/clients/activedirectory/alternateservers/5/cert cert directory
/SP/clients/activedirectory/cert cert sub-directory
/SP/clients/activedirectory/customgroups custom groups sub-directory
/SP/clients/activedirectory/dnslocatorqueries DNS service record sub-directory
/SP/clients/activedirectory/opergroups operator groups sub-directory
/SP/clients/activedirectory/userdomains user domain sub-directory
/SP/clients/dns DNS resolution configuration
/SP/clients/dns/auto_dns When enabled, any manually configured entries will be overwritten with the values obtained via DHCP.
/SP/clients/dns/nameserver Up to three comma separated name server IP addresses in preferred search order
/SP/clients/dns/retries The number of retry attempts used in the event of a timeout.
/SP/clients/dns/searchpath Up to six comma separated search suffixes in preferred search order
/SP/clients/dns/timeout The number of seconds to wait for a response to a query.
/SP/clients/ldap LDAP Client Properties
/SP/clients/ldapssl LDAP/SSL sub-directory
/SP/clients/ldapssl/admingroups administrator groups sub-directory
/SP/clients/ldapssl/alternateservers alternate servers sub-directory
/SP/clients/ldapssl/alternateservers/1/cert cert directory
/SP/clients/ldapssl/alternateservers/2/cert cert directory
/SP/clients/ldapssl/alternateservers/3/cert cert directory
/SP/clients/ldapssl/alternateservers/4/cert cert directory
/SP/clients/ldapssl/alternateservers/5/cert cert directory
/SP/clients/ldapssl/cert cert sub-directory
/SP/clients/ldapssl/customgroups custom groups sub-directory
/SP/clients/ldapssl/opergroups operator groups sub-directory
/SP/clients/ldapssl/userdomains user domain sub-directory
/SP/clients/ntp NTP configuration
/SP/clients/ntp/server NTP server configuration
/SP/clients/radius RADIUS Client Properties
/SP/clients/smtp SMTP SERVER
/SP/clients/syslog syslogd management
/SP/clients/syslog/1 syslogd remote logging management 1
/SP/clients/syslog/2 syslogd remote logging management 2
/SP/clock Clock management
/SP/config Config Backup / Restore settings
/SP/console Redirection of console stream to SP
/SP/console/history console history
/SP/diag SP/Host Diagnositics Configuration
/SP/diag/snapshot Take snapshot of system for diagnostic purposes
/SP/faultmgmt FRUs with faults
/SP/firmware Firmware Base TARGET
/SP/firmware/localimage Firmware local image TARGET
/SP/firmware/localimage/upload_date Firmware local image date
/SP/firmware/localimage/version Firmware local image version
/SP/logs Log events
/SP/logs/event Designations for event log
/SP/logs/event/list Designations for event log
/SP/network External network interface
/SP/policy Policy Configuration
/SP/serial Serial interfaces
/SP/serial/external External serial interface
/SP/services Available services
/SP/services/http HTTP service
/SP/services/https HTTPS service
/SP/services/https/ssl HTTPS SSL Certficate Settings
/SP/services/https/ssl/custom_cert Custom SSL Certficate Settings
/SP/services/https/ssl/custom_key Custom SSL Private Key Settings
/SP/services/https/ssl/default_cert Default SSL Certficate Settings
/SP/services/ipmi Management of the IPMI service
/SP/services/servicetag Servicetag configuration
/SP/services/snmp SNMP agent service configuration
/SP/services/snmp/communities snmp communities
/SP/services/snmp/communities/private snmp community
/SP/services/snmp/communities/public snmp community
/SP/services/snmp/users SNMP users
/SP/services/ssh Secure shell
/SP/services/ssh/keys Keys for secure shell
/SP/services/ssh/keys/dsa DSA key for secure shell
/SP/services/ssh/keys/rsa RSA key for secure shell
/SP/services/sso Single Sign-on Configuration
/SP/sessions Session description
/SP/users User description

List all the users on ILOM

-> show /SP/users

/SP/users
Targets:
root

Properties:

Commands:
cd
create
delete
set
show

Creating a new user

-> create /SP/users/admin password=12345678
Creating user…
Created /SP/users/admin

Setting the role to administrator

-> set /SP/users/admin role=Administrator
Set ‘role’ to ‘Administrator’

If you want to use ILOM exactly as an ALOM, set the CLI mode to ALOM

-> set /SP/users/admin cli_mode=alom
Set ‘cli_mode’ to ‘alom’

Disassembling and reassembling the Sanwa JLF-TP-8Y-SK-W from the Mad Catz Tournament Edition – Photos and List of Parts

Removing the ball top, shaft cover and dustwasher @ 4m10s
Disconnecting the cable @ 5m50s


Remove the restrictor plate @ 5m53s
The PCB connector is pointed away from the buttons
Remove the Sanwa JLF-E “E-Clip”, Sanwa JLF-P-5 Actuator, Sanwa JLF-SP Spring

Reassemble

If you need to order the JFL parts from Lizard Lick, here is what’s used inside
Left column: Samwa LB-35 Ball Top, Sanwa JLF-CD Shaft Cover Kit. Center column: Sanwa JLF-P-4 Pivot Cylinder, Sanwa JL-PP1 Dustwasher. Right column: Sanwa JLF-MW Metal Washer, Sanwa JLF-P-6 Spring Cover, Sanwa JLF-SP Spring, Sanwa JLF-P-5 Actuator

Between the joystick and top panel

Between the joystick and top panel goes the pivot cilinder

Put another dustwasher between the joystick and top panel

Joystick

Joystick with Metal Washer

Joystick with Metal Washer and Spring Cover

Joystick with Metal Washer, Spring Cover, Spring and Actuator

When you connect the cable to the 5 pin connector, make sure that the rails are facing up (away from the top panel)