<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>IN ORACLE MILIEU ...</title>
	
	<link>http://advait.wordpress.com</link>
	<description>Beyond Knowledge</description>
	<pubDate>Tue, 23 Sep 2008 12:52:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/advait" type="application/rss+xml" /><feedburner:emailServiceId>1606461</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>Logical Volume Manager and Logical Volumes - Linux</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/400765869/</link>
		<comments>http://advait.wordpress.com/2008/09/23/logical-volume-manager-and-logical-volumes-linux/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 12:50:06 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[creating logical volume]]></category>

		<category><![CDATA[Logical Volume manager]]></category>

		<category><![CDATA[lvcreate]]></category>

		<category><![CDATA[LVM in linux]]></category>

		<category><![CDATA[pvcreate]]></category>

		<category><![CDATA[vgcreate]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=524</guid>
		<description><![CDATA[Introduction
This post describes what is LVM (Logical Volume Manager) in Linux and how to create Logical volumes.
LVM is a higher level layer of abstraction then traditional linux disk and partitions. This allows for greater flexibility in allocating storage. Logical volumes can be resized and moved between physical devices easily. Physical devices can be added and [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Introduction</strong></span></p>
<p>This post describes what is LVM (Logical Volume Manager) in Linux and how to create Logical volumes.</p>
<p>LVM is a higher level layer of abstraction then traditional linux disk and partitions. This allows for greater flexibility in allocating storage. Logical volumes can be resized and moved between physical devices easily. Physical devices can be added and removed with relative ease. LVM managed volumes can also have sensible names like &#8220;database&#8221; or &#8220;home&#8221; rather then somewhat cryptic &#8220;sda&#8221; or &#8220;hda&#8221; device names.</p>
<p><a href="http://advait.files.wordpress.com/2008/09/11.jpg"><img class="alignnone size-full wp-image-525" title="11" src="http://advait.files.wordpress.com/2008/09/11.jpg?w=658&#038;h=346" alt="" width="658" height="346" /></a></p>
<p>As shown in above figure,</p>
<ul>
<li>Devices are designated as Physical Volume</li>
<li>One or more physical volumes are used to create volume group</li>
<li>Physical volumes are defined with Physical extents of a fixed size</li>
<li>Logical volumes are created on volume group and are composed of physical extents</li>
<li>File system may be created on Logical Volume</li>
</ul>
<p><span style="text-decoration:underline;"><strong>Creating Logical Volume</strong></span></p>
<p>Creating Logical volume is a 6 step process</p>
<p><span style="text-decoration:underline;">1) Create a partitions of the type Linux LVM. </span>The code for this is 8e. For details about creating partitions check the previous post <a href="http://advait.wordpress.com/2008/09/13/creating-partition-and-filesystem-in-linux/" target="_self">Creating Partition and Filesystem in Linux</a>.</p>
<p><span style="color:#0000ff;">Command (m for help): p</span></p>
<p><span style="color:#0000ff;">Disk /dev/sdb: 5368 MB, 5368709120 bytes<br />
255 heads, 63 sectors/track, 652 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1         123      987966   8e  Linux LVM<br />
/dev/sdb2             124         246      987997+  8e  Linux LVM<br />
/dev/sdb3             247         369      987997+  8e  Linux LVM<br />
/dev/sdb4             370         652     2273197+   5  Extended<br />
/dev/sdb5             370         492      987966   8e  Linux LVM<br />
/dev/sdb6             493         615      987966   8e  Linux LVM</span></p>
<p><span style="color:#0000ff;">Command (m for help): w<br />
The partition table has been altered!</span></p>
<p><span style="color:#0000ff;">Calling ioctl() to re-read partition table.<br />
Syncing disks.</span></p>
<p>run partprobe command for kernel to read the partition table</p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# partprobe</strong><br />
Warning: Unable to open /dev/hdc read-write (Read-only file system).  /dev/hdc has been opened read-only.<br />
<strong>[root@localhost ~]# cat /proc/partitions </strong><br />
major minor  #blocks  name</span></p>
<p><span style="color:#0000ff;">8     0   10485760 sda<br />
8     1     104391 sda1<br />
8     2    3068415 sda2<br />
8     3    3068415 sda3<br />
8     4          1 sda4<br />
8     5    1020096 sda5<br />
8     6    1020096 sda6<br />
8     7     514048 sda7<br />
8     8     987966 sda8<br />
8    16    5242880 sdb<br />
8    17     987966 sdb1<br />
8    18     987997 sdb2<br />
8    19     987997 sdb3<br />
8    20          1 sdb4<br />
8    21     987966 sdb5<br />
8    22     987966 sdb6</span></p>
<p><span style="text-decoration:underline;">2) Create a phyical volume out of these partitions</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# pvcreate /dev/sdb1</strong><br />
Physical volume &#8220;/dev/sdb1&#8243; successfully created<br />
<strong>[root@localhost ~]# pvcreate /dev/sdb2</strong><br />
Wiping software RAID md superblock on /dev/sdb2<br />
Physical volume &#8220;/dev/sdb2&#8243; successfully created<br />
<strong>[root@localhost ~]# pvcreate /dev/sdb3</strong><br />
Wiping software RAID md superblock on /dev/sdb3<br />
Physical volume &#8220;/dev/sdb3&#8243; successfully created</span></p>
<p><span style="text-decoration:underline;">3) Create a volume group using these physical volumes</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# vgcreate vg0 /dev/sdb1 /dev/sdb2</strong><br />
Volume group &#8220;vg0&#8243; successfully created</span></p>
<p><span style="text-decoration:underline;">4) Create a logical volume from this volume group</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# lvcreate -L 512M -n data vg0</strong><br />
Logical volume &#8220;data&#8221; created</span></p>
<p><span style="text-decoration:underline;">5) Formatting the logical volume</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# mkfs.ext3 /dev/vg0/data</strong><br />
mke2fs 1.39 (29-May-2006)<br />
Filesystem label=<br />
OS type: Linux<br />
Block size=1024 (log=0)<br />
Fragment size=1024 (log=0)<br />
131072 inodes, 524288 blocks<br />
26214 blocks (5.00%) reserved for the super user<br />
First data block=1<br />
Maximum filesystem blocks=67633152<br />
64 block groups<br />
8192 blocks per group, 8192 fragments per group<br />
2048 inodes per group<br />
Superblock backups stored on blocks:<br />
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409</span></p>
<p><span style="color:#0000ff;">Writing inode tables: done<br />
Creating journal (16384 blocks): done<br />
Writing superblocks and filesystem accounting information: done</span></p>
<p><span style="color:#0000ff;">This filesystem will be automatically checked every 21 mounts or<br />
180 days, whichever comes first.  Use tune2fs -c or -i to override.</span></p>
<p><span style="text-decoration:underline;">6) Mount the logical volume</span><br />
<strong><br />
</strong><span style="color:#0000ff;"><strong>[root@localhost ~]# mkdir /vol0<br />
[root@localhost ~]# mount /dev/vg0/data /vol0<br />
[root@localhost ~]# cd /vol0/</strong><br />
<strong>[root@localhost vol0]# df -h .</strong><br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/mapper/vg0-data  496M   19M  452M   4% /vol0</span></p>
<p>Hope this helps !!</p>
Posted in Linux System Administration&nbsp;&nbsp;&nbsp;Tagged: creating logical volume, Logical Volume manager, lvcreate, LVM in linux, pvcreate, vgcreate&nbsp;&nbsp;&nbsp;<a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/524/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=524&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=ecxQCv"><img src="http://feeds.feedburner.com/~a/advait?i=ecxQCv" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/400765869" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/23/logical-volume-manager-and-logical-volumes-linux/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>

		<media:content url="http://advait.files.wordpress.com/2008/09/11.jpg" medium="image">
			<media:title type="html">11</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F23%2Flogical-volume-manager-and-logical-volumes-linux%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/23/logical-volume-manager-and-logical-volumes-linux/</feedburner:origLink></item>
		<item>
		<title>Simulating the RAID Failure</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/397008756/</link>
		<comments>http://advait.wordpress.com/2008/09/19/simulating-the-raid-failure/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 07:38:15 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[adding disk to raid]]></category>

		<category><![CDATA[RAID failure]]></category>

		<category><![CDATA[removing disk from RAID]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=522</guid>
		<description><![CDATA[This post is about simulating the failure of software RAID. We change the status of hardware partition as failed and simulate the failure.
Here we are using Level 1 raid as explained in by previous post Configuring software RAID (Level 1) on Linux. We are using 2 partitions here /dev/sdb1and /dev/sdb2. We will make /dev/sdb2 fail [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This post is about simulating the failure of software RAID. We change the status of hardware partition as failed and simulate the failure.</p>
<p>Here we are using Level 1 raid as explained in by previous post <a href="http://advait.wordpress.com/2008/09/17/configuring-software-raid-level-1-on-linux/" target="_blank">Configuring software RAID (Level 1) on Linux</a>. We are using 2 partitions here /dev/sdb1and /dev/sdb2. We will make /dev/sdb2 fail and then replace that with a new partition /dev/sdb3 of same size.</p>
<p>Status of current RAID can be obtained using</p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# cat /proc/mdstat</strong><br />
Personalities : [raid1]<br />
md0 : active raid1 sdb2[1] sdb1[0]<br />
987840 blocks [2/2] [UU]</p>
<p>unused devices: &lt;none&gt;</span></p>
<p>Simulation of software RAID can be done easily using following 3 steps.</p>
<p><span style="text-decoration:underline;">1) Make the device fail.</span></p>
<p>You can make the device fail using mdadm -f command.</p>
<p><strong>[</strong><span style="color:#0000ff;"><strong>root@localhost avdeo]# mdadm -f /dev/md0 /dev/sdb2</strong><br />
mdadm: set /dev/sdb2 faulty in /dev/md0</p>
<p>If we check /proc/mdstat we can see that device has been marked as faulty</p>
<p><strong>[root@localhost avdeo]# cat /proc/mdstat</strong><br />
Personalities : [raid1]<br />
md0 : active raid1 sdb2[2]<strong>(F)</strong> sdb1[0]<br />
987840 blocks [2/1] [U_]</p>
<p>unused devices: &lt;none&gt;</span></p>
<p>we can also see the messages in /var/log/messages file</p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# tail -f /var/log/messages</strong><br />
Sep 16 09:04:33 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.<br />
Sep 16 09:17:05 localhost kernel: raid1: Disk failure on sdb2, disabling device.<br />
Sep 16 09:17:05 localhost kernel:       Operation continuing on 1 devices<br />
Sep 16 09:17:05 localhost kernel: RAID1 conf printout:<br />
Sep 16 09:17:05 localhost kernel:  &#8212; wd:1 rd:2<br />
Sep 16 09:17:05 localhost kernel:  disk 0, wo:0, o:1, dev:sdb1<br />
Sep 16 09:17:05 localhost kernel:  disk 1, wo:1, o:0, dev:sdb2<br />
Sep 16 09:17:05 localhost kernel: RAID1 conf printout:<br />
Sep 16 09:17:05 localhost kernel:  &#8212; wd:1 rd:2<br />
Sep 16 09:17:05 localhost kernel:  disk 0, wo:0, o:1, dev:sdb1</span></p>
<p><span style="text-decoration:underline;">2) Remove the device from RAID</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# mdadm &#8211;remove /dev/md0 /dev/sdb2</strong><br />
mdadm: hot removed /dev/sdb2</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# cat /proc/mdstat </strong><br />
Personalities : [raid1]<br />
md0 : active raid1 sdb1[0]<br />
987840 blocks [2/1] [U_]</p>
<p>unused devices: &lt;none&gt;</span></p>
<p>As we can see sdb2 is not seen in /proc/mdstat</p>
<p>Also if we check mdadm &#8211;detail command we can see that /dev/sdb2 has been removed.</p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# mdadm &#8211;detail /dev/md0</strong><br />
/dev/md0:<br />
Version : 00.90.03<br />
Creation Time : Tue Sep 16 08:59:31 2008<br />
Raid Level : raid1<br />
Array Size : 987840 (964.85 MiB 1011.55 MB)<br />
Device Size : 987840 (964.85 MiB 1011.55 MB)<br />
Raid Devices : 2<br />
Total Devices : 1<br />
Preferred Minor : 0<br />
Persistence : Superblock is persistent</p>
<p>Update Time : Tue Sep 16 09:19:08 2008<br />
State : clean, degraded<br />
Active Devices : 1<br />
Working Devices : 1<br />
Failed Devices : 0<br />
Spare Devices : 0</p>
<p>UUID : dcf37c14:179f9a7a:ed1f46c6:a8160267<br />
Events : 0.6</p>
<p>Number   Major   Minor   RaidDevice State<br />
0       8       17        0      active sync   /dev/sdb1<br />
1       0        0        1      <strong>removed</strong></span></p>
<p><span style="text-decoration:underline;">3) Add a new device</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# mdadm &#8211;add /dev/md0 /dev/sdb3</strong><br />
mdadm: added /dev/sdb3</span></p>
<p>Check mdadm &#8211;detail</p>
<p><span style="color:#0000ff;"><strong>[root@localhost avdeo]# mdadm &#8211;detail /dev/md0</strong><br />
/dev/md0:<br />
Version : 00.90.03<br />
Creation Time : Tue Sep 16 08:59:31 2008<br />
Raid Level : raid1<br />
Array Size : 987840 (964.85 MiB 1011.55 MB)<br />
Device Size : 987840 (964.85 MiB 1011.55 MB)<br />
Raid Devices : 2<br />
Total Devices : 2<br />
Preferred Minor : 0<br />
Persistence : Superblock is persistent</p>
<p>Update Time : Tue Sep 16 09:19:08 2008<br />
State : clean, degraded, recovering<br />
Active Devices : 1<br />
Working Devices : 2<br />
Failed Devices : 0<br />
Spare Devices : 1</p>
<p>Rebuild Status : 34% complete</p>
<p>UUID : dcf37c14:179f9a7a:ed1f46c6:a8160267<br />
Events : 0.6</p>
<p>Number   Major   Minor   RaidDevice State<br />
0       8       17        0      active sync   /dev/sdb1<br />
2       8       19        1      <strong>spare rebuilding   /dev/sdb3</strong></span></p>
<p>Thats it !! we are done.</p>
<p>Hope this helps !!</p>
Posted in Linux System Administration&nbsp;&nbsp;&nbsp;Tagged: adding disk to raid, RAID failure, removing disk from RAID&nbsp;&nbsp;&nbsp;<a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=522&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=IXK2Nk"><img src="http://feeds.feedburner.com/~a/advait?i=IXK2Nk" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/397008756" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/19/simulating-the-raid-failure/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F19%2Fsimulating-the-raid-failure%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/19/simulating-the-raid-failure/</feedburner:origLink></item>
		<item>
		<title>Oracle EBS R12 is now certified with 11g Database</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/396462048/</link>
		<comments>http://advait.wordpress.com/2008/09/18/oracle-ebs-r12-is-now-certified-with-11g-database/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 18:45:04 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Oracle Application R12]]></category>

		<category><![CDATA[Oracle Database 11g]]></category>

		<category><![CDATA[R12 certified with 11g]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=520</guid>
		<description><![CDATA[Today, Oracle has announced that Oracle E-Business Suite R12 is certified with Oracle database 11g R1, the project I was actively involved into.
This announcement for EBS Release 12 version 12.0.4 and up includes:

Oracle Database 11gR1 Version 11.1.0.6
Oracle Database 11gR1 Version 11.1.0.6  Real Application Clusters (RAC)

Prerequisites &#38; Interoperability
For prerequisites and interoperability, refer to the relevant OracleMetalink [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today, Oracle has announced that Oracle E-Business Suite R12 is certified with Oracle database 11g R1, the project I was actively involved into.</p>
<p>This announcement for EBS Release 12 version 12.0.4 and up includes:</p>
<ul>
<li>Oracle Database 11gR1 Version 11.1.0.6</li>
<li>Oracle Database 11gR1 Version 11.1.0.6  Real Application Clusters (RAC)</li>
</ul>
<p><span style="text-decoration:underline;"><strong>Prerequisites &amp; Interoperability</strong></span></p>
<p>For prerequisites and interoperability, refer to the relevant OracleMetalink Notes listed in the documentation section below.</p>
<p><span style="text-decoration:underline;"><strong>Platforms certified</strong></span></p>
<ul>
<li>Linux x86</li>
<li>IBM AIX</li>
<li>Sun Solaris SPARC</li>
<li>HP-UX PA-RISC</li>
<li>HP-UX Itanium</li>
<li>Linux x86-64</li>
</ul>
<p><span style="text-decoration:underline;"><strong>Documentation</strong></span></p>
<ul>
<li>OracleMetalink Note 735276.1 - Interoperability Notes E-Business Suite R12 with Oracle Database 11gR1 (11.1.0)</li>
<li>OracleMetalink Note 466649.1 - Using Oracle 11g Release 1 Real Application Clusters and Automatic Storage Management with Oracle E-Business Suite Release 12</li>
</ul>
Posted in Oracle Application R12, Oracle Database 11g&nbsp;&nbsp;&nbsp;Tagged: R12 certified with 11g&nbsp;&nbsp;&nbsp;<a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=520&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=RrgtXY"><img src="http://feeds.feedburner.com/~a/advait?i=RrgtXY" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/396462048" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/18/oracle-ebs-r12-is-now-certified-with-11g-database/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F18%2Foracle-ebs-r12-is-now-certified-with-11g-database%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/18/oracle-ebs-r12-is-now-certified-with-11g-database/</feedburner:origLink></item>
		<item>
		<title>Configuring software RAID (Level 1) on Linux</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/395189965/</link>
		<comments>http://advait.wordpress.com/2008/09/17/configuring-software-raid-level-1-on-linux/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 13:23:33 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[mdadm]]></category>

		<category><![CDATA[RAID]]></category>

		<category><![CDATA[raid configuration]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=517</guid>
		<description><![CDATA[Introduction
This post is about creating a software RAID using the existing partitions. Usually for RAID device we should use different disk. But here since I don&#8217;t have that much hardware available, use partitions to demonstrate the software RAID configuration.
There are different level of RAID available. We can create level 0, level 1 and level 5 [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Introduction</strong></span></p>
<p>This post is about creating a software RAID using the existing partitions. Usually for RAID device we should use different disk. But here since I don&#8217;t have that much hardware available, use partitions to demonstrate the software RAID configuration.</p>
<p>There are different level of RAID available. We can create level 0, level 1 and level 5 RAID using software RAID.</p>
<p>Following table gives a brief idea about different RAID level possible by software RAID.</p>
<p>Assuming that each disk is of 10G here we can have</p>
<p><!--[if gte mso 9]&gt; Normal   0 &lt;![endif]--><!--  --></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="91" valign="top"><strong>RAID Level</strong></td>
<td width="156" valign="top"><strong>Min # Disk Required</strong></td>
<td width="132" valign="top"><strong>Effective Storage</strong></td>
<td width="211" valign="top"><strong>Technique</strong></td>
</tr>
<tr>
<td width="91" valign="top">Level 0</td>
<td width="156" valign="top">2</td>
<td width="132" valign="top">20G</td>
<td width="211" valign="top">Stripping</td>
</tr>
<tr>
<td width="91" valign="top">Level 1</td>
<td width="156" valign="top">2</td>
<td width="132" valign="top">10G</td>
<td width="211" valign="top">Mirroring</td>
</tr>
<tr>
<td width="91" valign="top">Level 5</td>
<td width="156" valign="top">3</td>
<td width="132" valign="top">20G</td>
<td width="211" valign="top">Stripping with parity</td>
</tr>
<tr>
<td width="91" valign="top">Level 6</td>
<td width="156" valign="top">6</td>
<td width="132" valign="top">20G</td>
<td width="211" valign="top">Stripping with multiple parity</td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;"><strong>Configuring RAID</strong></span></p>
<p>Following are the simple steps to be done as a system administrator to configure software RAID. I am creating Level 1 RAID here.</p>
<p><span style="text-decoration:underline;">Step 1) Creating RAID partitions</span></p>
<p>RAID partitions are of type fd (Linux RAID Autodetect). Creating 5 partitions of type fd, each of size 1G.</p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# fdisk /dev/sdb</strong></span></p>
<p><span style="color:#0000ff;">Command (m for help): p</span></p>
<p><span style="color:#0000ff;">Disk /dev/sdb: 5368 MB, 5368709120 bytes<br />
255 heads, 63 sectors/track, 652 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Device Boot      Start         End      Blocks   Id  System</span></p>
<p><span style="color:#0000ff;">Command (m for help): n<br />
Command action<br />
e   extended<br />
p   primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-652, default 1):<br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-652, default 652): +1G</span></p>
<p><span style="color:#0000ff;">Command (m for help): t<br />
Selected partition 1<br />
Hex code (type L to list codes): L</span></p>
<p><span style="color:#0000ff;">0  Empty           1e  Hidden W95 FAT1 80  Old Minix       be  Solaris boot<br />
1  FAT12           24  NEC DOS         81  Minix / old Lin bf  Solaris<br />
2  XENIX root      39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-<br />
3  XENIX usr       3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-<br />
4  FAT16 &lt;32M      40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-<br />
5  Extended        41  PPC PReP Boot   85  Linux extended  c7  Syrinx<br />
6  FAT16           42  SFS             86  NTFS volume set da  Non-FS data<br />
7  HPFS/NTFS       4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .<br />
8  AIX             4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility<br />
9  AIX bootable    4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt<br />
a  OS/2 Boot Manag 50  OnTrack DM      93  Amoeba          e1  DOS access<br />
b  W95 FAT32       51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O<br />
c  W95 FAT32 (LBA) 52  CP/M            9f  BSD/OS          e4  SpeedStor<br />
e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs<br />
f  W95 Ext&#8217;d (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  EFI GPT<br />
10  OPUS            55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/<br />
11  Hidden FAT12    56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b<br />
12  Compaq diagnost 5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor<br />
14  Hidden FAT16 &lt;3 61  SpeedStor       a9  NetBSD          f4  SpeedStor<br />
16  Hidden FAT16    63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary<br />
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fd  Linux raid auto<br />
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fe  LANstep<br />
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid ff  BBT<br />
1c  Hidden W95 FAT3 75  PC/IX<br />
Hex code (type L to list codes): fd<br />
Changed system type of partition 1 to fd (Linux raid autodetect)</span></p>
<p><span style="color:#0000ff;">Command (m for help): p</span></p>
<p><span style="color:#0000ff;">Disk /dev/sdb: 5368 MB, 5368709120 bytes<br />
255 heads, 63 sectors/track, 652 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1         123      987966   fd  Linux raid autodetect</span></p>
<p><span style="color:#000000;">Like wise create 4 more partition</span></p>
<p>at the end it should look like as shown below</p>
<p><span style="color:#0000ff;">Command (m for help): p</span></p>
<p><span style="color:#0000ff;">Disk /dev/sdb: 5368 MB, 5368709120 bytes<br />
255 heads, 63 sectors/track, 652 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1         123      987966   fd  Linux raid autodetect<br />
/dev/sdb2             124         246      987997+  fd  Linux raid autodetect<br />
/dev/sdb3             247         369      987997+  fd  Linux raid autodetect<br />
/dev/sdb4             370         652     2273197+   5  Extended<br />
/dev/sdb5             370         492      987966   fd  Linux raid autodetect<br />
/dev/sdb6             493         615      987966   fd  Linux raid autodetect</span></p>
<p><span style="color:#0000ff;">Command (m for help): w<br />
The partition table has been altered!</span></p>
<p><span style="color:#0000ff;">Calling ioctl() to re-read partition table.<br />
Syncing disks.</span></p>
<p><span style="text-decoration:underline;">Step 2) Running partprobe</span></p>
<p>Running partprobe will ask kernel to read the partition table from disk into memory, so that new partition will be in effect.</p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# partprobe</strong><br />
Warning: Unable to open /dev/hdc read-write (Read-only file system).  /dev/hdc has been opened read-only.<br />
<strong>[root@localhost ~]# cat /proc/partitions</strong><br />
major minor  #blocks  name</span></p>
<p><span style="color:#0000ff;">8     0   10485760 sda<br />
8     1     104391 sda1<br />
8     2    3068415 sda2<br />
8     3    3068415 sda3<br />
8     4          1 sda4<br />
8     5    1020096 sda5<br />
8     6    1020096 sda6<br />
8     7     514048 sda7<br />
8     8     987966 sda8<br />
8    16    5242880 sdb<br />
8    17     987966 sdb1<br />
8    18     987997 sdb2<br />
8    19     987997 sdb3<br />
8    20          1 sdb4<br />
8    21     987966 sdb5<br />
8    22     987966 sdb6</span></p>
<p><span style="text-decoration:underline;">Step 3) Create a RAID device of defined level.</span></p>
<p>Here we are using /dev/sdb1 and /dev/sdb2 partition to create Level 1 RAID.</p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# mdadm -C /dev/md0 -a yes -l 1 -n 2 /dev/sdb{1,2}</strong><br />
mdadm: array /dev/md0 started.</span></p>
<p>Here mdadm is the command to create raid device<br />
-C is the create option<br />
/dev/md0 is the device name<br />
-a yes option is to create a RAID file if it doesnt exists<br />
-l 1 is the RAID level 1 (mirroring)<br />
-n 2 is number of device 2<br />
/dev/sdb{1,2} are the device names (/dev/sdb1, /dev/sdb2)</p>
<p><span style="text-decoration:underline;">Step 4) Format the RAID device</span></p>
<p>Once the RAID device is created, next step is to format the device. We will format for ext3 type.</p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# mkfs.ext3 /dev/md0</strong><br />
mke2fs 1.39 (29-May-2006)<br />
Filesystem label=<br />
OS type: Linux<br />
Block size=4096 (log=2)<br />
Fragment size=4096 (log=2)<br />
123648 inodes, 246960 blocks<br />
12348 blocks (5.00%) reserved for the super user<br />
First data block=0<br />
Maximum filesystem blocks=255852544<br />
8 block groups<br />
32768 blocks per group, 32768 fragments per group<br />
15456 inodes per group<br />
Superblock backups stored on blocks:<br />
32768, 98304, 163840, 229376</span></p>
<p><span style="color:#0000ff;">Writing inode tables: done<br />
Creating journal (4096 blocks): done<br />
Writing superblocks and filesystem accounting information: done</span></p>
<p><span style="color:#0000ff;">This filesystem will be automatically checked every 33 mounts or<br />
180 days, whichever comes first.  Use tune2fs -c or -i to override.</span></p>
<p><span style="text-decoration:underline;">Step 5) Last step is mounting the file system</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# mkdir /raid1<br />
[root@localhost ~]# mount /dev/md0 /raid1<br />
[root@localhost ~]# cd /raid1<br />
[root@localhost raid1]# df -h .</strong><br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/md0              950M   18M  885M   2% /raid1</span></p>
<p>As we know that RAID 1 is mirroring, so effective disk space is half that of the provided disk. Here we provided 2 disk partitions of 1G each. So the effective disk space is approx 1G.</p>
<p>You can see the details of RAID device using mdadm &#8211;detail command as shown below</p>
<p><span style="color:#0000ff;"><strong>[root@localhost raid1]# mdadm &#8211;detail /dev/md0</strong><br />
/dev/md0:<br />
Version : 00.90.03<br />
Creation Time : Tue Sep 16 08:59:31 2008<br />
Raid Level : raid1<br />
Array Size : 987840 (964.85 MiB 1011.55 MB)<br />
Device Size : 987840 (964.85 MiB 1011.55 MB)<br />
Raid Devices : 2<br />
Total Devices : 2<br />
Preferred Minor : 0<br />
Persistence : Superblock is persistent</span></p>
<p><span style="color:#0000ff;">Update Time : Tue Sep 16 09:02:11 2008<br />
State : clean<br />
Active Devices : 2<br />
Working Devices : 2<br />
Failed Devices : 0<br />
Spare Devices : 0</span></p>
<p><span style="color:#0000ff;">UUID : dcf37c14:179f9a7a:ed1f46c6:a8160267<br />
Events : 0.2</span></p>
<p><span style="color:#0000ff;">Number   Major   Minor   RaidDevice State<br />
0       8       17        0      active sync   /dev/sdb1<br />
1       8       18        1      active sync   /dev/sdb2</span></p>
<p><span style="text-decoration:underline;">Step 6) Adding a RAID device to /etc/fstab</span></p>
<p><span style="color:#0000ff;"><strong>[root@localhost ~]# cat /etc/fstab | grep md</strong><br />
/dev/md0                /raid1                  ext3    defaults        0 0</span></p>
<p>Next post, we will simulate the failure of one of the RAID disk and try to replace the same.</p>
<p>Hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/517/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/517/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/517/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=517&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=xklrdB"><img src="http://feeds.feedburner.com/~a/advait?i=xklrdB" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/395189965" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/17/configuring-software-raid-level-1-on-linux/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F17%2Fconfiguring-software-raid-level-1-on-linux%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/17/configuring-software-raid-level-1-on-linux/</feedburner:origLink></item>
		<item>
		<title>Cron and Anacron - Linux Scheduling Utility</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/393405630/</link>
		<comments>http://advait.wordpress.com/2008/09/15/cron-and-anacron-linux-scheduling-utility/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 17:11:32 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[anacron]]></category>

		<category><![CDATA[cron]]></category>

		<category><![CDATA[cron scheduling]]></category>

		<category><![CDATA[crontab]]></category>

		<category><![CDATA[linux scheduling]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=515</guid>
		<description><![CDATA[Introduction
cron is a scheduling utility used by normal user to schedule recurring events. cron exists for every user. We can place any program of any script which we want to schedule to run periodically in side cron. We can also give the timing information for the script to run.
Placing entry in crontab
We can place the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Introduction</strong></span></p>
<p>cron is a scheduling utility used by normal user to schedule recurring events. cron exists for every user. We can place any program of any script which we want to schedule to run periodically in side cron. We can also give the timing information for the script to run.</p>
<p><span style="text-decoration:underline;"><strong>Placing entry in crontab</strong></span></p>
<p>We can place the entry in cron using &#8220;<strong>crontab -e</strong>&#8221; command. -e arguement is for edit.<br />
Entry in cron tab needs to be plcaed in specific format. Following is the required format.</p>
<p><span style="color:#0000ff;">&lt;Minutes&gt; &lt;Hours&gt; &lt;Day Of Month&gt; &lt;Month&gt; &lt;Day of Week&gt; &lt;Script Name and arguement to scrip&gt;<br />
0-59           0-23        1-31                    1-12        0-7                   &lt;Script Name and arguement to scrip&gt;<br />
</span><br />
<span style="text-decoration:underline;">Example:</span></p>
<p>To run script every sunday at 1:00 PM</p>
<p><span style="color:#0000ff;">00  13  * * 0 &lt;Script to be executed&gt;</span></p>
<p>* indicates all values. So above setting will execute script at 13:00 hours on all days of month and in all months and on sunday. The last 0 indicates sunday. The days of week start from 0 (or 7) which means sunday, 1 means monday etc, 6 means saturday.</p>
<p>To run the script on 10th Day of every 3rd month at 5:30 AM</p>
<p><span style="color:#0000ff;">30 05 10 3,6,9,12 * &lt;script to be executed&gt;</span></p>
<p>So above setting will run the script on 10th day of 3rd, 6th, 9th and 12th month of year at 5:30 AM.</p>
<p>When ever a user creates a cron a file gets created in /var/spool/cron directory by the name of that user. If you cat this file you will see all the crons setup by that user.</p>
<p>A user can list the cron using <strong>crontab -l</strong></p>
<p><span style="text-decoration:underline;">Example:</span></p>
<p><span style="color:#0000ff;">[avdeo@localhost ~]$ crontab -l<br />
00 10 * * * echo &#8220;Message&#8221; &gt; /dev/null</span></p>
<p>You can remove the cron using &#8220;<strong>crontab -r</strong>&#8221; command.</p>
<p><span style="text-decoration:underline;"><strong>Crons for root (sysadmin)</strong></span></p>
<p>When linux is installed, by defauly some crons get installed. These are the system crons. These crons are required by system for carrying out some system maintenance activities. Example, some of the system maintenance activity.</p>
<p>System crons are installed in a file called /etc/crontab</p>
<p><span style="color:#0000ff;"><strong>-bash-3.00$ cat /etc/crontab</strong><br />
SHELL=/bin/bash<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin<br />
MAILTO=root<br />
HOME=/</p>
<p># run-parts<br />
01 * * * * root run-parts /etc/cron.hourly<br />
02 4 * * * root run-parts /etc/cron.daily<br />
22 4 * * 0 root run-parts /etc/cron.weekly<br />
42 4 1 * * root run-parts /etc/cron.monthly</span></p>
<p>The format of this file is different then user cron.</p>
<p>Example, if we see the following line</p>
<p><span style="color:#0000ff;">02 4 * * * root run-parts /etc/cron.daily</span></p>
<p>Here the first 5 values are similar to the normal cron value. The 6th value is the username which will be used to run the comamnd in the seventh field. run-parts is the script present in /usr/bin directory. This script take 1 arguements. In this case the arguement we are passing is /etc/cron.daily.<br />
/etc/cron.daily is the directory which contains several script that needs to be run daily. So any script which needs to be run daily as a root can be put in this directory. Also we have directories like /etc/cron.hourly, /etc/cron.weekly, /etc/cron.monthly etc</p>
<p>So all the scripts in /etc/cron.daily directory will run daily at 4:02 AM.</p>
<p><span style="text-decoration:underline;"><strong>Anacron</strong></span></p>
<p>Anacron is another utility that runs the jobs which didnt run because the server was down. For example if there are certain critical jobs which are scheduled to run daily and should never be skipped and suppose that server was down at the time these critical jobs are scheduled in cron to run. Then in such cases cron will not run these script at later point of time when the server comes up. Cron only run the script at specified time. once that time limit is skipped, the programs are run only on next cycle.<br />
Anacron is the utility which can rescue at such situation.</p>
<p><span style="text-decoration:underline;">This is how the anacron works:</span></p>
<p>When the cron runs the run-parts script from /etc/crontab for cron.daily, cron.weekly, cron.monthly, the first command that it runs is 0anacron. This command sets a time stamp in the files present in <span style="color:#0000ff;">/var/spool/anacron</span></p>
<p><span style="color:#0000ff;"><strong>-bash-3.00$ ls -lrt /var/spool/anacron/cron*</strong><br />
-rw&#8212;&#8212;-  1 root root 9 Sep  1 04:42 /var/spool/anacron/cron.monthly<br />
-rw&#8212;&#8212;-  1 root root 9 Sep 14 04:33 /var/spool/anacron/cron.weekly<br />
-rw&#8212;&#8212;-  1 root root 9 Sep 15 04:04 /var/spool/anacron/cron.daily</span></p>
<p>Example if we see the file /var/spool/anacron/cron.daily we see yesterdays time stamp.</p>
<p><span style="color:#0000ff;"><strong>[root@localhost ]# cat /var/spool/anacron/cron.daily</strong><br />
20080916</span></p>
<p>This is the time stamp when the command in /etc/cron.daily was last run.</p>
<p>On boot up, anacron command runs and check these files present in /var/spool/anacron/ directory and check the time stamp.</p>
<p>Anacron has its own config file /etc/anacrontab. This file tells which script should be run at what time interval. The config file looks as shown below.</p>
<p><span style="color:#0000ff;"><strong>-bash-3.00$ cat /etc/anacrontab </strong><br />
# /etc/anacrontab: configuration file for anacron</p>
<p># See anacron(8) and anacrontab(5) for details.</p>
<p>SHELL=/bin/sh<br />
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin<br />
MAILTO=root</p>
<p>1       65      cron.daily              run-parts /etc/cron.daily<br />
7       70      cron.weekly             run-parts /etc/cron.weekly<br />
30      75      cron.monthly            run-parts /etc/cron.monthly</span></p>
<p>Here the first column gives the frequency with which the script in /etc/cron* directories should run.<br />
If the script have not run at this frequency (as decided by last time stamp in /vatr/spool/anacron/cron* file) then anacron will wait for few minutes (as given by the second column in /etc/anacrontab file above) and then run the commands, thus ensuring that if a server was down during the time that cron should have run these commands, they are, nonethless, run.</p>
<p>Hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/515/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/515/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/515/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=515&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=WQnmEa"><img src="http://feeds.feedburner.com/~a/advait?i=WQnmEa" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/393405630" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/15/cron-and-anacron-linux-scheduling-utility/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F15%2Fcron-and-anacron-linux-scheduling-utility%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/15/cron-and-anacron-linux-scheduling-utility/</feedburner:origLink></item>
		<item>
		<title>Creating Partition and Filesystem in Linux</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/391730760/</link>
		<comments>http://advait.wordpress.com/2008/09/13/creating-partition-and-filesystem-in-linux/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 17:55:26 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[creating filesystem]]></category>

		<category><![CDATA[creating partition]]></category>

		<category><![CDATA[fdisk]]></category>

		<category><![CDATA[mount]]></category>

		<category><![CDATA[partprobe]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=511</guid>
		<description><![CDATA[Introduction
This post describes how to create a partitons in linux and use it. Creating a new partition for use is a 4 step process.

You identify a disk and create a partition using fdisk
You create a file system on that disk and assign a label
You create an entry in /etc/fstab to make partition persistant accrose reboot
You [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Introduction</strong></span></p>
<p>This post describes how to create a partitons in linux and use it. Creating a new partition for use is a 4 step process.</p>
<ol>
<li>You identify a disk and create a partition using fdisk</li>
<li>You create a file system on that disk and assign a label</li>
<li>You create an entry in /etc/fstab to make partition persistant accrose reboot</li>
<li>You mount the partition for access to the user.</li>
</ol>
<p>Lets start with creating a partition from a disk.</p>
<p><span style="text-decoration:underline;"><strong>Creating Partition and filesystem</strong></span></p>
<p>In my system I have /dev/sda as primary device and following are the different partitions</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# df -h </strong><br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/sda2             2.9G  350M  2.4G  13% /<br />
/dev/sda7             487M   18M  444M   4% /home<br />
/dev/sda6             965M   18M  898M   2% /data<br />
/dev/sda3             2.9G  1.7G  1.1G  62% /usr<br />
/dev/sda1              99M   11M   83M  12% /boot<br />
tmpfs                 252M     0  252M   0% /dev/shm<br />
/dev/hdc              2.8G  2.8G     0 100% /cdrom</span></p>
<p>The total size for all these partitions (except cdrom) comes to 7.5G. Addition to that I have 1G swap partition created on /dev/sda5</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# swapon -s</strong><br />
Filename                                Type            Size    Used    Priority<br />
/dev/sda5                               partition       1020088 0       -1</span></p>
<p>So that makes it 8.5G. Total size of /dev/sda is 10G. This leaves 1.5G free for creating another partition.</p>
<p><span style="text-decoration:underline;">1) create a partition using fdisk</span></p>
<p>fdisk -l will give the list of existing partition</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# fdisk -l</strong></span></p>
<p><span style="color:#0000ff;">Disk /dev/sda: 10.7 GB, 10737418240 bytes<br />
255 heads, 63 sectors/track, 1305 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      104391   83  Linux<br />
/dev/sda2              14         395     3068415   83  Linux<br />
/dev/sda3             396         777     3068415   83  Linux<br />
/dev/sda4             778        1305     4241160    5  Extended<br />
/dev/sda5             778         904     1020096   82  Linux swap / Solaris<br />
/dev/sda6             905        1031     1020096   83  Linux<br />
/dev/sda7            1032        1095      514048+  83  Linux</span></p>
<p><span style="color:#0000ff;">Disk /dev/sdb: 5368 MB, 5368709120 bytes<br />
255 heads, 63 sectors/track, 652 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Disk /dev/sdb doesn&#8217;t contain a valid partition table</span></p>
<p>For creating a partition, we can use fdisk followed by device name.</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# fdisk /dev/sda</strong></span></p>
<p><span style="color:#0000ff;">The number of cylinders for this disk is set to 1305.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)</span></p>
<p><span style="color:#0000ff;">Command (m for help): n<br />
First cylinder (1096-1305, default 1096):<br />
Using default value 1096<br />
Last cylinder or +size or +sizeM or +sizeK (1096-1305, default 1305): +1G</span></p>
<p><span style="color:#0000ff;">Command (m for help): p</span></p>
<p><span style="color:#0000ff;">Disk /dev/sda: 10.7 GB, 10737418240 bytes<br />
255 heads, 63 sectors/track, 1305 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</span></p>
<p><span style="color:#0000ff;">Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      104391   83  Linux<br />
/dev/sda2              14         395     3068415   83  Linux<br />
/dev/sda3             396         777     3068415   83  Linux<br />
/dev/sda4             778        1305     4241160    5  Extended<br />
/dev/sda5             778         904     1020096   82  Linux swap / Solaris<br />
/dev/sda6             905        1031     1020096   83  Linux<br />
/dev/sda7            1032        1095      514048+  83  Linux<br />
/dev/sda8            1096        1218      987966   83  Linux</span></p>
<p><span style="color:#0000ff;">Command (m for help): w<br />
The partition table has been altered!</span></p>
<p><span style="color:#0000ff;">Calling ioctl() to re-read partition table.</span></p>
<p><span style="color:#0000ff;">WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br />
The kernel still uses the old table.<br />
The new table will be used at the next reboot.<br />
Syncing disks.</span></p>
<p>The above step creates a raw partition. Here it prompted for</p>
<p><span style="color:#0000ff;">Command (m for help): </span><br />
and we entered &#8220;n&#8221;. &#8220;n&#8221; here means new partition. Then it asked for starting cylinder. By default it takes the cylinder in continuation. Else if we leave some cylinders in between that slot will be empty and we wont be able to use those unless if we want to create the partition of exact that size. So better to accept the default and create a partition in continuous cylinders.</p>
<p>Next input it ask is the end cylinder number. Usually its hard to calculate the number of cylinders depending on the size of slot we need. So we can directly enter the size of slot as +1G or +500M. Here G, M and K can be used representing GB, MB and KB. Remember to use + at the start.</p>
<p>Once these inputs are given, we can use &#8220;p&#8221; to print the partition list and see if its going to create correct partition. Please note that till now nothing has happened. We are just checking our setting by typing &#8220;p&#8221;. After checking when we type &#8220;w&#8221; that time its going to start creating a partition. So we can backoff any time using &#8220;quit&#8221; until we type &#8220;w&#8221;.</p>
<p><span style="text-decoration:underline;">2) create a file system on that partition and assign a label</span></p>
<p>For creating a partition, following command is used.</p>
<p>mkfs.ext3 &lt;options&gt; &lt;partition&gt;</p>
<p>Following are the main and important options</p>
<p>-b &lt;number&gt; -&gt; This represent the block size to be used.<br />
-i &lt;number&gt; -&gt; This represent the block/inode ratio.</p>
<p>inode is a pointer to each and every file in linux. For every file there is an inode. usually its not a good idea to give same number of inodes as number of blocks.</p>
<p>Example:</p>
<p>Partition size = 1000M<br />
block size = 2K<br />
Number of blocks = 500K (1000M/2K)</p>
<p>For each file created, however small it is, its going to use atleast 1 block. And for each file we need 1 inode value.</p>
<p>Now if there are 500K blocks, its not a good idea to give 500K as inode value. Because we are not going to have 500K files. If you thing about it usually in a normal file system some of the file will be larger then 2K (block size). In that case single file will occupy more number of blocks and but still number of inode used for that file will be only 1.</p>
<p>Another disadvantage of giving more number of inode values is that, it will take more space for storing those many values in inode table.</p>
<p>For more options on mkfs.ext3 command, see the man pages.</p>
<p>Lets try creating a file system.</p>
<p><span style="color:#0000ff;">[root@10.176.87.179]# mkfs.ext3 -b 2048 -i 4096 /dev/sda8<br />
mke2fs 1.39 (29-May-2006)<br />
Could not stat /dev/sda8 &#8212; No such file or directory<br />
</span><br />
The device apparently does not exist; did you specify it correctly?</p>
<p>OK. Now we got this error. The reason we got this error is because, even though we created a partition, our kernel does not know about it.</p>
<p>When we create a partition, an entry goes in the partition table of that device. This partition table is maintained in the 1st sector of that device. During booting kernel reads the partition table and loads it in memory.</p>
<p>So does that mean that we need to reboot out system? Apperantly reboot can solve our problem, but we can solve the same without reboot as well. We have a command called partprob which will ask kernel to read the partition table on the device and load into memory. Doing that, kernel will know about new partition.</p>
<p>You can list the current partition which kernel is aware of using /proc/partitions file. /proc is a virtual file system in memory. This contains all the information which kernel is aware of and which is used by kernel.</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# cat /proc/partitions</strong><br />
major minor  #blocks  name</span></p>
<p><span style="color:#0000ff;">8     0   10485760 sda<br />
8     1     104391 sda1<br />
8     2    3068415 sda2<br />
8     3    3068415 sda3<br />
8     4          1 sda4<br />
8     5    1020096 sda5<br />
8     6    1020096 sda6<br />
8     7     514048 sda7<br />
8    16    5242880 sdb</span></p>
<p>So we can see here that partition sda8 is not loaded in memory. Now lets run partprobe command.</p>
<p><strong><span style="color:#0000ff;">[root@10.176.87.179]# partprobe</span></strong></p>
<p>Now if we see /proc/partitions we see sda8</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# cat /proc/partitions</strong><br />
major minor  #blocks  name</span></p>
<p><span style="color:#0000ff;">8     0   10485760 sda<br />
8     1     104391 sda1<br />
8     2    3068415 sda2<br />
8     3    3068415 sda3<br />
8     4          1 sda4<br />
8     5    1020096 sda5<br />
8     6    1020096 sda6<br />
8     7     514048 sda7<br />
8     8     987966 sda8<br />
8    16    5242880 sdb</span></p>
<p>Now try the mkfs.ext3 command.</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# mkfs.ext3 -b 2048 -i 4096 -L /oracle /dev/sda8</strong><br />
mke2fs 1.39 (29-May-2006)<br />
Filesystem label=<br />
OS type: Linux<br />
Block size=2048 (log=1)<br />
Fragment size=2048 (log=1)<br />
247008 inodes, 493982 blocks<br />
24699 blocks (5.00%) reserved for the super user<br />
First data block=0<br />
Maximum filesystem blocks=506462208<br />
31 block groups<br />
16384 blocks per group, 16384 fragments per group<br />
7968 inodes per group<br />
Superblock backups stored on blocks:<br />
16384, 49152, 81920, 114688, 147456, 409600, 442368</span></p>
<p><span style="color:#0000ff;">Writing inode tables: done<br />
Creating journal (8192 blocks): done<br />
Writing superblocks and filesystem accounting information: done</span></p>
<p><span style="color:#0000ff;">This filesystem will be automatically checked every 30 mounts or<br />
180 days, whichever comes first.  Use tune2fs -c or -i to override.</span></p>
<p>So it has created the required file system.<br />
-L is used to give label to that partition. This is not a mandatory option.</p>
<p><span style="text-decoration:underline;">3) Create an entry in /etc/fstab to make partition persistant accrose reboot</span></p>
<p>Now to make this partition get mounted automatically when the system reboots, we should make entry in /etc/fstab file. /etc/fstab is the file which kernel reads during booting and mount the file system mentioned in this file.</p>
<p>This file has entry in following format</p>
<p>&lt;device Name&gt;     &lt;Mount Point&gt;     &lt;File system Type&gt;    &lt;Mount Option&gt;    &lt;Dump Frequency&gt;     &lt;File system Check order&gt;</p>
<p>Device Name -&gt; Name of the partition which needs to be mounted<br />
Mount Point -&gt; Directory which is to be used as moint point<br />
File system Type -&gt; Type used for creating file system. ext3 in our case.<br />
Mount Option -&gt; Various options used during mount. Check man page for mkfs command to check various mount options.<br />
Dump Frequency -&gt; 0 - never dump, 1 - daily, 2 - every other day etc. This is a sort of taking  backup.<br />
File System Check order -&gt; Order in which file system is checked while the system boots. 0 - ignore, 1 - always for root etc.</p>
<p>So here is our entry will look like</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# cat /etc/fstab | grep oracle</strong><br />
LABEL=/oracle           /oracle                 ext3    defaults        0 0</span></p>
<p><span style="text-decoration:underline;">4) mount the partition for access to the user.</span></p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# mkdir /oracle<br />
[root@10.176.87.179]# mount -a<br />
[root@10.176.87.179]# cd /oracle<br />
[root@10.176.87.179]# df -h .</strong><br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/sda8             935M   24M  863M   3% /oracle</span></p>
<p>mount -a is going to mount all the devices present in /etc/fstab file. You can also mount /dev/sda8 using following command</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# mount /dev/sda8 /oracle<br />
</strong></span><br />
hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/511/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/511/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/511/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=511&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=mhvGrp"><img src="http://feeds.feedburner.com/~a/advait?i=mhvGrp" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/391730760" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/13/creating-partition-and-filesystem-in-linux/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F13%2Fcreating-partition-and-filesystem-in-linux%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/13/creating-partition-and-filesystem-in-linux/</feedburner:origLink></item>
		<item>
		<title>YUM (Yellow dog Updater, Modifier)</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/390468770/</link>
		<comments>http://advait.wordpress.com/2008/09/12/yum-yellow-dog-updater-modifier/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 08:06:20 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[creating yum repository]]></category>

		<category><![CDATA[install patches using yum]]></category>

		<category><![CDATA[yum]]></category>

		<category><![CDATA[yum options]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=500</guid>
		<description><![CDATA[Introduction
With Redhat Enterprise Linux 5, a new utility has been introduced. This is a work of few programmers from Duke university.
Imagine that we have to apply an rpm and we dont have yum. In that case we will start applying the rpm using &#8220;rpm&#8221; command and it gives a dependency error saying that some other [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Introduction</strong></span></p>
<p>With Redhat Enterprise Linux 5, a new utility has been introduced. This is a work of few programmers from Duke university.</p>
<p>Imagine that we have to apply an rpm and we dont have yum. In that case we will start applying the rpm using &#8220;rpm&#8221; command and it gives a dependency error saying that some other files and rpm needs to be installed in order to install this main rpm. Then we will search for dependent rpm and try to apply those. What if those dependent rpms gives dependecy error again saying that some more rpms are required. What if this chain grows long? end result is we will end up totally frustrated and will forget which is our main rpm.</p>
<p>To deal with this kind of issue, yum was introduced. The main advantage of yum is the depenency check. Lets see in more details how yum works and what setup is required for yum to work.</p>
<p><span style="text-decoration:underline;"><strong>Installing YUM</strong></span></p>
<p>Yum can be installed using following packages</p>
<p>yum-metadata-parser-1.0-8.fc6<br />
yum-updatesd-3.0.1-5.el5<br />
yum-3.0.1-5.el5<br />
yum-security-1.0.4-3.el5<br />
yum-rhn-plugin-0.5.2-3.el5</p>
<p>Once these packages are installed, we need to create repository for using YUM. YUM always use some repository for installing rpm. Repository is a directory containg all rpm packages. When we give install command to yum it checks if the package we are asking him to install is present in the repository or not. If present in repository, it will go ahead with different checks like public key of the rpm is verified in order to check if the rpm file is modified. It also checks and resolves dependencies. Example if an rpm requires other rpm then it will search for other rpm in the existing repositories (there can be more then 1 repository) and list complete dependencies. It will ask confirmation if we want to goahead, if we say yes, it will install all the rpms including dependent rpms.</p>
<p><strong><span style="text-decoration:underline;">Creating repository</span></strong></p>
<p>Creating a repository is a 4 step process. I will give an example for creating a simple repository.</p>
<p>1) Create a directory and place all packages<br />
2) install createrepo package<br />
3) use  createrepo command to create repository<br />
4) Create a .repo file in /etc/yum.repos.d/ location</p>
<p>Before going ahead, its better if we import the public key for rpm packages. In most of your OS, this step must have done before. Hoever you can do this again just to make sure.</p>
<p><span style="color:#0000ff;">[root@station5 Server]# rpm &#8211;import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release</span></p>
<p><span style="text-decoration:underline;">1) Create a directory and place all packages</span></p>
<p><span style="color:#0000ff;">[root@station5 Server]# cd /home/package/<br />
[root@station5 package]# ls<br />
zenity-2.16.0-2.el5.i386.rpm       zlib-1.2.3-3.i386.rpm        zsh-html-4.2.6-1.i386.rpm<br />
zip-2.31-1.2.2.i386.rpm            zlib-devel-1.2.3-3.i386.rpm<br />
zisofs-tools-1.0.6-3.2.2.i386.rpm  zsh-4.2.6-1.i386.rpm</span></p>
<p><span style="text-decoration:underline;">2) install createrepo package</span></p>
<p><span style="color:#0000ff;"><strong>[root@station5 Server]# yum install createrepo-0.4.4-2.fc6.noarch.rpm</strong><br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;installonlyn&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up Install Process<br />
Setting up repositories<br />
No Repositories Available to Set Up<br />
Reading repository metadata in from local files<br />
Parsing package install arguments<br />
Examining createrepo-0.4.4-2.fc6.noarch.rpm: createrepo - 0.4.4-2.fc6.noarch<br />
Marking createrepo-0.4.4-2.fc6.noarch.rpm to be installed<br />
Setting up repositories<br />
No Repositories Available to Set Up<br />
Reading repository metadata in from local files<br />
Resolving Dependencies<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Package createrepo.noarch 0:0.4.4-2.fc6 set to be updated<br />
&#8211;&gt; Running transaction check</p>
<p>Dependencies Resolved</p>
<p>=============================================================================<br />
Package                 Arch       Version          Repository        Size<br />
=============================================================================<br />
Installing:<br />
createrepo              noarch     0.4.4-2.fc6      createrepo-0.4.4-2.fc6.noarch.rpm  141 k</p>
<p>Transaction Summary<br />
=============================================================================<br />
Install      1 Package(s)<br />
Update       0 Package(s)<br />
Remove       0 Package(s)</p>
<p>Total download size: 141 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
Running Transaction Test<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
Installing: createrepo                   ######################### [1/1]</p>
<p>Installed: createrepo.noarch 0:0.4.4-2.fc6<br />
Complete!</span></p>
<p><span style="text-decoration:underline;">3) use createrepo command to create repository</span></p>
<p><span style="color:#0000ff;">[root@station5 package]# createrepo -v /home/package<br />
1/7 - zlib-devel-1.2.3-3.i386.rpm<br />
2/7 - zenity-2.16.0-2.el5.i386.rpm<br />
3/7 - zlib-1.2.3-3.i386.rpm<br />
4/7 - zsh-html-4.2.6-1.i386.rpm<br />
5/7 - zisofs-tools-1.0.6-3.2.2.i386.rpm<br />
6/7 - zip-2.31-1.2.2.i386.rpm<br />
7/7 - zsh-4.2.6-1.i386.rpm</p>
<p>Saving Primary metadata<br />
Saving file lists metadata<br />
Saving other metadata</span></p>
<p><span style="text-decoration:underline;">4) Create a .repo file in /etc/yum.repos.d/ location</span></p>
<p>you can create a simple file in /etc/yum.repos.d/ location.<br />
Example station5.repo</p>
<p>The content of this file will look as shown below</p>
<p><span style="color:#0000ff;">[root@station5 yum.repos.d]# cat station5.repo<br />
[station5]<br />
name=new<br />
baseurl=file:///home/package<br />
enable=1<br />
gpgcheck=1</span></p>
<p>where</p>
<p>[station5]  -&gt; is the name of repository<br />
name=new    -&gt; is the description of repository<br />
baseurl=file:///home/package -&gt; This is the location for your repository. If the repository is on local file system, you have to use protocol &#8220;file&#8221;. You can also use &#8220;ftp&#8221; or &#8220;http&#8221; as protocol if repository is present remotely.<br />
enable=1    -&gt; This specify if yum should enable that repo server for installtion or not 1 is for enable and 0 is for disable<br />
gpgcheck=1  -&gt; check the signature of the rpm package before installation</p>
<p>Once above 4 steps are done, lets try to apply a package present in our repository (zsh-html-4.2.6-1.i386.rpm)</p>
<p><span style="color:#0000ff;"><strong>[root@station5 ~]# yum install zsh-html</strong><br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;installonlyn&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Parsing package install arguments<br />
Resolving Dependencies<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Downloading header for zsh-html to pack into transaction set.<br />
zsh-html-4.2.6-1.i386.rpm 100% |=========================|  15 kB    00:00<br />
&#8212;&gt; Package zsh-html.i386 0:4.2.6-1 set to be updated<br />
&#8211;&gt; Running transaction check</p>
<p>Dependencies Resolved</p>
<p>=============================================================================<br />
Package                 Arch       Version          Repository        Size<br />
=============================================================================<br />
Installing:<br />
zsh-html                i386       4.2.6-1          station5          372 k</p>
<p>Transaction Summary<br />
=============================================================================<br />
Install      1 Package(s)<br />
Update       0 Package(s)<br />
Remove       0 Package(s)</p>
<p>Total download size: 372 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
Running Transaction Test<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
Installing: zsh-html                     ######################### [1/1]</p>
<p>Installed: zsh-html.i386 0:4.2.6-1<br />
Complete!</span></p>
<p><span style="text-decoration:underline;"><strong>YUM Options</strong></span></p>
<p>Different options are available in YUM similar to rpm. Following describes frequently used options.</p>
<p>1) To check if package is installed or not</p>
<p><strong>yum list &lt;package_name&gt;</strong></p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# yum list zsh</strong><br />
Loading &#8220;installonlyn&#8221; plugin<br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;security&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Available Packages<br />
zsh.i386                                 4.2.6-1                DVD </span></p>
<p>here DVD is the name of repository (Since this package is not installed, its giving the location of package). If the patch is installed, it says &#8220;Installed&#8221;</p>
<p>yum list will give complete list of packages (installed and also available in repository)</p>
<p>2) To list rpms which are not installed and available in</p>
<p><strong>yum list available</strong></p>
<p>3) To list rpms which are installed</p>
<p><strong>yum list installed</strong></p>
<p>4) To install an rpm</p>
<p><span style="color:#0000ff;"><strong>[root@station5 yum.repos.d]# yum install telnet-server</strong><br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;installonlyn&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Parsing package install arguments<br />
Resolving Dependencies<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Downloading header for telnet-server to pack into transaction set.<br />
telnet-server-0.17-38.el5 100% |=========================| 8.4 kB    00:00<br />
&#8212;&gt; Package telnet-server.i386 1:0.17-38.el5 set to be updated<br />
&#8211;&gt; Running transaction check<br />
&#8211;&gt; Processing Dependency: xinetd for package: telnet-server<br />
&#8211;&gt; Restarting Dependency Resolution with new changes.<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Downloading header for xinetd to pack into transaction set.<br />
xinetd-2.3.14-10.el5.i386 100% |=========================| 7.7 kB    00:00<br />
&#8212;&gt; Package xinetd.i386 2:2.3.14-10.el5 set to be updated<br />
&#8211;&gt; Running transaction check</p>
<p>Dependencies Resolved</p>
<p>=============================================================================<br />
Package                 Arch       Version          Repository        Size<br />
=============================================================================<br />
Installing:<br />
telnet-server           i386       1:0.17-38.el5    base               35 k<br />
Installing for dependencies:<br />
xinetd                  i386       2:2.3.14-10.el5  base              124 k</p>
<p>Transaction Summary<br />
=============================================================================<br />
Install      2 Package(s)<br />
Update       0 Package(s)<br />
Remove       0 Package(s)</p>
<p>Total download size: 159 k<br />
Is this ok [y/N]: </span></p>
<p>So it will ask if we want to install all the dependent packages as well</p>
<p>If we say yes it will install all dependent package as well</p>
<p>5) To remove rpm</p>
<p><strong>yum remove &lt;package_name&gt;</strong></p>
<p>note that we should not put the .rpm extention which installing or removing the rpm. Yum does not accept .rpm extension.</p>
<p>6) To update new version of rpm</p>
<p><strong>yum update &lt;package_name&gt;</strong></p>
<p>7) To search a package</p>
<p><strong>yum search &lt;searchterm&gt;</strong></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> To get information about any package</p>
<p><strong>yum info &lt;package_name&gt;</strong></p>
<p><span style="color:#0000ff;">[root@10.176.87.179]# yum info zsh<br />
Loading &#8220;installonlyn&#8221; plugin<br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;security&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Available Packages<br />
Name   : zsh<br />
Arch   : i386<br />
Version: 4.2.6<br />
Release: 1<br />
Size   : 1.7 M<br />
Repo   : DVD<br />
Summary: A powerful interactive shell<br />
Description:<br />
The zsh shell is a command interpreter usable as an interactive login<br />
shell and as a shell script command processor.  Zsh resembles the ksh<br />
shell (the Korn shell), but includes many enhancements.  Zsh supports<br />
command line editing, built-in spelling correction, programmable<br />
command completion, shell functions (with autoloading), a history<br />
mechanism, and more.</span></p>
<p>yum accept wild characters as well. Make sure to use single quotes.<br />
Example</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# yum info &#8216;*irefo*&#8217;</strong><br />
Loading &#8220;installonlyn&#8221; plugin<br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;security&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Installed Packages<br />
Name   : firefox<br />
Arch   : i386<br />
Version: 1.5.0.12<br />
Release: 3.el5<br />
Size   : 37 M<br />
Repo   : installed<br />
Summary: Mozilla Firefox Web browser.</p>
<p>Description:<br />
Mozilla Firefox is an open-source web browser, designed for standards<br />
compliance, performance and portability.</p>
<p>Available Packages<br />
Name   : firefox-devel<br />
Arch   : i386<br />
Version: 1.5.0.12<br />
Release: 3.el5<br />
Size   : 3.1 M<br />
Repo   : DVD<br />
Summary: Development files for Firefox<br />
Description:<br />
Development files for Firefox.  This package exists temporarily.<br />
When xulrunner has reached version 1.0, firefox-devel will be<br />
removed in favor of xulrunner-devel.</span></p>
<p>9) To check which rpm provides the file</p>
<p><span style="color:#0000ff;"><strong>[root@10.176.87.179]# yum whatprovides /bin/bash</strong><br />
Loading &#8220;installonlyn&#8221; plugin<br />
Loading &#8220;rhnplugin&#8221; plugin<br />
Loading &#8220;security&#8221; plugin<br />
This system is not registered with RHN.<br />
RHN support will be disabled.<br />
Setting up repositories<br />
Reading repository metadata in from local files</p>
<p>bash.i386                                3.1-16.1               DVD<br />
Matched from:<br />
/bin/bash<br />
filelists.xml.gz          100% |=========================| 2.2 MB    00:00</p>
<p>bash.i386                                3.1-16.1               DVD<br />
Matched from:<br />
/bin/bash</span></p>
<p>Hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/500/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/500/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/500/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=500&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=pz8LgQ"><img src="http://feeds.feedburner.com/~a/advait?i=pz8LgQ" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/390468770" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/12/yum-yellow-dog-updater-modifier/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F12%2Fyum-yellow-dog-updater-modifier%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/12/yum-yellow-dog-updater-modifier/</feedburner:origLink></item>
		<item>
		<title>Linux Patching Utility - RPM (RedHat Package Manager)</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/388821010/</link>
		<comments>http://advait.wordpress.com/2008/09/10/linux-patching-utility-rpm-redhat-package-manager/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:50:08 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[applying patch in linux]]></category>

		<category><![CDATA[applying rpm]]></category>

		<category><![CDATA[rpm]]></category>

		<category><![CDATA[rpm options]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=498</guid>
		<description><![CDATA[Introduction
This post gives a brief introduction about RPM (RedHat Package Manager).
rpm is a command line utility installed when the linux OS is installed. rpm exe is located in /bin
rpm executable is installed as a part of rpm-4.4.2-47.el5.i386.rpm package.
Following are the various options with rpm command.
rpm main options
rpm -i -&#62; Install the package. If the package [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Introduction</strong></span></p>
<p>This post gives a brief introduction about RPM (RedHat Package Manager).</p>
<p>rpm is a command line utility installed when the linux OS is installed. rpm exe is located in<strong> /bin</strong></p>
<p>rpm executable is installed as a part of <strong>rpm-4.4.2-47.el5.i386.rpm </strong>package.</p>
<p>Following are the various options with rpm command.</p>
<p><span style="text-decoration:underline;"><strong>rpm main options</strong></span></p>
<p><strong>rpm -i </strong>-&gt; Install the package. If the package is present it wont install and will say &#8220;nothing to do&#8221;, even if we are trying to install a higher version of package. If the package is not present it will install the same.</p>
<p>If you use -v and -h with -i option rpm gives &#8220;preety&#8221; output. Example</p>
<p><span style="color:#0000ff;">[root@station5 Server]# rpm -i zsh-4.2.6-1.i386.rpm</span></p>
<p><span style="color:#0000ff;">[root@station5 Server]# rpm -ivh zsh-html-4.2.6-1.i386.rpm<br />
warning: zsh-html-4.2.6-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186<br />
Preparing&#8230;                ########################################### [100%]<br />
1:zsh-html               ########################################### [100%]<br />
</span><br />
i -&gt; Install<br />
v -&gt; Verbose<br />
h -&gt; Hash (for progress bar)</p>
<p><strong>rpm -U</strong> -&gt; Upgrade the package. If a new version of package is present then it will upgrade an existing installed version. If package is not applied before then it will apply. So upgrade works whether or not package is installed in OS.<br />
<strong>rpm -F</strong> -&gt; Freshen the package. This works only for the packages that are installed. If a new version of some package comes for any of the install package, then freshen will install the latest version. But a new version of package comes which is not yet installed in the OS, the freshen will not instal the latest version.<br />
<strong>rpm -e </strong>-&gt; Uninstalling a package. -e (erase) will remove a package from your system. The package name must be the installed package name and not the rpm file name. Example: rpm -e zip</p>
<p>RPM support FTP and HTTP. Example<br />
<span style="color:#0000ff;">[root@station5 Server]# rpm -ivh ftp://server1.example.com/pub/zsh-html-4.2.6-1.i386.rpm</span></p>
<p><span style="text-decoration:underline;"><strong>Installing a new kernel using rpm</strong></span></p>
<p>Installing a new kernel is different process. Usually as explained above when a new version of package comes, we go for -U option which is upgrade. Now with upgrade what exactly happens is that rpm will remove all the existing files and installed the latest rpm package with latest files, Except for configuration files which are backed up with extension .rpmsave.</p>
<p>Kernel is the core of operating system. So when we install new kernel we are not sure whether it will be stable and will work without any issues. So for installing kernel package we use rpm -i (install option). When rpm sees that its the kernel file we are installing it does not overwrite the existing kernel file instead it will create a new kernel files and a new kernel will be installed without removing the old kernel. It will also update grub.conf file with the details of new kernel and when you reboot the system your new kernel will take effect.</p>
<p>Example: Installing a new kernel</p>
<p><span style="color:#0000ff;">[root@station5 errata]# ls -rlt /boot<br />
total 5142<br />
-rw-r&#8211;r&#8211; 1 root root 1791572 Oct 11  2007 vmlinuz-2.6.18-53.el5<br />
-rw-r&#8211;r&#8211; 1 root root  903969 Oct 11  2007 System.map-2.6.18-53.el5<br />
-rw-r&#8211;r&#8211; 1 root root   64551 Oct 11  2007 config-2.6.18-53.el5<br />
-rw-r&#8211;r&#8211; 1 root root   87586 Oct 11  2007 symvers-2.6.18-53.el5.gz<br />
drwx&#8212;&#8212; 2 root root   12288 Aug 25 16:37 lost+found<br />
-rw&#8212;&#8212;- 1 root root 2369794 Aug 25 16:41 initrd-2.6.18-53.el5.img<br />
drwxr-xr-x 2 root root    1024 Aug 25 19:41 grub<br />
[root@station5 errata]# </span></p>
<p><span style="color:#0000ff;">[root@station5 errata]# rpm -ivh kernel-2.6.18-92.el5.i686.rpm<br />
warning: kernel-2.6.18-92.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 37017186<br />
Preparing&#8230;                ########################################### [100%]<br />
1:kernel                 ########################################### [100%]</span><br />
<span style="color:#0000ff;">[root@station5 errata]# cd /boot<br />
[root@station5 boot]# ls -lrt<br />
total 10315<br />
-rw-r&#8211;r&#8211; 1 root root 1791572 Oct 11  2007 vmlinuz-2.6.18-53.el5<br />
-rw-r&#8211;r&#8211; 1 root root  903969 Oct 11  2007 System.map-2.6.18-53.el5<br />
-rw-r&#8211;r&#8211; 1 root root   64551 Oct 11  2007 config-2.6.18-53.el5<br />
-rw-r&#8211;r&#8211; 1 root root   87586 Oct 11  2007 symvers-2.6.18-53.el5.gz<br />
-rw-r&#8211;r&#8211; 1 root root 1806388 Apr 29 22:56 vmlinuz-2.6.18-92.el5<br />
-rw-r&#8211;r&#8211; 1 root root  912686 Apr 29 22:56 System.map-2.6.18-92.el5<br />
-rw-r&#8211;r&#8211; 1 root root   65406 Apr 29 22:56 config-2.6.18-92.el5<br />
-rw-r&#8211;r&#8211; 1 root root   91734 Apr 29 22:56 symvers-2.6.18-92.el5.gz<br />
drwx&#8212;&#8212; 2 root root   12288 Aug 25 16:37 lost+found<br />
-rw&#8212;&#8212;- 1 root root 2369794 Aug 25 16:41 initrd-2.6.18-53.el5.img<br />
-rw&#8212;&#8212;- 1 root root 2386531 Aug 25 20:23 initrd-2.6.18-92.el5.img<br />
drwxr-xr-x 2 root root    1024 Aug 25 20:23 grub<br />
[root@station5 boot]# </span></p>
<p>It will update grub.conf as well</p>
<p><span style="color:#0000ff;">title Red Hat Enterprise Linux Server (2.6.18-92.el5)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet<br />
initrd /initrd-2.6.18-92.el5.img<br />
title Oracle OS<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-53.el5 ro root=/dev/sda3 rhgb quiet<br />
initrd /initrd-2.6.18-53.el5.img</span></p>
<p>The default becomes the upgraded kernel.</p>
<p>You can decide which will be the default kernel using following file</p>
<p><span style="color:#0000ff;">[root@station5 boot]# cat /etc/sysconfig/kernel<br />
# UPDATEDEFAULT specifies if new-kernel-pkg should make<br />
# new kernels the default<br />
UPDATEDEFAULT=yes</p>
<p># DEFAULTKERNEL specifies the default kernel package type<br />
DEFAULTKERNEL=kernel</span></p>
<p>If UPDATEDEFAULT parameter is set to &#8220;yes&#8221; then newly installed kernel becomes default. If this is set to no then newly installed kernel will not be the default.</p>
<p><span style="text-decoration:underline;"><strong>Other rpm Options</strong></span></p>
<p>Following are the various usage of rpm command.</p>
<p>1) If a package is installed or not</p>
<p><span style="color:#0000ff;">[root@localhost Server]# rpm -qa zip<br />
zip-2.31-1.2.2</span></p>
<p>2) A particular file is installed from which package</p>
<p><span style="color:#0000ff;">[root@localhost bluetooth]# rpm -qf /lib/modules/2.6.18-53.el5/kernel/net/bluetooth/bluetooth.ko<br />
kernel-2.6.18-53.el5</span></p>
<p>3) List of files in a package</p>
<p><span style="color:#0000ff;">[root@localhost bluetooth]# rpm -ql zip<br />
/usr/bin/zip<br />
/usr/bin/zipcloak<br />
/usr/bin/zipnote<br />
/usr/bin/zipsplit<br />
/usr/share/doc/zip-2.31<br />
/usr/share/doc/zip-2.31/BUGS<br />
/usr/share/doc/zip-2.31/CHANGES<br />
/usr/share/doc/zip-2.31/LICENSE<br />
/usr/share/doc/zip-2.31/MANUAL<br />
/usr/share/doc/zip-2.31/README<br />
/usr/share/doc/zip-2.31/TODO<br />
/usr/share/doc/zip-2.31/WHATSNEW<br />
/usr/share/doc/zip-2.31/WHERE<br />
/usr/share/doc/zip-2.31/algorith.txt<br />
/usr/share/man/man1/zip.1.gz<br />
</span><br />
4) Package general information</p>
<p><span style="color:#0000ff;">[root@localhost bluetooth]# rpm -qi zip<br />
Name        : zip                          Relocations: (not relocatable)<br />
Version     : 2.31                              Vendor: Red Hat, Inc.<br />
Release     : 1.2.2                         Build Date: Thu 13 Jul 2006 10:33:56 AM IST<br />
Install Date: Fri 29 Aug 2008 06:24:54 AM IST      Build Host: hs20-bc2-2.build.redhat.com<br />
Group       : Applications/Archiving        Source RPM: zip-2.31-1.2.2.src.rpm<br />
Size        : 302524                           License: distributable<br />
Signature   : DSA/SHA1, Thu 18 Jan 2007 09:58:07 PM IST, Key ID 5326810137017186<br />
Packager    : Red Hat, Inc. &lt;http://bugzilla.redhat.com/bugzilla&gt;<br />
URL         : http://www.info-zip.org/pub/infozip/Zip.html<br />
Summary     : A file compression and packaging utility compatible with PKZIP.<br />
Description :<br />
The zip program is a compression and file packaging utility.  Zip is<br />
analogous to a combination of the UNIX tar and compress commands and<br />
is compatible with PKZIP (a compression and file packaging utility for<br />
MS-DOS systems).</p>
<p>Install the zip package if you need to compress files using the zip<br />
program.<br />
</span><br />
5) Check prerequisits for a package</p>
<p><span style="color:#0000ff;">[root@localhost Server]# rpm -qa zip &#8211;requires<br />
libc.so.6<br />
libc.so.6(GLIBC_2.0)<br />
libc.so.6(GLIBC_2.1)<br />
libc.so.6(GLIBC_2.2)<br />
libc.so.6(GLIBC_2.3)<br />
libc.so.6(GLIBC_2.3.4)<br />
libc.so.6(GLIBC_2.4)<br />
rpmlib(CompressedFileNames) &lt;= 3.0.4-1<br />
rpmlib(PayloadFilesHavePrefix) &lt;= 4.0-1<br />
rtld(GNU_HASH) </span></p>
<p>6) Capability provided by rpm package</p>
<p><span style="color:#0000ff;">[root@localhost Server]# rpm -qa kernel &#8211;provides<br />
kernel = 2.6.18<br />
kernel-drm = 4.3.0<br />
kernel-i686 = 2.6.18-53.el5<br />
kernel(rhel5_gfs2_ga) = dc42db4764487d4d1e0e658af7ec2eef3c29d91e<br />
kernel(rhel5_fs_lockd_ga) = 321666a6612cc9aa0ed9208fd0159456c9b1ffe3<br />
kernel(rhel5_drivers_hwmon_ga) = 73ec105e064d9b09c6d44c6584f517b73a7d80ab<br />
kernel(rhel5_net_core_ga) = 5aae342a66dcbcc14a7c1c001624f73a13620809<br />
kernel(rhel5_drivers_net_ga) = f740f67835c214eb69aa8c623cb18a6c2ebcdc12<br />
&#8211; output truncated &#8211;</span></p>
<p>7) To see the package revision history. The changes occured till now in that rpm package file</p>
<p><span style="color:#0000ff;">[root@localhost Server]# rpm -qa zip &#8211;changelog<br />
* Thu Jul 13 2006 Jesse Keating &lt;jkeating@redhat.com&gt; - 2.31-1.2.2<br />
- rebuild</p>
<p>* Sat Feb 11 2006 Jesse Keating &lt;jkeating@redhat.com&gt; - 2.31-1.2.1<br />
- bump again for double-long bug on ppc(64)</p>
<p>* Wed Feb 08 2006 Jesse Keating &lt;jkeating@redhat.com&gt; - 2.31-1.2<br />
- rebuilt for new gcc4.1 snapshot and glibc changes</p>
<p>&#8211; output truncated &#8211;</span></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> To check the scripts that runs upon installation or removal of rpm package</p>
<p><span style="color:#0000ff;">[root@localhost Server]# rpm -qa kernel &#8211;scripts<br />
postinstall scriptlet (using /bin/sh):<br />
if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ]; then<br />
if [ -f /etc/sysconfig/kernel ]; then<br />
/bin/sed -i -e &#8217;s/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/&#8217; /etc/sysconfig/kernel || exit $?<br />
fi<br />
fi<br />
/sbin/new-kernel-pkg &#8211;package kernel &#8211;mkinitrd &#8211;depmod &#8211;install 2.6.18-53.el5 || exit $?<br />
if [ -x /sbin/weak-modules ]<br />
then<br />
/sbin/weak-modules &#8211;add-kernel 2.6.18-53.el5 || exit $?<br />
fi<br />
preuninstall scriptlet (using /bin/sh):<br />
/sbin/new-kernel-pkg &#8211;rminitrd &#8211;rmmoddep &#8211;remove 2.6.18-53.el5 || exit $?<br />
if [ -x /sbin/weak-modules ]<br />
then<br />
/sbin/weak-modules &#8211;remove-kernel 2.6.18-53.el5 || exit $?<br />
fi<br />
</span><br />
9) Verifying the installed package.</p>
<p>One can verify the installed package using rpm -V option. Verifying an installed package will compare the file size, permissions, type, owner, MD5 checksum and modified time against RPM database.</p>
<p><span style="color:#0000ff;">[root@localhost Server]# rpm -V zip-2.31-1.2.2.i386<br />
[root@localhost Server]# rpm -V kernel<br />
[root@localhost Server]# </span></p>
<p>rpm -Va will verify all the installed packages.<br />
Example:<br />
<span style="color:#0000ff;">[root@localhost Server]# rpm -Va<br />
S.5&#8230;.T c /etc/sysconfig/system-config-securitylevel<br />
&#8230;&#8230;.T c /etc/kdump.conf<br />
..5&#8230;.T c /etc/pki/nssdb/secmod.db<br />
SM5&#8230;.T c /etc/sysconfig/iptables-config</span></p>
<p>rpm -Vp &lt;Package_file.rpm&gt; will check the integrity of installed package against rpm file and not with database.</p>
<p>Hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/498/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/498/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/498/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=498&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=L144KQ"><img src="http://feeds.feedburner.com/~a/advait?i=L144KQ" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/388821010" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/10/linux-patching-utility-rpm-redhat-package-manager/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F10%2Flinux-patching-utility-rpm-redhat-package-manager%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/10/linux-patching-utility-rpm-redhat-package-manager/</feedburner:origLink></item>
		<item>
		<title>Protecting GRUB file using MD5 Password Encryption</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/386754947/</link>
		<comments>http://advait.wordpress.com/2008/09/08/protecting-grub-file-using-md5-password-encryption/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 15:08:18 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Linux System Administration]]></category>

		<category><![CDATA[md5 password encryption]]></category>

		<category><![CDATA[password encryption for grub]]></category>

		<category><![CDATA[protecting grub.conf]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=494</guid>
		<description><![CDATA[Some times it becomes neccessary to protect the grub.conf with password in order to prevent any user or other system administrator to edit the grub file during reboot.
Example during boot up after BIOS initialization it executes the grub file and shows the operating system menus. At this point, if we press &#8220;e&#8221; then it will [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some times it becomes neccessary to protect the grub.conf with password in order to prevent any user or other system administrator to edit the grub file during reboot.</p>
<p>Example during boot up after BIOS initialization it executes the grub file and shows the operating system menus. At this point, if we press &#8220;e&#8221; then it will allow the user to edit the grub file for that OS.</p>
<p>Different OS provides different level of protection to avoid this. In redhat, we have some thing called <strong>grub-md5-crypt. </strong>Using <strong>grub-md5-crypt </strong>utility we<strong> </strong>can protect the grub file from updation by unknown user. Only users who are aware of grub password will be able to edit the grub file during boot as it will ask for password.</p>
<p>Following are the steps to generate md5 envrypted password and to protect grub file.</p>
<p>1) run <strong>/sbin/grub-md5-crypt</strong></p>
<p>It will ask for password and confirmation for the same. Once you enter password it will generate a 32 character string which is an encrypted form of your password.</p>
<p>2) Make following entry in /etc/grub.conf just before &#8220;title&#8221; starts</p>
<p>password &#8211;md5 &lt;32 char encrypted string&gt;</p>
<p>3) Reboot the system. This time when it comes to menu, you will see it ask us to press &#8220;p&#8221; in order to enter the password</p>
<p><a href="http://advait.files.wordpress.com/2008/09/1.jpg"><img class="alignnone size-medium wp-image-495" title="1" src="http://advait.files.wordpress.com/2008/09/1.jpg?w=300&#038;h=224" alt="" width="300" height="224" /></a></p>
<p>and then it gives the option to edit grub file.</p>
<p><a href="http://advait.files.wordpress.com/2008/09/2.jpg"><img class="alignnone size-medium wp-image-496" title="2" src="http://advait.files.wordpress.com/2008/09/2.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p>Hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/494/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/494/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=494&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=IhWY78"><img src="http://feeds.feedburner.com/~a/advait?i=IhWY78" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/386754947" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/08/protecting-grub-file-using-md5-password-encryption/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>

		<media:content url="http://advait.files.wordpress.com/2008/09/1.jpg?w=300" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://advait.files.wordpress.com/2008/09/2.jpg?w=300" medium="image">
			<media:title type="html">2</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F08%2Fprotecting-grub-file-using-md5-password-encryption%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/08/protecting-grub-file-using-md5-password-encryption/</feedburner:origLink></item>
		<item>
		<title>There are no active responsibilities available for this user - Oracle Apps 11i</title>
		<link>http://feeds.feedburner.com/~r/advait/~3/380401663/</link>
		<comments>http://advait.wordpress.com/2008/09/01/there-are-no-active-responsibilities-available-for-this-user-oracle-apps-11i/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 11:35:25 +0000</pubDate>
		<dc:creator>advait</dc:creator>
		
		<category><![CDATA[Oracle Applications 11i]]></category>

		<category><![CDATA[affurgol.sql]]></category>

		<category><![CDATA[There are no active responsibilities available for this]]></category>

		<guid isPermaLink="false">http://advait.wordpress.com/?p=492</guid>
		<description><![CDATA[Problem Statement : Recently I encountered a problem in Oracle Apps 11i (11.5.9). When a user login into the application he/she gets error &#8220;There are no active responsibilities available for this user&#8221;and user is not able to see any responsibility in the home page.
The problem is same even for sysadmin user. Now the challenge is [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Problem Statement :</strong></span> Recently I encountered a problem in Oracle Apps 11i (11.5.9). When a user login into the application he/she gets error <strong>&#8220;There are no active responsibilities available for this user&#8221;</strong>and user is not able to see any responsibility in the home page.</p>
<p>The problem is same even for sysadmin user. Now the challenge is that, if the system administrator is also not able to see any responsibility then its very difficult to administer other users facing same problem. So here is the solution that I found out as per metalink note ID <strong>316959.1</strong></p>
<p><span style="text-decoration:underline;"><strong>Solution : </strong></span></p>
<p><span style="text-decoration:underline;">Part 1: Verification</span></p>
<p>Execute following queries for verification as per metalink note ID 335487.1</p>
<p>1) Please check if table FND_USER_RESP_GROUPS was backed up to table FND_USER_RESP_GROUPS_OLD in the APPLSYS schema, and verify that there is a SYNONYM  FND_USER_RESP_GROUPS_OLD in the APPS schema.</p>
<p><span style="color:#0000ff;">SELECT OWNER, OBJECT_NAME, OBJECT_TYPE<br />
FROM ALL_OBJECTS<br />
WHERE OBJECT_NAME LIKE &#8217;FND_USER_RESP_GROUPS_OLD&#8217;<br />
AND OBJECT_TYPE IN (&#8217;VIEW&#8217;,'TABLE&#8217;, &#8216;SYNONYM&#8217;);</span></p>
<p><span style="color:#0000ff;">OWNER                          OBJECT_NAME                    OBJECT_TYPE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
APPLSYS                        FND_USER_RESP_GROUPS_OLD       TABLE<br />
APPS                           FND_USER_RESP_GROUPS_OLD       SYNONYM</span></p>
<p>2) Check if object FND_USER_RESP_GROUPS is a view or a table</p>
<p><span style="color:#0000ff;">SQL&gt; SELECT OWNER, OBJECT_NAME, OBJECT_TYPE<br />
FROM ALL_OBJECTS WHERE OBJECT_NAME LIKE &#8216;FND_USER_RESP_GROUPS&#8217;;  2</p>
<p>OWNER                          OBJECT_NAME                    OBJECT_TYPE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
APPS                           FND_USER_RESP_GROUPS           VIEW<br />
APPS_MRC                       FND_USER_RESP_GROUPS           SYNONYM<br />
RTREADONLY                     FND_USER_RESP_GROUPS           SYNONYM</span></p>
<p>FND_USER_RESP_GROUPS should be a view in APPS schema.</p>
<p>If FND_USER_RESP_GROUPS is of type TABLE in the APPLSYS schema  please apply solution from step 3 from metalink note ID 335487.1</p>
<p>Else execute following steps from metalink note ID 316959.1</p>
<p><span style="text-decoration:underline;">Part 2: Fix</span></p>
<p>Run following SQLs</p>
<p><strong>1) </strong></p>
<p><span style="color:#0000ff;">SELECT *<br />
FROM Fnd_Responsibility_vl<br />
WHERE Application_Id = 1<br />
AND Responsibility_Name = &#8216;System Administrator&#8217;<br />
AND Start_Date &lt;= Sysdate<br />
AND ( End_Date is NULL OR End_Date &gt; Sysdate );</span></p>
<p><strong>2)</strong></p>
<p><span style="color:#0000ff;">SELECT count(*)<br />
FROM Fnd_User_Resp_Groups;</span></p>
<p><strong>3)</strong></p>
<p><span style="text-decoration:underline;">Back up the wf_role_hierarchies table into a new table you create.</span></p>
<p><span style="color:#0000ff;">CREATE TABLE wf_role_hierarchies_copy AS<br />
SELECT * FROM wf_role_hierarchies;</span></p>
<p><span style="text-decoration:underline;">Delete the entries in that table (2 rows exist)</span></p>
<p><span style="color:#0000ff;">TRUNCATE TABLE applsys.wf_role_hierarchies;</span></p>
<p><span style="text-decoration:underline;">Run affurgol.sql FORCE</span></p>
<p><span style="color:#0000ff;">SQL&gt; @$FND_TOP/patch/115/sql/affurgol.sql FORCE</span></p>
<p><span style="text-decoration:underline;">Then replace those entries back into wf_role_hierarchies table</span></p>
<p><span style="color:#0000ff;">SQL&gt; INSERT INTO wf_role_hierarchies<br />
SELECT * FROM wf_role_hierarchies_copy;</span></p>
<p>Bounce Apache and try to login as sysadmin. You should be able to see the correct responsibilities.</p>
<p>Hope this helps !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/advait.wordpress.com/492/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/advait.wordpress.com/492/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/advait.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/advait.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/advait.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/advait.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/advait.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/advait.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/advait.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/advait.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/advait.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/advait.wordpress.com/492/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=advait.wordpress.com&blog=1226407&post=492&subd=advait&ref=&feed=1" /></div>
<p><a href="http://feeds.feedburner.com/~a/advait?a=2pDgd4"><img src="http://feeds.feedburner.com/~a/advait?i=2pDgd4" border="0"></img></a></p><img src="http://feeds.feedburner.com/~r/advait/~4/380401663" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://advait.wordpress.com/2008/09/01/there-are-no-active-responsibilities-available-for-this-user-oracle-apps-11i/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/advait-128.jpg" medium="image">
			<media:title type="html">advait</media:title>
		</media:content>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetItemData?uri=advait&amp;itemurl=http%3A%2F%2Fadvait.wordpress.com%2F2008%2F09%2F01%2Fthere-are-no-active-responsibilities-available-for-this-user-oracle-apps-11i%2F</feedburner:awareness><feedburner:origLink>http://advait.wordpress.com/2008/09/01/there-are-no-active-responsibilities-available-for-this-user-oracle-apps-11i/</feedburner:origLink></item>
	<feedburner:awareness>http://api.feedburner.com/awareness/1.0/GetFeedData?uri=advait</feedburner:awareness></channel>
</rss>
