<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5207412465058551015</atom:id><lastBuildDate>Sun, 01 Sep 2024 00:32:58 +0000</lastBuildDate><category>Linux</category><category>solaris</category><category>hp-ux</category><category>helix</category><category>streaming</category><category>big-ip</category><category>mail server</category><category>disk mirroring</category><category>mysql</category><category>spam</category><category>SAN</category><category>oracle</category><category>Life Experience</category><category>cisco</category><category>proftpd</category><category>apache</category><category>cluster</category><category>firewall</category><title>Smiertx Site</title><description>Copyleft (C) 2007 smiertx-bani-ikhyar</description><link>http://smiertx.blogspot.com/</link><managingEditor>noreply@blogger.com (Bandit Smoker)</managingEditor><generator>Blogger</generator><openSearch:totalResults>120</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-1056962119911064896</guid><pubDate>Fri, 29 May 2009 06:52:00 +0000</pubDate><atom:updated>2012-09-19T08:38:48.632+07:00</atom:updated><title>Howto setting iLOM</title><description>&lt;span id=&quot;fullpost&quot;&gt;Change default password for &quot;root&quot;, default = changeme&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt; set /SP/users/root password=password&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;Create new username &quot;admin&quot; &lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;create /SP/users/admin&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;Modify user profile &quot;admin&quot;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;set /SP/users/admin role=Administrator&lt;br /&gt;
set /SP/users/admin cli_mode=alom&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;Setting CLI prompt&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;setsc sc_cliprompt SRVNAME &lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;fullpost&quot;&gt;  &lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/05/howto-setting-ilom.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-864618798843748882</guid><pubDate>Fri, 29 May 2009 06:34:00 +0000</pubDate><atom:updated>2009-05-29T13:34:57.480+07:00</atom:updated><title>Differences between trusted and non-trusted systems?</title><description>&lt;span id=&quot;fullpost&quot;&gt;Trusted system&amp;nbsp; : Enabled for all of below functions.&lt;br /&gt;
Non-trusted system : Disabled for all of below functions.&lt;br /&gt;
&lt;br /&gt;
System auditing &lt;br /&gt;
enables tracing every system call issued by users on the system.&lt;br /&gt;
&lt;br /&gt;
Improved password management includes:&lt;br /&gt;
- grace period and expiration period for password&lt;br /&gt;
- password aging&lt;br /&gt;
- specific account life&lt;br /&gt;
- disable login after repeated login failures&lt;br /&gt;
- random password generator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login Restrictions includes :&lt;br /&gt;
- disabling and locking accounts&lt;br /&gt;
- Setting accounts to be accessed only at certain times of the day&lt;br /&gt;
- account location accessat specific devices, workstations, etc.&lt;br /&gt;
- a single-user boot password.&lt;br /&gt;
&lt;br /&gt;
Shadowed passwords&lt;br /&gt;
- kept in locations other than /etc/passwd. &lt;br /&gt;
- prevents users from viewing the /etc/passwd file&lt;br /&gt;
- prevents hackers from running &quot;password cracker programs&quot; against passwords in the /etc/passwd file  &lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/05/differences-between-trusted-and-non.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-1997547100851244249</guid><pubDate>Fri, 29 May 2009 06:34:00 +0000</pubDate><atom:updated>2009-05-29T13:34:17.111+07:00</atom:updated><title>Howto re-install PHP support Oracle Client</title><description>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;If we have default php installation in RHEL 4u6, and we need to reinstall with php5 with oracle client supported.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt; font-weight: bold;&quot;&gt;Uninstall  all PHP4 rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -qa | grep  php&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -e  php-*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt; font-weight: bold;&quot;&gt;Install  PHP5 rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  php-common-5*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  php-cli-5*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  php-5*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  sqlite-3*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  sqlite2-*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  php-pdo-5*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;rpm -ivh  php-oci8-5*.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt; font-weight: bold;&quot;&gt;Install  InstantClient&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;mkdir -p  /opt/oracle/instantclient&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;cd  /opt/oracle/instantclient&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;unzip  instantclient-basic-linux32-10.2.0.3-xxx.zip&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;unzip  instantclient-sdk-linux32-10.2.0.3-xxx.zip&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;echo  /opt/oracle/instantclient/instantclient_10_2 &amp;gt;&amp;gt;  /etc/ld.so.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;ldconfig&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;cd  /opt/oracle/instantclient/instantclient_10_2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;ln -s libclntsh.so.10.1  libclntsh.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;ln -s libocci.so.10.1  libocci.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;ln -s libclntsh.so.10.1  libclntsh.so.11.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt; font-weight: bold;&quot;&gt;Install  oci8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;cd  /usr/local/src&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;tar xzf  oci8-x.x.x.tgz&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;cd  oci8-x.x.x&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;phpize&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;./configure  --with-oci8=shared,instantclient,/opt/oracle/instantclient/instantclient_10_2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;make&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;make  install&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt; font-weight: bold;&quot;&gt;Restarting  apache service&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;/etc/init.d/httpd  restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/05/howto-re-install-php-support-oracle.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-3765762085940762868</guid><pubDate>Thu, 16 Apr 2009 17:57:00 +0000</pubDate><atom:updated>2009-04-17T00:57:55.712+07:00</atom:updated><title>Howto Initialized EMC Storage CLAriion</title><description>First connect your laptop to switch that EMC Storage are connected.&lt;br /&gt;
Please make sure it have same VLAN configured on switch.&lt;br /&gt;
For example you use VLAN 10 with allocation IP Address : 192.168.10.0/24.&lt;br /&gt;
Set IP Address on your laptop to, ex: 192.168.10.10.&lt;br /&gt;
EMC Storage SP A : 192.168.10.1&lt;br /&gt;
EMC Storage SP B : 192.168.10.2&lt;br /&gt;
&lt;br /&gt;
Please note that server that will use this EMC Storage should be use VLAN 10 as main VLAN.&lt;br /&gt;
&lt;br /&gt;
ex:&lt;br /&gt;
SP A on EMC Storage connected to port 1&lt;br /&gt;
SP B on EMC Storage connected to port 2&lt;br /&gt;
Your laptop connected to port 3.&lt;br /&gt;
&lt;br /&gt;
Switch config should be like below :&lt;br /&gt;
&lt;br /&gt;
interface GigabitEthernet0/1&lt;br /&gt;
&amp;nbsp;switchport access vlan 10&lt;br /&gt;
&amp;nbsp;switchport mode access&lt;br /&gt;
&lt;br /&gt;
interface GigabitEthernet0/2&lt;br /&gt;
&amp;nbsp;switchport access vlan 10&amp;nbsp;&lt;br /&gt;
&amp;nbsp;switchport mode access&lt;br /&gt;
&lt;br /&gt;
interface GigabitEthernet0/3&lt;br /&gt;
&amp;nbsp;switchport access vlan 10&lt;br /&gt;
&amp;nbsp;switchport mode access&lt;br /&gt;
&lt;br /&gt;
Install Navisphere_Initialization_Wizard.exe on your laptop and run this tool.&lt;br /&gt;
- choose &quot;I agree ...&quot;&lt;br /&gt;
- Click &quot;Next&quot; button&lt;br /&gt;
- Your storage should be on &quot;Uninitialized Systems&quot;&lt;br /&gt;
- Click your storage and click &quot;Next&quot; button.&lt;br /&gt;
- In this section, you should input :&lt;br /&gt;
&amp;nbsp; 1. IP Address SP A, IP Address SP B, Subnet mask and default gateway.&lt;br /&gt;
&amp;nbsp; 2. You storage system name&lt;br /&gt;
- Done.&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/04/howto-initialized-emc-storage-clariion.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-6099132580859305601</guid><pubDate>Thu, 16 Apr 2009 17:32:00 +0000</pubDate><atom:updated>2009-04-17T00:32:36.069+07:00</atom:updated><title>Howto physical connection EMC CLAriion, IBM Blade, SAN Switch, Cisco Switch</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9k9gbLumbokLTDZ9JdWNSj2ik9PoM0waYpakFgsTaypHG7T_LfdERqdoNd4K3koU5AVz4pdf94azMhGb3xLdlDovZna4TNyX4zVwJvgGiWrClbBiKzUyjjdkOf6PXJPcvfY0Jdtav8NI/s1600-h/Drawing1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9k9gbLumbokLTDZ9JdWNSj2ik9PoM0waYpakFgsTaypHG7T_LfdERqdoNd4K3koU5AVz4pdf94azMhGb3xLdlDovZna4TNyX4zVwJvgGiWrClbBiKzUyjjdkOf6PXJPcvfY0Jdtav8NI/s320/Drawing1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/04/howto-physical-connection-emc-clariion.html</link><author>noreply@blogger.com (Bandit Smoker)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9k9gbLumbokLTDZ9JdWNSj2ik9PoM0waYpakFgsTaypHG7T_LfdERqdoNd4K3koU5AVz4pdf94azMhGb3xLdlDovZna4TNyX4zVwJvgGiWrClbBiKzUyjjdkOf6PXJPcvfY0Jdtav8NI/s72-c/Drawing1.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-2147593217890321327</guid><pubDate>Sun, 12 Apr 2009 02:22:00 +0000</pubDate><atom:updated>2009-04-12T09:22:18.817+07:00</atom:updated><title>Howto cstm on HP-UX</title><description>If we want to show all machine information, just use cstm.&lt;br /&gt;
# cstm&lt;br /&gt;
Running Command File (/usr/sbin/stm/ui/config/.stmrc).&lt;br /&gt;
&lt;br /&gt;
-- Information --&lt;br /&gt;
Support Tools Manager&lt;br /&gt;
&lt;br /&gt;
Version C.46.05&lt;br /&gt;
&lt;br /&gt;
(C) Copyright Hewlett Packard Co. 1995-2002&lt;br /&gt;
All Rights Reserved&lt;br /&gt;
&lt;br /&gt;
Use of this program is subject to the licensing restrictions described&lt;br /&gt;
in &quot;Help--&gt;On Version&quot;.  HP shall not be liable for any damages resulting&lt;br /&gt;
from misuse or unauthorized use of this program.&lt;br /&gt;
&lt;br /&gt;
cstm&gt;&lt;br /&gt;
&lt;br /&gt;
Map all device in this system with :&lt;br /&gt;
&lt;br /&gt;
cstm&gt; map&lt;br /&gt;
 Dev                                                 Last        Last Op&lt;br /&gt;
  Num  Path                 Product                   Active Tool Status&lt;br /&gt;
  ===  ==================== ========================= =========== =============&lt;br /&gt;
    1  system               system (1014)             Information Successful&lt;br /&gt;
    2  memory               IPF_MEMORY (1014)         Information Successful&lt;br /&gt;
