<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
<rss version="0.92">
<channel>
	<title>Parm Patram</title>
	<link>http://oracle.3dub.com</link>
	<description>Oracle, Linux and UNIX tips, tricks and stuff</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:14:25 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>disable usb0 nic RHEL5</title>
		<description>The usb0 NIC sometimes causes problems with certain Oracle grid components on 11g RAC.

Setting the /etc/sysconfig/network-scripts/ifcfg-usb0 'ONBOOT=no' does not always work and the devices fires up again.

You can disable the NIC from even initializing by adding the following as the first line in  /etc/udev/rules.d/60-net.rules
ACTION=="add", DRIVER=="usb", SYSFS{configuration}=="CDC Ethernet", OPTIONS+="ignore_device, last_rule" </description>
		<link>http://oracle.3dub.com/2012/02/03/disable-usb0-nic-rhel5/</link>
			</item>
	<item>
		<title>Turn on agent debugging (VCS)</title>
		<description>http://www.symantec.com/business/support/index?page=content&id=HOWTO58833 </description>
		<link>http://oracle.3dub.com/2011/12/13/turn-on-agent-debugging-vcs/</link>
			</item>
	<item>
		<title>Solaris fix for boot problems</title>
		<description>A kernel patch caused the machine to panic, leaving it in a confused state. I was able to boot from a CD and back out the patch, but it did not update the boot archive, even after issuing 
/sbin/bootadm update-archive -R /a

to fix:

Boot into the disk failsafe, then run:

/a/boot/solaris/bin/create_ramdisk -R ...</description>
		<link>http://oracle.3dub.com/2011/11/22/solaris-fix-for-boot-problems/</link>
			</item>
	<item>
		<title>make flar for Solaris</title>
		<description>/usr/sbin/flarcreate -cSn "some comment" -a "some_email@somewhere.com" -R / -X /root/exclude_from_flar.txt /path/to/archive.flar

without the '-a' the flar install will fail with the error: "ERROR: Could not find archive" </description>
		<link>http://oracle.3dub.com/2011/11/19/make-flar-for-solaris/</link>
			</item>
	<item>
		<title>fix terminal when in single user mode (Solaris)</title>
		<description>ksh -o vi
export TERM=vt100
/usr/openwin/bin/resize
or, If booted from CD or in failsafe:
/a/usr/openwin/bin/resize
 </description>
		<link>http://oracle.3dub.com/2011/11/17/fix-terminal-when-in-single-user-mode-solaris/</link>
			</item>
	<item>
		<title>Grow ocfs2 partition</title>
		<description>tunefs.ocfs2 -S  </description>
		<link>http://oracle.3dub.com/2011/09/20/grow-ocfs2-partition/</link>
			</item>
	<item>
		<title>See long running jobs in the RAC</title>
		<description>column 
select inst_id,opname, totalwork, sofar, time_remaining from gv$session_longops where totalwork > sofar order by time_remaining; </description>
		<link>http://oracle.3dub.com/2011/08/10/see-long-running-jobs-in-the-rac/</link>
			</item>
	<item>
		<title>Fix disabled or stale VXFS volumes</title>
		<description>
export DG=SOME-DG
clear; for i in `vxprint -ht -g ${DG}&#124;grep DISA&#124; grep ^pl &#124; awk '{print $2}'`; do 
echo  "vxmend -g ${DG} fix stale $i"
echo "vxmend -g ${DG} fix clean $i"; done
vxvol -g ${DG} startall
 </description>
		<link>http://oracle.3dub.com/2011/08/09/fix-disabled-or-stale-vxfs-volumes/</link>
			</item>
	<item>
		<title>Add new mount point to VCS service group</title>
		<description># add volume definition
hares -add SRVS-vol8  Volume  SRVS-SG
hares -modify SRVS-vol8  Critical  0
hares -modify SRVS-vol8  DiskGroup  cjprd
hares -modify SRVS-vol8  Volume  cjprd-vol8
hares -modify SRVS-vol8  Enabled  1
hares -link SRVS-vol8  SRVS-dg   0   0

# Add mount definition
hares -add SRVS-odbf4  Mount  SRVS-SG
hares -modify SRVS-odbf4  Critical  1
hares -modify SRVS-odbf4  SnapUmount  0
hares -modify SRVS-odbf4  CkptUmount  1
hares -modify SRVS-odbf4  ...</description>
		<link>http://oracle.3dub.com/2011/06/21/add-new-mount-point-to-vcs-service-group/</link>
			</item>
	<item>
		<title>LDOM console connection hangs</title>
		<description>Problem: not able to connect to the console

-&#62; start /CH/BL1/SP/cli
Are you sure you want to start /CH/BL1/SP/cli (y/n)? y

...just hangs indefinitely

Solution: We need to reset the serial port to the blade.

-&#62; reset /CH/BL1/SP
Are you sure you want to reset /CH/BL1/SP (y/n)? y
Performing hard reset on /CH/BL1/SP

-&#62; start cli
Are you sure ...</description>
		<link>http://oracle.3dub.com/2011/06/16/ldom-console-connection-hangs/</link>
			</item>
</channel>
</rss>

