<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-968934519178796983</atom:id><lastBuildDate>Thu, 23 Feb 2012 06:55:48 +0000</lastBuildDate><category>ldoms</category><category>virtualization</category><category>gallery</category><category>veritas volume manager</category><category>errorcode</category><category>snapshots</category><category>knowhow</category><category>vendor</category><category>unix</category><category>solaris volume manager</category><category>zones</category><category>explorer</category><category>veritas cluster</category><category>solaris</category><category>application</category><category>networking</category><title>RIMServ</title><description>UNIX Know-How</description><link>http://www.rimserv.com/</link><managingEditor>noreply@blogger.com (Abhijeet)</managingEditor><generator>Blogger</generator><openSearch:totalResults>152</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RIMServ" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="rimserv" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">RIMServ</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-2808762918871451783</guid><pubDate>Tue, 22 Feb 2011 20:03:00 +0000</pubDate><atom:updated>2011-02-23T01:33:29.274+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">ldoms</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Backup LDOM Configurations</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JizyS06dyyNH02UTX1cG_iuPG-s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JizyS06dyyNH02UTX1cG_iuPG-s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JizyS06dyyNH02UTX1cG_iuPG-s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JizyS06dyyNH02UTX1cG_iuPG-s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-lr-XrUHcKlk/TWQWTJrhUiI/AAAAAAAAAW0/-eOaqJRSwDg/s1600/backupldom.ksh.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="132" src="http://4.bp.blogspot.com/-lr-XrUHcKlk/TWQWTJrhUiI/AAAAAAAAAW0/-eOaqJRSwDg/s320/backupldom.ksh.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;A system administrator must backup the LDOM configuration before rebooting the box. This is for those situations wherein later you feel - "If only I had taken the backup of the configuration files ... bla bla!" Now, there are number of commands that should help you. I have a condensed form, in the name of the script - backupldom.ksh&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;#!/bin/ksh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# This script creates XML backup files of all configured domains&lt;br /&gt;
# and saves an SP config&lt;br /&gt;
# export Variables&lt;br /&gt;
HOST=`hostname`&lt;br /&gt;
SCR=`basename $0`&lt;br /&gt;
LOG=/tmp/$SCR.`date +%Y+%m.log`&lt;br /&gt;
PATH=/opt/SUNWldm/bin:/bin:/usr/sbin/:/sbin&lt;br /&gt;
BDIR=/var/adm/doc&lt;br /&gt;
ID=`/usr/ucb/whoami`&lt;br /&gt;
&lt;br /&gt;
usage(){&lt;br /&gt;
echo "You must be root to run this script"&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
export_config(){&lt;br /&gt;
if [[ ! -d /var/adm/doc ]];then&lt;br /&gt;
mkdir -p /var/adm/doc &lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo "Moving current XML files in $BDIR to 'filename'.backup"&lt;br /&gt;
for XML in `ls $BDIR/*.xml`&lt;br /&gt;
do&lt;br /&gt;
mv $XML $XML.backup&lt;br /&gt;
done&lt;br /&gt;
echo ""&lt;br /&gt;
&lt;br /&gt;
for LDOM in `ldm ls |grep -v ^NAME| awk '{print $1}'`&lt;br /&gt;
do&lt;br /&gt;
if [[ $LDOM = primary ]];&lt;br /&gt;
then &lt;br /&gt;
echo "Backing up LDOM $LDOM to $BDIR as $LDOM-$HOST.xml"&lt;br /&gt;
ldm ls-constraints -x $LDOM &amp;gt; $BDIR/$LDOM-$HOST.xml&lt;br /&gt;
else&lt;br /&gt;
echo "Backing up LDOM $LDOM to $BDIR as $LDOM.xml"&lt;br /&gt;
ldm ls-constraints -x $LDOM &amp;gt; $BDIR/$LDOM.xml&lt;br /&gt;
fi&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo "Saving extended information 'ldm ls -e -p' to ldm-extended.out"&lt;br /&gt;
mv $BDIR/ldm-extended.out $BDIR/ldm-extended.out.backup&lt;br /&gt;
ldm ls -e -p &amp;gt; $BDIR/ldm-extended.out&lt;br /&gt;
&lt;br /&gt;
echo ""&lt;br /&gt;
echo "-------------------------"&lt;br /&gt;
echo "Backup of LDOM's complete"&lt;br /&gt;
echo "If this is a cluster environment, ensure you scp the guest LDOM"&lt;br /&gt;
echo "XML files to the adoptive nodes"&lt;br /&gt;
echo "-------------------------"&lt;br /&gt;
echo ""&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
save_sp_config(){&lt;br /&gt;
echo ""&lt;br /&gt;
echo "We will now backup the LDOM Configuration to the Service Processor"&lt;br /&gt;
echo ""&lt;br /&gt;
echo "Current list of the saved Service Processor configs:"&lt;br /&gt;
ldm ls-spconfig&lt;br /&gt;
echo ""&lt;br /&gt;
echo "Is there an existing configuration you want to over-write?[Y|N]"&lt;br /&gt;
read overwrite&lt;br /&gt;
#        if [ $overwrite = "Y" -o $overwrite = "y" ];then&lt;br /&gt;
if [[ $overwrite = "Y" || $overwrite = "y" ]];then&lt;br /&gt;
echo "Enter the name of config you want to overwrite:"&lt;br /&gt;
read overwrite_config&lt;br /&gt;
echo "Removing/adding the config...."&lt;br /&gt;
ldm rm-spconfig $overwrite_config&lt;br /&gt;
ldm add-spconfig $overwrite_config&lt;br /&gt;
echo ""&lt;br /&gt;
echo "The current SP configurations are:"&lt;br /&gt;
ldm ls-spconfig&lt;br /&gt;
echo ""&lt;br /&gt;
else&lt;br /&gt;
echo "OK, we will add a new config, enter the name of the config:[prod]"&lt;br /&gt;
read new_config&lt;br /&gt;
if [[ -z $new_config ]];then&lt;br /&gt;
export new_config=prod&lt;br /&gt;
fi&lt;br /&gt;
echo "Adding new config $new_config to the SP"&lt;br /&gt;
ldm add-spconfig $new_config&lt;br /&gt;
echo ""&lt;br /&gt;
echo "The current SP configs are:"&lt;br /&gt;
ldm ls-spconfig&lt;br /&gt;
echo ""&lt;br /&gt;
fi&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# MAIN&lt;br /&gt;
if [[ $ID != root ]];then&lt;br /&gt;
usage &amp;amp;&amp;amp; exit 1&lt;br /&gt;
fi&lt;br /&gt;
export_config&lt;br /&gt;
sleep 5&lt;br /&gt;
save_sp_config&lt;/blockquote&gt;&lt;br /&gt;
Thanks to &lt;a href="http://www.sun.com/bigadmin/scripts/submittedScripts/ldom-back.ksh.txt"&gt;Kevin&lt;/a&gt; for this useful script. Quite handy when you wish to back reference your configuration or have a quick recovery.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-2808762918871451783?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/02/how-to-backup-ldom-configurations.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-lr-XrUHcKlk/TWQWTJrhUiI/AAAAAAAAAW0/-eOaqJRSwDg/s72-c/backupldom.ksh.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-7774447841484942889</guid><pubDate>Mon, 21 Feb 2011 17:05:00 +0000</pubDate><atom:updated>2011-02-21T22:35:56.403+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">ldoms</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Recover From A Hung Guest LDOM State</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yEj2kzItLBs0Zv1FwDvDhvO-RWg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yEj2kzItLBs0Zv1FwDvDhvO-RWg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yEj2kzItLBs0Zv1FwDvDhvO-RWg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yEj2kzItLBs0Zv1FwDvDhvO-RWg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-r8fmMvZ04ac/TWKbWI6aPeI/AAAAAAAAAWw/rvoPCFnfhO8/s1600/Break+LDOM.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="188" src="http://2.bp.blogspot.com/-r8fmMvZ04ac/TWKbWI6aPeI/AAAAAAAAAWw/rvoPCFnfhO8/s200/Break+LDOM.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Logical Domains or LDOMs was a step in the right direction toward achieving hardware partitioning and in turn virtualization. However, it is not uncommon to find the guest LDOMs in hung state which end up having dependency with the Control Domain. Take for example the following situation -&lt;br /&gt;
&lt;blockquote&gt;# ldm list&lt;br /&gt;
NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLAGS&amp;nbsp;&amp;nbsp; CONS&amp;nbsp;&amp;nbsp;&amp;nbsp; VCPU&amp;nbsp; MEMORY&amp;nbsp;&amp;nbsp; UTIL&amp;nbsp; UPTIME&lt;br /&gt;
primary&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n-cv-&amp;nbsp; SP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.7%&amp;nbsp; 443d 8h &lt;br /&gt;
ldom011&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5008&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp; 16G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%&amp;nbsp; 115d 11h &lt;br /&gt;
ldom012&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5001&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp; 16G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.4%&amp;nbsp; 40d 17m&lt;br /&gt;
ldom013&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5002&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp; 16G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33%&amp;nbsp; 39d 23h 41m&lt;br /&gt;
ldom014&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.9%&amp;nbsp; 492d 9h &lt;br /&gt;
ldom015&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -t----&amp;nbsp; 5003&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&amp;nbsp;&amp;nbsp;&amp;nbsp; 24G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0%&amp;nbsp; 0s&lt;br /&gt;
ldom016&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5004&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%&amp;nbsp; 151d 13h &lt;br /&gt;
ldom017&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5005&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%&amp;nbsp; 153d 7h &lt;br /&gt;
ldom018&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5006&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%&amp;nbsp; 157d 7h &lt;br /&gt;
ldom019&amp;nbsp;&amp;nbsp;&amp;nbsp; active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -n----&amp;nbsp; 5007&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%&amp;nbsp; 153d 8h&lt;/blockquote&gt;Most of the LDOMs herein are not reachable even via console -&lt;br /&gt;
&lt;blockquote&gt;# telnet localhost 5003&lt;br /&gt;
Trying 127.0.0.1...&lt;br /&gt;
Connected to localhost.&lt;br /&gt;
Escape character is '^]'.&lt;br /&gt;
&lt;br /&gt;
Connecting to console "ldom015" in group "ldom015" ....&lt;br /&gt;
Press ~? for control options ..&lt;br /&gt;
&lt;br /&gt;
telnet&amp;gt; send brk&lt;br /&gt;
&lt;br /&gt;
telnet&amp;gt; q&lt;br /&gt;
Connection to localhost closed.&lt;/blockquote&gt;You will observe the guest LDOMs are out of administrative control. Sending Break signal doesn't work either. And attempts to stop / unbind the guest domain result in the following unsuccessful attempts -&lt;br /&gt;
&lt;blockquote&gt;root@controldomain&lt;br /&gt;
/root&lt;br /&gt;
# ldm stop -f ldom015&lt;br /&gt;
LDom ldom015 stop notification failed&lt;br /&gt;
&lt;br /&gt;
root@controldomain&lt;br /&gt;
/root&lt;br /&gt;
# ldm unbind ldom015&lt;br /&gt;
LDom ldom015 cannot be unbound because it is active&lt;/blockquote&gt;Under such circumstances and I speak with vendor recommendation that you are left with the only option to reboot the control domain. Magically, after the reboot all the servers come up without any complications. This may be happening very regularly in your environment and the best way out to resolve your problem permanently is to upgrade the LDOM software version from 1.1 to 1.2. For this is a known bug documented with Oracle knowledge database. Checkout &lt;a href="http://download.oracle.com/docs/cd/E19227-01/820-7253/upgradingtoldoms1.2/index.html" target="_blank"&gt;Upgrading To Logical Domains 1.2 Software&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-7774447841484942889?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/02/how-to-recover-from-hung-guest-ldom.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-r8fmMvZ04ac/TWKbWI6aPeI/AAAAAAAAAWw/rvoPCFnfhO8/s72-c/Break+LDOM.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-7233816441900718456</guid><pubDate>Fri, 04 Feb 2011 13:05:00 +0000</pubDate><atom:updated>2011-02-04T18:35:34.224+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">errorcode</category><title>ErrorCode: Command not found</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WPzoiEV4xhKyhGGCLAX-fpKjDpI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WPzoiEV4xhKyhGGCLAX-fpKjDpI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WPzoiEV4xhKyhGGCLAX-fpKjDpI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WPzoiEV4xhKyhGGCLAX-fpKjDpI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table cellspacing="0" style="width: 100%;"&gt;&lt;tbody&gt;
&lt;tr style="background-color: #e1e1e1;"&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Category&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;UNIX&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Error Message&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;Command not found&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-color: #e1e1e1;"&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Elaborate&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;Hi There,&lt;br /&gt;
&lt;br /&gt;
First of all, I really like your site. I am an aspiring UNIX system administrator and for some reason I am not able to execute few very obvious commands. I am not sure if I am confusing between different versions of UNIX like AIX, Solaris or Linux command specifics. But whenever I execute these commands it simply gives an error - "Command not found".&lt;br /&gt;
&lt;br /&gt;
Can you please help me with the same?&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-7233816441900718456?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/02/errorcode-command-not-found.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-2034004639136236829</guid><pubDate>Thu, 03 Feb 2011 14:24:00 +0000</pubDate><atom:updated>2011-02-03T19:54:50.399+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">explorer</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>What To Do When Veritas Explorer Hangs</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GtEd6f3Lc6QO__G-MTp4LTHWeOw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GtEd6f3Lc6QO__G-MTp4LTHWeOw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GtEd6f3Lc6QO__G-MTp4LTHWeOw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GtEd6f3Lc6QO__G-MTp4LTHWeOw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://3.bp.blogspot.com/_LiXWlDY3HYI/TUq6JQ9CcSI/AAAAAAAAAV4/Ij_yr0sSTdM/s1600/Veritas+Explorer+Data+Collection.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/_LiXWlDY3HYI/TUq6JQ9CcSI/AAAAAAAAAV4/Ij_yr0sSTdM/s200/Veritas+Explorer+Data+Collection.jpg" width="148" /&gt;&lt;/a&gt;Veritas Explorer is the executable package that collects all the relevant information a symantec engineer needs to know the current status of the system and do necessary troubleshooting. The VRTSexplorer is usually executed from the location -&lt;br /&gt;
&lt;blockquote&gt;# /opt/VRTSspt/VRTSexplorer/VRTSexplorer &lt;/blockquote&gt;However, ideally you raise a call with the vendor only when you need to do break-fix. So it is very common to find that the data collection tool VRTSexplorer in a hung state. What can be done now?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The solution is simple!&lt;br /&gt;
&lt;blockquote&gt;Identify the rock bottom process in the process tree that is hanging a give it a "pill of death" by "KILL -9" signal.&lt;/blockquote&gt;Here are the step by step execution details, for your execution and reference - &lt;br /&gt;
&lt;br /&gt;
1. Identify the VRTSexplorer process id. The second column herein the output identifies the process id. &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# ps -aef | egrep -i VRTSexplorer | egrep -v egrep&lt;/blockquote&gt;Lets say the process id is 1043 &lt;br /&gt;
&lt;br /&gt;
2. Then to identify the rock bottom process, use the command -&lt;br /&gt;
&lt;blockquote&gt;# ptree 1043&lt;/blockquote&gt;It gives you the hierarchy of child processes with process id running under process id 1043.&lt;br /&gt;
&lt;br /&gt;
3. Identify the last process id within this hierarchy (say it is 1056) and as said before - give it a "pill of death"&lt;br /&gt;
&lt;blockquote&gt;# kill -9 1056&lt;/blockquote&gt;Bingo! And you will find that the VRTSexplorer will breath life again!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-2034004639136236829?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/02/what-to-do-when-veritas-explorer-hangs.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_LiXWlDY3HYI/TUq6JQ9CcSI/AAAAAAAAAV4/Ij_yr0sSTdM/s72-c/Veritas+Explorer+Data+Collection.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-7296803266038343342</guid><pubDate>Mon, 31 Jan 2011 15:15:00 +0000</pubDate><atom:updated>2011-01-31T20:45:35.346+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">knowhow</category><category domain="http://www.blogger.com/atom/ns#">networking</category><title>How To Implement Sun Trunking And Achieve Fast Data Transfer Rate</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/O_DurhyHcQC3p5yptK7sVlXSPjI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O_DurhyHcQC3p5yptK7sVlXSPjI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/O_DurhyHcQC3p5yptK7sVlXSPjI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O_DurhyHcQC3p5yptK7sVlXSPjI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://3.bp.blogspot.com/_LiXWlDY3HYI/TUbRvc0jTDI/AAAAAAAAAVs/KYXaI0lhLxQ/s1600/Sun+Trunking+For+High+Aggregated+Speed.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="135" src="http://3.bp.blogspot.com/_LiXWlDY3HYI/TUbRvc0jTDI/AAAAAAAAAVs/KYXaI0lhLxQ/s200/Sun+Trunking+For+High+Aggregated+Speed.jpg" width="200" /&gt;&lt;/a&gt;The sun trunking software 1.3 helps to aggregate ethernet adapters in solaris to provide higher aggregated data transfer rates. I am describing here how exactly one can implement it on their servers. It is indeed an amazing concept giving you extra ordinary speed for data transfer within your infrastructure.&lt;br /&gt;
&lt;br /&gt;
Pre-Requisite: SUN Gigaswift Ethernet Adapter drivers should be there ( ce drivers are present in my environment). Download the &lt;a href="http://www.oracle.com/us/products/servers-storage/networking/031074.htm"&gt;Sun Trunking Software&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
1. Install the SUN Trunking Software through the automated script ( ./install ) provided in SUN Zipped Trunking Package - Sun_Trunking_1[1].3_s10_2.zip ( This will install the necessary patches for a successful installation ) .&lt;br /&gt;
&lt;br /&gt;
2. Make sure that the Link mode is set to run Full Duplex. Also the settings need to be changed at the Switch Level to support Trunking .&lt;br /&gt;
&lt;br /&gt;
At the LINK mode :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# ndd -set /dev/ce instance ( instance number )&lt;br /&gt;
# ndd -set /dev/ce adv_100fdx_cap 1&lt;br /&gt;
# ndd -set /dev/ce adv_100hdx_cap 0&lt;br /&gt;
# ndd -set /dev/ce adv_autoneg_cap 0&lt;/blockquote&gt;&lt;br /&gt;
3. Unplumb the Interface before configuring Sun Trunking .&lt;br /&gt;
&lt;br /&gt;
4. Setup the Trunk and Plumb the interface. ( Note : We need to figure out the policy here )&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# nettr -setup 10 device=ce members=0,1 policy=1   &lt;/blockquote&gt;&lt;br /&gt;
5 . Put the entries into /etc/opt/SUNWconn/bin/nettr.sh file and check the configuration after a successful implementation through nettr –conf command . This is to preserve the settings across reboot.&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/opt/SUNWconn/bin/nettr.sh&lt;br /&gt;
nettr -setup 10 device=ce members=0,1 policy=1  &lt;/blockquote&gt;&lt;br /&gt;
6. Plumb the interface&lt;br /&gt;
&lt;blockquote&gt;# ifconfig ce0 inet [ IP address ][ Netmask ] [ Broadcast ]  plumb up&lt;/blockquote&gt;&lt;br /&gt;
7. Create the /etc/hostname.driver# (where # corresponds to the instance number used as the trunk head i.e. – ce0  ) file and add the entry into /etc/hosts file.&lt;br /&gt;
&lt;br /&gt;
8. Finally, add routes as applicable to your network.&lt;br /&gt;
&lt;blockquote&gt;# route add net 20.254.52.112/28 20.254.52.110&lt;/blockquote&gt;&lt;br /&gt;
Note1: Only one interface, i.e. ce0 will be plumbed. The other interface that is trunked will remain unplumbed but rest assured that it will be working beneath and providing high aggregated speed.&lt;br /&gt;
&lt;br /&gt;
Note2: Use DLADM SHOW-DEV to observe the effects!!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-7296803266038343342?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2009/06/sun-trunking-sol-10-e25-k_30.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_LiXWlDY3HYI/TUbRvc0jTDI/AAAAAAAAAVs/KYXaI0lhLxQ/s72-c/Sun+Trunking+For+High+Aggregated+Speed.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-2484715418295911971</guid><pubDate>Sun, 30 Jan 2011 03:47:00 +0000</pubDate><atom:updated>2011-01-30T11:28:45.230+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">knowhow</category><category domain="http://www.blogger.com/atom/ns#">gallery</category><title>How To Find Quickly The Status Of All The Servers In A Data Center</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lt5JKbue84ezhCz_G16INFm-8oM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lt5JKbue84ezhCz_G16INFm-8oM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lt5JKbue84ezhCz_G16INFm-8oM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lt5JKbue84ezhCz_G16INFm-8oM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TUTesdoFIrI/AAAAAAAAAVQ/C6phnphEVHQ/s1600/System+Administrator+In+Stress+Data+Center+Outage.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TUTesdoFIrI/AAAAAAAAAVQ/C6phnphEVHQ/s200/System+Administrator+In+Stress+Data+Center+Outage.jpg" width="133" /&gt;&lt;/a&gt;&lt;/div&gt;Complete data center shutdown is an yearly planned event in most organizations. It gives the organization a nice idea about the disaster recovery procedures it has in place and an opportunity to follow up with the tech teams for re-mediating delinquencies. Power outages, DR testing, SAN offline events, power supply replacement, microcode upgrade (if you don't have multipathing), etc are some of the other events that require outages on a large number of servers. The servers usually come online once the power is restored. To ensure the same one must set the OBP parameter -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;ok&amp;gt; setenv auto-boot? true&lt;br /&gt;
# eeprom auto-boot?=true&lt;/blockquote&gt;&lt;br /&gt;
When the servers are coming online, a system administrator is in a great time crunch. It is very plausible that many servers may not come online smoothly. It becomes very difficult for sys admins to figure out where should they be channelizing their energies and how to find the defects in first place when you have 5000+ servers booting up simultaneously with great management pressure. Well, here is a small PING script to your rescue. This must be executed from a command server that has access routes to all the servers in the Data Center. &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# cat findstatus.sh&lt;br /&gt;
&lt;br /&gt;
# Purpose:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To identify servers online/offline&lt;br /&gt;
# Usage:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; During mega DR, SAN Migration, Power Down Events&lt;br /&gt;
# Requirements: Use the "list" file to mention the server names/line&lt;br /&gt;
&lt;br /&gt;
# Clean And Initialize Temporary Files&lt;br /&gt;
&lt;br /&gt;
cat /dev/null &amp;gt; down&lt;br /&gt;
cat /dev/null &amp;gt; up&lt;br /&gt;
&lt;br /&gt;
# Run Main Program Logic&lt;br /&gt;
&lt;br /&gt;
for i in `cat list`&lt;br /&gt;
do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ""&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "Checking For $i"&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ping $i 2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ $? -ne 0 ]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo $i &amp;gt;&amp;gt; down&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo $i &amp;gt;&amp;gt; up&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo ""&lt;br /&gt;
echo "###################################"&lt;br /&gt;
&lt;br /&gt;
# Calculate Numbers&lt;br /&gt;
&lt;br /&gt;
ntotal=`cat list | wc -l`&lt;br /&gt;
nup=`cat up | wc -l`&lt;br /&gt;
ndown=`cat down | wc -l`&lt;br /&gt;
&lt;br /&gt;
# Reporting Section&lt;br /&gt;
&lt;br /&gt;
echo "Total Servers Checked:\t$ntotal"&lt;br /&gt;
echo "###################################"&lt;br /&gt;
echo "Total Servers Up:\t$nup"&lt;br /&gt;
cat up&lt;br /&gt;
echo "###################################"&lt;br /&gt;
echo "Total Servers Down:\t$ndown"&lt;br /&gt;
cat down&lt;br /&gt;
echo "###################################"&lt;/blockquote&gt;&lt;br /&gt;
Sample LIST file requried for the script execution is as follows and it contains the FQDN of all the servers of whom you wish to check the status -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# cat list&lt;br /&gt;
linux_server_web_1&lt;br /&gt;
linux_server_db_2&lt;br /&gt;
solaris_server_application_1&lt;br /&gt;
solaris_server_web_2&lt;br /&gt;
hp-ux_server_db_1&lt;br /&gt;
aix_server_db_1&lt;/blockquote&gt;&lt;br /&gt;
Here is how you can use the script and the relevant sample output -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# ./findstatus.sh&lt;br /&gt;
&lt;br /&gt;
Checking For linux_server_web_1&lt;br /&gt;
linux_server_web_1 is alive&lt;br /&gt;
&lt;br /&gt;
Checking For aix_server_db_1&lt;br /&gt;
aix_server_db_1 is alive&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
###################################&lt;br /&gt;
Total Servers Checked:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;br /&gt;
###################################&lt;br /&gt;
Total Servers Up:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;br /&gt;
&amp;nbsp;linux_server_web_1&lt;br /&gt;
linux_server_db_2&lt;br /&gt;
solaris_server_application_1&lt;br /&gt;
solaris_server_web_2&lt;br /&gt;
hp-ux_server_db_1&lt;br /&gt;
aix_server_db_1&lt;br /&gt;
###################################&lt;br /&gt;
Total Servers Down:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
###################################&lt;/blockquote&gt;&lt;br /&gt;
Note: If the servers are down, such&amp;nbsp; a script will usually run very slowly. The reason that makes the script faster in execution is the command usage - &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;ping $i 2&lt;/blockquote&gt;&lt;br /&gt;
which sets a default npackets to be sent across as only 2. This makes the execution very fast and is good enough a try- to figure out the server statuses. Anyhow, this is only the initial step of the troubleshooting! &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-2484715418295911971?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-find-quickly-status-of-all.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TUTesdoFIrI/AAAAAAAAAVQ/C6phnphEVHQ/s72-c/System+Administrator+In+Stress+Data+Center+Outage.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-6921168341964020441</guid><pubDate>Wed, 26 Jan 2011 18:57:00 +0000</pubDate><atom:updated>2011-01-27T00:27:36.134+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">veritas cluster</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Increase A Cluster File System</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_ACtjhD07zozTdPzYQOnZn2vcVU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_ACtjhD07zozTdPzYQOnZn2vcVU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_ACtjhD07zozTdPzYQOnZn2vcVU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_ACtjhD07zozTdPzYQOnZn2vcVU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_LiXWlDY3HYI/TUBt8oRbdNI/AAAAAAAAAU8/GdPbsedRfpE/s1600/Increase+CFS.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/_LiXWlDY3HYI/TUBt8oRbdNI/AAAAAAAAAU8/GdPbsedRfpE/s200/Increase+CFS.png" width="81" /&gt;&lt;/a&gt;&lt;/div&gt;It's all too simple with VXRESIZE when you have a VXFS. However, the question here is how to increase a CFS, i.e. a Cluster File System. The previously discussed concept of Master-Slave Node and Primary for Storage Foundation Cluster File System comes into picture herein. If you would like to brush up the concepts there, check out - &lt;a href="http://www.rimserv.com/2011/01/how-to-identify-master-slave-and.html"&gt;How To Identify Master-Slave And Primary-Secondary Cluster Nodes &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
To begin with learn the process and make it a thumb rule -&lt;br /&gt;
&lt;blockquote&gt;Grow the volume from the CVM Master, and then grow the File System from any SF CFS node. Please note that the CVM Master and the SF CFS node can be two different nodes.&lt;/blockquote&gt;&lt;br /&gt;
Figure out the primary of the cluster file system by -&lt;br /&gt;
&lt;blockquote&gt;# fsclustadm -v showprimary mount_point&lt;/blockquote&gt;&lt;br /&gt;
Figure out the master CVM node in the cluster by-&lt;br /&gt;
&lt;blockquote&gt;# vxdctl -c mode&lt;/blockquote&gt;&lt;br /&gt;
To increase the size of the file system, execute the following on CVM master -&lt;br /&gt;
&lt;blockquote&gt;# vxassist –g shared_disk_group growto volume_name newlength&lt;/blockquote&gt;&lt;br /&gt;
And then on SF CFS node, execute-&lt;br /&gt;
&lt;blockquote&gt;# fsadm –F vxfs –b newsize –r device_name mount_point&lt;/blockquote&gt;&lt;br /&gt;
That is it! The results will be replicated to all the cluster nodes. It may require a "VXDCTL ENABLE" on other nodes, but should be fair and square. Enjoy the new space!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-6921168341964020441?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-increase-cluster-file-system.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_LiXWlDY3HYI/TUBt8oRbdNI/AAAAAAAAAU8/GdPbsedRfpE/s72-c/Increase+CFS.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-5054636275441572504</guid><pubDate>Tue, 25 Jan 2011 17:55:00 +0000</pubDate><atom:updated>2011-01-26T03:41:16.399+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">veritas cluster</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Ensure CRS Has Stopped Completely</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G5VIo-jSO6cprJAPfEvuvsM5WtE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G5VIo-jSO6cprJAPfEvuvsM5WtE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G5VIo-jSO6cprJAPfEvuvsM5WtE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G5VIo-jSO6cprJAPfEvuvsM5WtE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_LiXWlDY3HYI/TT8OCZrchTI/AAAAAAAAAU4/_vBk0cJ72TI/s1600/Oracle+RAC+Cluster.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="182" src="http://2.bp.blogspot.com/_LiXWlDY3HYI/TT8OCZrchTI/AAAAAAAAAU4/_vBk0cJ72TI/s200/Oracle+RAC+Cluster.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Symantec recommends to place the CRS cluster as an application resource with start, stop, monitor and clean scripts- at the top of the dependency matrix within a veritas cluster. It is advisable to bring the cluster down before the server is being shut down. Also, you must ensure that you bring down the clustered environment always with the command -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# shutdown -y -i5 -g0&lt;/blockquote&gt;&lt;br /&gt;
This is a safe way to bring all the services down systematically. It may be time consuming, but you become more confident about a smooth start up sequence when the server boots up. REBOOT is a dangerous way to do it which simply kills the running processes to ensure that the server has been brought down.&lt;br /&gt;
&lt;br /&gt;
Now, coming to the main point - how can you ensure that the CRS has stopped completely? GABCONFIG is the command that will show you the ports status. This is after you have executed -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# hastop -all&lt;/blockquote&gt;&lt;br /&gt;
Just follow the sequence below and ensure you have a smooth CRS shutdown.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Solaris-Box2 # /etc/init.d/init.crs stop&lt;br /&gt;
Shutting down Oracle Cluster Ready Services (CRS):&lt;br /&gt;
Stopping resources. This could take several minutes.&lt;br /&gt;
Error while stopping resources. Possible cause: CRSD is down.&lt;br /&gt;
Shutdown has begun. The daemons should exit soon.&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # gabconfig -a&lt;br /&gt;
GAB Port Memberships&lt;br /&gt;
===========================================&lt;br /&gt;
Port a gen&amp;nbsp;&amp;nbsp; 444e08 membership 01&lt;br /&gt;
Port b gen&amp;nbsp;&amp;nbsp; 444e0c membership 01&lt;br /&gt;
Port d gen&amp;nbsp;&amp;nbsp; 444e07 membership 01&lt;br /&gt;
Port f gen&amp;nbsp;&amp;nbsp; 444e17 membership ;1&lt;br /&gt;
Port f gen&amp;nbsp;&amp;nbsp; 444e17&amp;nbsp;&amp;nbsp;&amp;nbsp; visible 0&lt;br /&gt;
Port o gen&amp;nbsp;&amp;nbsp; 444e0b membership 01&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15 membership ;1&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15&amp;nbsp;&amp;nbsp;&amp;nbsp; visible 0&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # pkill vxfsckd&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # gabconfig -a&lt;br /&gt;
GAB Port Memberships&lt;br /&gt;
===========================================&lt;br /&gt;
Port a gen&amp;nbsp;&amp;nbsp; 444e08 membership 01&lt;br /&gt;
Port b gen&amp;nbsp;&amp;nbsp; 444e0c membership 01&lt;br /&gt;
Port d gen&amp;nbsp;&amp;nbsp; 444e07 membership 01&lt;br /&gt;
Port f gen&amp;nbsp;&amp;nbsp; 444e17 membership ;1&lt;br /&gt;
Port f gen&amp;nbsp;&amp;nbsp; 444e17&amp;nbsp;&amp;nbsp;&amp;nbsp; visible 0&lt;br /&gt;
Port o gen&amp;nbsp;&amp;nbsp; 444e0b membership 01&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15 membership ;1&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15&amp;nbsp;&amp;nbsp;&amp;nbsp; visible 0&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # fsclustadm cfsdeinit&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # gabconfig -a&lt;br /&gt;
GAB Port Memberships&lt;br /&gt;
===========================================&lt;br /&gt;
Port a gen&amp;nbsp;&amp;nbsp; 444e08 membership 01&lt;br /&gt;
Port b gen&amp;nbsp;&amp;nbsp; 444e0c membership 01&lt;br /&gt;
Port d gen&amp;nbsp;&amp;nbsp; 444e07 membership 01&lt;br /&gt;
Port o gen&amp;nbsp;&amp;nbsp; 444e0b membership 01&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15 membership ;1&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15&amp;nbsp;&amp;nbsp;&amp;nbsp; visible 0&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # pkill qlogckd&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # gabconfig -a&lt;br /&gt;
GAB Port Memberships&lt;br /&gt;
===========================================&lt;br /&gt;
Port a gen&amp;nbsp;&amp;nbsp; 444e08 membership 01&lt;br /&gt;
Port b gen&amp;nbsp;&amp;nbsp; 444e0c membership 01&lt;br /&gt;
Port d gen&amp;nbsp;&amp;nbsp; 444e07 membership 01&lt;br /&gt;
Port o gen&amp;nbsp;&amp;nbsp; 444e0b membership 01&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15 membership ;1&lt;br /&gt;
Port q gen&amp;nbsp;&amp;nbsp; 444e15&amp;nbsp;&amp;nbsp;&amp;nbsp; visible 0&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # qlogclustadm deinit&lt;br /&gt;
&lt;br /&gt;
Solaris-Box2 # gabconfig -a&lt;br /&gt;
GAB Port Memberships&lt;br /&gt;
===========================================&lt;br /&gt;
Port a gen&amp;nbsp;&amp;nbsp; 444e08 membership 01&lt;br /&gt;
Port b gen&amp;nbsp;&amp;nbsp; 444e0c membership 01&lt;br /&gt;
Port d gen&amp;nbsp;&amp;nbsp; 444e07 membership 01&lt;br /&gt;
Port o gen&amp;nbsp;&amp;nbsp; 444e0b membership 01&lt;/blockquote&gt;&lt;br /&gt;
Phew! Finally, CRS stopped completely! &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-5054636275441572504?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-ensure-crs-has-stopped.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_LiXWlDY3HYI/TT8OCZrchTI/AAAAAAAAAU4/_vBk0cJ72TI/s72-c/Oracle+RAC+Cluster.jpg" height="72" width="72" /><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-8910683513170630703</guid><pubDate>Mon, 24 Jan 2011 18:40:00 +0000</pubDate><atom:updated>2011-02-04T18:36:04.283+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">errorcode</category><title>ErrorCode: VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sP-1gDobUFSeMrRagzFJXNM1R-A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sP-1gDobUFSeMrRagzFJXNM1R-A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sP-1gDobUFSeMrRagzFJXNM1R-A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sP-1gDobUFSeMrRagzFJXNM1R-A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table cellspacing="0" style="width: 100%;"&gt;&lt;tbody&gt;
&lt;tr style="background-color: #e1e1e1;"&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Category&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;Veritas Volume Manager&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Error Message&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-color: #e1e1e1;"&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Elaborate&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;I just installed Veritas Storage Foundation 5.0 flawlessly. It was without a doubt a clean install. There were no warning messages and errors. But once the installation has completed, I am unable to run any of the veritas commands. I don't think I have missed any step, but then it may be a small thing that has just slipped my mind. Can you please help me resolve it without logging a symantec case?&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-8910683513170630703?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/errorcode-vxvm-vxdisk-error-v-5-1-684.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-3881898538029462835</guid><pubDate>Mon, 24 Jan 2011 12:05:00 +0000</pubDate><atom:updated>2011-01-24T17:35:41.860+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">knowhow</category><category domain="http://www.blogger.com/atom/ns#">gallery</category><title>How To Start HACMP Cluster In AIX</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/38PBmRKg7h3qO6U0f7AalByOf8Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/38PBmRKg7h3qO6U0f7AalByOf8Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/38PBmRKg7h3qO6U0f7AalByOf8Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/38PBmRKg7h3qO6U0f7AalByOf8Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_LiXWlDY3HYI/TT1quwY8ujI/AAAAAAAAAU0/fujhmsZlblQ/s1600/HACMP+Cluster.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="143" src="http://3.bp.blogspot.com/_LiXWlDY3HYI/TT1quwY8ujI/AAAAAAAAAU0/fujhmsZlblQ/s200/HACMP+Cluster.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;This is all about a simple situation when you have a perfectly configured HACMP cluster. No troubleshooting, not a single break fix- just plain old cluster start up sequence - and that is only what I intend to elaborate herein. The advantage of AIX is that things are very much menu based and the key to that menu is - smitty!! All selected options within the menu are marked by "&amp;lt;---"  &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# smitty hacmp&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;
Initialization and Standard Configuration&lt;br /&gt;
Extended Configuration&lt;br /&gt;
System Management (C-SPOC) &amp;lt;---   &lt;br /&gt;
Problem Determination Tools &lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~   &lt;br /&gt;
HACMP Communication Interface Management &amp;lt;---   &lt;br /&gt;
HACMP Resource Group and Application Management   &lt;br /&gt;
HACMP Log Viewing and Management   &lt;br /&gt;
HACMP File Collection Management   &lt;br /&gt;
HACMP Security and Users Management   &lt;br /&gt;
HACMP Logical Volume Management   &lt;br /&gt;
HACMP Concurrent Logical Volume Management   &lt;br /&gt;
HACMP Physical Volume Management   &lt;br /&gt;
Configure GPFS   &lt;br /&gt;
Open a SMIT Session on a Node &lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~   &lt;br /&gt;
Manage HACMP Services   &lt;br /&gt;
Start Cluster Services &amp;lt;---&lt;br /&gt;
Stop Cluster Services                      &lt;br /&gt;
Show Cluster Services &lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~ &lt;br /&gt;
* Start now, on system restart or both [now+]   &lt;br /&gt;
Start Cluster Services on these nodes[AIX_Box_1]+ &lt;br /&gt;
* Manage Resource Groups [Automatically+]   &lt;br /&gt;
BROADCAST message at startup? [true+]   &lt;br /&gt;
Startup Cluster Information Daemon? [true+]   &lt;br /&gt;
Ignore verification errors?[ false+]   &lt;br /&gt;
Automatically correct errors found during [Interactively+]   &lt;br /&gt;
cluster start? &amp;lt;--- &lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/blockquote&gt;&lt;br /&gt;
And then you may see loads of warning messages, but it is alright as long as the messages on the console are not errors. Shortly, you should be seeing your HACMP cluster up and running!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-3881898538029462835?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-start-hacmp-cluster-in-aix.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_LiXWlDY3HYI/TT1quwY8ujI/AAAAAAAAAU0/fujhmsZlblQ/s72-c/HACMP+Cluster.gif" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-938000535536851471</guid><pubDate>Sun, 23 Jan 2011 13:45:00 +0000</pubDate><atom:updated>2011-01-23T19:16:04.737+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">veritas cluster</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Identify Master-Slave And Primary-Secondary Cluster Nodes</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tSIVIqu2dZTm5CO7NdG3XmRT67M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tSIVIqu2dZTm5CO7NdG3XmRT67M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tSIVIqu2dZTm5CO7NdG3XmRT67M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tSIVIqu2dZTm5CO7NdG3XmRT67M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTwwVgcnXHI/AAAAAAAAAUw/S5Nn8q9_S48/s1600/Find+Cluster+Master-Slave+Primary-Secondary.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="112" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTwwVgcnXHI/AAAAAAAAAUw/S5Nn8q9_S48/s320/Find+Cluster+Master-Slave+Primary-Secondary.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;The concept of Master-Slave and Primary-Secondary comes into picture when the environment is Active-Active with parallel clusters. It is implicit that the clustered environment will have clustered file systems that are mounted parallel on multiple cluster nodes. It is very easy to confuse among the terminology and usage. So here is a brief explanation for all future use -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# vxdctl -c mode&lt;br /&gt;
mode: enabled: cluster active - SLAVE&lt;br /&gt;
master: UNIX-Node-1&lt;br /&gt;
=&amp;gt; Shows master and slave cluster nodes&lt;/blockquote&gt;&lt;br /&gt;
&lt;blockquote&gt;# fsclustadm -v showprimary /cfs/mount/point&lt;br /&gt;
UNIX-Node-1&lt;br /&gt;
=&amp;gt; Shows primary and implicitly secondary for a given cfs filesystem&lt;/blockquote&gt;&lt;br /&gt;
The Master-Slave concept can be used when you wish to fire veritas cluster commands. Note that they must be fired from the Master cluster node.&lt;br /&gt;
&lt;br /&gt;
The Primary-Secondary concept can be used when you wish to fire veritas configuration commands that are specific to the cluster file system in question. Like increasing the cluster file system size, decreasing the same, etc. This must be fired from Primary node for the given cluster file system.&lt;br /&gt;
&lt;br /&gt;
Now can you tell me "How To Change Master-Slave And Primary-Secondary Cluster Nodes"?? &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-938000535536851471?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-identify-master-slave-and.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTwwVgcnXHI/AAAAAAAAAUw/S5Nn8q9_S48/s72-c/Find+Cluster+Master-Slave+Primary-Secondary.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-3110924932566206276</guid><pubDate>Sat, 22 Jan 2011 17:27:00 +0000</pubDate><atom:updated>2011-02-04T18:36:19.330+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">errorcode</category><title>ErrorCode: No directory!</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yspYVOJoocHVdK6gefDUz7LqDvo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yspYVOJoocHVdK6gefDUz7LqDvo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yspYVOJoocHVdK6gefDUz7LqDvo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yspYVOJoocHVdK6gefDUz7LqDvo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table cellspacing="0" style="width: 100%;"&gt;&lt;tbody&gt;
&lt;tr style="background-color: #e1e1e1;"&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Category&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;UNIX&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Error Message&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;No directory!&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-color: #e1e1e1;"&gt;&lt;td style="font-weight: bold; padding: 7px 9px; width: 20%;"&gt;Elaborate&lt;span style="color: red;"&gt;*&lt;/span&gt;:&lt;/td&gt;&lt;td style="padding: 7px 9px 7px 0pt; width: 80%;"&gt;I get this message every time I try to login in one of our production Solaris box. I am sure that my user id and directory is created within the server.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-3110924932566206276?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/errorcode-no-directory.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-6579448106933971612</guid><pubDate>Sat, 22 Jan 2011 15:00:00 +0000</pubDate><atom:updated>2011-01-22T20:33:23.622+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>FSCK To Your Rescue Against File System Inconsistencies</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FBaQ-uLo9qZZpVxx0bMZxO_rEzM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FBaQ-uLo9qZZpVxx0bMZxO_rEzM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FBaQ-uLo9qZZpVxx0bMZxO_rEzM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FBaQ-uLo9qZZpVxx0bMZxO_rEzM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_LiXWlDY3HYI/TTrxA74MDfI/AAAAAAAAAUo/upZKUR7QZF0/s1600/FSCK%2BTo%2BYour%2BRescue.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="122" src="http://4.bp.blogspot.com/_LiXWlDY3HYI/TTrxA74MDfI/AAAAAAAAAUo/upZKUR7QZF0/s200/FSCK%2BTo%2BYour%2BRescue.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
It is very common to have inconsistent data in your old file systems. This usually surfaces when you are trying to mount a file system over a mount point. Take this instance for example-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# mount -F vxfs /dev/vx/dsk/diskgroup_1/volume_1 /mount_point_1&lt;br /&gt;
UX:vxfs mount: ERROR: V-3-21268: /dev/vx/dsk/diskgroup_1/volume_1 is corrupted. needs checking&lt;/blockquote&gt;&lt;br /&gt;
Remember, FSCK is your best friend for not only such file system checks, but also for on the fly corrections.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# fsck -F vxfs /dev/vx/rdsk/diskgroup_1/volume_1&lt;br /&gt;
log replay in progress&lt;br /&gt;
replay complete - marking super-block as CLEAN&lt;/blockquote&gt;&lt;br /&gt;
FSCK is usually run on the raw disk and that implies "rdsk" in the volume path. Please note that it is important to specify the type of file system with the -F option which can be ufs, vxfs, etc.&lt;br /&gt;
&lt;br /&gt;
So for UFS file system the command becomes-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# fsck -F ufs /dev/md/rdsk/d30&lt;/blockquote&gt;&lt;br /&gt;
Before, correcting any block level, file level, directory level or inode level consistency, the utility generally asks for a confirmation. And if there are lots of such inconsistencies, it usually becomes frustrating for a system administrator to give the same input of "y" again and again. Here is a way out which says to go "y" by default!!&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# fsck -ofy /dev/rdsk/c1t0d0s0&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-6579448106933971612?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/fsck-to-your-rescue-against-file-system.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_LiXWlDY3HYI/TTrxA74MDfI/AAAAAAAAAUo/upZKUR7QZF0/s72-c/FSCK%2BTo%2BYour%2BRescue.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-8633406945735064709</guid><pubDate>Fri, 21 Jan 2011 15:27:00 +0000</pubDate><atom:updated>2011-01-21T20:57:51.913+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>Essential Integrity Check During Solaris Services Startup</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DL_48ONqdCzaf6f64u8CPojSM8Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DL_48ONqdCzaf6f64u8CPojSM8Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DL_48ONqdCzaf6f64u8CPojSM8Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DL_48ONqdCzaf6f64u8CPojSM8Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTmlu9P2ftI/AAAAAAAAAUg/oWvXy40TgLk/s1600/Repository.DB.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="101" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTmlu9P2ftI/AAAAAAAAAUg/oWvXy40TgLk/s200/Repository.DB.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
SVC.CONFIGD is the repository daemon responsible for maintaining /etc/svc/repository.db. The repository.db must come clean during this integrity check otherwise it is a "no go" for usual boot sequence to run level 3. The repository may get corrupted due to various hardware issues, software bugs, disk write failures, etc. A corrupted /etc/svc/repository.db displays the following message on the console -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;svc.configd: smf(5) database integrity check of:&lt;br /&gt;
&lt;br /&gt;
/etc/svc/repository.db&lt;br /&gt;
&lt;br /&gt;
failed. The database might be damaged or a media error might have&lt;br /&gt;
prevented it from being verified. Additional information useful to&lt;br /&gt;
your service provider is in:&lt;br /&gt;
&lt;br /&gt;
/etc/svc/volatile/db_errors&lt;br /&gt;
&lt;br /&gt;
The system will not be able to boot until you have restored a working&lt;br /&gt;
database. svc.startd(1M) will provide a sulogin(1M) prompt for recovery&lt;br /&gt;
purposes. The command:&lt;br /&gt;
&lt;br /&gt;
/lib/svc/bin/restore_repository&lt;br /&gt;
&lt;br /&gt;
can be run to restore a backup version of your repository. See&lt;br /&gt;
http://sun.com/msg/SMF-8000-MY for more information.&lt;br /&gt;
&lt;br /&gt;
Requesting System Maintenance Mode&lt;br /&gt;
(See /lib/svc/share/README for more information.)&lt;br /&gt;
svc.configd exited with status 102 (database initialization failure)&lt;/blockquote&gt;&lt;br /&gt;
Since, the file plays such an important role and is precisely responsible for starting the overall system services Solaris system always keeps a default copy of the repository.&lt;br /&gt;
Login to the system in single user mode -&lt;br /&gt;
&lt;blockquote&gt;Root password for system maintenance (control-d to bypass): &lt;br /&gt;
single-user privilege assigned to /dev/console.&lt;br /&gt;
Entering System Maintenance Mode&lt;/blockquote&gt;Off course to resolve the problem you just need to follow the instructions and execute the script - &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;/lib/svc/bin/restore_repository&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-8633406945735064709?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/essential-integrity-check-during.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTmlu9P2ftI/AAAAAAAAAUg/oWvXy40TgLk/s72-c/Repository.DB.png" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-447122366398820758</guid><pubDate>Fri, 21 Jan 2011 13:29:00 +0000</pubDate><atom:updated>2011-01-21T19:22:42.554+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>Difference Between Command Output Of WHOAMI And WHO AM I</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Rga-7rvf_LzL4swJp3jgsOd1AYM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rga-7rvf_LzL4swJp3jgsOd1AYM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Rga-7rvf_LzL4swJp3jgsOd1AYM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rga-7rvf_LzL4swJp3jgsOd1AYM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_LiXWlDY3HYI/TTmPlY9NDPI/AAAAAAAAAUc/sE_gQSdsrb8/s1600/Who+Am+I.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_LiXWlDY3HYI/TTmPlY9NDPI/AAAAAAAAAUc/sE_gQSdsrb8/s1600/Who+Am+I.png" /&gt;&lt;/a&gt;&lt;/div&gt;One of the basic level 1 interview question to a solaris administrator is - what is the difference between the commands "# who am i" and "# whoami". I won't go into explaining the difference but would love to show it practically. Here are the difference in output-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;solserv $ who am i&lt;br /&gt;
testuser&amp;nbsp;&amp;nbsp;&amp;nbsp; pts/1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul&amp;nbsp; 9 12:55&amp;nbsp;&amp;nbsp;&amp;nbsp; (mgmtserver.in.client.com.au)&lt;br /&gt;
solserv $ whoami&lt;br /&gt;
testuser&lt;br /&gt;
solserv $ sudo su -&lt;br /&gt;
Password:&lt;br /&gt;
Last login: Fri Jul&amp;nbsp; 9 2010 12:55:43 from pts/1&lt;br /&gt;
solserv $ who am i&lt;br /&gt;
testuser&amp;nbsp;&amp;nbsp;&amp;nbsp; pts/1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul&amp;nbsp; 9 12:55&amp;nbsp;&amp;nbsp;&amp;nbsp; (mgmtserver.in.client.com.au)&lt;br /&gt;
solserv $ whoami&lt;br /&gt;
root&lt;/blockquote&gt;Hopefully, it is crystal clear&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-447122366398820758?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2010/07/solaris-terminal-issue-with-whoami-and.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_LiXWlDY3HYI/TTmPlY9NDPI/AAAAAAAAAUc/sE_gQSdsrb8/s72-c/Who+Am+I.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-2229422785188257920</guid><pubDate>Thu, 20 Jan 2011 13:44:00 +0000</pubDate><atom:updated>2011-01-21T19:17:32.814+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">veritas cluster</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>Data Corruption When You Loose SCSI 3 Persistent Reservation</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tDCk_LYBMCQN0T_0rW2qqrdh1Og/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tDCk_LYBMCQN0T_0rW2qqrdh1Og/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tDCk_LYBMCQN0T_0rW2qqrdh1Og/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tDCk_LYBMCQN0T_0rW2qqrdh1Og/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTmOLw-_TZI/AAAAAAAAAUY/gVeESgvaI-o/s1600/SCSI+3+Persistent+Disks.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="96" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTmOLw-_TZI/AAAAAAAAAUY/gVeESgvaI-o/s320/SCSI+3+Persistent+Disks.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Troubleshooting is the name of the game. The simple error below can malfunction clustered production environments - big time. And I wish to share the details of the same -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Apr 02 11:48:28 Solaris emcp: [ID 801593 kern.notice] Error: MpxRegister: PRO service action 46 failed, 0x5/0x24/0x0&amp;nbsp; &lt;/blockquote&gt;&lt;br /&gt;
EMC powerpath records the error under the following circumstances-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;"Sun Cluster Error: MpRegister: PRO service action 6 failed, 0x5/0x24/0x0"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
ID:&amp;nbsp; emc144905 &lt;br /&gt;
Usage:&amp;nbsp; 5 &lt;br /&gt;
Date Created:&amp;nbsp; 09/24/2006 &lt;br /&gt;
Last Modified:&amp;nbsp; 06/26/2009 &lt;br /&gt;
STATUS:&amp;nbsp; Approved &lt;br /&gt;
Audience:&amp;nbsp; Customer &lt;/blockquote&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;blockquote&gt;Knowledgebase Solution&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Environment:&amp;nbsp; EMC SW: PowerPath 4.1 &lt;br /&gt;
Environment:&amp;nbsp; EMC Product: Symmetrix DMX Family &lt;br /&gt;
Environment:&amp;nbsp; Application SW: Sun Cluster 3.1 &lt;br /&gt;
Environment:&amp;nbsp; OS:&amp;nbsp; Solaris &lt;br /&gt;
Problem:&amp;nbsp; Error: MpRegister: PRO service action 6 failed, 0x5/0x24/0x0 &lt;br /&gt;
Problem:&amp;nbsp; 591F errors logging on the Symmetrix, streaming on each FA attached to the host. &lt;br /&gt;
Root Cause:&amp;nbsp; In this particular instance, the PER bit setting of the devices in question had been removed by the customer, and the host could not set the SCSI reservation. &lt;br /&gt;
Fix:&amp;nbsp; Set the SCSI3 Persistent Reservation bit.&amp;nbsp; The procedure is documented in primus solution emc92950. &lt;br /&gt;
Notes:&amp;nbsp; This error is reported when there is a problem with the Persistent Reserve Out command (PRO).&amp;nbsp; This indicates a SCSI reservation issue.&lt;/blockquote&gt;&lt;br /&gt;
Please note that this cannot be omitted. VCS highly banks upon SCSI3 Persistent Disks for IO Fencing which is the basis for protection from data corruption in a clustered environment. If you loose this characteristic you are potentially inviting data corruption of your clustered environment. The same can be viewed from Veritas Cluster Logs in the form of below warning messages-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Apr 02 12:48:28 Solaris vxfs: [ID 702911 kern.warning] WARNING: msgcnt 1 mesg 038: V-2-38: vx_dataioerr - /dev/vx/dsk/ora__dg/u900 file system file data write error in dev/block 0/41473032&amp;nbsp; &lt;/blockquote&gt;&lt;br /&gt;
And that will bring the VCS resources like application, DB and UNIX filesystems crashing down!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-2229422785188257920?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/data-corruption-when-you-loose-scsi-3.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTmOLw-_TZI/AAAAAAAAAUY/gVeESgvaI-o/s72-c/SCSI+3+Persistent+Disks.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-8299939645148319897</guid><pubDate>Fri, 14 Jan 2011 16:34:00 +0000</pubDate><atom:updated>2011-01-14T22:07:34.793+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">knowhow</category><category domain="http://www.blogger.com/atom/ns#">networking</category><title>How To Know Whether A Port Is Open Or Closed From The Client Side</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kxNOwH7KVvvigiiNsQC0v1cRS0Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kxNOwH7KVvvigiiNsQC0v1cRS0Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kxNOwH7KVvvigiiNsQC0v1cRS0Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kxNOwH7KVvvigiiNsQC0v1cRS0Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTB7tlfKbcI/AAAAAAAAATs/kQU_E-juYI8/s1600/Networking+Ports.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="350" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTB7tlfKbcI/AAAAAAAAATs/kQU_E-juYI8/s400/Networking+Ports.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;In an infrastructure production environment, almost always a UNIX server lies behind a firewall. The firewall generally ensures which authorized services should be provided and manages the same via opening / closing the ports for a particular service. To know a mapping of the services with the ports you can use the command -&lt;br /&gt;
&lt;blockquote&gt;# cat /etc/services&lt;/blockquote&gt;But a system administrator is always put on the hook to identify whether a given port is open or closed? This can only be checked from the client end and here is the trick for you -&lt;br /&gt;
&lt;blockquote&gt;# telnet master_server 13782&lt;br /&gt;
Trying xxx.xxx.xxx.xxx...&lt;br /&gt;
Connected to master_server.linux.com&lt;br /&gt;
Escape character is '^]' .&lt;br /&gt;
&lt;br /&gt;
Connection to master_server.linux.com closed by foreign host.&lt;/blockquote&gt;You can also use where the service is associated with the port in the /etc/service file&lt;br /&gt;
&lt;blockquote&gt;# telnet master_server bpcd&lt;br /&gt;
Trying xxx.xxx.xxx.xxx...&lt;/blockquote&gt;&lt;br /&gt;
Note that the connection is immediate and won't take more than 5 seconds at most. So if you get a connected response consider that the connection is through and the port is open. If you do not get one get your firewall administrator on the hook!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-8299939645148319897?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-know-whether-port-is-open-or.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TTB7tlfKbcI/AAAAAAAAATs/kQU_E-juYI8/s72-c/Networking+Ports.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-5671238217928529308</guid><pubDate>Thu, 13 Jan 2011 16:16:00 +0000</pubDate><atom:updated>2011-01-21T19:03:43.772+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Ensure A Given Application User Never Logs Into The UNIX System</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-aef_kvpLbwRsmyGiXpEVl-LAs4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-aef_kvpLbwRsmyGiXpEVl-LAs4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-aef_kvpLbwRsmyGiXpEVl-LAs4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-aef_kvpLbwRsmyGiXpEVl-LAs4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_LiXWlDY3HYI/TTmLJVjN_0I/AAAAAAAAAUU/HtN0Kvzcsjs/s1600/Lock+Computer+Users.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://4.bp.blogspot.com/_LiXWlDY3HYI/TTmLJVjN_0I/AAAAAAAAAUU/HtN0Kvzcsjs/s200/Lock+Computer+Users.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Let's accept it there is a never ending war among UNIX system administrators, network engineers, DBAs, and application guys. Let's say there is a interfering application user who should only be bothered about his application and application login but has developed sizable interest in how UNIX works at the backend of his/her application. You are a busy system administrator and you don't like so much interference - not only for the sake of it but also from the security point of view. You also cannot delete this user for the application usage is linked with the UNIX user created. But you don't want to let him/her login to the UNIX box. What do you do?&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
There are some who will suggest you use /bin/noshell or /bin/false. However, I have witnessed that this does not work for all operating environment. The best and the smartest way to do it is as follows-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# su - application-user&lt;br /&gt;
# echo "exit" &amp;gt;&amp;gt; .profile&lt;br /&gt;
# exit&lt;/blockquote&gt;&lt;br /&gt;
It's funny but I really won't like to explain that!! If you are system administrator you know how frustrating you can make them feel. And if you are reading this and not - I just hope you are not an application user ;-)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-5671238217928529308?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-ensure-given-application-user.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_LiXWlDY3HYI/TTmLJVjN_0I/AAAAAAAAAUU/HtN0Kvzcsjs/s72-c/Lock+Computer+Users.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-3484616215706185987</guid><pubDate>Wed, 12 Jan 2011 07:37:00 +0000</pubDate><atom:updated>2011-01-12T13:07:55.807+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">knowhow</category><category domain="http://www.blogger.com/atom/ns#">networking</category><title>How To Find The Network ID for /ETC/NETMASK</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/F5lrkV4cZ9eGc2iuCyhvVrBd4WM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F5lrkV4cZ9eGc2iuCyhvVrBd4WM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/F5lrkV4cZ9eGc2iuCyhvVrBd4WM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F5lrkV4cZ9eGc2iuCyhvVrBd4WM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;There are 3 files that help in persistently configuring a network IP in a Solaris operating system, namely-&lt;br /&gt;
&lt;blockquote&gt;1. /etc/hosts&lt;br /&gt;
2. /etc/netmask&lt;br /&gt;
3. /etc/hostname.&amp;lt;interface&amp;gt;&lt;/blockquote&gt;When you get in touch with network architects they shall generally tell you about the IP and netmask to be configured for a new server to be built. To have any network conversions to hexadecimal format use - &lt;a href="http://www.rimserv.com/2009/08/ipv4-netmask-chart_13.html"&gt;Netmask Chart&lt;/a&gt;. However, there is a field in /ETC/NETMASK known as Network ID. This can be calculated the harder way using all those crosses and 0 and 1 or you can use the simple way of using &lt;a href="http://www.subnet-calculator.com/"&gt;Online Subnet Calculator&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TS1Y4zSxs9I/AAAAAAAAATo/l2S1Z7l3Xl8/s1600/Network+ID.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TS1Y4zSxs9I/AAAAAAAAATo/l2S1Z7l3Xl8/s400/Network+ID.jpg" width="350" /&gt;&lt;/a&gt;&lt;/div&gt;And the question still remains, where is the Network ID? Well, the Subnet ID that comes out here after you have chosen the IP address and netmak, is nothing but your required Network ID. Use the same in the /ETC/NETMASK and you should be fine with your configuration.&lt;br /&gt;
&lt;br /&gt;
However, please note that /ETC/NETMASK can have multiple fields if there are multiple networks connected to your given system. How do you configure networks in such environments?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-3484616215706185987?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-find-network-id-for-etcnetmask.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TS1Y4zSxs9I/AAAAAAAAATo/l2S1Z7l3Xl8/s72-c/Network+ID.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-7684782978566586640</guid><pubDate>Tue, 11 Jan 2011 15:02:00 +0000</pubDate><atom:updated>2011-01-21T19:05:46.230+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">application</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Send Mail From A UNIX OS Command Line</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ebCeIu1rXhcS8E25wSyDGKm_bi8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ebCeIu1rXhcS8E25wSyDGKm_bi8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ebCeIu1rXhcS8E25wSyDGKm_bi8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ebCeIu1rXhcS8E25wSyDGKm_bi8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://2.bp.blogspot.com/_LiXWlDY3HYI/TSxxCKxTQSI/AAAAAAAAATk/roKwzwzFE9g/s1600/mailx.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="156" src="http://2.bp.blogspot.com/_LiXWlDY3HYI/TSxxCKxTQSI/AAAAAAAAATk/roKwzwzFE9g/s320/mailx.jpg" width="200" /&gt;&lt;/a&gt;I would really love to keep this smart and simple. You can use a simple command and if everything is configured right; you should be able send across a mail using this simple command and its options. The command is MAILX.&lt;br /&gt;
&lt;br /&gt;
The command options are more important and must be brushed first -&lt;br /&gt;
&lt;blockquote&gt;-s Mail Subject&lt;br /&gt;
-r From Address&lt;br /&gt;
-a Mail Attachment&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The command syntax is as follows -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# mailx -s "Subject" -r "FromAddress" -a "AttachmentFilePath" "ToAddress"&lt;/blockquote&gt;&lt;br /&gt;
Hello!! You must be wondering!! Where is the mail body? Well the beauty lies in the details for here is the command usage-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# mailx -s "How To Send Mail From A UNIX OS From Command Line" admin@rimserv.com&lt;br /&gt;
This post contains all the details with options to help you send a simple mail using the command MAILX. Hope you succeed in your first attempt. Unless things aren't configured on your client or if proper routes aren't there - Admin@RIMServ should be able to receive this mail.&lt;br /&gt;
Best Regards,&lt;br /&gt;
Abhijeet&lt;br /&gt;
CTRL + D&lt;br /&gt;
#&lt;/blockquote&gt;&lt;br /&gt;
That's it!!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-7684782978566586640?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-send-mail-from-unix-os-from.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_LiXWlDY3HYI/TSxxCKxTQSI/AAAAAAAAATk/roKwzwzFE9g/s72-c/mailx.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-8422163422896582182</guid><pubDate>Mon, 10 Jan 2011 11:15:00 +0000</pubDate><atom:updated>2011-01-10T16:45:01.229+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">zones</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Temporarily Allocate IP To A Local Zone From A Global Zone</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GaBwcUDsYzg461kAyke_CCH77qI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GaBwcUDsYzg461kAyke_CCH77qI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GaBwcUDsYzg461kAyke_CCH77qI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GaBwcUDsYzg461kAyke_CCH77qI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;One way of allocating IP to a local zone is via ZONECFG. It is a permanent way of doing it and every time your local zone restarts the IP shall be persistent. However, there are many situations in development and UAT environments that requires a temporary IP to be allocated to the local zone on the fly and without a reboot.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_LiXWlDY3HYI/TSrqIBYLVMI/AAAAAAAAATc/_lFDILVN9z8/s1600/ifconfig%2Bzone%2Bzonename.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="86" src="http://4.bp.blogspot.com/_LiXWlDY3HYI/TSrqIBYLVMI/AAAAAAAAATc/_lFDILVN9z8/s400/ifconfig%2Bzone%2Bzonename.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The secret lies in using the same old IFCONFIG command with a smart keyword ZONE. Execute it from the global zone and see how smoothly it gets a temporary IP allocated to your local zone.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# ifconfig ce0:2 plumb 192.168.1.3 netmask + broadcast + up&lt;br /&gt;
# ifconfig ce0:2 zone localzone1&lt;/blockquote&gt;&lt;br /&gt;
Execute the following to see the same NIC ce0:2 with the keyword 'zone localzone1" allocated-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# ifconfig -a&lt;/blockquote&gt;&lt;br /&gt;
This can also be very useful to ensure network routes are properly configured or testing and ensuring how a new application IP will function without actually restarting the application or renewing the existing IP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-8422163422896582182?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-temporarily-allocate-ip-to-local.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_LiXWlDY3HYI/TSrqIBYLVMI/AAAAAAAAATc/_lFDILVN9z8/s72-c/ifconfig%2Bzone%2Bzonename.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-8885259550509017773</guid><pubDate>Sun, 09 Jan 2011 05:35:00 +0000</pubDate><atom:updated>2011-01-09T11:05:57.470+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">veritas volume manager</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>How To Import A Missing Disk In Veritas Storage Foundation</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d24B_0lUlbVmpr7RfAlzcMyJAkQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d24B_0lUlbVmpr7RfAlzcMyJAkQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/d24B_0lUlbVmpr7RfAlzcMyJAkQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d24B_0lUlbVmpr7RfAlzcMyJAkQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TSlJLLBGIoI/AAAAAAAAATY/_8LT5ZkcgRg/s1600/Veritas+Volume+Manager+Disks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TSlJLLBGIoI/AAAAAAAAATY/_8LT5ZkcgRg/s400/Veritas+Volume+Manager+Disks.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;I had a recent veritas explorer which clearly showed me a disk by the name c9t4d9s2. The disk was there but now when I execute VXDISK LIST, it seems that the disk has simply vanished in thin air. Although the disk group (orabackup_dr_dg) was running perfectly fine in the last healthcheck reports. A brief investigation of the /var/adm/message logs show-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Sep 20 15:10:06 Solaris-Box1 vxvm:vxconfigd: [ID 935587 daemon.warning] V-5-1-8222 slave: missing disk 1182007918.201.Solaris-Box1&lt;br /&gt;
Sep 20 15:10:06 Solaris-Box1 vxvm:vxconfigd: [ID 918256 daemon.warning] V-5-1-7830 cannot find disk 1182007918.201.Solaris-Box1&lt;/blockquote&gt;&lt;br /&gt;
So lets start the investigation. I checked the status from the other cluster node where the disk group is supposed to be shared and mapped-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Solaris-Box2 # vxdisk -s list | grep -i 1182007918.201.Solaris-Box1&lt;br /&gt;
diskid: 1182007918.201.Solaris-Box1&lt;/blockquote&gt;&lt;br /&gt;
Great! So the disk was last imported on Solaris-Box1. &lt;br /&gt;
&lt;br /&gt;
As expected, I couldn't import the disk group. Without the missing disk it was bound to fail. This may occur for various reasons - like write errors, failing disk overlooked and failing flag turned off, recovery after existing split brain, whatever may be the reason - the current status is that we have a missing disk.&lt;br /&gt;
&lt;br /&gt;
Since it is a missing disk, I do not have any abilities to import the disk via veritas disk media name or disk access name. All veritas disk commands simply revert with non-existent device. However, VXDG has got one such option to import a disk from the disk ID name you have. My previous records show me the Disk ID and so do the error logs.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Solaris-Box2 # vxdisk -s list | grep -i 1182007918.201.Solaris-Box1&lt;br /&gt;
diskid: 1182007918.201.Solaris-Box1&lt;br /&gt;
&lt;br /&gt;
And The Missing Disk - &lt;br /&gt;
Disk:&amp;nbsp;&amp;nbsp; c9t4d9s2&lt;br /&gt;
type:&amp;nbsp;&amp;nbsp; auto&lt;br /&gt;
flags:&amp;nbsp; online ready private autoconfig shared autoimport imported&lt;br /&gt;
diskid: 1182007918.201.Solaris-Box1&lt;br /&gt;
dgname: orabackup_dr_dg&lt;br /&gt;
dgid:&amp;nbsp;&amp;nbsp; 1183404627.90.Solaris-Box1&lt;br /&gt;
clusterid: Linux-RPS-dr-uat-Cluster&lt;br /&gt;
info:&amp;nbsp;&amp;nbsp; format=cdsdisk,privoffset=256,pubslice=2,privslice=2&lt;/blockquote&gt;&lt;br /&gt;
The command syntax is-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# vxdg [ -Cfst ] [ -n newname] [ -o clearreserve] [ -o groupreserve=fencekey] [ -o selectcp=diskid] [ -o noreonline] import diskgroup &lt;/blockquote&gt;&lt;br /&gt;
So my command becomes-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# vxdg -Cf -o selectcp=1182007918.201.Solaris-Box1 import orabackup_dr_dg&lt;/blockquote&gt;&lt;br /&gt;
Bingo! Disk Group import was a success!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-8885259550509017773?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-import-missing-disk-in-veritas.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TSlJLLBGIoI/AAAAAAAAATY/_8LT5ZkcgRg/s72-c/Veritas+Volume+Manager+Disks.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-2408242822916850791</guid><pubDate>Sat, 08 Jan 2011 11:55:00 +0000</pubDate><atom:updated>2011-01-08T17:34:03.003+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">veritas cluster</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>When Veritas Cluster GAB - Global Membership Atomic Broadcast - Timeouts</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wEqIfpE8FyxP2w333B7KGB8G9Yw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wEqIfpE8FyxP2w333B7KGB8G9Yw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wEqIfpE8FyxP2w333B7KGB8G9Yw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wEqIfpE8FyxP2w333B7KGB8G9Yw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Veritas Cluster is all about monitoring various cluster resources to ensure that they are ONLINE and if they aren't - take up corrective measure as defined in the cluster configuration. The primary way of identifying whether a resource is ONLINE or OFFLINE is via monitoring scripts and when the scripts timeout, you know that corrective measures like failover have to be kick started from the cluster end.&lt;br /&gt;
&lt;br /&gt;
However, what will happen if your HAD becomes unresponsive.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Apr 8 08:28:11 SolarisUNIX Had[6270]: [ID 702911 daemon.alert] VCS WARNING V-16-1-51047 HAD Self Check: Excessive delay in the HAD heartbeat to GAB (10 seconds)&lt;br /&gt;
Apr 8 08:28:15 SolarisUNIX Had[6270]: [ID 702911 daemon.alert] VCS WARNING V-16-1-53034 HAD Signal SIGABRT received&lt;/blockquote&gt;&lt;br /&gt;
Within a VCS cluster node, GAB and HAD processes regularly heartbeats. By default after (VCS_GAB_TIMEOUT) 15000 milliseconds, if fails to heartbeat, GAB would declare HAD is unresponsive and tries to kill the HAD process. When HAD stops sending heartbeats to GAB, GAB tries to kill the HAD process five times, after which GAB declares that HAD is dead on the affected node and by default triggers intentional PANIC, when the HAD process becomes unresponsive even to kill. If the HAD process can be killed, hashadow daemon would restart the HAD process and perform new cluster membership.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_LiXWlDY3HYI/TShSpYYnRzI/AAAAAAAAATU/F-KaRh3F5FU/s1600/HAD+HASHADOW+GAB+WORKING.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="236" src="http://4.bp.blogspot.com/_LiXWlDY3HYI/TShSpYYnRzI/AAAAAAAAATU/F-KaRh3F5FU/s400/HAD+HASHADOW+GAB+WORKING.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
The most common cause of the error is due to high system load that affects the ability of HAD to heartbeat with GAB. The action taken by GAB to kill HAD process succeeds depending upon the severity of system performance affected.It is important to review the system performance data for any possible performance bottleneck in system resource to identify the possible cause.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-2408242822916850791?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/when-veritas-cluster-gab-global.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_LiXWlDY3HYI/TShSpYYnRzI/AAAAAAAAATU/F-KaRh3F5FU/s72-c/HAD+HASHADOW+GAB+WORKING.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-6839461640222688864</guid><pubDate>Fri, 07 Jan 2011 12:11:00 +0000</pubDate><atom:updated>2011-01-07T17:45:58.906+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">knowhow</category><title>SSH Comes With Few Internal Security Checks</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5mG6PnrWjdZRLEAtYOupzOkn_t8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5mG6PnrWjdZRLEAtYOupzOkn_t8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5mG6PnrWjdZRLEAtYOupzOkn_t8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5mG6PnrWjdZRLEAtYOupzOkn_t8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I have discussed before during one my brainstorming sessions about &lt;a href="http://www.rimserv.com/2009/02/implement-passwordless-ssh-sol-10-t2000_27.html"&gt;How To Implement Passwordless SSH&lt;/a&gt;. However, this never occurred to me that SSH before establishing a session thoroughly checks for permissions. There is an inbuilt security check that ensures that the encrypted key is kept safe and to achieve the same the absolute path of the location where the SSH key is placed is checked out.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LiXWlDY3HYI/TScD5gSgyRI/AAAAAAAAATQ/zjMRinmokLI/s1600/SSH+Security.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_LiXWlDY3HYI/TScD5gSgyRI/AAAAAAAAATQ/zjMRinmokLI/s400/SSH+Security.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Let's say you store your public keys in /var/tmp/unixuser/.ssh/authroized_keys where /var/tmp/unixuser is the home directory of the user - unixuser.&amp;nbsp; Do you think you will be able to establish a clean SSH session. Note the permissions of the directory /var/tmp.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;# ls -ld /var/tmp&lt;/blockquote&gt;&lt;br /&gt;
It shall revert you with 1777 or drwxrwxrwt, with sticky bit set. This should be the same for all standard UNIX based servers. These permissions, i.e. with sticky bit imply that users who do not own the file won't be allowed to delete the file. But is it safe? SSH clearly tells you - it's not!! For anyone can copy your encrypted key in this fashion and use it for their own nefarious deeds. Here is how my attempts were rightly stopped while doing SSH from another server -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;sshd: Authentication refused:&lt;br /&gt;
bad ownership or modes for directory /tmp&lt;/blockquote&gt;&lt;br /&gt;
So do figure out a safe place for keeping your SSH keys and home directories must not have any parent directory with permissions 1777 for SSH to work the way you want!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-6839461640222688864?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/ssh-comes-with-few-internal-security.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_LiXWlDY3HYI/TScD5gSgyRI/AAAAAAAAATQ/zjMRinmokLI/s72-c/SSH+Security.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-968934519178796983.post-2124873359582979761</guid><pubDate>Thu, 06 Jan 2011 12:40:00 +0000</pubDate><atom:updated>2011-01-06T18:14:07.592+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">knowhow</category><category domain="http://www.blogger.com/atom/ns#">gallery</category><title>How To Know Your Primary And Secondary SRDF Status</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/suHTByflb1wbKEgToV_cTIR0L68/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/suHTByflb1wbKEgToV_cTIR0L68/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/suHTByflb1wbKEgToV_cTIR0L68/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/suHTByflb1wbKEgToV_cTIR0L68/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;SRDF stands for Symmetrix Remote Data Facility. It is a product that achieves similar function as executed by Symantec Product Veritas Volume Replicator (VVR). SRDF belongs to the family of EMC products and is used for replicating data bit by bit on the raw storage arrays from primary production site to secondary disaster recovery site, and in times of need vice versa.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_LiXWlDY3HYI/TSW3tV5Q3FI/AAAAAAAAATM/su-2MLkqJ4Q/s1600/SRDF.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="143" src="http://2.bp.blogspot.com/_LiXWlDY3HYI/TSW3tV5Q3FI/AAAAAAAAATM/su-2MLkqJ4Q/s400/SRDF.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
I believe, Veritas Storage Foundation, Veritas Volume Replicator and Veritas Global Cluster much better integrates in comparison to SRDF. SRDF puts an added step and complexity of making the primary and secondary sites ReadWrite / WriteDisabled, as the case may be applicable. Also, this is an added manual step and cannot be managed via Global Cluster.&lt;br /&gt;
&lt;br /&gt;
It is very much required that a system administrator check the status of primary and secondary sites before bringing the cluster online on either of the sites for this missing step could very well lead to data corruption. To check whether your primary (R1) or secondary (R2) site is in WD (WriteDisabled) or RW (ReadWrite) state use the following set of commands-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;b&gt;&lt;span style="font-size: x-small;"&gt;# /opt/emc/SYMCLI/V6.5.0/bin/symrdf -g MODE_SRDF query&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Device Group (DG) Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MODE_SRDF&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;DG's Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : RDF2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;DG's Symmetrix ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 000190102489 &amp;nbsp;&amp;nbsp; (Microcode Version: 5773)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Remote Symmetrix ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 000190106930&amp;nbsp;&amp;nbsp;&amp;nbsp; (Microcode Version: 5773)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;RDF (RA) Group Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; 30 (1D)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target (R2) View&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source (R1) View&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODES&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;--------------------------------&amp;nbsp;&amp;nbsp;&amp;nbsp; ------------------------ ----- ------------&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ST&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ST&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Standard&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Logical&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T&amp;nbsp; R1 Inv&amp;nbsp;&amp;nbsp; R2 Inv&amp;nbsp; K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T&amp;nbsp; R1 Inv&amp;nbsp;&amp;nbsp; R2 Inv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RDF Pair&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Device&amp;nbsp; Dev&amp;nbsp;&amp;nbsp; E&amp;nbsp; Tracks&amp;nbsp;&amp;nbsp; Tracks&amp;nbsp; S Dev&amp;nbsp;&amp;nbsp; E&amp;nbsp; Tracks&amp;nbsp;&amp;nbsp; Tracks MDA&amp;nbsp;&amp;nbsp; STATE&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;-------------------------------- -- ------------------------ ----- ------------&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;DEV001&amp;nbsp; 0D11 WD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 RW 070B RW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 A..&amp;nbsp;&amp;nbsp; Consistent&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Total&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------- --------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------- --------&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;Track&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;MB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;Legend for MODES:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;D(omino)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : X = Enabled, . = Disabled&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-small;"&gt;A(daptive Copy)&amp;nbsp;&amp;nbsp;&amp;nbsp; : D = Disk Mode, W = WP Mode, . = ACp off&lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;
And only bring the cluster online at the site where you find the state is RW. Ensure that you have kept the cluster Service Groups in AutoDisabled state where you have the site in WD state.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/968934519178796983-2124873359582979761?l=www.rimserv.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.rimserv.com/2011/01/how-to-know-your-primary-and-secondary.html</link><author>noreply@blogger.com (Abhijeet Medhekar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_LiXWlDY3HYI/TSW3tV5Q3FI/AAAAAAAAATM/su-2MLkqJ4Q/s72-c/SRDF.jpg" height="72" width="72" /><thr:total>0</thr:total></item><language>en-us</language></channel></rss>

