<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1387889790103688027</id><updated>2024-10-08T12:50:43.636-07:00</updated><category term="RedHat"/><category term="Solaris"/><category term="Veritas Volume Manager"/><category term="Storage"/><category term="Solaris Volume Manager"/><category term="Sun Grid Engine"/><category term="Apache"/><category term="Nagios monitoring"/><category term="Veritas Cluster"/><category term="Sun One Web Server"/><category term="Unix"/><title type='text'>Anoop&#39;s Blog</title><subtitle type='html'>Blog about Unix and stuff....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-7697752486223272190</id><published>2011-06-23T23:26:00.000-07:00</published><updated>2011-09-23T23:33:51.671-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RedHat"/><title type='text'>What&#39;s new in RHEL6</title><content type='html'>Details are provided at http://www.europe.redhat.com/products/rhel/server/details/&lt;br /&gt;
&lt;br /&gt;
Some important ones are:&lt;br /&gt;
1. Red Hat Enterprise Linux 6 supports more sockets, more cores, more threads, and more memory. &lt;br /&gt;
2. Memory pages with errors can be declared as &quot;poisoned&quot;, and will be avoided.&lt;br /&gt;
3. The new default file system, ext4, is faster, more robust, and scales to 16TB.&lt;br /&gt;
4. Redhat Cluster Nodes can re-enable themselves after failure without administrative intervention using unfencing.&lt;br /&gt;
5. iSCSI partitions may be used as either root or boot filesystems.&lt;br /&gt;
6. The new System Security Services Daemon (SSSD) provides centralized access to identity and authentication resources, enables caching and offline support.&lt;br /&gt;
7. Dracut has been introduced as an replacement of mkinitrd.&lt;br /&gt;
7. XEN has been replaced with KVM.</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/7697752486223272190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/whats-new-in-rhel6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/7697752486223272190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/7697752486223272190'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/whats-new-in-rhel6.html' title='What&#39;s new in RHEL6'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-1620364080725896678</id><published>2011-06-22T14:18:00.001-07:00</published><updated>2011-08-18T22:15:45.173-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>Live upgrade of ZFS root file system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Create a new boot environment to patch or uprade&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# lucreate –n newBE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Upgrade the new Boot environment&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# luupgrade –u –n newBE –s /cdrom&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;3.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Activate the new Boot Environment&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# luactivate newBE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;4.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Boot from new boot environment&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# init 6&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/1620364080725896678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/live-upgrade-of-zfs-root-file-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1620364080725896678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1620364080725896678'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/live-upgrade-of-zfs-root-file-system.html' title='Live upgrade of ZFS root file system'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-1047683342333767762</id><published>2011-06-22T14:11:00.000-07:00</published><updated>2011-08-18T22:20:50.532-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><category scheme="http://www.blogger.com/atom/ns#" term="Veritas Volume Manager"/><title type='text'>Live upgrade of Veritas mirrored system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;System had two disks c1t0d0 and c1t1d0, so first break mirror and remove disk c1t1d0 from disk group.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# vxplex -g rootdg dis rootvol-02 swapvol-02 home-02&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# vxdg -g rootdg -k rmdisk rootdg02&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;3.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Create a file autoreg with entry “auto_reg=disable”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;4.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Modify vxlustart script and mention auto registration disable by putting –k /tmp/autoreg into command running luupgrade otherwise it will fail.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;5.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;./vxlustart -u 5.10 -d c1t1d0s2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;-g rootdg -s /cdrom&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;6.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;./vxlufinish –u 5.10 –g &amp;lt;new root disk group name&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;7.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;shutdown –y –g0 –i6&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;8.&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;After few reboots system will come up with new Boot environment, mirror the rootdisk and remove old rootdg.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/1047683342333767762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/live-upgrade-of-veritas-mirrored-system.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1047683342333767762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1047683342333767762'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/live-upgrade-of-veritas-mirrored-system.html' title='Live upgrade of Veritas mirrored system'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-1919333058594389365</id><published>2011-06-22T14:01:00.000-07:00</published><updated>2011-08-18T22:17:34.741-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Create users in different Unix Flavors</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In Aix&lt;br /&gt;
# mkuser id=&#39;&amp;lt;id&amp;gt;&#39; pgrp=&#39;&amp;lt;group name&amp;gt;&#39; groups=&#39;&amp;lt;secondary group&amp;gt;&#39; su=&#39;true&#39; home=&#39;/home/mqm&#39; gecos=&#39;&amp;lt;Comment&amp;gt;&#39; maxage=&#39;0&#39; &amp;lt;user id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Solaris/RHEL&lt;br /&gt;
&lt;br /&gt;
#useradd -g&amp;nbsp;&amp;lt;group&amp;gt; -d&amp;nbsp;&amp;lt;home directory&amp;gt;&amp;nbsp;-c &amp;lt;Comment&amp;gt; &amp;lt;user id&amp;gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/1919333058594389365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/create-users-in-different-unix-flavors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1919333058594389365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1919333058594389365'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/create-users-in-different-unix-flavors.html' title='Create users in different Unix Flavors'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-7334412013878369058</id><published>2011-03-25T13:53:00.000-07:00</published><updated>2011-08-18T22:18:57.188-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios monitoring"/><title type='text'>How to add Solaris server to Nagios for monitoring</title><content type='html'>1. Create nagios user and group&lt;br /&gt;
&lt;br /&gt;
2. Download Nagios plugin and nrpe daemon from http://www.guntram.de/nagios/ for appropriate solaris version&lt;br /&gt;
&lt;br /&gt;
3. Unzip and untar the files under /usr/local/nagios&lt;br /&gt;
&lt;br /&gt;
4. Create xml file to import nrpe as SMF service or take it from here.&lt;br /&gt;
http://unixjournal.org/tag/nrpe/&lt;br /&gt;
&lt;br /&gt;
5. Import xml file into SMF&lt;br /&gt;
# svccfg import /var/svc/manifest/network/nrpe.xml&lt;br /&gt;
&lt;br /&gt;
6. Keep the service disabled for time being&lt;br /&gt;
# svcs -a|grep nrp&lt;br /&gt;
disabled       17:09:11 svc:/network/nrpe:default&lt;br /&gt;
&lt;br /&gt;
7. Create an nrpe file under /lib/svc/method&lt;br /&gt;
# more /lib/svc/method/nrpe&lt;br /&gt;
#!/sbin/sh&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH&lt;br /&gt;
export LD_LIBRARY_PATH&lt;br /&gt;
PIDFILE=/var/run/nrpe.pid&lt;br /&gt;
NRPE_BIN=/usr/local/nagios/bin/nrpe&lt;br /&gt;
CONFIG_FILE=/usr/local/nagios/etc/nrpe.cfg&lt;br /&gt;
&lt;br /&gt;
case $1 in&lt;br /&gt;
# SMF arguments (start and restart [really &quot;refresh&quot;])&lt;br /&gt;
&#39;start&#39;)&lt;br /&gt;
$NRPE_BIN -d -c $CONFIG_FILE&lt;br /&gt;
;;&lt;br /&gt;
&lt;br /&gt;
&#39;restart&#39;)&lt;br /&gt;
if [ -f &quot;$PIDFILE&quot; ]; then&lt;br /&gt;
/usr/bin/kill -HUP `/usr/bin/cat $PIDFILE`&lt;br /&gt;
fi&lt;br /&gt;
;;&lt;br /&gt;
&lt;br /&gt;
&#39;stop&#39;)&lt;br /&gt;
if [ -f &quot;$PIDFILE&quot; ]; then&lt;br /&gt;
/usr/bin/kill `/usr/bin/cat $PIDFILE`&lt;br /&gt;
fi&lt;br /&gt;
;;&lt;br /&gt;
*)&lt;br /&gt;
echo &quot;Usage: $0 { start | stop | restart }&quot;&lt;br /&gt;
exit 1&lt;br /&gt;
;;&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
exit $?&lt;br /&gt;
#&lt;br /&gt;
8. Start the nrpe service&lt;br /&gt;
# svcadm enable nrpe&lt;br /&gt;
# svcs -a|grep nrp&lt;br /&gt;
online         17:17:31 svc:/network/nrpe:default&lt;br /&gt;
&lt;br /&gt;
9. Now modify /usr/local/nagios/etc/nrpe.cfg file to include what will be monitored on this server.&lt;br /&gt;
&lt;br /&gt;
command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /&lt;br /&gt;
command[check_local_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10&lt;br /&gt;
command[check_local_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20&lt;br /&gt;
command[check_local_procs]=/usr/local/nagios/libexec/check_procs -w 350 -c 400&lt;br /&gt;
command[check_zfs_rpool]=/usr/local/nagios/libexec/check_zfs1 rpool 1&lt;br /&gt;
command[check_zfs_datapool]=/usr/local/nagios/libexec/check_zfs1 datapool 1&lt;br /&gt;
command[check_fmd]=/usr/local/nagios/libexec/check_fmd&lt;br /&gt;
command[check_meta]=/usr/local/nagios/libexec/check_meta&lt;br /&gt;
&lt;br /&gt;
Remember to download check_fmd, check_meta and check_zfs binaries from &lt;br /&gt;
&lt;br /&gt;
http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Solaris&lt;br /&gt;
&lt;br /&gt;
10. Now configuration change has to be made on Nagios server. In the /usr/local/nagios/etc/objects/solaris.cfg file add following&lt;br /&gt;
&lt;br /&gt;
# Define a host for the hostname.domain.org&lt;br /&gt;
&lt;br /&gt;
define host{&lt;br /&gt;
use          solaris-server                                                                            host_name               hostname.domain.org&lt;br /&gt;
alias                   hostname&lt;br /&gt;
address                 100.100.100.15&lt;br /&gt;
contact_groups          Admins&lt;br /&gt;
}&lt;br /&gt;
###############################################################################&lt;br /&gt;
###############################################################################&lt;br /&gt;
#&lt;br /&gt;
# SERVICE DEFINITIONS&lt;br /&gt;
#&lt;br /&gt;
###############################################################################&lt;br /&gt;
###############################################################################&lt;br /&gt;
# Define a service to &quot;ping&quot; the local machine&lt;br /&gt;
&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             PING&lt;br /&gt;
check_command                   check_ping!100,20%!500,60%&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Define a service to check the disk space of the root partition&lt;br /&gt;
# on the Remote  machine.  Warning if &lt; 20% free, critical if
# &lt; 10% free space on partition.

define service{
        use                             Remote-service         ; Name of service template to use
        host_name                       hostname.domain.org
        service_description             Root Partition
        check_command                   check_nrpe_1arg!check_local_disk
        }

# Define a service to check the number of currently logged in
# users on the Remote machine.  Warning if &gt; 20 users, critical&lt;br /&gt;
# if &gt; 50 users.&lt;br /&gt;
&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             Current Users&lt;br /&gt;
check_command                   check_nrpe_1arg!check_local_users&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Define a service to check the number of currently running procs&lt;br /&gt;
# on the Remote  machine.  Warning if &gt; 250 processes, critical if&lt;br /&gt;
# &gt; 400 users.&lt;br /&gt;
&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             Total Processes&lt;br /&gt;
check_command                   check_nrpe_1arg!check_local_procs&lt;br /&gt;
}&lt;br /&gt;
# Define a service to check the load on the Remote machine.&lt;br /&gt;
&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             Current Load&lt;br /&gt;
check_command                   check_nrpe_1arg!check_local_load&lt;br /&gt;
}&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             Solaris Fault Manager&lt;br /&gt;
check_command                   check_nrpe_1arg!check_fmd&lt;br /&gt;
}&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             Meta Device Status&lt;br /&gt;
check_command                   check_nrpe_1arg!check_meta&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Define a service to check SSH on the Remote machine.&lt;br /&gt;
# Disable notifications for this service by default, as not all users may have SSH enabled.&lt;br /&gt;
&lt;br /&gt;
define service{&lt;br /&gt;
use                             Remote-service         ; Name of service template to use&lt;br /&gt;
host_name                       hostname.domain.org&lt;br /&gt;
service_description             SSH&lt;br /&gt;
check_command                   check_ssh&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
11. Note the check_nrpe_1arg command used instead of default check_nrpe (since i am not using any arguments. we should have a command by name check_nrpe_1arg in commands.cfg like below.&lt;br /&gt;
&lt;br /&gt;
# # &#39;check_nrpe_1arg&#39; command definition&lt;br /&gt;
define command{&lt;br /&gt;
command_name    check_nrpe_1arg&lt;br /&gt;
command_line    /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
12. Restart nagios service on Nagios server and in few minutes solaris client will be monitored.&lt;br /&gt;
&lt;br /&gt;
Problems encountered.&lt;br /&gt;
&lt;br /&gt;
1. could not complete ssl handshake &lt;br /&gt;
&lt;br /&gt;
Downloaded nrpe is compiled with ssl support. Make sure that on server command check_nrpe_1arg does not has -n with it as that is used for without ssl support.&lt;br /&gt;
&lt;br /&gt;
2. no output returned from plugin &lt;br /&gt;
&lt;br /&gt;
Try running command from server using command line. for example&lt;br /&gt;
#pwd&lt;br /&gt;
/usr/local/nagios/libexec&lt;br /&gt;
# ./check_nrpe -H hostname.domain.org -c check_meta&lt;br /&gt;
OK - No disk failures detected&lt;br /&gt;
&lt;br /&gt;
If you get the above output it means you are using check_nrpe instaed of check_nrpe_1arg. Check_nrpe expects some arguments which we do not require.</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/7334412013878369058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/03/how-to-add-solaris-server-to-nagios-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/7334412013878369058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/7334412013878369058'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/03/how-to-add-solaris-server-to-nagios-for.html' title='How to add Solaris server to Nagios for monitoring'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-3939908418621211408</id><published>2011-03-21T13:34:00.000-07:00</published><updated>2011-08-18T22:18:57.189-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios monitoring"/><title type='text'>How to install nagios server in Unix</title><content type='html'>1. Download nagios software and Nagios plugin from http://www.nagios.org/download/&lt;br /&gt;
&lt;br /&gt;
2. Install gcc, libgcc for compilation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create User nagios and group nagios&lt;br /&gt;
&lt;br /&gt;
4. Install Nagios&lt;br /&gt;
&lt;br /&gt;
# tar –xvf  nagios-3.2.3.tar&lt;br /&gt;
# cd nagios-3.2.3&lt;br /&gt;
# ./configure –with-command-group=nagcmd&lt;br /&gt;
# make all&lt;br /&gt;
# make install&lt;br /&gt;
# make install-config&lt;br /&gt;
#make install-commandmode&lt;br /&gt;
&lt;br /&gt;
5. Configure the web interface&lt;br /&gt;
# make install-webconf&lt;br /&gt;
# htpasswd –c  /usr/local/nagios/etc/htpasswd.users  nagiosadmin&lt;br /&gt;
Enter the password&lt;br /&gt;
&lt;br /&gt;
6. Compile and install nagios plugin&lt;br /&gt;
# tar –xvf nagios-plugin-1.4.11.tar&lt;br /&gt;
# cd nagios-plugin-1.4.11&lt;br /&gt;
# ./configure - -with-nagios-user=nagios  - -with-nagios-group=nagios&lt;br /&gt;
#make&lt;br /&gt;
#make install&lt;br /&gt;
&lt;br /&gt;
7. Start Nagios&lt;br /&gt;
#chkconfig - -add nagios&lt;br /&gt;
#chkconfig nagios on&lt;br /&gt;
# service nagios start&lt;br /&gt;
&lt;br /&gt;
8. Test nagios configuration file&lt;br /&gt;
# /usr/local/nagios/bin/nagios –v  /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;
9. Login to nagios web interface at http://hostname/nagios/ using nagiosadmin account.&lt;br /&gt;
&lt;br /&gt;
Check Ramesh Natrajan&#39;s blog at http://www.thegeekstuff.com/2008/05/nagios-30-jumpstart-guide-for-red-hat-overview-installation-and-configuration/&lt;br /&gt;
&lt;br /&gt;
from where i took help to setup my Nagios server</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/3939908418621211408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/03/how-to-install-nagios-server-in-unix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/3939908418621211408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/3939908418621211408'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/03/how-to-install-nagios-server-in-unix.html' title='How to install nagios server in Unix'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-5380130505033271724</id><published>2010-10-29T06:38:00.000-07:00</published><updated>2011-08-18T22:17:14.683-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>How to take snapshot in M4000 for oracle support</title><content type='html'>To take snapshot for Oracle support.&lt;br /&gt;
1. Go to XSCF and login using admin account.&lt;br /&gt;
2. Connect the USB drive (FAT 32) in the Service Processor&lt;br /&gt;
3. XSCF&gt; snapshot -d usb0&lt;br /&gt;
&lt;br /&gt;
Copy the zip file from USB to Sun FTP site.</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/5380130505033271724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2010/10/how-to-take-snapshot-for-oracle-support.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/5380130505033271724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/5380130505033271724'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2010/10/how-to-take-snapshot-for-oracle-support.html' title='How to take snapshot in M4000 for oracle support'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-380631514775567686</id><published>2010-09-28T11:15:00.000-07:00</published><updated>2011-08-18T22:17:14.684-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>How to configure XCSF network in M4000</title><content type='html'>1. To assign an IP address to XSCF interface&lt;br /&gt;
   XSCF&gt; setnetwork xscf#1-lan#0 -m 255.255.255.0 192.168.0.10&lt;br /&gt;
2. Enable the specified network interface&lt;br /&gt;
   XSCF&gt;  setnetwork -c up &lt;interface&gt;&lt;br /&gt;
3. XSCF&gt; shownetwork &lt;Will show the network information&gt;&lt;br /&gt;
4. Add route&lt;br /&gt;
   XSCF&gt; setroute -c add -n &lt;IP address&gt; -m &lt;Netmask&gt; -g &lt;gateway&gt;interface&lt;br /&gt;
5. XSCF&gt; applynetwork&lt;br /&gt;
6. To set Service Processor Host Name and DNS name&lt;br /&gt;
   XSCF&gt; sethostname xscf#0 &lt;hostname&gt;&lt;br /&gt;
7. To set Service Processor&#39;s DNS Name Server&lt;br /&gt;
   XSCF&gt; setnameserver ip_address&lt;br /&gt;
8. To enable Service Processor HTTPS service&lt;br /&gt;
   XSCF&gt; sethttps -c enable&lt;br /&gt;
9. To enable Service Processor SSH service&lt;br /&gt;
   XSCF&gt; setssh -c enable&lt;br /&gt;
   XSCF&gt; setssh -c genhostkey</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/380631514775567686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2010/09/how-to-configure-xcsf-network-in-m4000.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/380631514775567686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/380631514775567686'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2010/09/how-to-configure-xcsf-network-in-m4000.html' title='How to configure XCSF network in M4000'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-2090651495745925925</id><published>2010-09-28T10:46:00.000-07:00</published><updated>2011-08-18T22:17:14.684-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>How to configure XSCF in M4000</title><content type='html'>1. login to XSCF console&lt;br /&gt;
2. setpasswordpolicy &lt;option&gt;&lt;br /&gt;
2. XSCF&gt; adduser &lt;user&gt;&lt;br /&gt;
3. Assign privilege using  &lt;br /&gt;
   XSCF&gt; setprivileges &lt;user&gt; useradm platadm&lt;br /&gt;
4. Check XSCF version&lt;br /&gt;
   XSCF&gt; version -c xcp&lt;br /&gt;
&lt;br /&gt;
Update the firmware if required.</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/2090651495745925925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2010/09/how-to-configure-xscf-in-m4000.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/2090651495745925925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/2090651495745925925'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2010/09/how-to-configure-xscf-in-m4000.html' title='How to configure XSCF in M4000'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-4060472200164181418</id><published>2010-09-23T09:12:00.000-07:00</published><updated>2011-08-18T22:17:14.684-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>How to configure DSCP Network in M4000</title><content type='html'>XSCF&gt; setdscp&lt;br /&gt;
DSCP network  [0.0.0.0  ] &gt; 10.1.1.0&lt;br /&gt;
&lt;br /&gt;
DSCP netmask  [255.0.0.0  ] &gt; 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
XSCF address  [10.1.1.1  ] &gt; [Enter]&lt;br /&gt;
Domain #00 address  [10.1.1.2] &gt; [Enter]&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
Commit these changes to the database? [y|n]:y&lt;br /&gt;
&lt;br /&gt;
XSCF&gt; rebootxscf</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/4060472200164181418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/how-to-configure-dscp-in-m4000.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/4060472200164181418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/4060472200164181418'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/how-to-configure-dscp-in-m4000.html' title='How to configure DSCP Network in M4000'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-4938623999248689113</id><published>2010-09-23T08:08:00.000-07:00</published><updated>2011-08-18T22:17:14.685-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>How to verify DSCP is configured on M4000</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;bold&quot;&gt;&lt;strong&gt;To &lt;/strong&gt;Display DSCP information.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;bold&quot;&gt;XSCF&amp;gt; showdscp&lt;br /&gt;
&lt;br /&gt;
DSCP Configuration:&lt;br /&gt;
&lt;br /&gt;
Network: 192.168.1.0&lt;br /&gt;
Netmask: 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address&lt;br /&gt;
----------&amp;nbsp;&amp;nbsp; ---------&lt;br /&gt;
XSCF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.1.1&lt;br /&gt;
Domain #00&amp;nbsp;&amp;nbsp; 192.168.1.2&lt;br /&gt;
Domain #01&amp;nbsp;&amp;nbsp; 192.168.1.3&lt;br /&gt;
Domain #02&amp;nbsp;&amp;nbsp; 192.168.1.4&lt;br /&gt;
Domain #03&amp;nbsp;&amp;nbsp; 192.168.1.5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;bold&quot;&gt;If it is not configured showdscp output will state this:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;bold&quot;&gt;XSCF&amp;gt; showdscp&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;sunFormat&quot;&gt;ERROR: DSCP is not configured. Please use setdscp.&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/4938623999248689113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/how-to-verify-dscp-is-configured-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/4938623999248689113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/4938623999248689113'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2011/06/how-to-verify-dscp-is-configured-on.html' title='How to verify DSCP is configured on M4000'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-4221833692775424356</id><published>2010-09-03T11:37:00.000-07:00</published><updated>2011-08-18T22:17:14.685-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris"/><title type='text'>First time configuration of M4000</title><content type='html'>1. connect laptop to serial port&lt;br /&gt;
2. Open Tera Term&lt;br /&gt;
3. Set the key on the operator panel to the service position (wrench icon)&lt;br /&gt;
4. Turn on the power&lt;br /&gt;
5. when login prompt appears enter &quot;default&quot; for the login name&lt;br /&gt;
6. Set the key on the operator panel to the Locked position&lt;br /&gt;
7. Press the RETURN key&lt;br /&gt;
8. Wait for 5 seconds and then set the key on the operator panel to the service position &lt;br /&gt;
9. Press the RETURN key&lt;br /&gt;
10. Confirm that the XSCF shell prompt is displayed</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/4221833692775424356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2010/09/first-time-configuration-of-m4000.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/4221833692775424356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/4221833692775424356'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2010/09/first-time-configuration-of-m4000.html' title='First time configuration of M4000'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-38960378059405194</id><published>2010-06-22T14:42:00.000-07:00</published><updated>2011-08-18T22:19:30.055-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Volume Manager"/><title type='text'>How to expand an existing metadevice and file system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 0.75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Attach another slice to existing metadevice&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.75in; mso-add-space: auto;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# metattach d0 c1t2d0s2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;# growfs –M /home2 /dev/md/rdsk/d0&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/38960378059405194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2010/06/how-to-expand-existing-metadevice-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/38960378059405194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/38960378059405194'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2010/06/how-to-expand-existing-metadevice-and.html' title='How to expand an existing metadevice and file system'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-2024486366969562449</id><published>2009-05-10T11:20:00.000-07:00</published><updated>2011-08-18T23:25:14.010-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>How to change Master Host in SGE</title><content type='html'>1. On current master host stop the daemons.&lt;br /&gt;
# qconf -km&lt;br /&gt;
&lt;br /&gt;
2. Edit the $SGE_ROOT/$SGE_CELL/common/act_qmaster file according to the following guidelines: &lt;br /&gt;
&lt;br /&gt;
update the act_qmaster file with the output of follwoing command executed on new master host.&lt;br /&gt;
# $SGE_ROOT/utilbin/$SGE_ARCH/gethostname&lt;br /&gt;
&lt;br /&gt;
3. On the New Master Host start qmaster&lt;br /&gt;
# $SGE_ROOT/$SGE_CELL/common/sgemaster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/2024486366969562449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2009/05/how-to-change-master-host-in-sge.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/2024486366969562449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/2024486366969562449'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2009/05/how-to-change-master-host-in-sge.html' title='How to change Master Host in SGE'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-1047814901919482574</id><published>2009-04-13T13:36:00.000-07:00</published><updated>2011-08-18T23:19:31.221-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>Configuration of Sun Grid Engine</title><content type='html'>1. How to find the name of master host&lt;br /&gt;
The location of the master host can migrate between the current master host and one of the shadow master hosts at any time. Therefore, the location of the master host should be transparent to the user.Check below file for current master host.&lt;br /&gt;
&lt;br /&gt;
$SGE_ROOT/$SGE_CELL/common/act_qmaster file.&lt;br /&gt;
&lt;br /&gt;
2. To list all queues&lt;br /&gt;
# qconf -sql&lt;br /&gt;
&lt;br /&gt;
3. Each queue is associated with a hostgroup. To List Host group&lt;br /&gt;
# qconf -shgrpl&lt;br /&gt;
&lt;br /&gt;
4. To See all execution hosts&lt;br /&gt;
# qconf -sel&lt;br /&gt;
&lt;br /&gt;
5. To See all administrative hosts&lt;br /&gt;
# qconf -sh &lt;br /&gt;
&lt;br /&gt;
6. To see all submit hosts&lt;br /&gt;
#qconf -ss&lt;br /&gt;
&lt;br /&gt;
7. To See all configured resource quota&lt;br /&gt;
qconf -srqsl &lt;br /&gt;
&lt;br /&gt;
8. To display configuration of an existing project&lt;br /&gt;
# qconf -sprj project-name &lt;br /&gt;
&lt;br /&gt;
9. To display all parallel environment&lt;br /&gt;
#qconf -spl &lt;br /&gt;
&lt;br /&gt;
10.To Add a host as administrative host&lt;br /&gt;
# qconf -ah hostname&lt;br /&gt;
&lt;br /&gt;
11. To remove a host as administrative host&lt;br /&gt;
# qconf -dh hostname&lt;br /&gt;
&lt;br /&gt;
12. To add a host as submit host&lt;br /&gt;
# qconf -as hostname&lt;br /&gt;
&lt;br /&gt;
13. To add a new queue&lt;br /&gt;
#qconf -aq&lt;br /&gt;
&lt;br /&gt;
14. To add a host group&lt;br /&gt;
# qconf -ahgrp host-group-name&lt;br /&gt;
&lt;br /&gt;
15. To add a new project&lt;br /&gt;
# qconf -aprj &lt;br /&gt;
&lt;br /&gt;
16. To add a new resource quota&lt;br /&gt;
# qconf -arqs &lt;br /&gt;
&lt;br /&gt;
17. To add a new parallel environment&lt;br /&gt;
qconf -ap pe-name &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Other commands to monitor SGE&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;qhost&lt;/b&gt; — View current status of the available Grid Engine hosts, the queues, and the jobs associated with the queues&lt;br /&gt;
qalter and &lt;b&gt;qsub&lt;/b&gt; — Submit jobs&lt;br /&gt;
&lt;b&gt;qstat&lt;/b&gt; — Show the status of Grid Engine jobs and queues&lt;br /&gt;
&lt;b&gt;qquota&lt;/b&gt; — List each resource quota that is being used at least once or that defines a static limit&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/1047814901919482574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2009/04/configuration-of-sun-grid-engine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1047814901919482574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/1047814901919482574'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2009/04/configuration-of-sun-grid-engine.html' title='Configuration of Sun Grid Engine'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-9106943912178255375</id><published>2009-03-15T08:26:00.000-07:00</published><updated>2011-08-18T22:20:31.399-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RedHat"/><title type='text'>How to install Redhat cluster</title><content type='html'>How to install Redhat cluster&lt;br /&gt;
&lt;br /&gt;
1. yum groupinstall -y “Cluster Storage” “Clustering”&lt;br /&gt;
&lt;br /&gt;
2. yum install -y iscsi-initiator-utils isns-utils&lt;br /&gt;
&lt;br /&gt;
3. chkconfig iscsi on&lt;br /&gt;
       chkconfig iscsid on&lt;br /&gt;
&lt;br /&gt;
4. The two “rhel-cluster-nodeX” systems have two NICs, one for production and one for HighAvailability check.&lt;br /&gt;
rhel-cluster-node1&lt;br /&gt;
192.168.234.201&lt;br /&gt;
10.10.10.1&lt;br /&gt;
rhel-cluster-node2&lt;br /&gt;
192.168.234.202&lt;br /&gt;
10.10.10.2&lt;br /&gt;
&lt;br /&gt;
5. Add hostnames of both hosts to /etc/hosts file on all nodes.&lt;br /&gt;
&lt;br /&gt;
6. #lsscsi    should show the shared storage device, if not rescan the devices.&lt;br /&gt;
echo &quot;- - -&quot; &gt; /sys/class/scsi_host/host0/scan&lt;br /&gt;
&lt;br /&gt;
7. Suppose the device is /dev/sdb&lt;br /&gt;
#pvcreate /dev/sdb&lt;br /&gt;
#vgcreate vg1 /dev/sdb&lt;br /&gt;
lvcreate -l 10239 -n lv0 vg1&lt;br /&gt;
&lt;br /&gt;
8. Create the GFS file system with dlm lock for max 8 hosts&lt;br /&gt;
# gfs_mkfs -p lock_dlm -t rhel-cluster:storage1 -j 8 /dev/vg1/lv0&lt;br /&gt;
&lt;br /&gt;
9. To administer Red Hat Clusters with Conga, run luci and ricci as follows :&lt;br /&gt;
service luci start&lt;br /&gt;
service ricci start&lt;br /&gt;
&lt;br /&gt;
10. On both systems, initialize the luci server using the luci_admin init command.&lt;br /&gt;
service luci stop&lt;br /&gt;
luci_admin init&lt;br /&gt;
This command create the ‘admin’ user and his password, for doing so follow on screen instruction, and check for an output as the following :&lt;br /&gt;
The admin password has been successfully set.&lt;br /&gt;
Generating SSL certificates…&lt;br /&gt;
The luci server has been successfully initialized&lt;br /&gt;
You must restart the luci server for changes to take effect, run the following to do it :&lt;br /&gt;
&lt;br /&gt;
11. # service luci restart&lt;br /&gt;
&lt;br /&gt;
12. Now start following cluster services&lt;br /&gt;
&lt;br /&gt;
# service rgmanager start&lt;br /&gt;
# service cman start&lt;br /&gt;
&lt;br /&gt;
13. Edit the fstab file as below.&lt;br /&gt;
/dev/vg1/lv0 /data gfs defaults,acl 0 0&lt;br /&gt;
&lt;br /&gt;
14. Point your web browser to https://rhel-cluster-node1:8084 to access luci&lt;br /&gt;
&lt;br /&gt;
15. As administrator of luci, select the cluster tab.&lt;br /&gt;
Click Create a New Cluster.&lt;br /&gt;
At the Cluster Name text box, enter cluster name “rhel-cluster.&lt;br /&gt;
Add the node name and password for each cluster node.&lt;br /&gt;
Click Submit. Clicking Submit causes the following actions:&lt;br /&gt;
&lt;br /&gt;
a. Cluster software packages to be downloaded onto each cluster node.&lt;br /&gt;
b. Cluster software to be installed onto each cluster node.&lt;br /&gt;
c. Cluster configuration file to be created and propagated to each node in the cluster.&lt;br /&gt;
d. Starting the cluster.&lt;br /&gt;
A progress page shows the progress of those actions for each node in the cluster.&lt;br /&gt;
When the process of creating a new cluster is complete, a page is displayed providing a&lt;br /&gt;
configuration interface for the newly created cluster.&lt;br /&gt;
&lt;br /&gt;
16. Managing your newly created cluster you can ad resources.&lt;br /&gt;
Add a resource, choose IP Address and use 192.168.234.200&lt;br /&gt;
&lt;br /&gt;
17. Create a service named “cluster”, add the resource “IP Address” you had created before,&lt;br /&gt;
check “Automatically start this service”&lt;br /&gt;
check “Run exclusive”&lt;br /&gt;
choose “Recovery policy” as “Relocate”&lt;br /&gt;
Save the service.&lt;br /&gt;
&lt;br /&gt;
18. If the service created give no errors, enable it, and try to start it on one cluster node.&lt;br /&gt;
&lt;br /&gt;
19. The Cluster configuration file would be /etc/cluster/cluster.conf</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/9106943912178255375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2009/03/how-to-install-redhat-cluster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/9106943912178255375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/9106943912178255375'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2009/03/how-to-install-redhat-cluster.html' title='How to install Redhat cluster'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-5526463735574746156</id><published>2009-03-06T15:05:00.000-08:00</published><updated>2011-08-20T03:18:05.164-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RedHat"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>Configure ISCSI storage with RHEL5</title><content type='html'>In iSCSI (block level protocol on IP) parlance, the device where data is stored is called the target. This is usually a SAN or NAS device. The program or device on the server that handles communication with the iSCSI target is called the initiator. Red Hat ships a software-based initiator with RHEL.&lt;br /&gt;
&lt;br /&gt;
1. Install iscsi-initiator-utils package.&lt;br /&gt;
# yum install iscsi-initiator-utils&lt;br /&gt;
&lt;br /&gt;
2. Configure iSCSI by editing /etc/iscsi/iscsid.conf &lt;br /&gt;
&lt;br /&gt;
 node.session.auth.username = My_ISCSI_USR_NAME&lt;br /&gt;
 node.session.auth.password = MyPassword&lt;br /&gt;
 discovery.sendtargets.auth.username = My_ISCSI_USR_NAME&lt;br /&gt;
 discovery.sendtargets.auth.password = MyPassword&lt;br /&gt;
&lt;br /&gt;
3. Start iscsi service&lt;br /&gt;
# /etc/init.d/iscsi start&lt;br /&gt;
&lt;br /&gt;
4. Discover Target storage (suppose with IP address 192.168.0.10)&lt;br /&gt;
# iscsiadm -m discovery -t sendtargets -p 192.168.0.10&lt;br /&gt;
#/etc/init.d/iscsi restart&lt;br /&gt;
&lt;br /&gt;
5. Now new device should be available to system. do below&lt;br /&gt;
# fdisk -l&lt;br /&gt;
&lt;br /&gt;
6. Partition Disk&lt;br /&gt;
#fdisk /dev/sdd&lt;br /&gt;
&lt;br /&gt;
7. Create file system.&lt;br /&gt;
# mkfs.ext3 /dev/sdd1&lt;br /&gt;
&lt;br /&gt;
8. Modify /etc/fstab for auto mounting of file system&lt;br /&gt;
/dev/sdd1 /mnt/iscsi ext3 _netdev 0 0&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/5526463735574746156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2009/03/configure-iscsi-storage-with-rhel5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/5526463735574746156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/5526463735574746156'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2009/03/configure-iscsi-storage-with-rhel5.html' title='Configure ISCSI storage with RHEL5'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-420016878042499658</id><published>2009-02-18T11:55:00.000-08:00</published><updated>2011-08-18T22:21:17.173-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>How to install Sun Grid Engine 6.2</title><content type='html'>Sun Grid Engine, Enterprise Edition softwate provides advanced resource management and policy administration for UNIX environments that are composed of multiple shared resources.&lt;br /&gt;
Sun Grid Engine provides the user with the means to submit computationally demanding tasks to the Sun Grid Engine, Enterprise Edition system for transparent distribution of the associated workload. The user can submit batch jobs, interactive jobs, and parallel jobs to the Sun Grid Engine.&lt;br /&gt;
The Sun Grid Engine accepts jobs—users’ requests for computer resources—from the outside world, puts them in a holding area until they can be executed, sends them from the holding area to an execution device, manages them during execution, and logs the record of their execution when they are finished.&lt;br /&gt;
&lt;br /&gt;
Four types of hosts are fundamental to the Sun Grid Engine.&lt;br /&gt;
1. Master&lt;br /&gt;
2. Execution&lt;br /&gt;
3. Administration&lt;br /&gt;
4. Submit&lt;br /&gt;
First two are installed and later two are added to configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To Install master host.&lt;/b&gt;&lt;br /&gt;
[root@rhel1 6.2.u5]# ./inst_sge -m&lt;br /&gt;
Do you agree with that license? (y/n) [n] &gt;&gt; y&lt;br /&gt;
Grid Engine admin user account -- sgeadmin&lt;br /&gt;
Do you want to install Grid Engine as admin user &gt;sgeadmin&lt; (y/n) [y] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Installing Grid Engine as admin user &gt;sgeadmin&lt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Checking $SGE_ROOT directory&lt;br /&gt;
----------------------------&lt;br /&gt;
&lt;br /&gt;
The Grid Engine root directory is:&lt;br /&gt;
&lt;br /&gt;
$SGE_ROOT = /common/sge/6.2.u5&lt;br /&gt;
&lt;br /&gt;
If this directory is not correct (e.g. it may contain an automounter&lt;br /&gt;
prefix) enter the correct path to this directory or hit &lt;return&gt;&lt;br /&gt;
to use default [/common/sge/6.2.u5] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Your $SGE_ROOT directory: /common/sge/6.2.u5&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine TCP/IP communication service&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
The port for sge_qmaster is currently set as service.&lt;br /&gt;
&lt;br /&gt;
sge_qmaster service set to port 536&lt;br /&gt;
&lt;br /&gt;
Now you have the possibility to set/change the communication ports by using the&lt;br /&gt;
&gt;shell environment&lt; or you may configure it via a network service, configured
in local &gt;/etc/service&lt;, &gt;NIS&lt; or &gt;NIS+&lt;, adding an entry in the form

    sge_qmaster &lt;port_number&gt;/tcp&lt;br /&gt;
&lt;br /&gt;
to your services database and make sure to use an unused port number.&lt;br /&gt;
&lt;br /&gt;
How do you want to configure the Grid Engine communication ports?&lt;br /&gt;
&lt;br /&gt;
Using the &gt;shell environment&lt;:                           [1]

Using a network service like &gt;/etc/service&lt;, &gt;NIS/NIS+&lt;: [2]

(default: 2) &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine TCP/IP service &gt;sge_qmaster&lt;
----------------------------------------

Using the service

   sge_qmaster

for communication with Grid Engine.

Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine TCP/IP communication service&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
The port for sge_execd is currently set as service.&lt;br /&gt;
&lt;br /&gt;
sge_execd service set to port 537&lt;br /&gt;
&lt;br /&gt;
Now you have the possibility to set/change the communication ports by using the&lt;br /&gt;
&gt;shell environment&lt; or you may configure it via a network service, configured
in local &gt;/etc/service&lt;, &gt;NIS&lt; or &gt;NIS+&lt;, adding an entry in the form

    sge_execd &lt;port_number&gt;/tcp&lt;br /&gt;
&lt;br /&gt;
to your services database and make sure to use an unused port number.&lt;br /&gt;
&lt;br /&gt;
How do you want to configure the Grid Engine communication ports?&lt;br /&gt;
&lt;br /&gt;
Using the &gt;shell environment&lt;:                           [1]

Using a network service like &gt;/etc/service&lt;, &gt;NIS/NIS+&lt;: [2]

(default: 2) &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine TCP/IP communication service&lt;br /&gt;
-----------------------------------------&lt;br /&gt;
&lt;br /&gt;
Using the service&lt;br /&gt;
&lt;br /&gt;
sge_execd&lt;br /&gt;
&lt;br /&gt;
for communication with Grid Engine.&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine cells&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
Grid Engine supports multiple cells.&lt;br /&gt;
&lt;br /&gt;
If you are not planning to run multiple Grid Engine clusters or if you don&#39;t&lt;br /&gt;
know yet what is a Grid Engine cell it is safe to keep the default cell name&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
&lt;br /&gt;
If you want to install multiple cells you can enter a cell name now.&lt;br /&gt;
&lt;br /&gt;
The environment variable&lt;br /&gt;
&lt;br /&gt;
$SGE_CELL=&lt;your_cell_name&gt;&lt;br /&gt;
&lt;br /&gt;
will be set for all further Grid Engine commands.&lt;br /&gt;
&lt;br /&gt;
Enter cell name [default] &gt;&gt; Rahway_SciComp&lt;br /&gt;
&lt;br /&gt;
Using cell &gt;Rahway_SciComp&lt;.
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Unique cluster name&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
The cluster name uniquely identifies a specific Sun Grid Engine cluster.&lt;br /&gt;
The cluster name must be unique throughout your organization. The name&lt;br /&gt;
is not related to the SGE cell.&lt;br /&gt;
&lt;br /&gt;
The cluster name must start with a letter ([A-Za-z]), followed by letters,&lt;br /&gt;
digits ([0-9]), dashes (-) or underscores (_).&lt;br /&gt;
&lt;br /&gt;
Enter new cluster name or hit &lt;return&gt;&lt;br /&gt;
to use default [p536] &gt;&gt; usrylxap1&lt;br /&gt;
creating directory: /common/sge/6.2.u5/Rahway_SciComp/common&lt;br /&gt;
&lt;br /&gt;
Your $SGE_CLUSTER_NAME: usrylxap1&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine qmaster spool directory&lt;br /&gt;
-----------------------------------&lt;br /&gt;
&lt;br /&gt;
The qmaster spool directory is the place where the qmaster daemon stores&lt;br /&gt;
the configuration and the state of the queuing system.&lt;br /&gt;
&lt;br /&gt;
The admin user &gt;sgeadmin&lt; must have read/write access
to the qmaster spool directory.

If you will install shadow master hosts or if you want to be able to start
the qmaster daemon on other hosts (see the corresponding section in the
Grid Engine Installation and Administration Manual for details) the account
on the shadow master hosts also needs read/write access to this directory.

Enter a qmaster spool directory [/common/sge/6.2.u5/Rahway_SciComp/spool/qmaster] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Using qmaster spool directory &gt;/common/sge/6.2.u5/Rahway_SciComp/spool/qmaster&lt;.
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
Windows Execution Host Support&lt;br /&gt;
------------------------------&lt;br /&gt;
&lt;br /&gt;
Are you going to install Windows Execution Hosts? (y/n) [n] &gt;&gt; n&lt;br /&gt;
&lt;br /&gt;
Verifying and setting file permissions&lt;br /&gt;
--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Did you install this version with &gt;pkgadd&lt; or did you already verify
and set the file permissions of your distribution (enter: y) (y/n) [y] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
We do not verify file permissions. Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Select default Grid Engine hostname resolving method&lt;br /&gt;
----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Are all hosts of your cluster in one DNS domain? If this is&lt;br /&gt;
the case the hostnames&lt;br /&gt;
&lt;br /&gt;
&gt;hostA&lt; and &gt;hostA.foo.com&lt;

would be treated as equal, because the DNS domain name &gt;foo.com&lt;
is ignored when comparing hostnames.

Are all hosts of your cluster in a single DNS domain (y/n) [y] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Ignoring domain name when comparing hostnames.&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine JMX MBean server&lt;br /&gt;
----------------------------&lt;br /&gt;
&lt;br /&gt;
In order to use the SGE Inspect or the Service Domain Manager (SDM)&lt;br /&gt;
SGE adapter you need to configure a JMX server in qmaster. Qmaster&lt;br /&gt;
will then load a Java Virtual Machine through a shared library.&lt;br /&gt;
NOTE: Java 1.5 or later is required for the JMX MBean server.&lt;br /&gt;
&lt;br /&gt;
Do you want to enable the JMX MBean server (y/n) [y] &gt;&gt; n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Making directories&lt;br /&gt;
------------------&lt;br /&gt;
&lt;br /&gt;
creating directory: /common/sge/6.2.u5/Rahway_SciComp/spool/qmaster&lt;br /&gt;
creating directory: /common/sge/6.2.u5/Rahway_SciComp/spool/qmaster/job_scripts&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Setup spooling&lt;br /&gt;
--------------&lt;br /&gt;
Your SGE binaries are compiled to link the spooling libraries&lt;br /&gt;
during runtime (dynamically). So you can choose between Berkeley DB&lt;br /&gt;
spooling and Classic spooling method.&lt;br /&gt;
Please choose a spooling method (berkeleydb|classic) [berkeleydb] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
The Berkeley DB spooling method provides two configurations!&lt;br /&gt;
&lt;br /&gt;
Local spooling:&lt;br /&gt;
The Berkeley DB spools into a local directory on this host (qmaster host)&lt;br /&gt;
This setup is faster, but you can&#39;t setup a shadow master host&lt;br /&gt;
&lt;br /&gt;
Berkeley DB Spooling Server:&lt;br /&gt;
If you want to setup a shadow master host, you need to use&lt;br /&gt;
Berkeley DB Spooling Server!&lt;br /&gt;
In this case you have to choose a host with a configured RPC service.&lt;br /&gt;
The qmaster host connects via RPC to the Berkeley DB. This setup is more&lt;br /&gt;
failsafe, but results in a clear potential security hole. RPC communication&lt;br /&gt;
(as used by Berkeley DB) can be easily compromised. Please only use this&lt;br /&gt;
alternative if your site is secure or if you are not concerned about&lt;br /&gt;
security. Check the installation guide for further advice on how to achieve&lt;br /&gt;
failsafety without compromising security.&lt;br /&gt;
Do you want to use a Berkeley DB Spooling Server? (y/n) [n] &gt;&gt; n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Berkeley Database spooling parameters&lt;br /&gt;
-------------------------------------&lt;br /&gt;
&lt;br /&gt;
Please enter the database directory now, even if you want to spool locally,&lt;br /&gt;
it is necessary to enter this database directory.&lt;br /&gt;
&lt;br /&gt;
Default: [/common/sge/6.2.u5/Rahway_SciComp/spool/spooldb] &gt;&gt; /home/sge&lt;br /&gt;
The spooling directory already exists! Do you want to delete it? [n] &gt;&gt; y&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
creating directory: /home/sge&lt;br /&gt;
Dumping bootstrapping information&lt;br /&gt;
Initializing spooling database&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine group id range&lt;br /&gt;
--------------------------&lt;br /&gt;
&lt;br /&gt;
When jobs are started under the control of Grid Engine an additional group id&lt;br /&gt;
is set on platforms which do not support jobs. This is done to provide maximum&lt;br /&gt;
control for Grid Engine jobs.&lt;br /&gt;
&lt;br /&gt;
This additional UNIX group id range must be unused group id&#39;s in your system.&lt;br /&gt;
Each job will be assigned a unique id during the time it is running.&lt;br /&gt;
Therefore you need to provide a range of id&#39;s which will be assigned&lt;br /&gt;
dynamically for jobs.&lt;br /&gt;
&lt;br /&gt;
The range must be big enough to provide enough numbers for the maximum number&lt;br /&gt;
of Grid Engine jobs running at a single moment on a single host. E.g. a range&lt;br /&gt;
like &gt;20000-20100&lt; means, that Grid Engine will use the group ids from
20000-20100 and provides a range for 100 Grid Engine jobs at the same time
on a single host.

You can change at any time the group id range in your cluster configuration.

Please enter a range [20000-20100] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Using &gt;20000-20100&lt; as gid range. Hit &lt;RETURN&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine cluster configuration&lt;br /&gt;
---------------------------------&lt;br /&gt;
&lt;br /&gt;
Please give the basic configuration parameters of your Grid Engine&lt;br /&gt;
installation:&lt;br /&gt;
&lt;br /&gt;
&lt;execd_spool_dir&gt;&lt;br /&gt;
&lt;br /&gt;
The pathname of the spool directory of the execution hosts. User &gt;sgeadmin&lt;
must have the right to create this directory and to write into it.

Default: [/common/sge/6.2.u5/Rahway_SciComp/spool] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine cluster configuration (continued)&lt;br /&gt;
---------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;administrator_mail&gt;&lt;br /&gt;
&lt;br /&gt;
The email address of the administrator to whom problem reports are sent.&lt;br /&gt;
&lt;br /&gt;
It is recommended to configure this parameter. You may use &gt;none&lt;
if you do not wish to receive administrator mail.

Please enter an email address in the form &gt;user@foo.com&lt;.

Default: [none] &gt;&gt; abc@xyz.com&lt;br /&gt;
&lt;br /&gt;
The following parameters for the cluster configuration were configured:&lt;br /&gt;
&lt;br /&gt;
execd_spool_dir        /common/sge/6.2.u5/Rahway_SciComp/spool&lt;br /&gt;
administrator_mail     abc@xyz.com&lt;br /&gt;
Do you want to change the configuration parameters (y/n) [n] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Creating local configuration&lt;br /&gt;
----------------------------&lt;br /&gt;
Creating &gt;act_qmaster&lt; file
Adding default complex attributes
Adding default parallel environments (PE)
Adding SGE default usersets
Adding &gt;sge_aliases&lt; path aliases file
Adding &gt;qtask&lt; qtcsh sample default request file
Adding &gt;sge_request&lt; default submit options file
Creating &gt;sgemaster&lt; script
Creating &gt;sgeexecd&lt; script
Creating settings files for &gt;.profile/.cshrc&lt;

Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
qmaster startup script&lt;br /&gt;
----------------------&lt;br /&gt;
&lt;br /&gt;
We can install the startup script that will&lt;br /&gt;
start qmaster at machine boot (y/n) [y] &gt;&gt; y&lt;br /&gt;
&lt;br /&gt;
cp /common/sge/6.2.u5/Rahway_SciComp/common/sgemaster /etc/init.d/sgemaster.usrylxap1&lt;br /&gt;
/usr/lib/lsb/install_initd /etc/init.d/sgemaster.usrylxap1&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine qmaster startup&lt;br /&gt;
---------------------------&lt;br /&gt;
&lt;br /&gt;
Starting qmaster daemon. Please wait ...&lt;br /&gt;
starting sge_qmaster&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Adding Grid Engine hosts&lt;br /&gt;
------------------------&lt;br /&gt;
&lt;br /&gt;
Please now add the list of hosts, where you will later install your execution&lt;br /&gt;
daemons. These hosts will be also added as valid submit hosts.&lt;br /&gt;
&lt;br /&gt;
Please enter a blank separated list of your execution hosts. You may&lt;br /&gt;
press &lt;return&gt; if the line is getting too long. Once you are finished&lt;br /&gt;
simply press &lt;return&gt; without entering a name.&lt;br /&gt;
&lt;br /&gt;
You also may prepare a file with the hostnames of the machines where you plan&lt;br /&gt;
to install Grid Engine. This may be convenient if you are installing Grid&lt;br /&gt;
Engine on many hosts.&lt;br /&gt;
&lt;br /&gt;
Do you want to use a file which contains the list of hosts (y/n) [n] &gt;&gt; n&lt;br /&gt;
&lt;br /&gt;
Adding admin and submit hosts&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Please enter a blank seperated list of hosts.&lt;br /&gt;
&lt;br /&gt;
Stop by entering &lt;return&gt;. You may repeat this step until you are&lt;br /&gt;
entering an empty list. You will see messages from Grid Engine&lt;br /&gt;
when the hosts are added.&lt;br /&gt;
&lt;br /&gt;
Host(s): abc123.xyz.com abc124.xyz.com abc125.xyz.com abc126.xyz.com&lt;br /&gt;
&lt;br /&gt;
Above hosts are added as administrative and submit hosts.&lt;br /&gt;
Do you want to add your shadow host(s) now? (y/n) [y] &gt;&gt; n&lt;br /&gt;
&lt;br /&gt;
Creating the default &lt;all.q&gt; queue and &lt;allhosts&gt; hostgroup&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
root@abc123.xyz.com added &quot;@allhosts&quot; to host group list&lt;br /&gt;
root@abc123.xyz.com added &quot;all.q&quot; to cluster queue list&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
Scheduler Tuning&lt;br /&gt;
----------------&lt;br /&gt;
&lt;br /&gt;
The details on the different options are described in the manual.&lt;br /&gt;
&lt;br /&gt;
Configurations&lt;br /&gt;
--------------&lt;br /&gt;
1) Normal&lt;br /&gt;
Fixed interval scheduling, report limited scheduling information,&lt;br /&gt;
actual + assumed load&lt;br /&gt;
&lt;br /&gt;
2) High&lt;br /&gt;
Fixed interval scheduling, report limited scheduling information,&lt;br /&gt;
actual load&lt;br /&gt;
&lt;br /&gt;
3) Max&lt;br /&gt;
Immediate Scheduling, report no scheduling information,&lt;br /&gt;
actual load&lt;br /&gt;
&lt;br /&gt;
Enter the number of your preferred configuration and hit &lt;return&gt;!&lt;br /&gt;
Default configuration is [1] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
We&#39;re configuring the scheduler with &gt;Normal&lt; settings!
Do you agree? (y/n) [y] &gt;&gt; y&lt;br /&gt;
&lt;br /&gt;
changed scheduler configuration&lt;br /&gt;
&lt;br /&gt;
Using Grid Engine&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
You should now enter the command:&lt;br /&gt;
&lt;br /&gt;
source /common/sge/6.2.u5/Rahway_SciComp/common/settings.csh&lt;br /&gt;
&lt;br /&gt;
if you are a csh/tcsh user or&lt;br /&gt;
&lt;br /&gt;
# . /common/sge/6.2.u5/Rahway_SciComp/common/settings.sh&lt;br /&gt;
&lt;br /&gt;
if you are a sh/ksh user.&lt;br /&gt;
&lt;br /&gt;
This will set or expand the following environment variables:&lt;br /&gt;
&lt;br /&gt;
- $SGE_ROOT         (always necessary)&lt;br /&gt;
- $SGE_CELL         (if you are using a cell other than &gt;default&lt;)
   - $SGE_CLUSTER_NAME (always necessary)
   - $SGE_QMASTER_PORT (if you haven&#39;t added the service &gt;sge_qmaster&lt;)
   - $SGE_EXECD_PORT   (if you haven&#39;t added the service &gt;sge_execd&lt;)
   - $PATH/$path       (to find the Grid Engine binaries)
   - $MANPATH          (to access the manual pages)

Hit &lt;return&gt; to see where Grid Engine logs messages &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine messages&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Grid Engine messages can be found at:&lt;br /&gt;
&lt;br /&gt;
/tmp/qmaster_messages (during qmaster startup)&lt;br /&gt;
/tmp/execd_messages   (during execution daemon startup)&lt;br /&gt;
&lt;br /&gt;
After startup the daemons log their messages in their spool directories.&lt;br /&gt;
&lt;br /&gt;
Qmaster:     /common/sge/6.2.u5/Rahway_SciComp/spool/qmaster/messages&lt;br /&gt;
Exec daemon: &lt;execd_spool_dir&gt;/&lt;hostname&gt;/messages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grid Engine startup scripts&lt;br /&gt;
---------------------------&lt;br /&gt;
&lt;br /&gt;
Grid Engine startup scripts can be found at:&lt;br /&gt;
&lt;br /&gt;
/common/sge/6.2.u5/Rahway_SciComp/common/sgemaster (qmaster)&lt;br /&gt;
/common/sge/6.2.u5/Rahway_SciComp/common/sgeexecd (execd)&lt;br /&gt;
&lt;br /&gt;
Do you want to see previous screen about using Grid Engine again (y/n) [n] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Your Grid Engine qmaster installation is now completed&lt;br /&gt;
------------------------------------------------------&lt;br /&gt;
lease now login to all hosts where you want to run an execution daemon&lt;br /&gt;
and start the execution host installation procedure.&lt;br /&gt;
&lt;br /&gt;
If you want to run an execution daemon on this host, please do not forget&lt;br /&gt;
to make the execution host installation in this host as well.&lt;br /&gt;
&lt;br /&gt;
All execution hosts must be administrative hosts during the installation.&lt;br /&gt;
All hosts which you added to the list of administrative hosts during this&lt;br /&gt;
installation procedure can now be installed.&lt;br /&gt;
&lt;br /&gt;
You may verify your administrative hosts with the command&lt;br /&gt;
&lt;br /&gt;
# qconf -sh&lt;br /&gt;
&lt;br /&gt;
and you may add new administrative hosts with the command&lt;br /&gt;
&lt;br /&gt;
# qconf -ah &lt;hostname&gt;&lt;br /&gt;
&lt;br /&gt;
Please hit &lt;return&gt; &gt;&gt;&lt;br /&gt;
sge_qmaster successfully installed!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Execution host installation &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
[root@abc124.xyz.com.u5]# ./inst_sge -x&lt;br /&gt;
&lt;br /&gt;
Welcome to the Grid Engine execution host installation&lt;br /&gt;
------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
If you haven&#39;t installed the Grid Engine qmaster host yet, you must execute&lt;br /&gt;
this step (with &gt;install_qmaster&lt;) prior the execution host installation.

For a sucessfull installation you need a running Grid Engine qmaster. It is
also neccesary that this host is an administrative host.

You can verify your current list of administrative hosts with
the command:

   # qconf -sh

You can add an administrative host with the command:

   # qconf -ah &lt;hostname&gt;&lt;br /&gt;
&lt;br /&gt;
The execution host installation will take approximately 5 minutes.&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Checking $SGE_ROOT directory&lt;br /&gt;
----------------------------&lt;br /&gt;
&lt;br /&gt;
The Grid Engine root directory is:&lt;br /&gt;
&lt;br /&gt;
$SGE_ROOT = /common/sge/6.2.u5&lt;br /&gt;
&lt;br /&gt;
If this directory is not correct (e.g. it may contain an automounter&lt;br /&gt;
prefix) enter the correct path to this directory or hit &lt;return&gt;&lt;br /&gt;
to use default [/common/sge/6.2.u5] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Your $SGE_ROOT directory: /common/sge/6.2.u5&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine cells&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
Please enter cell name which you used for the qmaster&lt;br /&gt;
installation or press &lt;return&gt; to use [Rahway_SciComp] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Using cell: &gt;Rahway_SciComp&lt;

Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine TCP/IP communication service&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
The port for sge_execd is currently set as service.&lt;br /&gt;
&lt;br /&gt;
sge_execd service set to port 537&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Checking hostname resolving&lt;br /&gt;
---------------------------&lt;br /&gt;
&lt;br /&gt;
This hostname is known at qmaster as an administrative host.&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Execd spool directory configuration&lt;br /&gt;
-----------------------------------&lt;br /&gt;
&lt;br /&gt;
You defined a global spool directory when you installed the master host.&lt;br /&gt;
You can use that directory for spooling jobs from this execution host&lt;br /&gt;
or you can define a different spool directory for this execution host.&lt;br /&gt;
&lt;br /&gt;
ATTENTION: For most operating systems, the spool directory does not have to&lt;br /&gt;
be located on a local disk. The spool directory can be located on a&lt;br /&gt;
network-accessible drive. However, using a local spool directory provides&lt;br /&gt;
better performance.&lt;br /&gt;
&lt;br /&gt;
FOR WINDOWS USERS: On Windows systems, the spool directory MUST be located&lt;br /&gt;
on a local disk. If you install an execution daemon on a Windows system&lt;br /&gt;
without a local spool directory, the execution host is unusable.&lt;br /&gt;
&lt;br /&gt;
The spool directory is currently set to:&lt;br /&gt;
&lt;&lt;/common/sge/6.2.u5/Rahway_SciComp/spool/usrylxap111&gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Do you want to configure a different spool directory&lt;br /&gt;
for this host (y/n) [n] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Creating local configuration&lt;br /&gt;
----------------------------&lt;br /&gt;
sgeadmin@abc124.xyz.com modified &quot;abc124.xyz.com&quot; in configuration list&lt;br /&gt;
Local configuration for host &gt;abc124.xyz.com&lt; created.

Hit &lt;RETURN&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
execd startup script&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
We can install the startup script that will&lt;br /&gt;
start execd at machine boot (y/n) [y] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
cp /common/sge/6.2.u5/Rahway_SciComp/common/sgeexecd /etc/init.d/sgeexecd.usrylxap1&lt;br /&gt;
/usr/lib/lsb/install_initd /etc/init.d/sgeexecd.usrylxap1&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine execution daemon startup&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Starting execution daemon. Please wait ...&lt;br /&gt;
starting sge_execd&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Adding a queue for this host&lt;br /&gt;
----------------------------&lt;br /&gt;
&lt;br /&gt;
We can now add a queue instance for this host:&lt;br /&gt;
&lt;br /&gt;
- it is added to the &gt;allhosts&lt; hostgroup
   - the queue provides 4 slot(s) for jobs in all queues
     referencing the &gt;allhosts&lt; hostgroup

You do not need to add this host now, but before running jobs on this host
it must be added to at least one queue.

Do you want to add a default queue instance for this host (y/n) [y] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
root@abc124.xyz.com modified &quot;@allhosts&quot; in host group list&lt;br /&gt;
root@abc124.xyz.com modified &quot;all.q&quot; in cluster queue list&lt;br /&gt;
&lt;br /&gt;
Hit &lt;return&gt; to continue &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Using Grid Engine&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
You should now enter the command:&lt;br /&gt;
&lt;br /&gt;
source /common/sge/6.2.u5/Rahway_SciComp/common/settings.csh&lt;br /&gt;
&lt;br /&gt;
if you are a csh/tcsh user or&lt;br /&gt;
&lt;br /&gt;
# . /common/sge/6.2.u5/Rahway_SciComp/common/settings.sh&lt;br /&gt;
&lt;br /&gt;
if you are a sh/ksh user.&lt;br /&gt;
&lt;br /&gt;
This will set or expand the following environment variables:&lt;br /&gt;
&lt;br /&gt;
- $SGE_ROOT         (always necessary)&lt;br /&gt;
- $SGE_CELL         (if you are using a cell other than &gt;default&lt;)
   - $SGE_CLUSTER_NAME (always necessary)
   - $SGE_QMASTER_PORT (if you haven&#39;t added the service &gt;sge_qmaster&lt;)
   - $SGE_EXECD_PORT   (if you haven&#39;t added the service &gt;sge_execd&lt;)
   - $PATH/$path       (to find the Grid Engine binaries)
   - $MANPATH          (to access the manual pages)

Hit &lt;return&gt; to see where Grid Engine logs messages &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Grid Engine messages&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Grid Engine messages can be found at:&lt;br /&gt;
&lt;br /&gt;
/tmp/qmaster_messages (during qmaster startup)&lt;br /&gt;
/tmp/execd_messages   (during execution daemon startup)&lt;br /&gt;
&lt;br /&gt;
After startup the daemons log their messages in their spool directories.&lt;br /&gt;
&lt;br /&gt;
Qmaster:     /common/sge/6.2.u5/Rahway_SciComp/spool/qmaster/messages&lt;br /&gt;
Exec daemon: &lt;execd_spool_dir&gt;/&lt;hostname&gt;/messages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grid Engine startup scripts&lt;br /&gt;
---------------------------&lt;br /&gt;
&lt;br /&gt;
Grid Engine startup scripts can be found at:&lt;br /&gt;
&lt;br /&gt;
/common/sge/6.2.u5/Rahway_SciComp/common/sgemaster (qmaster)&lt;br /&gt;
/common/sge/6.2.u5/Rahway_SciComp/common/sgeexecd (execd)&lt;br /&gt;
&lt;br /&gt;
Do you want to see previous screen about using Grid Engine again (y/n) [n] &gt;&gt;&lt;br /&gt;
&lt;br /&gt;
Your execution daemon installation is now completed.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/420016878042499658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2009/02/how-to-install-sun-grid-engine-62.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/420016878042499658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/420016878042499658'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2009/02/how-to-install-sun-grid-engine-62.html' title='How to install Sun Grid Engine 6.2'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-6233586890367187148</id><published>2009-01-02T14:29:00.000-08:00</published><updated>2011-08-22T04:32:30.485-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RedHat"/><title type='text'>How to create Raw Device in RHEL4 and RHEL5</title><content type='html'>On &lt;b&gt;RHEL4&lt;/b&gt;, raw devices were setup easily using the simple and coherent file &lt;b&gt;/etc/sysconfig/rawdevices&lt;/b&gt;, which included an internal example.&lt;br /&gt;
&lt;br /&gt;
On RHEL5 this is not the case, and customizing in a rather less documented method the udev subsystem is required.&lt;br /&gt;
&lt;br /&gt;
1. Add to /etc/udev/rules.d/60-raw.rules:&lt;br /&gt;
&lt;br /&gt;
ACTION==”add”, KERNEL==”sdb1″, RUN+=”/bin/raw /dev/raw/raw1 %N”&lt;br /&gt;
&lt;br /&gt;
2. To set permission (optional, but required for Oracle RAC!), create a new /etc/udev/rules.d/99-raw-perms.rules containing lines such as:&lt;br /&gt;
&lt;br /&gt;
KERNEL==”raw[1-2]“, MODE=”0640″, GROUP=”oinstall”, OWNER=”oracle”&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/6233586890367187148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2009/01/how-to-create-raw-device-in-rhel4-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/6233586890367187148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/6233586890367187148'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2009/01/how-to-create-raw-device-in-rhel4-and.html' title='How to create Raw Device in RHEL4 and RHEL5'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-5777910339594476436</id><published>2008-10-21T10:49:00.000-07:00</published><updated>2011-08-18T22:21:32.656-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>Reverse migration in BlueArc NAS storage</title><content type='html'>In BlueArc storage migration does not have parameters to limit migration based on size, which some times causes secondary storage to be so full that even a file residing there can not be opened. In that case a reverse migration is required.&lt;br /&gt;
&lt;br /&gt;
reverse-migrate --file-system &lt;file system name&gt;  --pattern *.* /dir1/dir2/dir3/rspa.*</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/5777910339594476436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2008/10/reverse-migration-in-bluearc-nas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/5777910339594476436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/5777910339594476436'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2008/10/reverse-migration-in-bluearc-nas.html' title='Reverse migration in BlueArc NAS storage'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-7888028759930762081</id><published>2008-10-02T14:43:00.000-07:00</published><updated>2011-08-18T20:48:55.811-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>How to Manually Fail a Drive in BlueArc NAS storage</title><content type='html'>Manually failing a drive is done through the use of SANtricity. SANtricity is started in Storage Management &gt; Storage Utilities &gt; Launch SANtricity. You will be prompted&lt;br /&gt;
twice for login/password combos. To enter the second login/password combo you need to&lt;br /&gt;
enter the login and then hit the “Enter” key to provide the password. When typing the&lt;br /&gt;
password, nothing will display on the screen. Hit the “Enter” key again to have the&lt;br /&gt;
login/password combo accepted. This will provide access to the storage enclosure using&lt;br /&gt;
SANtricity.&lt;br /&gt;
From alert message identify which enclosure, which tray and which disk in tray has to be failed.&lt;br /&gt;
From the menu select Advanced -&gt; Recovery -&gt; Fail Drive. Type “yes” to confirm the&lt;br /&gt;
manual fail.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/7888028759930762081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2008/10/how-to-manually-fail-drive-in-bluearc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/7888028759930762081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/7888028759930762081'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2008/10/how-to-manually-fail-drive-in-bluearc.html' title='How to Manually Fail a Drive in BlueArc NAS storage'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-8184860649823756249</id><published>2008-05-16T23:29:00.000-07:00</published><updated>2011-08-22T23:30:22.775-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Veritas Volume Manager"/><title type='text'>How to do a backup of veritas configuration ?</title><content type='html'># vxconfigbackup -l /var/vxvm/backups</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/8184860649823756249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2008/05/how-to-do-backup-of-veritas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/8184860649823756249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/8184860649823756249'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2008/05/how-to-do-backup-of-veritas.html' title='How to do a backup of veritas configuration ?'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-94041980937873804</id><published>2008-03-26T11:22:00.000-07:00</published><updated>2011-08-22T23:25:00.881-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Veritas Volume Manager"/><title type='text'>How to disable VxVM on a system?</title><content type='html'>1. Remove mirror from each file system&lt;br /&gt;
  # vxassist -g rootdg remove mirror swapvol&lt;br /&gt;
  # vxassist -g rootdg remove mirror export&lt;br /&gt;
  # vxassist -g rootdg remove mirror rootvol&lt;br /&gt;
&lt;br /&gt;
2. Comment out Vxvm load module entries from /etc/system&lt;br /&gt;
&lt;br /&gt;
3. go to /etc/vx/reconfig.d/state.d&lt;br /&gt;
  # rm root-done&lt;br /&gt;
  # touch install-db&lt;br /&gt;
&lt;br /&gt;
4. Copy pre VM vfstab file to /etc/vfstab.&lt;br /&gt;
5. Reboot the system.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/94041980937873804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2008/03/how-to-disable-vxvm-on-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/94041980937873804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/94041980937873804'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2008/03/how-to-disable-vxvm-on-system.html' title='How to disable VxVM on a system?'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-6556080026707973821</id><published>2008-02-18T09:25:00.000-08:00</published><updated>2011-08-22T23:28:34.997-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Veritas Volume Manager"/><title type='text'>How to mirror root disk?</title><content type='html'>1. Find out available disk name using vxdisk list&lt;br /&gt;
&lt;br /&gt;
2. Do below&lt;br /&gt;
# ./vxmirror -g rootdg  bootdisk  bootmirror</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/6556080026707973821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2008/02/how-to-mirror-root-disk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/6556080026707973821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/6556080026707973821'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2008/02/how-to-mirror-root-disk.html' title='How to mirror root disk?'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1387889790103688027.post-8922600214164701458</id><published>2008-02-17T09:19:00.000-08:00</published><updated>2011-08-21T23:48:54.574-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Volume Manager"/><title type='text'>Replace failed drives in SVM</title><content type='html'>Suppose we have two internal disks in a system mirrored with SVM and which are being monitored by Nagios/BB/sitescope or a script. When a drive fails we get a message meta devices (drives) “Needs Maintenance”.&lt;br /&gt;
&lt;br /&gt;
We can try reparing the drive if its not Production system.&lt;br /&gt;
&lt;br /&gt;
# metareplace -e d10 c1t2d0s0&lt;br /&gt;
&lt;br /&gt;
where d10 is mirror having d11 and d12 metadevices, d12 (c1t2d0s0) is on the disk which went bad.&lt;br /&gt;
&lt;br /&gt;
If Resynching starts and completes without error disk is fine otherwise we have to replace disk. Below is the process to do that.&lt;br /&gt;
&lt;br /&gt;
1. Detach all metadevices existing on failed disk.&lt;br /&gt;
# metadetach -f d10 d12&lt;br /&gt;
# metadetach -f d20 d22&lt;br /&gt;
# metadetach -f d30 d32&lt;br /&gt;
&lt;br /&gt;
2. Remove the metadevices.&lt;br /&gt;
&lt;br /&gt;
# metaclear d12 d22 d32&lt;br /&gt;
&lt;br /&gt;
3. use metadb -d command to delete metadb existing on failed drive&lt;br /&gt;
&lt;br /&gt;
4. Replace the disk&lt;br /&gt;
&lt;br /&gt;
5. Copy the partition table form disk under SVM to new disk&lt;br /&gt;
&lt;br /&gt;
6. use metadb to create meta database on new disk.&lt;br /&gt;
&lt;br /&gt;
7. Create metadevices again on new disk.&lt;br /&gt;
&lt;br /&gt;
8. Attach the metadevices to create mirror which will also sync them.&lt;br /&gt;
&lt;br /&gt;
Important files in SVM&lt;br /&gt;
&lt;br /&gt;
# more /etc/lvm/mddb.cf -&gt; (DO NO EDIT) records the locations of state database replicas&lt;br /&gt;
&lt;br /&gt;
# more /etc/lvm/md.cf		-&gt; (DO NO EDIT) contains auto generated config info for the default (unspecified or local) disk set&lt;br /&gt;
&lt;br /&gt;
# /kernel/drv/md.conf	-&gt; (DO NO EDIT) contains the state database replica config info and is read by SVM at startup&lt;br /&gt;
&lt;br /&gt;
# /etc/lvm/md.tab		-&gt; contains SVM config info that can be used to reconstruct your SVM config (Manually)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://unixandwindows.blogspot.com/feeds/8922600214164701458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://unixandwindows.blogspot.com/2008/02/replace-failed-drives-in-svm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/8922600214164701458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1387889790103688027/posts/default/8922600214164701458'/><link rel='alternate' type='text/html' href='http://unixandwindows.blogspot.com/2008/02/replace-failed-drives-in-svm.html' title='Replace failed drives in SVM'/><author><name>Anoop Rajkumar</name><uri>http://www.blogger.com/profile/05243472817650985479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>