------------&lt;br /&gt;
&lt;br /&gt;
We want to know info about memory information&lt;br /&gt;
cstm&gt;sel d 2&lt;br /&gt;
cstm&gt;info&lt;br /&gt;
-- Updating Map --&lt;br /&gt;
Updating Map...&lt;br /&gt;
cstm&gt;wait&lt;br /&gt;
cstm&gt;il&lt;br /&gt;
-- Converting a (2176) byte raw log file to text. --&lt;br /&gt;
Preparing the Information Tool Log for IPF_MEMORY on path memory File ...&lt;br /&gt;
&lt;br /&gt;
-- Information Tool Log for IPF_MEMORY on path memory --&lt;br /&gt;
&lt;br /&gt;
Log creation time: Sun Apr 12 09:20:16 2009&lt;br /&gt;
&lt;br /&gt;
Hardware path: memory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Basic Memory Description&lt;br /&gt;
&lt;br /&gt;
   Module Type: MEMORY&lt;br /&gt;
   Page Size: 4096 Bytes&lt;br /&gt;
   Total Physical Memory: N/A&lt;br /&gt;
   Total Configured Memory: 8192 MB&lt;br /&gt;
   Total Deconfigured Memory: N/A&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
same procedure for another device information.&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/04/howto-cstm-on-hp-ux.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-5988395352821357657</guid><pubDate>Sun, 12 Apr 2009 02:05:00 +0000</pubDate><atom:updated>2009-04-12T09:05:51.635+07:00</atom:updated><title>Howto configure boot device order on ILOM</title><description>To ensure the system can be installed using the DVD drive, the boot device order in the BIOS has to be configured correctly so that the DVD drive takes precedence over the internal hard drives.&lt;br /&gt;
1 Log into the ILOM.&lt;br /&gt;
2 Start the system if it is not already running:&lt;br /&gt;
&gt; start /SYS&lt;br /&gt;
else reset the system:&lt;br /&gt;
&gt; reset /SYS&lt;br /&gt;
3 Log onto the system’s console:&lt;br /&gt;
&gt; start /SP/console&lt;br /&gt;
4 When prompted, press Esc 2 to enter setup.&lt;br /&gt;
5 Once the setup menu has loaded, navigate across to the Boot screen by using&lt;br /&gt;
the right arrow key.&lt;br /&gt;
6 Using the down arrow key, select the Boot Device Priority item and press&lt;br /&gt;
Enter.&lt;br /&gt;
7 Confirm that the item [CD/DVD] is higher in the list than the item [Hard Drive].&lt;br /&gt;
The order can be changed by selecting the relevant item and using the +/- keys&lt;br /&gt;
to move the item up or down in the list.&lt;br /&gt;
8 Once the order is correct, save any changes made by pressing Esc and then&lt;br /&gt;
navigate right to the Exit screen. Select the item Save Changes and Exit and&lt;br /&gt;
press Enter, then confirm the action by selecting Ok.&lt;br /&gt;
9 Return to the ILOM prompt by pressing Esc (.&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/04/howto-configure-boot-device-order-on.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-8203908062227951441</guid><pubDate>Sun, 12 Apr 2009 02:03:00 +0000</pubDate><atom:updated>2009-04-12T09:03:40.855+07:00</atom:updated><title>Howto configure network on ILOM</title><description>The following steps will configure the network settings for the ILOM.&lt;br /&gt;
1 Connect a terminal to the ILOM serial management port.&lt;br /&gt;
2 Power up the server.&lt;br /&gt;
3 When prompted, login into the ILOM as root:&lt;br /&gt;
login: root&lt;br /&gt;
password: changeme (this should be the default password and can be confirmed by&lt;br /&gt;
consulting the documentation shipped with the server).&lt;br /&gt;
4 Set the network details for the ILOM:&lt;br /&gt;
&gt; set /SP/network pendingipaddress=&lt;IP Address&gt;&lt;br /&gt;
&gt; set /SP/network pendingipdiscovery=static&lt;br /&gt;
&gt; set /SP/network pendingipgateway=&lt;Default Gateway&gt;&lt;br /&gt;
&gt; set /SP/network pendingipnetmask=&lt;Netmask&gt;&lt;br /&gt;
&gt; set /SP/network commitpending=true&lt;br /&gt;
5 Try opening an SSH connection to the ILOM in order to confirm that the setup&lt;br /&gt;
was successful.&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/04/howto-configure-network-on-ilom.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-1386742435179344642</guid><pubDate>Sun, 12 Apr 2009 01:57:00 +0000</pubDate><atom:updated>2009-04-12T08:57:03.875+07:00</atom:updated><title>Howto soft partition on Solaris</title><description>If we wanna create soft partition on one physical partition, eg: partition 7.&lt;br /&gt;
Show capacity partition 7 with command&lt;br /&gt;
# format&lt;br /&gt;
then choose your disk, eg: disk 0, now press &quot;0&quot;&lt;br /&gt;
then enter partition menu with press &quot;p&quot;&lt;br /&gt;
then print partition layout, press &quot;p&quot;&lt;br /&gt;
we have example for partiton 7 like this :&lt;br /&gt;
-------------&lt;br /&gt;
 7 unassigned    wm     207 -  1608        6.80GB    (1402/0/0) 14266752&lt;br /&gt;
&lt;br /&gt;
We want to create 3 soft partition with allocation like below :&lt;br /&gt;
/opt/data : 3 GB&lt;br /&gt;
/opt/data1 : 1 GB&lt;br /&gt;
/opt/data2 : 2 GB&lt;br /&gt;
&lt;br /&gt;
Create the soft partitions:&lt;br /&gt;
# metainit d701 -p d70 3072M&lt;br /&gt;
# metainit d702 -p d70 1024M&lt;br /&gt;
# metainit d703 -p d70 2048M&lt;br /&gt;
&lt;br /&gt;
Create a UFS file system on each of the soft partitions:&lt;br /&gt;
# newfs /dev/md/dsk/d701&lt;br /&gt;
# newfs /dev/md/dsk/d702&lt;br /&gt;
# newfs /dev/md/dsk/d703&lt;br /&gt;
&lt;br /&gt;
Add the following entries to the file /etc/vfstab:&lt;br /&gt;
/dev/md/dsk/d701 /dev/md/rdsk/d701 /opt/data ufs 2 yes -&lt;br /&gt;
/dev/md/dsk/d702 /dev/md/rdsk/d702 /opt/data1 ufs 2 yes -&lt;br /&gt;
/dev/md/dsk/d703 /dev/md/rdsk/d703 /opt/data2 ufs 2 yes -&lt;br /&gt;
&lt;br /&gt;
Create the mount points:&lt;br /&gt;
# mkdir -p /opt/data&lt;br /&gt;
# mkdir -p /opt/data1&lt;br /&gt;
# mkdir -p /opt/data2&lt;br /&gt;
&lt;br /&gt;
Mount the file systems:&lt;br /&gt;
# mount /opt/data&lt;br /&gt;
# mount /opt/data1&lt;br /&gt;
# mount /opt/data2&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/04/howto-soft-partition-on-solaris.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-407616922223004099</guid><pubDate>Fri, 20 Mar 2009 14:41:00 +0000</pubDate><atom:updated>2009-03-20T21:41:26.036+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>System Kernel Hardening on Solaris</title><description>Just add this lines to your /etc/system file.&lt;br /&gt;
Better to use it for high load server.&lt;br /&gt;
&lt;br /&gt;
set noexec_user_stack=1&lt;br /&gt;
set noexec_user_stack_log=1&lt;br /&gt;
set semsys:seminfo_semmni=100&lt;br /&gt;
set semsys:seminfo_semmns=1024&lt;br /&gt;
set semsys:seminfo_semmsl=256&lt;br /&gt;
set semsys:seminfo_semvmx=32767&lt;br /&gt;
set shmsys:shminfo_shmmax=4294967295&lt;br /&gt;
set shmsys:shminfo_shmmin=1&lt;br /&gt;
set shmsys:shminfo_shmmni=100&lt;br /&gt;
set shmsys:shminfo_shmseg=10&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/03/system-kernel-hardening-on-solaris.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-5391781803884409295</guid><pubDate>Fri, 20 Mar 2009 14:39:00 +0000</pubDate><atom:updated>2009-03-20T21:39:22.925+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>Network Hardening on Solaris</title><description>Just adding this script on your /etc/rc3.d, dont&#39; forget to chmod it to 744.&lt;br /&gt;
&lt;br /&gt;
/etc/rc3.d/S100nettune&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# Basic Hardening&lt;br /&gt;
/usr/sbin/ndd -set /dev/ip ip_forward_src_routed 0&lt;br /&gt;
/usr/sbin/ndd -set /dev/ip ip_forwarding 0&lt;br /&gt;
&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q 16384&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q0 16384&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_xmit_hiwat 400000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_recv_hiwat 400000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_cwnd_max 2097152&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 60000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_initial 4000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_max 10000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_min 3000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_max_buf 4194304&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_maxpsz_multiplier 10&lt;br /&gt;
&lt;br /&gt;
#Oracle Required&lt;br /&gt;
/usr/sbin/ndd -set /dev/udp udp_recv_hiwat 65535&lt;br /&gt;
/usr/sbin/ndd -set /dev/udp udp_xmit_hiwat 65535&lt;br /&gt;
&lt;br /&gt;
# Added parameter&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 30000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_keepalive_interval  60000&lt;br /&gt;
/usr/sbin/ndd -set /dev/tcp tcp_deferred_ack_interval 20&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/03/network-hardening-on-solaris.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-7825842454661009375</guid><pubDate>Sun, 22 Feb 2009 17:17:00 +0000</pubDate><atom:updated>2012-09-19T08:40:41.249+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>LINUX REDHAT BOOK. Now available on this site !</title><description>Do you interest in Linux Redhat ?&lt;br /&gt;
Let&#39;s have a book of Linux Redhat on this website.&lt;br /&gt;
Contact me : smiertx@gmail.com if you interest with this book.&lt;br /&gt;
&amp;gt;&amp;gt; Tersedia dalam&amp;nbsp;Bahasa Indonesia.&lt;br /&gt;
&amp;gt;&amp;gt; Available on English.&lt;br /&gt;
&lt;br /&gt;
Here are the content list :&lt;br /&gt;
&lt;br /&gt;
CHAPTER 1 INSTALLATION RED HAT ENTERPRISE LINUX 4&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;INTRODUCTION &lt;/li&gt;
&lt;li&gt;INSTALLATION &lt;/li&gt;
&lt;li&gt;RAID AND LVM&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
CHAPTER 2 POST INSTALLATION RED HAT ENTERPRISE LINUX 4 &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;KOMPILE LAST STABLE KERNEL &lt;/li&gt;
&lt;li&gt;TUNING KERNEL PARAMETER &lt;/li&gt;
&lt;li&gt;HARDENING LINUX &lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;File /etc/login/defs &lt;/li&gt;
&lt;li&gt;File /etc/security/limits.conf &lt;/li&gt;
&lt;li&gt;File /etc/pam.d/system-auth &lt;/li&gt;
&lt;li&gt;File /etc/bashrc&lt;/li&gt;
&lt;li&gt;Service running on system startup&lt;/li&gt;
&lt;li&gt;Change run-level &lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;CUSTOMIZING LINUX DESKTOP &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
CHAPTER 3 USER DAN GROUP ADMINISTRATION &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;ADD GROUP &lt;/li&gt;
&lt;li&gt;ADD USER &lt;/li&gt;
&lt;li&gt;CHANGE GROUP PARAMETER &lt;/li&gt;
&lt;li&gt;CHANGE USER PARAMETER &lt;/li&gt;
&lt;li&gt;SUDO &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
CHAPTER 4 SETTING NETWORK DI LINUX &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;SETTING HOSTNAME &lt;/li&gt;
&lt;li&gt;SETTING GLOBAL NETWORK CONFIGURATION &lt;/li&gt;
&lt;li&gt;SETTING INTERFACE NETWORK &lt;/li&gt;
&lt;li&gt;SETTING VIRTUAL IP INTERFACE NETWORK &lt;/li&gt;
&lt;li&gt;MANAGE NETWORK SERVICE &lt;/li&gt;
&lt;li&gt;NETWORK BONDING &lt;/li&gt;
&lt;li&gt;LINUX VLAN &lt;/li&gt;
&lt;li&gt;LINUX AS INTERNET/VPN GATEWAY &lt;/li&gt;
&lt;li&gt;LINUX AS PC ROUTER &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
CHAPTER 5 SETTING SERVER LINUX &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;SSH SERVER WITH OPENSSH &lt;/li&gt;
&lt;li&gt;DHCP SERVER WITH DHCPD &lt;/li&gt;
&lt;li&gt;FTP SERVER WITH VSFTPD &lt;/li&gt;
&lt;li&gt;FILE SHARING WITH SAMBA &lt;/li&gt;
&lt;li&gt;WEB SERVER WITH APACHE &lt;/li&gt;
&lt;li&gt;DNS SERVER WITH BIND &lt;/li&gt;
&lt;li&gt;PROXY SERVER WITH SQUID &lt;/li&gt;
&lt;li&gt;SNMP GRAPHER WITH MRTG &lt;/li&gt;
&lt;li&gt;WEB USAGE GRAPHER WITH WEBALIZER &lt;/li&gt;
&lt;li&gt;ACCESS GATEWAY WITH IPTABLES&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
CHAPTER 6 MISCELLANOUS &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;INSTALL MPLAYER AND MULTIMEDIA CODEC &lt;/li&gt;
&lt;li&gt;NETWORK SCANNING WITH NMAP &lt;/li&gt;
&lt;li&gt;MAX SIMULTANEOUS CONNECTION ON APACHE WEB SERVER &lt;/li&gt;
&lt;li&gt;LINUX GRUB RECOVERY &lt;/li&gt;
&lt;li&gt;LINUX FREE MEMORY &lt;/li&gt;
&lt;li&gt;SETTING PROXY CLIENT ON LINUX &lt;/li&gt;
&lt;li&gt;INTERNET CONNECTIONS ON LINUX &lt;/li&gt;
&lt;li&gt;TCPDUMP  ON LINUX &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/02/linux-redhat-book-now-available-on-this.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-4377224869201250168</guid><pubDate>Thu, 08 Jan 2009 10:33:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.090+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>Mirror disk on Solaris</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;show disk layout on 1st harddisk partition&lt;br /&gt;# format&lt;br /&gt;&lt;press&gt;0&lt;br /&gt;&lt;press&gt;p&lt;br /&gt;&lt;press&gt;p&lt;br /&gt;&lt;br /&gt;create copy of Volume Table of Contents from 1st harddisk partition&lt;br /&gt;# prtvtoc /dev/rdsk/c1t0d0s2 | fmthard –s - /dev/rdsk/c1t1d0s2&lt;br /&gt;&lt;br /&gt;create metadb as database that contain all mirror configuration.&lt;br /&gt;slice 7 is unused partition&lt;br /&gt;# metadb –a –c 3 –f c1t0d0s7 c1t1d0s7&lt;br /&gt;&lt;br /&gt;create virtual device for each slice&lt;br /&gt;# metainit –f d11 1 1 c1t0d0s0&lt;br /&gt;# metainit –f d12 1 1 c1t1d0s0&lt;br /&gt;# metainit d10 –m d11&lt;br /&gt;# metainit –f d21 1 1 c1t0d0s1&lt;br /&gt;# metainit –f d22 1 1 c1t1d0s1&lt;br /&gt;# metainit d20 –m d21&lt;br /&gt;# metainit –f d31 1 1 c1t0d0s3&lt;br /&gt;# metainit –f d32 1 1 c1t1d0s3&lt;br /&gt;# metainit d30 –m d31&lt;br /&gt;# metainit –f d41 1 1 c1t0d0s4&lt;br /&gt;# metainit –f d42 1 1 c1t1d0s4&lt;br /&gt;# metainit d40 –m d41&lt;br /&gt;# metainit –f d51 1 1 c1t0d0s5&lt;br /&gt;# metainit –f d52 1 1 c1t1d0s5&lt;br /&gt;# metainit d50 –m d51&lt;br /&gt;# metainit –f d61 1 1 c1t0d0s6&lt;br /&gt;# metainit –f d62 1 1 c1t1d0s6&lt;br /&gt;# metainit d60 –m d61&lt;br /&gt;&lt;br /&gt;Tell system that root actually virtual device, not slice anymore&lt;br /&gt;# metaroot d10&lt;br /&gt;&lt;br /&gt;Reboot system&lt;br /&gt;# shutdown -g0 -i6 -y&lt;br /&gt;&lt;br /&gt;Add virtual device from 2nd disk to mirror&lt;br /&gt;# metattach d10 d12&lt;br /&gt;# metattach d20 d22&lt;br /&gt;# metattach d30 d32&lt;br /&gt;# metattach d40 d42&lt;br /&gt;# metattach d50 d52&lt;br /&gt;# metattach d60 d62&lt;br /&gt;&lt;br /&gt;Show status mirror&lt;br /&gt;# metastat&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/01/mirror-disk-on-solaris_08.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-2060726582528167896</guid><pubDate>Thu, 08 Jan 2009 10:23:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.100+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>ALOM Solaris</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;From konsole to alom&lt;br /&gt;# #.&lt;br /&gt;&lt;br /&gt;From alom to konsole&lt;br /&gt;sc&gt; console&lt;br /&gt;&lt;br /&gt;Configure alom from scratch&lt;br /&gt;sc&gt; setupsc&lt;br /&gt;&lt;br /&gt;After configure, you should reset alom with&lt;br /&gt;sc&gt; resetsc&lt;br /&gt;&lt;br /&gt;graceful reset server&lt;br /&gt;sc&gt; poweroff&lt;br /&gt;sc&gt; poweron&lt;br /&gt;&lt;br /&gt;force reset&lt;br /&gt;sc&gt; poweroff -f&lt;br /&gt;sc&gt; poweron&lt;br /&gt;&lt;br /&gt;immediately reset&lt;br /&gt;sc&gt; reset&lt;br /&gt;&lt;br /&gt;go to OpenBoot PROM&lt;br /&gt;sc&gt; break&lt;br /&gt;&lt;br /&gt;show env&lt;br /&gt;sc&gt; showenvirontment&lt;br /&gt;&lt;br /&gt;change alom password login&lt;br /&gt;sc&gt; password&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2009/01/alom-solaris_08.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-6895105065512245817</guid><pubDate>Mon, 01 Dec 2008 14:56:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.113+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mysql</category><title>Monitor Dual Master Mysql Replication</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;Here are shell script for monitoring replication, resetting replication if failed, logging if replication occured.&lt;br /&gt;Write a file name mysqlslave.sh on /tmp directory.&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;user=mysql_root_username&lt;br /&gt;passwd=mysql_root_passwd&lt;br /&gt;&lt;br /&gt;repuser=mysql_replica_username&lt;br /&gt;reppasswd=mysql_replica_passwd&lt;br /&gt;&lt;br /&gt;GO=1&lt;br /&gt;while [ $GO=1 ]; do&lt;br /&gt;&lt;br /&gt;rf=$(mktemp)&lt;br /&gt;&lt;br /&gt;/usr/local/mysql/bin/mysql -u$user -p$passwd -e &quot;show slave status \G&quot; &gt; $rf 2&gt;&amp;1&lt;br /&gt;&lt;br /&gt;repl_IO=$(cat $rf|grep &quot;Slave_IO_Running&quot;|cut -f2 -d&#39;:&#39;)&lt;br /&gt;repl_SQL=$(cat $rf|grep &quot;Slave_SQL_Running&quot;|cut -f2 -d&#39;:&#39;)&lt;br /&gt;&lt;br /&gt;if [ &quot;$repl_IO&quot; != &quot; Yes&quot; -o &quot;$repl_SQL&quot; != &quot; Yes&quot; ] ; then&lt;br /&gt;/usr/local/mysql/bin/mysql -u$user -p$passwd -e &quot;stop slave&quot;&lt;br /&gt;/usr/local/mysql/bin/mysql -u$user -p$passwd -e &quot;reset slave&quot;&lt;br /&gt;&lt;br /&gt;rg=$(mktemp)&lt;br /&gt;&lt;br /&gt;/usr/local/mysql/bin/mysql -hserverb -u$repuser -p$reppasswd -e &quot;show master status \G&quot; &gt; $rg 2&gt;&amp;1&lt;br /&gt;&lt;br /&gt;filemaster=$(cat $rg|grep &quot;File&quot;|cut -f2 -d&#39;:&#39;|cut -f2 -d&#39; &#39;)&lt;br /&gt;positionmaster=$(cat $rg|grep &quot;Position&quot;|cut -f2 -d&#39;:&#39;)&lt;br /&gt;&lt;br /&gt;/usr/local/mysql/bin/mysql -u$user -p$passwd -e &quot;CHANGE MASTER TO MASTER_LOG_FILE=&#39;$filemaster&#39;, MASTER_LOG_POS=$positionmaster&quot;&lt;br /&gt;&lt;br /&gt;/usr/local/mysql/bin/mysql -u$user -p$passwd -e &quot;start slave&quot;&lt;br /&gt;&lt;br /&gt;/bin/date &gt;&gt; /tmp/mysqlslave.log 2&gt;&amp;1&lt;br /&gt;&lt;br /&gt;rm $rf $rg&lt;br /&gt;fi&lt;br /&gt;sleep 30&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;You can change duration of monitor by changing value of sleep.&lt;br /&gt;You can check if any resetting slave log at /tmp/mysqlslave.log&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/12/monitor-dual-master-mysql-replication_01.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-728386455965677446</guid><pubDate>Mon, 01 Dec 2008 14:46:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.127+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mysql</category><title>Dual Master Mysql Replication ( Circular Replication )</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;We have 2 servers that will be configured as Circular Replication.&lt;br /&gt;It means both servers act as master and slave to another server.&lt;br /&gt;&lt;br /&gt;After we install mysql-server on both servers, check /etc/hosts should be same as both servers.&lt;br /&gt;# more /etc/hosts&lt;br /&gt;127.0.0.1     localhost&lt;br /&gt;192.168.0.21  servera&lt;br /&gt;192.168.0.22  serverb&lt;br /&gt;192.168.0.23  dbhost&lt;br /&gt;&lt;br /&gt;After that try to look at /etc/my.cnf&lt;br /&gt;At Server A :&lt;br /&gt;# more /etc/my.cnf&lt;br /&gt;[MYSQLD]&lt;br /&gt;basedir = /usr/local/mysql&lt;br /&gt;datadir = /data/mysql/data&lt;br /&gt;max_connections=10000&lt;br /&gt;default-character-set=utf8&lt;br /&gt;default-collation=utf8_bin&lt;br /&gt;&lt;br /&gt;# InnoDB parameters&lt;br /&gt;set-variable = innodb_buffer_pool_size=1500M&lt;br /&gt;set-variable = innodb_additional_mem_pool_size=500M&lt;br /&gt;set-variable = innodb_log_buffer_size=10M&lt;br /&gt;&lt;br /&gt;log-bin&lt;br /&gt;binlog-do-db=test&lt;br /&gt;binlog-ignore-db=mysql&lt;br /&gt;&lt;br /&gt;server-id=1&lt;br /&gt;replicate-same-server-id = 0&lt;br /&gt;auto-increment_increment = 2&lt;br /&gt;auto-increment_offset = 1&lt;br /&gt;master-host = serverb&lt;br /&gt;master-user = replica&lt;br /&gt;master-password = slave123&lt;br /&gt;master-port = 3306&lt;br /&gt;&lt;br /&gt;expire_logs_days        = 10&lt;br /&gt;max_binlog_size         = 500M&lt;br /&gt;&lt;br /&gt;[mysql.server]&lt;br /&gt;user=mysql&lt;br /&gt;basedir=/usr/local/mysql&lt;br /&gt;&lt;br /&gt;[mysqld_safe]&lt;br /&gt;err-log=/usr/local/mysql/log/mysqld.log&lt;br /&gt;pid-file=/usr/local/mysql/mysqld.pid&lt;br /&gt;&lt;br /&gt;[mysql]&lt;br /&gt;default-character-set=utf8&lt;br /&gt;&lt;br /&gt;At Server B :&lt;br /&gt;# more /etc/my.cnf&lt;br /&gt;[MYSQLD]&lt;br /&gt;basedir = /usr/local/mysql&lt;br /&gt;datadir = /data/mysql/data&lt;br /&gt;max_connections=10000&lt;br /&gt;default-character-set=utf8&lt;br /&gt;default-collation=utf8_bin&lt;br /&gt;&lt;br /&gt;# InnoDB parameters&lt;br /&gt;set-variable = innodb_buffer_pool_size=1500M&lt;br /&gt;set-variable = innodb_additional_mem_pool_size=500M&lt;br /&gt;set-variable = innodb_log_buffer_size=10M&lt;br /&gt;&lt;br /&gt;log-bin=serverb-bin&lt;br /&gt;binlog-do-db=test&lt;br /&gt;binlog-ignore-db=mysql&lt;br /&gt;&lt;br /&gt;server-id=2&lt;br /&gt;replicate-same-server-id = 0&lt;br /&gt;auto-increment_increment = 2&lt;br /&gt;auto-increment_offset = 2&lt;br /&gt;master-host = servera&lt;br /&gt;master-user = replica&lt;br /&gt;master-password = slave123&lt;br /&gt;master-port = 3306&lt;br /&gt;&lt;br /&gt;expire_logs_days        = 10&lt;br /&gt;max_binlog_size         = 500M&lt;br /&gt;&lt;br /&gt;[mysql.server]&lt;br /&gt;user=mysql&lt;br /&gt;basedir=/usr/local/mysql&lt;br /&gt;&lt;br /&gt;[mysqld_safe]&lt;br /&gt;err-log=/usr/local/mysql/log/mysqld.log&lt;br /&gt;pid-file=/usr/local/mysql/mysqld.pid&lt;br /&gt;&lt;br /&gt;[mysql]&lt;br /&gt;default-character-set=utf8&lt;br /&gt;&lt;br /&gt;If you want to add a database ( ex: dbex )that will be replicate, add this line at MYSQLD section.&lt;br /&gt;-------------&lt;br /&gt;binlog-do-db=dbex&lt;br /&gt;-------------&lt;br /&gt;&lt;br /&gt;start your sql server on both servers:&lt;br /&gt;# /etc/init.d/mysql.server start&lt;br /&gt;&lt;br /&gt;login to sql and add grant to user &quot;replica&quot; on both servers.&lt;br /&gt;# mysql -u root&lt;br /&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 7&lt;br /&gt;Server version: 5.0.33-log Source distribution&lt;br /&gt;&lt;br /&gt;Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the buffer.&lt;br /&gt;mysql&gt; &lt;span style=&quot;font-weight:bold;&quot;&gt;GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO &#39;replica&#39;@&#39;%&#39; IDENTIFIED BY &#39;slave123&#39;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;restart your sql server on both servers:&lt;br /&gt;# /etc/init.d/mysql.server restart&lt;br /&gt;&lt;br /&gt;setting slave on server A :&lt;br /&gt;- on server A, stop and reset slave first&lt;br /&gt;mysql&gt; stop slave;&lt;br /&gt;mysql&gt; reset slave;&lt;br /&gt;- on server B, show master log file and position, before this lock the tables first.&lt;br /&gt;mysql&gt; flush tables with read lock;&lt;br /&gt;mysql&gt; SHOW MASTER STATUS \G;&lt;br /&gt;*************************** 1. row ***************************&lt;br /&gt;File: serverb-bin.000001&lt;br /&gt;Position: 98&lt;br /&gt;Binlog_Do_DB: test&lt;br /&gt;Binlog_Ignore_DB: mysql&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;ERROR:&lt;br /&gt;No query specified&lt;br /&gt;&lt;br /&gt;- on server A, set this master value, and then you can start slave.&lt;br /&gt;mysql&gt; CHANGE MASTER TO MASTER_LOG_FILE=&#39;serverb-bin.000001&#39;, MASTER_LOG_POS=98;&lt;br /&gt;mysql&gt; start slave;&lt;br /&gt;&lt;br /&gt;- on server B, releasing read lock with&lt;br /&gt;mysql&gt; UNLOCK TABLES;&lt;br /&gt;&lt;br /&gt;setting slave on server B :&lt;br /&gt;- on server B, stop and reset slave first&lt;br /&gt;mysql&gt; stop slave;&lt;br /&gt;mysql&gt; reset slave;&lt;br /&gt;- on server A, show master log file and position, before this lock the tables first.&lt;br /&gt;mysql&gt; flush tables with read lock;&lt;br /&gt;mysql&gt; SHOW MASTER STATUS \G;&lt;br /&gt;*************************** 1. row ***************************&lt;br /&gt;File: servera-bin.000001&lt;br /&gt;Position: 98&lt;br /&gt;Binlog_Do_DB: test&lt;br /&gt;Binlog_Ignore_DB: mysql&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;ERROR:&lt;br /&gt;No query specified&lt;br /&gt;&lt;br /&gt;- on server B, set this master value, and then you can start slave.&lt;br /&gt;mysql&gt; CHANGE MASTER TO MASTER_LOG_FILE=&#39;servera-bin.000001&#39;, MASTER_LOG_POS=98;&lt;br /&gt;mysql&gt; start slave;&lt;br /&gt;&lt;br /&gt;- on server A, releasing read lock with&lt;br /&gt;mysql&gt; UNLOCK TABLES;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Successful replication can be check with :&lt;br /&gt;&lt;br /&gt;mysql&gt; SHOW SLAVE STATUS \G;&lt;br /&gt;*************************** 1. row ***************************&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Slave_IO_State: Waiting for master to send event&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Master_Host: servera&lt;/span&gt;&lt;br /&gt;Master_User: replica&lt;br /&gt;Master_Port: 3306&lt;br /&gt;Connect_Retry: 60&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Master_Log_File: servera-bin.000001&lt;/span&gt;&lt;br /&gt;Read_Master_Log_Pos: 98&lt;br /&gt;Relay_Log_File: serverb-relay-bin.000001&lt;br /&gt;Relay_Log_Pos: 237&lt;br /&gt;Relay_Master_Log_File: servera-bin.000001&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;           Slave_IO_Running: Yes&lt;br /&gt;Slave_SQL_Running: Yes&lt;/span&gt;&lt;br /&gt;Replicate_Do_DB:&lt;br /&gt;Replicate_Ignore_DB:&lt;br /&gt;Replicate_Do_Table:&lt;br /&gt;Replicate_Ignore_Table:&lt;br /&gt;Replicate_Wild_Do_Table:&lt;br /&gt;Replicate_Wild_Ignore_Table:&lt;br /&gt;Last_Errno: 0&lt;br /&gt;Last_Error:&lt;br /&gt;Skip_Counter: 0&lt;br /&gt;Exec_Master_Log_Pos: 98&lt;br /&gt;Relay_Log_Space: 237&lt;br /&gt;Until_Condition: None&lt;br /&gt;Until_Log_File:&lt;br /&gt;Until_Log_Pos: 0&lt;br /&gt;Master_SSL_Allowed: No&lt;br /&gt;Master_SSL_CA_File:&lt;br /&gt;Master_SSL_CA_Path:&lt;br /&gt;Master_SSL_Cert:&lt;br /&gt;Master_SSL_Cipher:&lt;br /&gt;Master_SSL_Key:&lt;br /&gt;Seconds_Behind_Master: 0&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;ERROR:&lt;br /&gt;No query specified&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/12/dual-master-mysql-replication-circular_01.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-4168885766304749150</guid><pubDate>Wed, 05 Nov 2008 17:00:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.160+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">mysql</category><title>Change datadir mysql</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;If we want to change our datadir mysql, you should follow this steps :&lt;br /&gt;Stopping mysql service&lt;br /&gt;# /etc/init.d/mysqld stop&lt;br /&gt;&lt;br /&gt;Move or copy your original datadir directory to your new destination&lt;br /&gt;# mv /old/ /new/&lt;br /&gt;&lt;br /&gt;Change ownership of new directory to user and group mysql&lt;br /&gt;# chown -R mysql:mysql /new/&lt;br /&gt;&lt;br /&gt;Find your ib_logfile on new directory and delete it&lt;br /&gt;# rm -rf ib_logfile*&lt;br /&gt;&lt;br /&gt;Change datadir parameter on my.cnf&lt;br /&gt;# vi /etc/my.cnf&lt;br /&gt;&lt;br /&gt;Start your mysql server&lt;br /&gt;# /etc/init.d/mysql.server start&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/11/change-datadir-mysql_06.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-7905221830828581677</guid><pubDate>Wed, 05 Nov 2008 16:54:00 +0000</pubDate><atom:updated>2022-12-09T08:30:12.886+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Bypass proxy on Linux environment</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;After we define proxy on our environment, we wanna bypass proxy for specific address.&lt;br /&gt;Here the way, edit your /etc/bashrc&lt;br /&gt;# vi /etc/bashrc&lt;br /&gt;---------&lt;br /&gt;export http_proxy=http://aa.bb.cc.dd:xxxx&lt;br /&gt;export no_proxy=&quot;localhost, 10.0.0.0/8, 192.168.0.0/16, aaa.com&quot;&lt;br /&gt;---------&lt;br /&gt;&lt;br /&gt;Just relogin to your shell, and it changes.&lt;br /&gt;It&#39;s simple as blinking your eyes :p &lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/11/bypass-proxy-on-linux-environment_05.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-4561421790654008222</guid><pubDate>Mon, 27 Oct 2008 16:32:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.517+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hp-ux</category><title>LED status on HP Machine</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;sometimes we found our LED HP server states green, blinking yellow or red.&lt;br /&gt;Just visit &lt;a href=&quot;http://docs.hp.com/en/AD117-9003A/ch05s05.html&quot;&gt;official site&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/10/led-status-on-hp-machine_27.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-7455154513557582670</guid><pubDate>Mon, 27 Oct 2008 15:47:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.528+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">proftpd</category><title>Virtual host on proftpd</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;If you want to create virtual host for your FTP, just edit your proftpd.conf&lt;br /&gt;# vi proftpd.conf&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHK2hz_TCZu0fLFAyNLmL9JFQ6yaxf2veUiDnV6GwklCpfwvUSQy4ii0XbsUvAxMMpOCUoNro2zEUNI7WkLb4Bbcbu4zMfr7XXdQkleG4QuYYeXvOQArC6VGmB4Gk0DQ_r6KV5ssm1ans/s1600-h/ftp.jpg&quot;&gt;&lt;br /&gt;&lt;img style=&quot;cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_vedd5seOXcjK46X0XeVbDe_oILonw8y1TSEIBT9Y4PFrYnpbes0RRqFg31B_Tyu4inwN0sdkJR1w5q67a8LYeURl3526yt8mWsU0jD5O-XsV0rtFp6AqY4u0FughgQhLMFSlwKusu68/s320-r/ftp.jpg&quot; alt=&quot;&quot; id=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Note that ip_address_1 dan ip_address_2 owned by this server.&lt;br /&gt;We also can configure another port that will be use for specific virtual host.&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/10/virtual-host-on-proftpd_27.html</link><author>noreply@blogger.com (Bandit Smoker)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_vedd5seOXcjK46X0XeVbDe_oILonw8y1TSEIBT9Y4PFrYnpbes0RRqFg31B_Tyu4inwN0sdkJR1w5q67a8LYeURl3526yt8mWsU0jD5O-XsV0rtFp6AqY4u0FughgQhLMFSlwKusu68/s72-c-r/ftp.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-1354397547184732787</guid><pubDate>Sat, 25 Oct 2008 17:26:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.555+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>logadm on Solaris</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;If we want to administering log files on solaris, we can use logadm. Another option we also can use logrotate.&lt;br /&gt;For example :&lt;br /&gt;we have log files at /var/log/tinyproxy.log&lt;br /&gt;1. we want to rotate log after reach 1MB.&lt;br /&gt;# logadm -w /var/log/tinyproxy.log -s 1m&lt;br /&gt;&lt;br /&gt;2. we want to rotate log every day.&lt;br /&gt;# logadm -w /var/log/tinyproxy.log -p 1d&lt;br /&gt;&lt;br /&gt;3. we want to keep until previous 10 day only.&lt;br /&gt;# logadm -w /var/log/tinyproxy.log -C10&lt;br /&gt;&lt;br /&gt;etc...&lt;br /&gt;&lt;br /&gt;for more details, you should see logadm manual.&lt;br /&gt;File configuration of logadm at /etc/logadm.conf&lt;br /&gt;&lt;br /&gt;For default logadm run every morning 3:10 AM by crontab process.&lt;br /&gt;You can see crontab list with this :&lt;br /&gt;# crontab -e&lt;br /&gt;&lt;br /&gt;If you just see number after running command above, &lt;br /&gt;# crontab -e&lt;br /&gt;713&lt;br /&gt;&lt;br /&gt;you should define your editor profile.&lt;br /&gt;# export EDITOR=vi&lt;br /&gt;# crontab -e&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/10/logadm-on-solaris_26.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-7990898297702229329</guid><pubDate>Tue, 21 Oct 2008 04:26:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.565+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">big-ip</category><title>Persistence Profile on BIG-IP</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;BIG-IP has feature persistence profile, it uses for keep existing session on a member.&lt;br /&gt;For example : &lt;br /&gt;Pool have 2 members (A and B), for example request will redirect to A, but sometimes it can redirected to B for a while, it cause client losing connection to A.&lt;br /&gt;&lt;br /&gt;How to create persistence profile based on source address.&lt;br /&gt;- Go to Local Traffic -&gt; Virtual Servers -&gt; Profiles -&gt; Persistence&lt;br /&gt;- Click create to make a new persistence profile&lt;br /&gt;- Change Persistence Type to &quot;Source Address Affinity&quot;&lt;br /&gt;- Make sure that Parent Profile &quot;source_addr&quot;&lt;br /&gt;- Don&#39;t forget to give a name to your new profile&lt;br /&gt;&lt;br /&gt;Assigning Persistence Profile to Virtual Servers.&lt;br /&gt;- Go to one of your virtual servers, and then go to tab &quot;Resources&quot;&lt;br /&gt;- Assign Default Persistence Profile with your new persistence profile.  &lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/10/persistence-profile-on-big-ip_21.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-718293938497399188</guid><pubDate>Tue, 21 Oct 2008 04:20:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.542+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">proftpd</category><title>User jail on Proftpd</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;If you want to jail user when logging in to FTP server only to their home directory,&lt;br /&gt;you should edit line below :&lt;br /&gt;&lt;br /&gt;# more /usr/local/etc/proftpd.conf&lt;br /&gt;----------------&lt;br /&gt;DefaultRoot ~&lt;br /&gt;----------------&lt;br /&gt;&lt;br /&gt;But if you want user can change directory to all directory, you just uncomment that line.&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/10/user-jail-on-proftpd_21.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-4475523836711507826</guid><pubDate>Sat, 16 Aug 2008 19:38:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.579+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>General Solaris Command</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;Shows the ethernet address arp table&lt;br /&gt;# arp -a&lt;br /&gt;&lt;br /&gt;Delete a stale ethernet entry for host xhost&lt;br /&gt;# arp -d xhost&lt;br /&gt;&lt;br /&gt;Reports disk space used in Kilobytes&lt;br /&gt;# du -k&lt;br /&gt;&lt;br /&gt;Reports only total disk space used in Kilobytes&lt;br /&gt;# du -sk&lt;br /&gt;&lt;br /&gt;Tells you how big the / files are in reverse order&lt;br /&gt;# du -ad / | sort -nr&lt;br /&gt;&lt;br /&gt;Mount an ISO 8660 CDROM&lt;br /&gt;# /bin/mount -F hsfs -o ro /dev/sr0 /cdrom&lt;br /&gt;&lt;br /&gt;Disk geometry and partitioning info&lt;br /&gt;# prtvtoc /dev/rdsk/c0t0d0s2&lt;br /&gt;&lt;br /&gt;Zero&#39;s out the file without breaking pipe&lt;br /&gt;# cat /dev/null &gt; filename &lt;br /&gt;&lt;br /&gt;Make a mirror image of your boot disk&lt;br /&gt;# dd if=/dev/rdsk/... of=/dev/rdsk/... bs=4096 &lt;br /&gt;&lt;br /&gt;Check a UFS filesystem&lt;br /&gt;# fsck -F ufs /dev/rdsk/cxtxdxsx&lt;br /&gt;&lt;br /&gt;Check a UFS filesystem with auto-answer &quot;yes&quot;&lt;br /&gt;# fsck -F ufs -y /dev/rdsk/cxtxdxsx&lt;br /&gt;&lt;br /&gt;Check using an alternate super block&lt;br /&gt;# fsck -F ufs -o b=97472 /dev/rdsk/cxtxdxsx&lt;br /&gt;&lt;br /&gt;Verify reconfigurable hardware resources&lt;br /&gt;# cfgadm&lt;br /&gt;&lt;br /&gt;Display kernel module information&lt;br /&gt;# /usr/sbin/modinfo&lt;br /&gt;&lt;br /&gt;Load a kernel module&lt;br /&gt;# /usr/sbin/modload&lt;br /&gt;&lt;br /&gt;Unload a kernel module&lt;br /&gt;# /usr/sbin/modunload -i&lt;br /&gt;&lt;br /&gt;Tuneable kernel parameters&lt;br /&gt;# nm -x /dev/ksyms | grep OBJ | more&lt;br /&gt;&lt;br /&gt;Show system kernal tunable details&lt;br /&gt;# /usr/sbin/sysdef &lt;br /&gt;&lt;br /&gt;Display Memory Size&lt;br /&gt;# prtconf | grep &quot;Memory size&quot;&lt;br /&gt;&lt;br /&gt;Displays number active established connections to localhost&lt;br /&gt;# netstat -a | grep EST | wc -l&lt;br /&gt;&lt;br /&gt;Network statistics for specific device&lt;br /&gt;# netstat -k hme0&lt;br /&gt;&lt;br /&gt;Show the TCP/IP network interfaces&lt;br /&gt;# netstat -i &lt;br /&gt;&lt;br /&gt;Displays routing information but bypasses hostname lookup&lt;br /&gt;# netstat -rn&lt;br /&gt;&lt;br /&gt;Show the state of all sockets&lt;br /&gt;# netstat -a | more&lt;br /&gt;&lt;br /&gt;Follow the route to the ipaddress&lt;br /&gt;# traceroute &lt;ip_address&gt;&lt;br /&gt;&lt;br /&gt;Show processes that are running from /var&lt;br /&gt;# fuser -uc /var&lt;br /&gt;&lt;br /&gt;Shows processes&#39; current open files &lt;br /&gt;# pfiles&lt;br /&gt;&lt;br /&gt;An alternative for top command&lt;br /&gt;# prstat -a&lt;br /&gt;&lt;br /&gt;Displays CPU % usage for each process in ascending order&lt;br /&gt;# /usr/ucb/ps -aux | more&lt;br /&gt;&lt;br /&gt;Show all processes running&lt;br /&gt;# ps -ef | more&lt;br /&gt;&lt;br /&gt;Print the parent/child process &#39;tree&#39; of a process&lt;br /&gt;# /usr/proc/bin/ptree&lt;br /&gt;&lt;br /&gt;Print the working directory of a process&lt;br /&gt;# /usr/proc/bin/pwdx&lt;br /&gt;&lt;br /&gt;Returns the process utilizing the most cpu and quits&lt;br /&gt;# top -b 1&lt;br /&gt;&lt;br /&gt;Watch all network packets on device ce0&lt;br /&gt;# snoop -d ce0&lt;br /&gt;&lt;br /&gt;Saves packets from device ce0 and between host1 and host2 to a file&lt;br /&gt;# snoop -o /tmp/mylog -d ce0 host1 host2&lt;br /&gt;&lt;br /&gt;Makes a 10 Megabyte swapfile in /export/disk&lt;br /&gt;# mkfile -v 10m /export/disk1/myswap&lt;br /&gt;&lt;br /&gt;List the amount of swap space available&lt;br /&gt;# swap -s&lt;br /&gt;&lt;br /&gt;Add a swapfile&lt;br /&gt;# swap -a /export/disk1/swapfile&lt;br /&gt;&lt;br /&gt;Deletes a swap device&lt;br /&gt;# swap -d /dev/dsk/c0t0d0s4&lt;br /&gt;&lt;br /&gt;List the current swap devices&lt;br /&gt;# swap -l&lt;br /&gt;&lt;br /&gt;Changes eeprom autoboot? setting to auto boot&lt;br /&gt;# /usr/sbin/eeprom auto-boot? true&lt;br /&gt;&lt;br /&gt;Set the system to perform diagnostics on the next reboot&lt;br /&gt;# /usr/sbin/eeprom diagswitch? true&lt;br /&gt;&lt;br /&gt;Check /etc/group file syntax&lt;br /&gt;# /usr/sbin/grpck&lt;br /&gt;&lt;br /&gt;Check /etc/passwd file syntax&lt;br /&gt;# /usr/sbin/pwck&lt;br /&gt;&lt;br /&gt;Clear host specific network configuration information&lt;br /&gt;# /usr/sbin/sys-unconfig&lt;br /&gt;&lt;br /&gt;Show eeprom parameters&lt;br /&gt;# /usr/sbin/eeprom&lt;br /&gt;&lt;br /&gt;Show system configuration details&lt;br /&gt;# /usr/sbin/prtconf -vp&lt;br /&gt;&lt;br /&gt;Display number of processors&lt;br /&gt;# psrinfo | wc -l&lt;br /&gt;&lt;br /&gt;Provides cumulative system report&lt;br /&gt;# sar -A&lt;br /&gt;&lt;br /&gt;Report use of file access system routines&lt;br /&gt;# sar -a&lt;br /&gt;&lt;br /&gt;Report CPU Utilization&lt;br /&gt;# sar -u&lt;br /&gt;&lt;br /&gt;Displays system information&lt;br /&gt;# uname -a&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/08/general-solaris-command_17.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5207412465058551015.post-1061253489595248665</guid><pubDate>Sat, 16 Aug 2008 19:09:00 +0000</pubDate><atom:updated>2009-02-27T01:13:39.604+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">solaris</category><title>Show I/O error solaris</title><description>&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;Show I/O error solaris&lt;br /&gt;# iostat -eE&lt;br /&gt;           ---- errors ---&lt;br /&gt;&lt;br /&gt;sd0        0   0   0   0&lt;br /&gt;ssd0       0   0   0   0&lt;br /&gt;ssd1       0   0   0   0&lt;br /&gt;nfs2       0   0   0   0&lt;br /&gt;sd0      Soft Errors: 0 Hard Errors: 0 Transport Errors: 0&lt;br /&gt;Vendor: TOSHIBA  Product: ODD-DVD SD-C2732 Revision: 1051 Serial No:&lt;br /&gt;Size: 0.00GB &lt;0 bytes&gt;&lt;br /&gt;Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0&lt;br /&gt;Illegal Request: 0 Predictive Failure Analysis: 0&lt;br /&gt;ssd0     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0&lt;br /&gt;Vendor: FUJITSU  Product: MAT3073F SUN72G  Revision: 0602 Serial No: 0527B08LLN&lt;br /&gt;Size: 73.40GB &lt;73400057856 bytes&gt;&lt;br /&gt;Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0&lt;br /&gt;Illegal Request: 0 Predictive Failure Analysis: 0&lt;br /&gt;ssd1     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0&lt;br /&gt;Vendor: FUJITSU  Product: MAT3073F SUN72G  Revision: 0602 Serial No: 0526B08BHH&lt;br /&gt;Size: 73.40GB &lt;73400057856 bytes&gt;&lt;br /&gt;Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0&lt;br /&gt;Illegal Request: 0 Predictive Failure Analysis: 0&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Visit http://smiertx.blogspot.com&lt;/div&gt;</description><link>http://smiertx.blogspot.com/2008/08/show-io-error-solaris_17.html</link><author>noreply@blogger.com (Bandit Smoker)</author></item></channel></rss>