<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-13403054</atom:id><lastBuildDate>Fri, 10 Feb 2012 13:11:50 +0000</lastBuildDate><category>install</category><category>ocfs2</category><category>active directory</category><category>authlogin</category><category>html5</category><category>cache</category><category>websocket</category><category>pywebsocket</category><category>FSS</category><category>nss</category><category>Mysql</category><category>reopen</category><category>CFS</category><category>geo target</category><category>websockets</category><category>projects</category><category>open source</category><category>zone</category><category>curl</category><category>black screen</category><category>quest</category><category>censorship</category><category>query</category><category>suse</category><category>memcache</category><category>redhat</category><category>scheduler</category><category>ldap</category><category>resource management</category><category>ibm</category><category>cursor</category><category>opensource</category><category>shell</category><category>python</category><category>script</category><category>resource</category><category>Solaris</category><category>sun</category><category>windows</category><category>priority</category><category>btrfs</category><category>geo targeting</category><category>Cluster</category><category>globaldevices</category><category>kerberos</category><category>authorization</category><category>cpu</category><category>database</category><category>confusion</category><category>linux</category><category>apache</category><category>geoip</category><category>centos</category><category>vas</category><category>boot</category><category>java</category><category>appliance</category><category>authentication</category><category>security</category><category>datastore</category><category>syslog</category><category>GAE</category><category>maxmind</category><category>solaris 10</category><category>geo</category><category>solaris;</category><category>qinsoqa 7</category><category>bash</category><category>syslog.conf</category><category>openldap</category><category>Google App Engine</category><category>create</category><category>oracle</category><category>asm</category><category>yast</category><category>oerr</category><category>wikipedia</category><category>filesystem</category><category>vintela</category><category>Failover</category><category>hardening</category><category>Symantec</category><category>unix</category><category>ocfs</category><category>microsoft</category><category>ClientLogin</category><category>kickstart</category><category>hp</category><category>Audit</category><category>domain controller</category><title>Oded Maimon - IT Blog</title><description>In this blog I will write about linux, opensource, oracle and more...</description><link>http://maimon-it.blogspot.com/</link><managingEditor>noreply@blogger.com (Oded Maimon)</managingEditor><generator>Blogger</generator><openSearch:totalResults>59</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/OdedMaimon-ItBlog" /><feedburner:info uri="odedmaimon-itblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-2580563116282439499</guid><pubDate>Mon, 16 Aug 2010 11:29:00 +0000</pubDate><atom:updated>2010-08-16T14:29:59.731+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">open source</category><category domain="http://www.blogger.com/atom/ns#">sun</category><category domain="http://www.blogger.com/atom/ns#">opensource</category><category domain="http://www.blogger.com/atom/ns#">oracle</category><title>Oracle - The bad boy in town...</title><description>Oracle has just become the new bad boy in town.. every day it becomes worse...&lt;br /&gt;
&lt;br /&gt;
- Killing WebStack&lt;br /&gt;
- Killing OpenSolaris&lt;br /&gt;
- Changing the Solaris License to be 90 days trail instead of free use&lt;br /&gt;
- This new Oracle VS Google lawsuit and trying to get revenue from something that you have nothing to do with&lt;br /&gt;
&lt;br /&gt;
What will happen to other project, mainly MySQL? OpenOffice? NetBeans?&amp;nbsp;VirtualBox?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-2580563116282439499?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/NJyEEhZh8nE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/NJyEEhZh8nE/oracle-bad-boy-in-town.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/08/oracle-bad-boy-in-town.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-5193780083703305011</guid><pubDate>Sun, 15 Aug 2010 14:07:00 +0000</pubDate><atom:updated>2010-08-15T17:07:28.108+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">websocket</category><category domain="http://www.blogger.com/atom/ns#">websockets</category><category domain="http://www.blogger.com/atom/ns#">pywebsocket</category><category domain="http://www.blogger.com/atom/ns#">html5</category><category domain="http://www.blogger.com/atom/ns#">python</category><category domain="http://www.blogger.com/atom/ns#">apache</category><title>Apache and HTML5 WebSockets</title><description>I was&amp;nbsp;surprised&amp;nbsp;to&amp;nbsp;find out&amp;nbsp;that there is no implementation for WebSockets support in Apache web server.&lt;br /&gt;
But there is a way to make it work.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://code.google.com/p/pywebsocket/"&gt;pywebsocket &lt;/a&gt;project is an Apache "extension" written in python, so mod_python is required also, and with it Apache can support HTML5 WebSockets. it is very easy to install and configure.&lt;br /&gt;
&lt;br /&gt;
I&amp;nbsp;flowed&amp;nbsp;the instructions in this URL:&amp;nbsp;&lt;a href="http://www.travisglines.com/web-coding/how-to-set-up-apache-to-serve-html5-websocket-applications-with-pywebsocket"&gt;http://www.travisglines.com/web-coding/how-to-set-up-apache-to-serve-html5-websocket-applications-with-pywebsocket&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-5193780083703305011?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/hioRNM1KWT0" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/hioRNM1KWT0/apache-and-html5-websockets.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/08/apache-and-html5-websockets.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-3259378648303563415</guid><pubDate>Sun, 08 Aug 2010 19:00:00 +0000</pubDate><atom:updated>2010-08-08T22:00:21.148+03:00</atom:updated><title>Membase</title><description>Just wanted to&amp;nbsp;mention&amp;nbsp;a project that I hope will continue to progress and release new features, Membase is almost all the things that are missing in Memcache for a long time.&lt;br /&gt;
&lt;br /&gt;
To check it go to &lt;a href="http://membase.org/"&gt;membase.org&lt;/a&gt; to read more and download it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-3259378648303563415?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/xU7vp0Wl7Js" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/xU7vp0Wl7Js/membase.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/08/membase.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-7076230642010583047</guid><pubDate>Mon, 02 Aug 2010 16:02:00 +0000</pubDate><atom:updated>2010-08-02T19:02:03.226+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">maxmind</category><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">geoip</category><category domain="http://www.blogger.com/atom/ns#">GAE</category><category domain="http://www.blogger.com/atom/ns#">Google App Engine</category><category domain="http://www.blogger.com/atom/ns#">geo</category><category domain="http://www.blogger.com/atom/ns#">python</category><category domain="http://www.blogger.com/atom/ns#">geo target</category><category domain="http://www.blogger.com/atom/ns#">geo targeting</category><title>Google App Engine and Geo Targeting by IP using MaxMind DB</title><description>&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;Hi,&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;I tried using my Java based GAE project to geo target my user using MaxMind but I found out that it is not possible because the current implementation of MaxMind Java API uses restricted classes by Google.&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;The only way I was able to do it is by using Python based GAE project and using this great piece of code for doing it:&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://code.google.com/p/python-geoip/"&gt;http://code.google.com/p/python-geoip/&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;Hope it helps anyone.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-7076230642010583047?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/dUDUVng8laM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/dUDUVng8laM/google-app-engine-and-geo-targeting-by.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/08/google-app-engine-and-geo-targeting-by.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-7311638805882558521</guid><pubDate>Thu, 22 Jul 2010 05:38:00 +0000</pubDate><atom:updated>2010-07-22T08:38:50.688+03:00</atom:updated><title>Add disk to vmware linux guest without rebooting</title><description>Adding a new disk to a vmware linux guest OS is very easy, the next step is to make the guest OS recognize the disk, this is also very easy, just run:&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #111111; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;span class="goog_qs-tidbit goog_qs-tidbit-0" style="color: black; display: inline !important; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;&lt;i&gt;echo "- - -" &amp;gt; /sys/class/scsi_host/&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #111111; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;strong style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="goog_qs-tidbit goog_qs-tidbit-0" style="color: black; display: inline !important; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;&lt;i&gt;host#&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #111111; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;span class="goog_qs-tidbit goog_qs-tidbit-0" style="color: black; display: inline !important; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;&lt;i&gt;/scan&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #111111; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;span class="goog_qs-tidbit goog_qs-tidbit-0" style="color: black; display: inline !important; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #111111; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;span class="goog_qs-tidbit goog_qs-tidbit-0" style="color: black; display: inline !important; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;where host# should change to the correct host, probably host0.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;after running the command you should be able to see the new disk by running:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;fdisk -l&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-7311638805882558521?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/UUUP9FxYi-A" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/UUUP9FxYi-A/add-disk-to-vmware-linux-guest-without.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/07/add-disk-to-vmware-linux-guest-without.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-7888497938382622870</guid><pubDate>Sun, 11 Apr 2010 21:23:00 +0000</pubDate><atom:updated>2010-04-12T00:23:44.959+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">GAE</category><category domain="http://www.blogger.com/atom/ns#">Google App Engine</category><category domain="http://www.blogger.com/atom/ns#">datastore</category><category domain="http://www.blogger.com/atom/ns#">query</category><category domain="http://www.blogger.com/atom/ns#">memcache</category><category domain="http://www.blogger.com/atom/ns#">cursor</category><category domain="http://www.blogger.com/atom/ns#">cache</category><title>SQL Cursor and Google App Engine</title><description>Google App Engine SDK 1.3.1 released a new important feature &lt;a href="" name="Version_1.3.1_-_February_10,_2010"&gt;Datastore Query Cursors.&lt;/a&gt;&lt;br /&gt;
With this new feature we can bypass requests hard limits (1MB response size and 30 sec timeout), we can run a large query and split it into multiple request. This is how it can be done with JDO (&lt;a href="http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors"&gt;it is also possible with low level API&lt;/a&gt;)&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create your query&lt;/li&gt;
&lt;li&gt;Limit execution for a specific amount of rows &lt;/li&gt;
&lt;li&gt;Execute the query&lt;/li&gt;
&lt;li&gt;Process the results set&lt;/li&gt;
&lt;li&gt;Keep the cursor in memcache&lt;/li&gt;
&lt;/ol&gt;Here is a simple code that implements all steps from my java Servlet:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; final int MAX_REC = 2000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; final String cacheKeyName = "ExportMyTable" + req.getRemoteAddr();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; PrintWriter prt = resp.getWriter();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; PersistenceManager pm = PMF.get().getPersistenceManager(); // PMF is my representation to get the PersistenceManager instance&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Query query = pm.newQuery(myTable.class);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; List&lt;mytable&gt; results = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String cursorString = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Cursor cursor = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Map&lt;string, object=""&gt; extensionMap = new HashMap&lt;string, object=""&gt;();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Cache cache = null;&lt;/string,&gt;&lt;/string,&gt;&lt;/mytable&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try { // check if cursor already saved in the cache, if so, use it&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cache = CacheManager.getInstance().getCacheFactory().createCache(Collections.emptyMap());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursorString = (String) cache.get(cacheKeyName);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (cursorString != null &amp;amp;&amp;amp; !cursorString.isEmpty()){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // Cursor were found in the cache, set the query to start from that cursor&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; cursor = Cursor.fromWebSafeString(cursorString);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; extensionMap.put(JDOCursorHelper.CURSOR_EXTENSION, cursor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; query.setExtensions(extensionMap);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (CacheException e) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prt.println(e.getStackTrace());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; query.setRange(0, MAX_REC);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //execute the query&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; results = (List&lt;mytable&gt;) query.execute();&lt;/mytable&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // Process the results&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for (myTable t : results){&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; prt.println(t.toString());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // Get the cursor&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; cursor = JDOCursorHelper.getCursor(results);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // get the cursor as string&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; cursorString = cursor.toWebSafeString();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // remove the cursor from the cache if got less records then requested (the query ended)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if (results.size()&lt;max_rec){&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cache.remove(cacheKeyName);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prt.println("-END-");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/max_rec){&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // keep current cursor location&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cache.put(cacheKeyName, cursorString);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; query.closeAll();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; pm.close();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enjoy...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-7888497938382622870?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/1TiJxK6Wtu4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/1TiJxK6Wtu4/sql-cursor-and-google-app-engine.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/04/sql-cursor-and-google-app-engine.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-6023424066433195502</guid><pubDate>Fri, 09 Apr 2010 16:16:00 +0000</pubDate><atom:updated>2010-04-09T19:16:45.402+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">curl</category><category domain="http://www.blogger.com/atom/ns#">GAE</category><category domain="http://www.blogger.com/atom/ns#">ClientLogin</category><category domain="http://www.blogger.com/atom/ns#">Google App Engine</category><category domain="http://www.blogger.com/atom/ns#">bash</category><category domain="http://www.blogger.com/atom/ns#">authlogin</category><category domain="http://www.blogger.com/atom/ns#">authentication</category><category domain="http://www.blogger.com/atom/ns#">shell</category><category domain="http://www.blogger.com/atom/ns#">script</category><title>Authenticating Google App Engine apps using curl</title><description>I'm going to show here the exact way that i use to authenticate to my google app engine application using unix script and curl.&lt;br /&gt;
&lt;br /&gt;
This is a 3 steps process:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Get the auth code from google (using ClientLogin)&lt;/li&gt;
&lt;li&gt;Get the cookie from google using the auth code&lt;/li&gt;
&lt;li&gt;Access the service that we want in google app&lt;/li&gt;
&lt;/ol&gt;In the example we will use:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; Application name is: MyFirstApp&lt;/li&gt;
&lt;li&gt;Application url is: http://MyFirstApp.com &lt;/li&gt;
&lt;li&gt;Our application service name is: getAllData&lt;/li&gt;
&lt;li&gt;Application admin is: admin@gmail.com&lt;/li&gt;
&lt;li&gt;Application admin password is: adminadmin&lt;/li&gt;
&lt;/ul&gt;&lt;span style="font-size: large;"&gt;Step 1:&lt;/span&gt;&lt;br /&gt;
Getting auth key:&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #999999;"&gt;curl -f -s --output myAuthFile.txt -d Email=admin@gmail.com -d Passwd=adminadmin -d accountType=GOOGLE -d service=ah -d source=MyFirstApp https://www.google.com/accounts/ClientLogin&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;after the command completes we will have a file named: myAuthFile.txt with 3 lines, the line that starts with "Auth=" is the auth code line, we will use this code in the next step.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Step 2:&lt;/span&gt;&lt;br /&gt;
Getting application cookie:&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #999999;"&gt;curl -c cookiefile "http://MyFirstApp.com/_ah/login?auth=`cat myAuthFile.txt | grep ^Auth= | cut -d= -f2`" &amp;gt; /dev/null&lt;/span&gt;&lt;/blockquote&gt;after the command completes we will have a file named: cookiefile that will include our cookie, we will use the cookie in the next step.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Step 3:&lt;/span&gt;&lt;br /&gt;
Calling our application service, getAllData:&lt;br /&gt;
&lt;blockquote&gt; &lt;span style="color: #999999;"&gt;curl -f -s -H "Cookie: ACSID=`cat cookiefile | grep -v ^# | grep -v ^$|cut -f7`" http://MyFirstApp.com/getAllData&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;
That's all!&lt;br /&gt;
Hope it will help anyone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-6023424066433195502?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/4m4SspMkn0k" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/4m4SspMkn0k/authenticating-google-app-engine-apps.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>1</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/04/authenticating-google-app-engine-apps.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-4681970388216735274</guid><pubDate>Wed, 27 Jan 2010 23:49:00 +0000</pubDate><atom:updated>2010-01-28T01:51:01.478+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">windows</category><category domain="http://www.blogger.com/atom/ns#">black screen</category><category domain="http://www.blogger.com/atom/ns#">boot</category><category domain="http://www.blogger.com/atom/ns#">qinsoqa 7</category><title>Windows 7 MBR got destoried by a trojan!</title><description>This Link is a bless for anything related to fixing window 7 MBR!!!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://neosmart.net/wiki/display/EBCD/Recovering+the+Vista+Bootloader+from+the+DVD"&gt;http://neosmart.net/wiki/display/EBCD/Recovering+the+Vista+Bootloader+from+the+DVD&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-4681970388216735274?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/Fz5_aOt6mb8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/Fz5_aOt6mb8/windows-7-mbr-got-destoried-by-trojan.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2010/01/windows-7-mbr-got-destoried-by-trojan.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-3262310897043671706</guid><pubDate>Tue, 20 Jan 2009 06:33:00 +0000</pubDate><atom:updated>2009-01-20T08:44:54.508+02:00</atom:updated><title>Strange SMF "Bug?"</title><description>Yesterday I've installed apache 2 on Solaris 10 x86 (on two machines) from the Solaris CD:&lt;br /&gt;&lt;blockquote&gt;  pkgadd  -d . SUNWapch2r&lt;br /&gt;  pkgadd  -d . SUNWapch2u&lt;br /&gt;  pkgadd  -d . SUNWapch2d&lt;/blockquote&gt;After the successful install I've tried to enable the service, but the service was not there :), The next step was to reimport the service to the SMF repository:&lt;br /&gt;&lt;blockquote&gt;bash-3.00# svccfg -v import  /var/svc/manifest/network/http-apache2.xml&lt;br /&gt;svccfg: Scope "localhost" changed unexpectedly (service "network/http" added).&lt;br /&gt;svccfg: Could not refresh svc:/network/http:apache2 (deleted).&lt;br /&gt;svccfg: Successful import.&lt;/blockquote&gt;and again, the service was not there, searching the net for it, and I've found this: http://mail.opensolaris.org/pipermail/smf-discuss/2006-October/005565.html&lt;br /&gt;&lt;blockquote&gt;"This happens when a buggy i.manifest is used.  If your package has an&lt;br /&gt;i.manifest file which uses SVCCFG_REPOSITORY, then that is your problem.&lt;br /&gt;You can fix it by restarting svc.configd ("pkill configd" as root).&lt;br /&gt;Then you should fix your package, or file a bug."&lt;/blockquote&gt;By reading it I've thought that it is a long shot, but it worked! "killing" configd and reimporting the service worked:&lt;br /&gt;&lt;blockquote&gt;bash-3.00# svccfg -v import  /var/svc/manifest/network/http-apache2.xml&lt;br /&gt;svccfg: Taking "previous" snapshot for svc:/network/http:apache2.&lt;br /&gt;svccfg: Upgrading properties of svc:/network/http according to instance "apache2".&lt;br /&gt;svccfg: Taking "last-import" snapshot for svc:/network/http:apache2.&lt;br /&gt;svccfg: Refreshed svc:/network/http:apache2.&lt;br /&gt;svccfg: Successful import.&lt;/blockquote&gt;Regards&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-3262310897043671706?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/E4vtQ3MioxE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/E4vtQ3MioxE/strange-smf-bug.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>3</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2009/01/strange-smf-bug.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-4273588190367653734</guid><pubDate>Sun, 11 Jan 2009 10:25:00 +0000</pubDate><atom:updated>2009-01-12T21:26:55.198+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris;</category><category domain="http://www.blogger.com/atom/ns#">solaris 10</category><category domain="http://www.blogger.com/atom/ns#">create</category><category domain="http://www.blogger.com/atom/ns#">zone</category><title>Fast and simple Solaris Zone creation</title><description>- Run zonecfg, for the first zone configuration:&lt;br /&gt;      bash-3.00# zonecfg -z mynewzone&lt;br /&gt;        create -b&lt;br /&gt;        set zonepath=/zones/mynewzone&lt;br /&gt;        set autoboot=true&lt;br /&gt;        set ip-type=shared&lt;br /&gt;        add net&lt;br /&gt;        set address=192.168.0.122&lt;br /&gt;        set physical=nxge1&lt;br /&gt;        set defrouter=192.168.0.254&lt;br /&gt;        end&lt;br /&gt; &lt;br /&gt;        commit&lt;br /&gt;        exit&lt;br /&gt;&lt;br /&gt;NOTE: we can also save the commands in a file and run zonecfg like this:&lt;br /&gt;    zonecfg -z mynewzone -f myzone.conf&lt;br /&gt;&lt;br /&gt;- Create the zone directory and change the permissions:&lt;br /&gt;     mkdir /zones/mynewzone&lt;br /&gt;     chmod 700 /zones/mynewzone&lt;br /&gt;&lt;br /&gt;The zone installation will fail if the zone directory will have the wrong permissions:&lt;br /&gt;&lt;blockquote&gt;/zones/mynewzone must not be group readable.&lt;br /&gt;/zones/mynewzone must not be group executable.&lt;br /&gt;/zones/mynewzone must not be world readable.&lt;br /&gt;/zones/mynewzone must not be world executable.&lt;br /&gt;could not verify zonepath /zones/mynewzone because of the above errors.&lt;br /&gt;zoneadm: zone mynewzone failed to verify&lt;br /&gt;&lt;/blockquote&gt;- Install the zone (takes time):&lt;br /&gt;   zoneadm -z mynewzone  install&lt;br /&gt;&lt;br /&gt;- Check the log:&lt;br /&gt;    grep -v "successfully installed" /zones/mynewzone/root/var/sadm/system/logs/install_log | grep -v ^$&lt;br /&gt;&lt;naviagent&gt;&lt;naviagent&gt;&lt;sunwexplo&gt;&lt;sunwexplo&gt;&lt;sunwexplu&gt;&lt;sunwexplu&gt;&lt;sunwexplj&gt;&lt;sunwexplj&gt;&lt;sunwentsyssc32u1&gt;&lt;sunwentsyssc32u1&gt;&lt;br /&gt;- list the zones:&lt;br /&gt;    zoneadm list -cv&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;ID NAME             STATUS     PATH                           BRAND    IP &lt;br /&gt; 0 global           running    /                              native   shared&lt;br /&gt; 1 mynewzone                         running    /zones/mynewzone                native   shared&lt;br /&gt; &lt;/blockquote&gt;- Boot the zone:&lt;br /&gt;    zoneadm -z &lt;/sunwentsyssc32u1&gt;&lt;/sunwentsyssc32u1&gt;&lt;/sunwexplj&gt;&lt;/sunwexplj&gt;&lt;/sunwexplu&gt;&lt;/sunwexplu&gt;&lt;/sunwexplo&gt;&lt;/sunwexplo&gt;&lt;/naviagent&gt;&lt;/naviagent&gt;mynewzone                &lt;naviagent&gt;&lt;naviagent&gt;&lt;sunwexplo&gt;&lt;sunwexplo&gt;&lt;sunwexplu&gt;&lt;sunwexplu&gt;&lt;sunwexplj&gt;&lt;sunwexplj&gt;&lt;sunwentsyssc32u1&gt;&lt;sunwentsyssc32u1&gt; boot&lt;br /&gt;&lt;br /&gt;- Now we need do some last standard Solaris configurations, we will login to the zone console and follow the questions for basic configuratio (language, terminal, network...):&lt;br /&gt;   zlogin -C &lt;/sunwentsyssc32u1&gt;&lt;/sunwentsyssc32u1&gt;&lt;/sunwexplj&gt;&lt;/sunwexplj&gt;&lt;/sunwexplu&gt;&lt;/sunwexplu&gt;&lt;/sunwexplo&gt;&lt;/sunwexplo&gt;&lt;/naviagent&gt;&lt;/naviagent&gt;mynewzone                &lt;naviagent&gt;&lt;naviagent&gt;&lt;sunwexplo&gt;&lt;sunwexplo&gt;&lt;sunwexplu&gt;&lt;sunwexplu&gt;&lt;sunwexplj&gt;&lt;sunwexplj&gt;&lt;sunwentsyssc32u1&gt;&lt;sunwentsyssc32u1&gt;&lt;br /&gt;&lt;blockquote&gt;If this step will be skipped many of the services won't start.&lt;br /&gt;&lt;/blockquote&gt;Done.&lt;br /&gt;&lt;br /&gt;&lt;/sunwentsyssc32u1&gt;&lt;/sunwentsyssc32u1&gt;&lt;/sunwexplj&gt;&lt;/sunwexplj&gt;&lt;/sunwexplu&gt;&lt;/sunwexplu&gt;&lt;/sunwexplo&gt;&lt;/sunwexplo&gt;&lt;/naviagent&gt;&lt;/naviagent&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-4273588190367653734?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/yuA6KLT3hbk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/yuA6KLT3hbk/fast-and-simple-solaris-zone-creation.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2009/01/fast-and-simple-solaris-zone-creation.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-6266996359839483687</guid><pubDate>Sun, 11 Jan 2009 09:16:00 +0000</pubDate><atom:updated>2009-01-13T09:57:46.370+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">sun</category><category domain="http://www.blogger.com/atom/ns#">solaris 10</category><category domain="http://www.blogger.com/atom/ns#">globaldevices</category><category domain="http://www.blogger.com/atom/ns#">Cluster</category><category domain="http://www.blogger.com/atom/ns#">Solaris</category><title>Sun Cluster 3.2 Globaldevices issue...</title><description>Hi,&lt;br /&gt;I had an issue with my Sun Cluster 3.2, for some reason only one node /global/.devices was mounted at the same time, because of that I couldn't switch the resources between nodes (the switch/remaster command hang) and in one node the cluster globaldevices service fail to start.&lt;br /&gt;&lt;br /&gt;When the resources switch hang, there was no message in syslog, it just waited util it timedout and failed back the resource.&lt;br /&gt;&lt;br /&gt;Also, when the server booted I could see this message:&lt;br /&gt;&lt;blockquote&gt;mount: /dev/md/dsk/d6 is already mounted or /global/.devices/node@1 is busy&lt;br /&gt;Trying to remount /global/.devices/node@1&lt;br /&gt;mount: /dev/md/dsk/d6 is already mounted or /global/.devices/node@1 is busy&lt;br /&gt;&lt;br /&gt;WARNING - Unable to mount one or more of the following filesystem(s):&lt;br /&gt;        /global/.devices/node@1&lt;br /&gt;If this is not repaired, global devices will be unavailable.&lt;br /&gt;Run mount manually (mount filesystem...).&lt;br /&gt;After the problems are corrected, please clear the&lt;br /&gt;maintenance flag on globaldevices by running the&lt;br /&gt;following command:&lt;br /&gt;/usr/sbin/svcadm clear svc:/system/cluster/&lt;wbr&gt;globaldevices:default&lt;/blockquote&gt;The problem was that both nodes had the same physical device name /dev/md/dsk/d6 for /global/.devices , here is how my vfstab on each node before the fix:&lt;br /&gt;Node1:&lt;br /&gt;/dev/md/dsk/&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;d6&lt;/span&gt;        /dev/md/rdsk/d6 /global/.devices/node@1 ufs     2       no      global&lt;br /&gt;&lt;br /&gt;Node2:&lt;br /&gt;/dev/md/dsk/&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;d6&lt;/span&gt;       /dev/md/rdsk/d6 /global/.devices/node@2 ufs     2       no      global&lt;br /&gt;&lt;br /&gt;To solve it all I had to do is rename the metadevice on both nodes using metarename and modify /etc/vfstab to include the new change:&lt;br /&gt;Node1:&lt;br /&gt;metarename d6 d601&lt;br /&gt;Node2:&lt;br /&gt;metarename d6 d602&lt;br /&gt;&lt;br /&gt;after the change you can restart svc:/system/cluster/&lt;wbr&gt;globaldevices:default on both nodes and it all works.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-6266996359839483687?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/n9_Ni57grTQ" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/n9_Ni57grTQ/sun-cluster-32-globaldevices-issue.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>3</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2009/01/sun-cluster-32-globaldevices-issue.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-2544305189342621089</guid><pubDate>Wed, 07 Jan 2009 12:34:00 +0000</pubDate><atom:updated>2009-01-13T10:15:56.644+02:00</atom:updated><title>Add zfs dataset to a zone</title><description>I think that the easiest method for adding (and after that, managing) a zfs pool/file system to a zone is by adding it as a dataset.&lt;br /&gt;&lt;br /&gt;Adding the zfs as a dataset will allow the zone administrator to manage this pool/filesystem and use it as a normal zfs filesystem.&lt;pre&gt;&lt;b&gt;&lt;kbd&gt;&lt;/kbd&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;&lt;kbd&gt;zonecfg -z myzone&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion&gt; &lt;b&gt;&lt;kbd&gt;add dataset&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion:dataset&gt; &lt;b&gt;&lt;kbd&gt;set name=zpool/mydata&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion:dataset&gt; &lt;b&gt;&lt;kbd&gt;end&lt;/kbd&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;/pre&gt;There are few properties that the zone admin won't be able to change and it could be that the zone admin will see more than you wants him to see. for more information about the delegation properites: http://docs.sun.com/app/docs/doc/819-5461/gbbsn?a=view&lt;br /&gt;&lt;br /&gt;There are times that all you want to do is just share space between the global zone and the non-global zone, in this case, you can add the zfs file system as a generic filesystem:&lt;pre&gt;&lt;blockquote&gt;# &lt;span style="font-weight: bold;"&gt;zfs set mountpoint=legacy zpool/mydata&lt;/span&gt;&lt;br /&gt;# &lt;b&gt;&lt;kbd&gt;zonecfg -z myzone&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion&gt; &lt;b&gt;&lt;kbd&gt;add fs&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion:fs&gt; &lt;b&gt;&lt;kbd&gt;set type=zfs&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion:fs&gt; &lt;b&gt;&lt;kbd&gt;set special=zpool/mydata&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion:fs&gt; &lt;b&gt;&lt;kbd&gt;set dir=/data&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;zonecfg:zion:fs&gt; &lt;b&gt;&lt;kbd&gt;end&lt;/kbd&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-2544305189342621089?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/rF8A96U8TsQ" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/rF8A96U8TsQ/add-zfs-dataset-to-zone.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2009/01/add-zfs-dataset-to-zone.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-1931377942363559295</guid><pubDate>Tue, 06 Jan 2009 13:34:00 +0000</pubDate><atom:updated>2009-01-06T15:38:01.442+02:00</atom:updated><title>Adding new shared disk to a running sun cluster 3.2</title><description>Adding a new shared disk to a running Solaris system, is easy, just add the device, and wait few secs for the OS to recognize it.&lt;br /&gt;After that step, we need the cluster to be aware of the new added disk, and create a new DID device, just run: "cldevice refresh" and then you will be able to see it in "cldevice list -v"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-1931377942363559295?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/HIq5uR6kmU8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/HIq5uR6kmU8/adding-new-shared-disk-to-running-sun.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>1</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2009/01/adding-new-shared-disk-to-running-sun.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-1710194291007514785</guid><pubDate>Sun, 28 Dec 2008 11:09:00 +0000</pubDate><atom:updated>2008-12-28T13:13:58.065+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">syslog.conf</category><category domain="http://www.blogger.com/atom/ns#">syslog</category><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">Solaris</category><title>Annoying syslog.conf syntax issue</title><description>Syslog will not work when using space as separators in syslog.conf file, you must use TAB as a separator.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-1710194291007514785?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/qU7zXMsQJw8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/qU7zXMsQJw8/annoying-syslogconf-syntax-issue.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2008/12/annoying-syslogconf-syntax-issue.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-2438642780817421345</guid><pubDate>Fri, 26 Dec 2008 00:53:00 +0000</pubDate><atom:updated>2009-01-10T21:33:35.779+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">sun</category><category domain="http://www.blogger.com/atom/ns#">Cluster</category><category domain="http://www.blogger.com/atom/ns#">Mysql</category><category domain="http://www.blogger.com/atom/ns#">Solaris</category><category domain="http://www.blogger.com/atom/ns#">Failover</category><title>Sun Cluster 3.2 with Mysql on Failover zones</title><description>&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face  {font-family:Wingdings;  panose-1:5 0 0 0 0 0 0 0 0 0;  mso-font-charset:2;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face  {font-family:"Cambria Math";  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:1;  mso-generic-font-family:roman;  mso-font-format:other;  mso-font-pitch:variable;  mso-font-signature:0 0 0 0 0 0;} @font-face  {font-family:Calibri;  panose-1:2 15 5 2 2 2 4 3 2 4;  mso-font-charset:0;  mso-generic-font-family:swiss;  mso-font-pitch:variable;  mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin-top:0cm;  margin-right:0cm;  margin-bottom:10.0pt;  margin-left:0cm;  text-align:right;  line-height:115%;  mso-pagination:widow-orphan;  direction:rtl;  unicode-bidi:embed;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:Arial;  mso-bidi-theme-font:minor-bidi;} a:link, span.MsoHyperlink  {mso-style-priority:99;  color:blue;  mso-themecolor:hyperlink;  text-decoration:underline;  text-underline:single;} a:visited, span.MsoHyperlinkFollowed  {mso-style-noshow:yes;  mso-style-priority:99;  color:purple;  mso-themecolor:followedhyperlink;  text-decoration:underline;  text-underline:single;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph  {mso-style-priority:34;  mso-style-unhide:no;  mso-style-qformat:yes;  margin-top:0cm;  margin-right:36.0pt;  margin-bottom:10.0pt;  margin-left:0cm;  mso-add-space:auto;  text-align:right;  line-height:115%;  mso-pagination:widow-orphan;  direction:rtl;  unicode-bidi:embed;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:Arial;  mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst  {mso-style-priority:34;  mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-type:export-only;  margin-top:0cm;  margin-right:36.0pt;  margin-bottom:0cm;  margin-left:0cm;  margin-bottom:.0001pt;  mso-add-space:auto;  text-align:right;  line-height:115%;  mso-pagination:widow-orphan;  direction:rtl;  unicode-bidi:embed;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:Arial;  mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle  {mso-style-priority:34;  mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-type:export-only;  margin-top:0cm;  margin-right:36.0pt;  margin-bottom:0cm;  margin-left:0cm;  margin-bottom:.0001pt;  mso-add-space:auto;  text-align:right;  line-height:115%;  mso-pagination:widow-orphan;  direction:rtl;  unicode-bidi:embed;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:Arial;  mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast  {mso-style-priority:34;  mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-type:export-only;  margin-top:0cm;  margin-right:36.0pt;  margin-bottom:10.0pt;  margin-left:0cm;  mso-add-space:auto;  text-align:right;  line-height:115%;  mso-pagination:widow-orphan;  direction:rtl;  unicode-bidi:embed;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:Arial;  mso-bidi-theme-font:minor-bidi;} span.MsoSubtleEmphasis  {mso-style-priority:19;  mso-style-unhide:no;  mso-style-qformat:yes;  color:gray;  mso-themecolor:text1;  mso-themetint:127;  font-style:italic;} span.MsoIntenseEmphasis  {mso-style-priority:21;  mso-style-unhide:no;  mso-style-qformat:yes;  color:#4F81BD;  mso-themecolor:accent1;  font-weight:bold;  font-style:italic;} span.SpellE  {mso-style-name:"";  mso-spl-e:yes;} span.GramE  {mso-style-name:"";  mso-gram-e:yes;} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:Calibri;  mso-fareast-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:Arial;  mso-bidi-theme-font:minor-bidi;} .MsoPapDefault  {mso-style-type:export-only;  margin-bottom:10.0pt;  line-height:115%;} @page Section1  {size:595.3pt 841.9pt;  margin:1.0cm 35.35pt 35.45pt 35.45pt;  mso-header-margin:35.4pt;  mso-footer-margin:35.4pt;  mso-paper-source:0;  mso-gutter-direction:rtl;} div.Section1  {page:Section1;}  /* List Definitions */  @list l0  {mso-list-id:514073747;  mso-list-template-ids:-1543337798;} @list l0:level1  {mso-level-number-format:bullet;  mso-level-text:\F0B7;  mso-level-tab-stop:36.0pt;  mso-level-number-position:left;  text-indent:-18.0pt;  mso-ansi-font-size:10.0pt;  font-family:Symbol;} @list l1  {mso-list-id:941062305;  mso-list-template-ids:504652624;} @list l2  {mso-list-id:1411318382;  mso-list-template-ids:-618356450;} @list l2:level1  {mso-level-number-format:bullet;  mso-level-text:\F0B7;  mso-level-tab-stop:36.0pt;  mso-level-number-position:left;  text-indent:-18.0pt;  mso-ansi-font-size:10.0pt;  font-family:Symbol;} @list l3  {mso-list-id:2006201991;  mso-list-type:hybrid;  mso-list-template-ids:545029234 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l3:level1  {mso-level-tab-stop:none;  mso-level-number-position:left;  text-indent:-18.0pt;} @list l3:level2  {mso-level-number-format:alpha-lower;  mso-level-tab-stop:none;  mso-level-number-position:left;  text-indent:-18.0pt;} @list l3:level3  {mso-level-number-format:roman-lower;  mso-level-tab-stop:none;  mso-level-number-position:right;  text-indent:-9.0pt;} ol  {margin-bottom:0cm;} ul  {margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;div class="Section1" dir="rtl"&gt; &lt;p class="MsoNormal" dir="ltr" style="margin-bottom: 0pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Click here to download a pdf format of this post.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" dir="ltr" style="margin-bottom: 0pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;I'm  going to write it step by step, with almost no explanations, just steps and  tips&lt;span class="GramE"&gt;:&lt;/span&gt;&lt;br /&gt;First of all what I've tried to create  is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul type="disc"&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Active/Passive  MySQL cluster&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Two  physical nodes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Non-global  zone on each node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;MySQL  is running in the zone&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Private  interconnect – Two interfaces on each server connected thru two Ethernet  switches&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;One  central storage, with one LUN for MySQL data and one LUN for  quorum&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Hosts  names are: host1 &amp;amp; host2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Zones  names are: zone1 &amp;amp; zone2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;IPMP  is used for public interfaces on physical nodes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;MPXIO  is used for HBA's &lt;span class="SpellE"&gt;multipathing&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Using  ZFS as MySQL data filesystem&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p class="MsoNormal" dir="ltr" style="margin-bottom: 0pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Resource  I've used:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul type="disc"&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;a href="http://docs.sun.com/app/docs/doc/820-2555"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;http://docs.sun.com/app/docs/doc/820-2555&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt; &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;a href="http://docs.sun.com/app/docs/doc/819-2993"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;http://docs.sun.com/app/docs/doc/819-2993&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt; &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;a href="http://wikis.sun.com/display/SunCluster/Deployment+Example+-+Installing+MySQL+in+a+Non-Global+Zone"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;http://wikis.sun.com/display/SunCluster/Deployment+Example+-+Installing+MySQL+in+a+Non-Global+Zone&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt; &lt;/li&gt;&lt;li class="MsoNormal" dir="ltr" style="margin-left: 36pt; direction: ltr; line-height: normal; margin-right: 0cm; unicode-bidi: embed; text-align: left;"&gt;&lt;a href="http://www.sun.com/software/solaris/howtoguides/twonodecluster.jsp"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;http://www.sun.com/software/solaris/howtoguides/twonodecluster.jsp&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p class="MsoNormal" dir="ltr" style="margin-bottom: 0pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;So,  here we go:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpFirst" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;1.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Preparations:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;On  the Ethernet switches - Disable spanning tree on the private interconnect  ports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;No  need to configure IP's for the private interconnect  interfaces&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;It  is encouraged to create two separate VLAN's for the private interconnect  interfaces&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;d.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Default  interconnect network configuration is: 172.16.0.0 with &lt;span class="SpellE"&gt;netmask&lt;/span&gt; 255.255.248.0, the default can be changed when  configuring the cluster&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;e.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;If  using Jumbo frames for the public network, also configure Jumbo frames for the  private interconnect&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;f.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Disable  Solaris power management&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 108pt; direction: ltr; text-indent: -108pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;                                                                           &lt;/span&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; text-indent: -18pt; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;*       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Edit  /etc/&lt;span class="SpellE"&gt;power.conf&lt;/span&gt; file and change the line &lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;autopm&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; default &lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;to  &lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;autopm&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  disable&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 108pt; direction: ltr; text-indent: -108pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;                                                             &lt;/span&gt;*&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Run:  &lt;span class="SpellE"&gt;pmconfig&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;g.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;/&lt;span class="SpellE"&gt;globaldevices&lt;/span&gt; file system, is a &lt;b&gt;local&lt;/b&gt; filesystem, can  be stored on local disks, with the size of 512MB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;h.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Packages  needed for the cluster are: &lt;span class="SpellE"&gt;SUNWrsm&lt;/span&gt;, &lt;span class="SpellE"&gt;SUNWrsmo&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;2.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Make  sure that RPC is open for public network:&lt;br /&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;# &lt;span class="SpellE"&gt;svccfg&lt;/span&gt;&lt;br /&gt;svc:/network/&lt;span class="SpellE"&gt;rpc&lt;/span&gt;/bind&gt; select network/&lt;span class="SpellE"&gt;rpc&lt;/span&gt;/bind&lt;br /&gt;svc:/network/&lt;span class="SpellE"&gt;rpc&lt;/span&gt;/bind&gt; &lt;span class="SpellE"&gt;setprop&lt;/span&gt; &lt;span class="SpellE"&gt;config&lt;/span&gt;/&lt;span class="SpellE"&gt;local_only&lt;/span&gt;=false&lt;br /&gt;svc:/network/&lt;span class="SpellE"&gt;rpc&lt;/span&gt;/bind&gt; quit&lt;br /&gt;# &lt;span class="SpellE"&gt;svcadm&lt;/span&gt;  refresh network/&lt;span class="SpellE"&gt;rpc&lt;/span&gt;/&lt;span class="SpellE"&gt;bind:default&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;br /&gt;If  TCP Wrapper is used, also add: &lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;rpcbind&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;:  ALL&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  too /etc/&lt;span class="SpellE"&gt;hosts.allow&lt;/span&gt; file on both servers, if you  don't wish to allow &lt;span class="SpellE"&gt;rpc&lt;/span&gt; for everyone, you can restrict  it to both servers public and private &lt;span class="SpellE"&gt;ip's&lt;/span&gt;.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 18pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;Tip: run tail –f on the messages file for both servers  in different sessions, this will help you find the problems in no  time&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;3.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  the zones on both servers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Define  public IP for both zones&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Configure  /etc/hosts to include the public IP name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;4.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Install  the cluster on host1 and host2 (can be done  simultaneously)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Mount  CD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Define  DISPLAY environment variable to your X machine&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Run  ./installer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 108pt; direction: ltr; text-indent: -108pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;                                                               &lt;/span&gt;i.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Install  Cluster Core, Cluster Manager (not required) and MySQL  agent&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 108pt; direction: ltr; text-indent: -108pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;                                                             &lt;/span&gt;ii.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Select  to configure cluster after install&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;5.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Change  root .profile (or whatever you are using) to include /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/&lt;span class="SpellE"&gt;sbin&lt;/span&gt;:/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/cluster/bin in the PATH environment variable and /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/cluster/man in the MANPATH environment  variable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;6.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  SSH key based authentication between the two physical servers for the root  account (use RSA keys)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;7.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;After  the installation has completed, you need to run &lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;scinstall&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  to configure the cluster&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;If  TCP wrapper is enabled, add this line to /etc/&lt;span class="SpellE"&gt;hosts.allow&lt;/span&gt;&lt;span class="GramE"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;sccheckd&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;: &lt;span class="SpellE"&gt;localhost&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;br /&gt;it  is required for &lt;span class="SpellE"&gt;sccheck&lt;/span&gt; utility to work  properly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Don't  use Auto Quorum configuration, we will add it later&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style=""&gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;NOTE: both servers will be rebooted at the end of &lt;span class="SpellE"&gt;scinstall&lt;/span&gt;, without confirmation!!! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;d.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;If  you want a different private interconnect IP's/Subnet, you can change it in this  step&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;8.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;After  both servers rebooted, check the cluster status by running:&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clnode&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; status&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;9.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Adding  a quorum disk device&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Use  format to label the device&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;The  cluster is using DID pseudo names for devices, to find a device DID name  run:&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;cldevice&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  list -v&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Run  &lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clsetup&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;  and add a disk quorum device&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;d.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;If  quorum added successfully, press yes for resting &lt;span class="SpellE"&gt;installmode&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;10.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Check  that the quorum is defined by running:&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clquorum&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  list&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;11.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Check  that the cluster &lt;span class="SpellE"&gt;installmode&lt;/span&gt; is  disabled:&lt;br /&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;cluster show -t global | &lt;span class="SpellE"&gt;grep&lt;/span&gt; &lt;span class="SpellE"&gt;installmode&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;12.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Enable  automatic node reboot if all monitored disk paths fail:&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clnode&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; set -p &lt;span class="SpellE"&gt;reboot_on_path_failure&lt;/span&gt;=enabled +&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;Check  that it has changed:&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clnode&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  show&lt;/span&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;13.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Registering  the cluster storage and network service&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresourcetype&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; register SUNW.gds &lt;span class="SpellE"&gt;SUNW.HAStoragePlus&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;14.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  a new Resource Group that includes both zones&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresourcegroup&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; create –n host1:zone1,host2:zone2 RG–MYSQL&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;15.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Check  that the resource group was added:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresourcegroup&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; status&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;16.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  the ZFS pool – &lt;span class="SpellE"&gt;zMysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;17.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Before  we will be able to add &lt;span class="SpellE"&gt;zMysql&lt;/span&gt; pool as a cluster  resource, we need to export it because the cluster will change the pool devices to the DID location:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;zpool&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; export  &lt;span class="SpellE"&gt;zMysql&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;18.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Add  the &lt;span class="SpellE"&gt;zMysql&lt;/span&gt; as a resource in  RG-MYSQL:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresource&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  create -g RG-MYSQL -t &lt;span class="SpellE"&gt;SUNW.HAStoragePlus&lt;/span&gt; -p &lt;span class="SpellE"&gt;AffinityOn&lt;/span&gt;=TRUE –p \&lt;br /&gt;&lt;span class="SpellE"&gt;Zpools&lt;/span&gt;=&lt;span class="SpellE"&gt;zMysql&lt;/span&gt; -p &lt;span class="SpellE"&gt;ZpoolsSearchDir&lt;/span&gt;=/dev/did/&lt;span class="SpellE"&gt;dsk&lt;/span&gt;  RS-MYSQL-HAS&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;19.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Check  that &lt;span class="SpellE"&gt;zMysql&lt;/span&gt; was added as a resource to  RG-MYSQL:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresource&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  list&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;20.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Now  we can import it back&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;zpool&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; import  &lt;span class="SpellE"&gt;zMysql&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;21.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Add  a new Virtual IP resource to our RG-MYSQL resource  group:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Add  the VIP to /etc/hosts on both physical servers and zones (we used &lt;span class="SpellE"&gt;vip-mysql&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span style="font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Add  the VIP to the resource group:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clreslogicalhostname&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; create -g RG-MYSQL -h &lt;span class="SpellE"&gt;vip-mysql&lt;/span&gt; -N \&lt;br /&gt;private@host1,private@host2  RS-VIP&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span style="font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;private  = our IPMP group name on each server, if not using IPMP, replace private with  the NIC name, for example e1000g1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;d.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Check  if VIP added as a resource:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresource&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  list&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;22.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;You  can move the resource group to the other servers by running&lt;span class="GramE"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;clresourcegroup switch -n host1:zone1 RG-MYSQL&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span style="font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;23.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;You  can move the resource group back by:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresourcegroup&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; &lt;span class="SpellE"&gt;remaster&lt;/span&gt; RG-MYSQL&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span style="font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;24.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Install  MySQL on zone1 and create the databases on &lt;span class="SpellE"&gt;zMysql&lt;/span&gt;  filesystem&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;25.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Install  MySQL software on zone2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;26.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  &lt;span class="SpellE"&gt;mysql&lt;/span&gt; account and group on both zones with same &lt;span class="SpellE"&gt;uid&lt;/span&gt; and &lt;span class="SpellE"&gt;gid&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;27.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Start  the MySQL instance on zone1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;28.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Copy  my.cnf to the &lt;span class="SpellE"&gt;zMySQL&lt;/span&gt; filesystem  (/data)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;29.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Edit  my.cnf file and add this line to [&lt;span class="SpellE"&gt;mysqld&lt;/span&gt;]  section:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;bind-address&lt;span style=""&gt;    &lt;/span&gt;= &lt;your&gt;&lt;/your&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;30.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  &lt;span class="SpellE"&gt;root@vip-mysql&lt;/span&gt; account and grant  permissions:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;# &lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;br /&gt;&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&gt; GRANT ALL ON  *.* TO '&lt;span class="SpellE"&gt;root'@'vip-mysql&lt;/span&gt;' IDENTIFIED BY '&lt;span class="SpellE"&gt;mypassword&lt;/span&gt;';&lt;br /&gt;&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&gt; UPDATE  &lt;span class="SpellE"&gt;mysql.user&lt;/span&gt; SET &lt;span class="SpellE"&gt;grant_priv&lt;/span&gt;='Y' WHERE user='root' AND host='&lt;span class="SpellE"&gt;vip&lt;/span&gt;-&lt;span class="SpellE"&gt;mysql&lt;/span&gt;';&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;31.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Now,  the next step is to create the cluster database in our MySQL instance, this  database is used for MySQL checks by the cluster&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;cp /opt/&lt;span class="SpellE"&gt;SUNWscmys&lt;/span&gt;/&lt;span class="SpellE"&gt;util&lt;/span&gt;/&lt;span class="SpellE"&gt;mysql_config&lt;/span&gt;  /data&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;chmod&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; 400  /data/&lt;span class="SpellE"&gt;mysql_config&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span style=""&gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Edit  the file /data/&lt;span class="SpellE"&gt;mysql_config&lt;/span&gt; to look like  this:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_BASE=/opt/&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_USER=root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_PASSWD=&lt;span class="SpellE"&gt;mypassword&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_HOST=&lt;span class="SpellE"&gt;vip&lt;/span&gt;-&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;FMUSER=&lt;span class="SpellE"&gt;fmuser&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;FMPASS=&lt;span class="SpellE"&gt;fmuserNewPassword&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_SOCK=/&lt;span class="SpellE"&gt;tmp&lt;/span&gt;/&lt;span class="SpellE"&gt;vip-mysql.sock&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_NIC_HOSTNAME=&lt;span class="SpellE"&gt;vip&lt;/span&gt;-&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQL_DATADIR=/data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;d.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Note:  Don't use $ signs in the password, the cluster scripts will fail...(tried to put  \$, but failed for account &lt;span class="SpellE"&gt;fmuser&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;e.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Select  an appropriate password for &lt;span class="SpellE"&gt;fmuser&lt;/span&gt;  account&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;f.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Create  the database:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;ksh&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  /opt/&lt;span class="SpellE"&gt;SUNWscmys&lt;/span&gt;/&lt;span class="SpellE"&gt;util&lt;/span&gt;/&lt;span class="SpellE"&gt;mysql_register&lt;/span&gt; -f /data/&lt;span class="SpellE"&gt;mysql_config&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;g.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;If  the script fails, look at /&lt;span class="SpellE"&gt;tmp&lt;/span&gt; for more information:  cat /&lt;span class="SpellE"&gt;tmp&lt;/span&gt;/.&lt;span class="SpellE"&gt;mysql.error&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 36pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;32.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Next  step is to register the MySQL as a resource in the cluster, for that we will  need to edit one more file&lt;/span&gt;&lt;/span&gt;:&lt;span style=";font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;a.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;cp /opt/&lt;span class="SpellE"&gt;SUNWscmys&lt;/span&gt;/&lt;span class="SpellE"&gt;util&lt;/span&gt;/&lt;span class="SpellE"&gt;ha_mysql_config&lt;/span&gt;  /data/&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;b.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;chmod&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; 400  /data/&lt;span class="SpellE"&gt;ha_mysql_config&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span style=""&gt;&lt;span style=""&gt;c.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Edit  the file /data/&lt;span class="SpellE"&gt;ha_mysql_config&lt;/span&gt; to look like  this:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;RS=RS-MYSQL-DB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;RG=RG-MYSQL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;#PORT=3306&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;LH=RS-VIP&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;HAS_RS=RS-MYSQL-HAS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span dir="rtl"  lang="HE" style="font-family:'Arial','sans-serif';"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;# &lt;span class="GramE"&gt;local&lt;/span&gt; zone specific options&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span dir="rtl"  lang="HE" style="font-family:'Arial','sans-serif';"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;ZONE=&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;ZONE_BT=&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;PROJECT=&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span dir="rtl"  lang="HE" style="font-family:'Arial','sans-serif';"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;# &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;mysql&lt;/span&gt;&lt;/span&gt;  specifications&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;&lt;span dir="rtl"  lang="HE" style="font-family:'Arial','sans-serif';"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;BASEDIR=/opt/&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;DATADIR=/data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQLUSER=&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;MYSQLHOST=&lt;span class="SpellE"&gt;vip&lt;/span&gt;-&lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;FMUSER=&lt;span class="SpellE"&gt;fmuser&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;FMPASS=&lt;span class="SpellE"&gt;fmuserNewPassword&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;LOGDIR=/data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoSubtleEmphasis"&gt;CHECK=YES&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;d.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Register  MySQL as a resource:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;ksh&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  /opt/&lt;span class="SpellE"&gt;SUNWscmys&lt;/span&gt;/&lt;span class="SpellE"&gt;util&lt;/span&gt;/&lt;span class="SpellE"&gt;ha_mysql_register&lt;/span&gt; -f /data/&lt;span class="SpellE"&gt;ha_mysql_config&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;e.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;If  MySQL is registered as a Solaris Service, disable it:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;svcadm&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt; disable &lt;span class="SpellE"&gt;mysql&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpMiddle" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;f.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Enable  RS-MYSQL-DB resource:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="SpellE"&gt;&lt;span class="MsoSubtleEmphasis"&gt;clresource&lt;/span&gt;&lt;/span&gt;&lt;span class="MsoSubtleEmphasis"&gt;  enable RS-MYSQL-DB&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoListParagraphCxSpLast" dir="ltr" style="margin: 0cm 0cm 0pt 72pt; direction: ltr; text-indent: -18pt; line-height: normal; unicode-bidi: embed; text-align: left;"&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;&lt;span style=""&gt;g.&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;font-family:'Times New Roman';font-size:7;"  &gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;span class="MsoIntenseEmphasis"&gt;&lt;span style="font-weight: normal; font-style: normal; color: rgb(0, 0, 0);font-family:'Times New Roman','serif';font-size:12;"  &gt;Cluster  MySQL resource is saving data to /&lt;span class="SpellE"&gt;tmp&lt;/span&gt;, check the  result/errors in /&lt;span class="SpellE"&gt;tmp&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" dir="ltr" style="direction: ltr; unicode-bidi: embed; text-align: left;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-2438642780817421345?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/Ue9oaw79HE4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/Ue9oaw79HE4/sun-cluster-32-with-mysql-on-failover.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2008/12/sun-cluster-32-with-mysql-on-failover.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-2003341209093445604</guid><pubDate>Wed, 25 Jun 2008 11:54:00 +0000</pubDate><atom:updated>2008-06-25T16:04:07.768+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">confusion</category><category domain="http://www.blogger.com/atom/ns#">sun</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">hp</category><category domain="http://www.blogger.com/atom/ns#">Symantec</category><category domain="http://www.blogger.com/atom/ns#">ibm</category><category domain="http://www.blogger.com/atom/ns#">microsoft</category><category domain="http://www.blogger.com/atom/ns#">database</category><category domain="http://www.blogger.com/atom/ns#">oracle</category><title>Why corporates need to rule everything?</title><description>Why large corporate need to control everything and have everything? Why Oracle can't create the best DB they can and just do that? Why they need to go to places that they don't know how to handle... Did anyone had a first successful install of one of oracle Non-DB products? Actually, did anyone had a smooth experience with the oracle java based DBCA tool?&lt;br /&gt;&lt;br /&gt;Well, I think that Oracle should develop Databases only and outsource the tool development to Microsoft, and same thing with Microsoft, they should drop this stupid so called SQL Server “database” :)...&lt;br /&gt;&lt;br /&gt;This is a call to all large IT corporate:&lt;br /&gt;Stop buying stuff!!! You don't know how to integrate tools! You just make a lot of Mishmash (Mess!!!)... Please start working together and not buying any more.. We can't handle it, we don't have the time to learn all of it, we don't need the choice of selection between 15 different products that do the same and we don't have time to POC each of them…&lt;br /&gt;&lt;br /&gt;Please!!&lt;br /&gt;Oracle (Databases), Microsoft (GUI), CA (Can’t remember what you expertise is anymore), IBM (MF), HP (Servers), Sun (Solaris, Java &amp;amp; Servers), Symantec (Defrag utilities, all your other products suck! Let Veritas products go free to the open source world &amp;amp; release sygate back to the world).&lt;br /&gt;Please!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-2003341209093445604?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/47sZ94bQMdM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/47sZ94bQMdM/why-corporates-need-to-rule-everything.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2008/06/why-corporates-need-to-rule-everything.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-4748335849045011094</guid><pubDate>Wed, 25 Jun 2008 11:47:00 +0000</pubDate><atom:updated>2008-06-25T14:51:46.791+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">appliance</category><category domain="http://www.blogger.com/atom/ns#">hp</category><category domain="http://www.blogger.com/atom/ns#">database</category><category domain="http://www.blogger.com/atom/ns#">oracle</category><title>Oracle Appliance</title><description>It was just a matter of time till Oracle will create an appliance!!&lt;br /&gt;Now, HP &amp;amp; Oracle created an appliance for Data warehouse that comes installed with ASM &amp;amp; RAC..&lt;br /&gt;I guess it comes with Oracle Enterprise Linux also...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.crn.com/software/208800507"&gt;http://www.crn.com/software/208800507&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-4748335849045011094?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/bdeB2Wq79AE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/bdeB2Wq79AE/oracle-appliance.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2008/06/oracle-appliance.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-1117095809062886346</guid><pubDate>Sun, 19 Aug 2007 13:18:00 +0000</pubDate><atom:updated>2007-10-28T11:04:11.648+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">authorization</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">openldap</category><category domain="http://www.blogger.com/atom/ns#">vas</category><category domain="http://www.blogger.com/atom/ns#">kerberos</category><category domain="http://www.blogger.com/atom/ns#">vintela</category><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">ldap</category><category domain="http://www.blogger.com/atom/ns#">authentication</category><category domain="http://www.blogger.com/atom/ns#">quest</category><category domain="http://www.blogger.com/atom/ns#">nss</category><title>Quest VAS Test (Vintela Authentication Services)</title><description>I've done a quick test Quest &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;VAS&lt;/span&gt;&lt;/span&gt; (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Vintela&lt;/span&gt;&lt;/span&gt; Authentication Services) as an implementation for Unix/Linux Authentication with Active Directory.&lt;br /&gt;&lt;br /&gt;First impression is that this is a very nice tool that will make your life easier if you wish to implement authentication from different *nix like &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;OS's&lt;/span&gt;&lt;/span&gt; with AD.&lt;br /&gt;&lt;br /&gt;The installation is very easy. All we need to do is install the server side (2min) and than the client side (1 RPM for Authentication and 1 for Group Policy (if needed)).&lt;br /&gt;&lt;br /&gt;What we have done is:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Install the server side on your domain controller&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Create users and groups for use in *nix machines&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;On the Linux/Solaris machine:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Install the rpm/pkg&lt;/li&gt;&lt;li&gt;Check if the server can find the domain controller &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;LDAP&lt;/span&gt;&lt;/span&gt; service by running:&lt;br /&gt;dig &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;SRV&lt;/span&gt;&lt;/span&gt; _&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;ldap&lt;/span&gt;&lt;/span&gt;._&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;tcp&lt;/span&gt;&lt;/span&gt;.&lt;domain&gt;&lt;br /&gt;For example, if my domain name is &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;uxdc&lt;/span&gt;&lt;/span&gt;.corp then run:&lt;br /&gt;dig &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;SRV&lt;/span&gt;&lt;/span&gt; _ldap._tcp.uxdc.corp&lt;/domain&gt;&lt;/li&gt;&lt;li&gt;Synchronize the server time from the domain controller:&lt;br /&gt;/opt/quest/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;vastool&lt;/span&gt;&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;timesync&lt;/span&gt;&lt;/span&gt; -d &lt;domain&gt;&lt;/domain&gt;&lt;/li&gt;&lt;li&gt;Restart &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;VAS&lt;/span&gt;&lt;/span&gt; daemon:&lt;br /&gt;/etc/init.d/vasd restart&lt;/li&gt;&lt;li&gt;Restart Group Policy daemon:&lt;br /&gt;/etc/init.d/vasgpd restart&lt;/li&gt;&lt;li&gt;Join the server to the domain:&lt;br /&gt;/opt/quest/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;vastool&lt;/span&gt;&lt;/span&gt; -u administrator join -f &lt;domain&gt; &lt;domain&gt;&lt;/domain&gt;&lt;/domain&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;For my opinion the advantages of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;VAS&lt;/span&gt;&lt;/span&gt; over the configuration of &lt;a href="http://maimon-it.blogspot.com/2007/08/kerberos-authentication-with-ldap.html"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;nss&lt;/span&gt;&lt;/span&gt;, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;ldap&lt;/span&gt;&lt;/span&gt; and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;pam&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Easy to install and configure&lt;/li&gt;&lt;li&gt;Encrypted &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;ldap&lt;/span&gt;&lt;/span&gt; using &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;Kerberos&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Same installation and configuration process for all *nix like &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;OS's&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Automatically generates the server &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;keytab&lt;/span&gt;&lt;/span&gt; after joining the server to the domain&lt;/li&gt;&lt;li&gt;Allow users password change from Unix&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;Timesync&lt;/span&gt;&lt;/span&gt; solution included without the need to use &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;ntp&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Manipulating AD objects from the Unix command line&lt;/li&gt;&lt;li&gt;Server based user access control&lt;/li&gt;&lt;li&gt;Personality Management, the ability of users to  impersonate to different personality&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Central place for configuring &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;sudo&lt;/span&gt;&lt;/span&gt;/profile (Management from AD)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Supports better &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_24"&gt;encryption&lt;/span&gt; type - &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;arcfour&lt;/span&gt;&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;hmac&lt;/span&gt;&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;md&lt;/span&gt;&lt;/span&gt;5&lt;/li&gt;&lt;li&gt;File &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_28"&gt;distribution&lt;/span&gt; and file permissions capability from AD&lt;/li&gt;&lt;li&gt;The ability to create services &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;keytabs&lt;/span&gt;&lt;/span&gt; from the Unix &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;CLI&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Links&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.quest.com/Vintela-Authentication-Services/"&gt;Quest &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;VAS&lt;/span&gt;&lt;/span&gt; site&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-1117095809062886346?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/ZUuhrmp9tWM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/ZUuhrmp9tWM/quest-vas-test-vintela-authentication.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/quest-vas-test-vintela-authentication.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-1001732801508137991</guid><pubDate>Wed, 15 Aug 2007 12:16:00 +0000</pubDate><atom:updated>2007-08-19T16:45:17.890+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">scheduler</category><category domain="http://www.blogger.com/atom/ns#">cpu</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">priority</category><category domain="http://www.blogger.com/atom/ns#">CFS</category><category domain="http://www.blogger.com/atom/ns#">Solaris</category><category domain="http://www.blogger.com/atom/ns#">FSS</category><title>Fair Scheduler support for Linux</title><description>Just few days ago I wrote about my experience with Solaris &lt;a href="http://maimon-it.blogspot.com/2007/08/solaris-10-resource-management.html"&gt;FSS&lt;/a&gt; and now I found out that Linux kernel 2.6.24 will support &lt;a href="http://www.linux-foundation.org/en/Linux_Platform_Weather_Forecast#The_Completely_Fair_Scheduler"&gt;CFS (Completely Fair Scheduler)&lt;/a&gt;. This should be very interesting to test...&lt;br /&gt;&lt;br /&gt;Actually CFS is merged in release 2.6.23 but depends on some unmerged containers, so we will have to wait for release 2.6.24..&lt;br /&gt;&lt;br /&gt;Can't wait to test it.&lt;br /&gt;&lt;br /&gt;Oded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-1001732801508137991?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/CfPSxHKesDg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/CfPSxHKesDg/fair-scheduler-support-for-linux.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/fair-scheduler-support-for-linux.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-7672359313882201046</guid><pubDate>Wed, 15 Aug 2007 09:06:00 +0000</pubDate><atom:updated>2007-08-19T16:45:59.783+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">wikipedia</category><category domain="http://www.blogger.com/atom/ns#">censorship</category><title>See Who's Editing Wikipedia - Diebold, the CIA, a Campaign</title><description>&lt;span style="font-style: italic;"&gt;"&lt;/span&gt;&lt;a style="font-style: italic;" href="http://wikiscanner.virgil.gr/"&gt;Wikipedia Scanner&lt;/a&gt;&lt;span style="font-style: italic;"&gt; -- the brainchild of Cal Tech computation and neural-systems graduate student Virgil Griffith -- offers users a searchable database that ties millions of anonymous Wikipedia edits to organizations where those edits apparently originated, by cross-referencing the edits with data on who owns the associated block of internet IP addresses."&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Read more &lt;a href="http://www.wired.com/politics/onlinerights/news/2007/08/wiki_tracker"&gt;here.&lt;/a&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-7672359313882201046?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/gVyEAinACwI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/gVyEAinACwI/see-whos-editing-wikipedia-diebold-cia.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/see-whos-editing-wikipedia-diebold-cia.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-4519807863583355836</guid><pubDate>Tue, 14 Aug 2007 17:31:00 +0000</pubDate><atom:updated>2007-08-19T16:46:20.981+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">yast</category><category domain="http://www.blogger.com/atom/ns#">redhat</category><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">suse</category><category domain="http://www.blogger.com/atom/ns#">oracle</category><title>YAST for Redhat</title><description>Oracle migrated &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;YAST&lt;/span&gt; to work with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;RHEL&lt;/span&gt;/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;Centos&lt;/span&gt;/Oracle Enterprise Linux (all the same)...&lt;br /&gt;The download is available &lt;a href="http://oss.oracle.com/projects/yast/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-4519807863583355836?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/932Y685Rxuo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/932Y685Rxuo/yast-for-redhat.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/yast-for-redhat.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-8422680360704985572</guid><pubDate>Mon, 13 Aug 2007 16:45:00 +0000</pubDate><atom:updated>2007-08-19T16:46:51.197+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">btrfs</category><category domain="http://www.blogger.com/atom/ns#">filesystem</category><category domain="http://www.blogger.com/atom/ns#">asm</category><category domain="http://www.blogger.com/atom/ns#">ocfs2</category><category domain="http://www.blogger.com/atom/ns#">ocfs</category><category domain="http://www.blogger.com/atom/ns#">oracle</category><title>Oracle new filesystem??</title><description>I've just found out that Oracle is developing a new file system for Linux, I really don't understand what they are doing...&lt;br /&gt;&lt;br /&gt;They started with OCFS, than OCFS2 (every thing is OK till now), than ASM and telling every one that this is the best choice for them and not OCFS/OCFS2, and now &lt;a href="http://oss.oracle.com/projects/btrfs/"&gt;BTRFS (Btree File System).&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What next?&lt;br /&gt;&lt;br /&gt;Oded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-8422680360704985572?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/MKIQO7CkQ2o" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/MKIQO7CkQ2o/oracle-new-filesystem.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/oracle-new-filesystem.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-4537870325968005013</guid><pubDate>Mon, 13 Aug 2007 14:28:00 +0000</pubDate><atom:updated>2007-08-19T16:47:36.756+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">cpu</category><category domain="http://www.blogger.com/atom/ns#">projects</category><category domain="http://www.blogger.com/atom/ns#">resource management</category><category domain="http://www.blogger.com/atom/ns#">resource</category><category domain="http://www.blogger.com/atom/ns#">Solaris</category><category domain="http://www.blogger.com/atom/ns#">zone</category><category domain="http://www.blogger.com/atom/ns#">FSS</category><title>Solaris 10 - Resource Management</title><description>Today we've started testing Solaris 10 CPU resource management using FSS (Fair Share Scheduler) and Projects.&lt;br /&gt;&lt;br /&gt;The problem we wanted to solve is with Oracle database, we have a DWH database and at night we have few things:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ETL&lt;/li&gt;&lt;li&gt;Database Exports&lt;/li&gt;&lt;li&gt;Users access&lt;/li&gt;&lt;/ul&gt;What we need is that the database exports won't interrupt the ETL process (The users don't do much at night), So we've decided to try Solaris Resource Management capability.&lt;br /&gt;&lt;br /&gt;Before I'll show what we have done you need to know that the Oracle owner is "orauser"&lt;br /&gt;and the Oracle SID is "orcl".&lt;br /&gt;&lt;br /&gt;The first step is to create the needed projects, projects are used to distinguish different workloads from one another. We've created two projects:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;user.orauser&lt;/li&gt;&lt;li&gt;oracle_low&lt;/li&gt;&lt;/ul&gt;There are three ways to create a project:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;user.USERNAME&lt;username&gt; - a project that is associated with a specific Unix user&lt;br /&gt;&lt;/username&gt;&lt;/li&gt;&lt;li&gt;group.&lt;group&gt;GROUPNAME -  a project that is associated with a specific Unix group&lt;br /&gt;&lt;/group&gt;&lt;/li&gt;&lt;li&gt;project name - a project that is not associated to any group or user by default and can be associated manually or by SMF (Service Management Facility)&lt;/li&gt;&lt;/ol&gt;So the first project we've created, user.orauser, will be assigned automatically for the user orauser. The second project, oracle_low, is a non associated project that we will use to lower the CPU workload for the database exports.&lt;br /&gt;&lt;br /&gt;The commands to create a the projects are:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# projadd -c "Oracle default project" user.orauser&lt;br /&gt;# projadd -c "Oracle low priority project" oracle_low&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;All the projects defined in /etc/projects file and can be viewed in this file or by running:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# projects -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check orauser default project run:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# id -p orauser&lt;br /&gt;uid=60000(orauser) gid=300(dba) projid=100(user.orauser)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now that we've created the projects, we need to change the system scheduling to use FSS:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# ps -cafe&lt;br /&gt;# dispadmin -d FSS&lt;br /&gt;# priocntl -s -c FSS -i class TS&lt;br /&gt;# priocntl -s -c FSS -i pid 1&lt;br /&gt;# ps -cafe&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;"ps -cafe"&lt;/span&gt; - shows all processes and there scheduler class, I will not explain what a class is, but you should know that TS class is what Solaris uses for all processes by default. The TS class can be manipulated by the nice and renice commands.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;"dispadmin -d FSS"&lt;/span&gt; - sets the default scheduling class to be used on reboot to FSS&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;"priocntl -s -c FSS -i class TS"&lt;/span&gt; - changes all current process with TS class to FSS class&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;"priocntl -s -c FSS -i pid 1"&lt;/span&gt; - changes the /sbin/init process to FSS class&lt;/li&gt;&lt;/ul&gt;The next step is to add the CPU resource (cpu-shares) to each project, one thing we need to know about cpu-shares resource is that the value we set for it is the ratio and not percentages, it means that if project A have cpu-shares=10 and project B have cpu-shares=20 and both process of both projects need 100% CPU load the processes of project B will get total of 66% CPU and the processes of project A will get 33%. So, here is the way to add the CPU resource to our projects:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# prctl -n project.cpu-shares -r -v 30 -i project user.orauser&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# prctl -n project.cpu-shares -r -v 10 -i project oracle_low&lt;br /&gt;# projmod -sK “project.cpu-shares=(privileged,10,none)” oracle_low&lt;br /&gt;# projmod -sK “project.cpu-shares=(privileged,30,none)” user.orauser&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;projmod &lt;/span&gt;- changes the project attributes&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;prctl &lt;/span&gt;- changes the resource control for running process&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Use the "projects -l" command to view the changes we've just made.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# project -l user.orauser&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# project -l oracle_low&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, we changed the export processes to run like this:&lt;br /&gt;# newtask -p oracle_low /u01/scripts/oracle_export.sh&lt;br /&gt;&lt;br /&gt;And every thing is working perfectly!!! Fun Fun Joy Joy.&lt;br /&gt;&lt;br /&gt;One more useful command is &lt;span style="font-style: italic;"&gt;"prstat -J"&lt;/span&gt; that will show resources utilization by project.&lt;br /&gt;&lt;br /&gt;Oded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-4537870325968005013?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/Cdyyi930mmU" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/Cdyyi930mmU/solaris-10-resource-management.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/solaris-10-resource-management.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-8594968350316938571</guid><pubDate>Sun, 12 Aug 2007 12:39:00 +0000</pubDate><atom:updated>2007-08-19T16:53:30.823+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">Audit</category><title>Linux - Auditing file access</title><description>&lt;a href="http://www.cyberciti.biz/tips/linux-audit-files-to-see-who-made-changes-to-a-file.html"&gt;This link is a very good post on how to audit file changes with Linux auditd.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-8594968350316938571?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/JbG7sEWKGl0" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/JbG7sEWKGl0/linux-auditing-file-access.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>0</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/linux-auditing-file-access.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13403054.post-8653980980542287019</guid><pubDate>Thu, 09 Aug 2007 09:41:00 +0000</pubDate><atom:updated>2007-08-19T16:53:55.993+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">redhat</category><category domain="http://www.blogger.com/atom/ns#">kickstart</category><category domain="http://www.blogger.com/atom/ns#">linux</category><title>ksvalidator - validate kickstart file syntax</title><description>Finally, in Redhat 5 there is a tool called ksvalidator and we can use it to validate the syntax of a kickstart file!!&lt;br /&gt;&lt;br /&gt;ksvalidator comes with the system-config-kickstart RPM and can be used this way:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;system-config-kickstart mykickstartfile.ks&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enjoy.&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:monospace;"&gt;&lt;/span&gt;&lt;tt class="command"&gt;&lt;/tt&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13403054-8653980980542287019?l=maimon-it.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/OdedMaimon-ItBlog/~4/SZIA7Dz7av8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/OdedMaimon-ItBlog/~3/SZIA7Dz7av8/ksvalidator-validate-kickstart-file.html</link><author>noreply@blogger.com (Oded Maimon)</author><thr:total>1</thr:total><feedburner:origLink>http://maimon-it.blogspot.com/2007/08/ksvalidator-validate-kickstart-file.html</feedburner:origLink></item></channel></rss>

