<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux System Admins Blog &#187; Storage</title>
	<atom:link href="http://linuxsysadminblog.com/category/storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxsysadminblog.com</link>
	<description>System admins of Promet - an e-commerce, high availability Open Source web shop - share their findings</description>
	<lastBuildDate>Sat, 10 Jul 2010 01:33:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My First Amazon EC2 Setup (CentOS AMI)</title>
		<link>http://linuxsysadminblog.com/2009/06/my-first-amazon-ec2-setup-centos-ami/</link>
		<comments>http://linuxsysadminblog.com/2009/06/my-first-amazon-ec2-setup-centos-ami/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 12:52:12 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=761</guid>
		<description><![CDATA[Here&#8217;s my first try working with Amazon Web Services. Covered tasks are the following:
- getting familiar with AWS, specially EC2 and S3.
- working with EC2 instance using CentOS image &#8211; search, start/stop, and do some customization of an instance
- create AMIs (private) and start instance from it.
-  S3 buckets &#8211; upload files.
I based my [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my first try working with Amazon Web Services. Covered tasks are the following:<br />
- getting familiar with AWS, specially EC2 and S3.<br />
- working with EC2 instance using CentOS image &#8211; search, start/stop, and do some customization of an instance<br />
- create AMIs (private) and start instance from it.<br />
-  S3 buckets &#8211; upload files.</p>
<p>I based my instructions on previous post on <a href="http://linuxsysadminblog.com/2009/06/howto-get-started-with-amazon-ec2-api-tools/"><strong>Howto Get Started With Amazon EC2 API Tools</strong></a>, so I won&#8217;t give details on some steps.  And this post will cover mainly the steps taken to complete my objectives above.<br />
<span id="more-761"></span><br />
To start, I signed up for an account and enabled EC2 and S3 services, and generate X509 certificate.  Next, I selected a test server running CentOS 5.3 with Cpanel and installed <em>java</em> (openjdk 1.6, using <em>yum</em>) as a requirement.  </p>
<p>Then, download <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&#038;categoryID=88">EC2 API Tools</a> and extract to my working directory at <em>/myhome/.ec2/</em> and upload your private key and x509 certificates. Don&#8217;t forget to follow the filename format of cert-xxx.pem and pk-xx.pem.</p>
<p>Export shell variables (posted on the previous post) and specify the correct private and x509 path.  Then run source /myhome/.bashrc or open new terminal to load new environment variables.</p>
<p>Setup EC2 keypair. At first i used the certificate from different account but i got the error below:<br />
<code>Client.AuthFailure: AWS was not able to validate the provided access credentials</code><br />
I searched for this error and one suggestion is to chmod your certificate and key files to 600 but it didn&#8217;t help me.  My problem is on our account because one of my teammates changed our account password and probably generated new keys.  Anyway, this is where i signed up for a new account and proceeded without issues.</p>
<p>Search for the AMIs to use.  Following the steps listed on the instructions, I tried several AMI&#8217;s (start/stop processes).  I observed some AMI&#8217;s took longer to start compare to others but i have no idea why <img src='http://linuxsysadminblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  Btw, you can also search for AMI&#8217;s, and start/stop them from Amazon Management Console (EC2 Dashboard).</p>
<p>My next task is to create my private AMIs and here&#8217;s a good video tutorial on <a href="http://s3.amazonaws.com/awsVideos/CustomizeAnExistingAMI/wmv/Customize an Existing AMI.wmv">Customizing an existing AMI and create your own AMI from it</a>.  From this part that I need to setup my S3 bucket or directory to store my AMI.  There&#8217;s a Firefox addon called <a href="https://addons.mozilla.org/en-US/firefox/addon/3247">S3Fox</a> that my friend suggested but unfortunately i can&#8217;t install it on my Firefox due to some errors.  I found and tried this <a href="http://www.bucketexplorer.com/">BucketExplorer</a> for creating my S3 Bucket.  Btw, this one is commercial and you can try it for 30 days.  I haven&#8217;t checked for other apps.  <img src='http://linuxsysadminblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Back to creating my private AMI based on the above video, I ran into issue with ec2-bundle-vol command as it is not included on the AMI that i used, so i search for other AMIs that includes the EC2 Tools and found one from RightScale (CentOS5V1_10.img.manifest.xml).</p>
<p>After this i was able to complete my private AMI and start new instance from it using the above steps without any issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/06/my-first-amazon-ec2-setup-centos-ami/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Drupal / Civicrm Sites</title>
		<link>http://linuxsysadminblog.com/2009/06/moving-drupalcivicrm-sites/</link>
		<comments>http://linuxsysadminblog.com/2009/06/moving-drupalcivicrm-sites/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 10:39:10 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[civicrm]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=743</guid>
		<description><![CDATA[In this guide i will provide the steps in moving Drupal sites with CiviCRM &#8211; with Drupal and CiviCRM in one or separate databases.  I will outline the steps and sample commands but won&#8217;t give much details, so feel free to ask if you need any clarifications.  Also, refer to my previous guide [...]]]></description>
			<content:encoded><![CDATA[<p>In this guide i will provide the steps in moving Drupal sites with CiviCRM &#8211; with Drupal and CiviCRM in one or separate databases.  I will outline the steps and sample commands but won&#8217;t give much details, so feel free to ask if you need any clarifications.  Also, refer to my previous guide on &#8220;<a href="http://linuxsysadminblog.com/2009/04/drupal-howto-duplicate-copy-drupal-site/">HowTo Duplicate or Copy Drupal Site</a>&#8221; for detailed instructions, commands, and sample shell scripts.</p>
<p><strong>Moving Files:</strong></p>
<ul>
<li>Copy Drupal file and preserve mode (ownerships, permissions, etc)<br />
Example: <code>cp -rp drupal_source drupal_destination</code><br />
Review your directory permissions on sites/default/files, sites/default/files/civicrm, and other directories.</li>
<p><span id="more-743"></span></p>
<li>Update references to Drupal url, path, and database details (name, user, pass, and host). Sample commands below using grep:<br />
<code>find /path/to/drupal -type f -exec perl -pi -e "s/example.com/example2.com/g" {} \;<br />
find /path/to/drupal -type f -exec perl -pi -e "s/public_html\/example/public_html\/example2/g" {} \;<br />
find /path/to/drupal -type f -exec perl -pi -e "s/db_name/db_name2/g" {} \;<br />
find /path/to/drupal -type f -exec perl -pi -e "s/db_user/db_user2/g" {} \;<br />
find /path/to/drupal -type f -exec perl -pi -e "s/db_pass/db_pass2/g" {} \;</code></li>
</ul>
<p><strong>Moving Database/s:</strong></p>
<p><strong>Case 1:  Combined CiviCRM and Drupal Database.</strong></p>
<ul>
<li>Create sql dump of source database.<br />
     Example: <code>mysqldump -Q -udb_user -pdbpass db_name &gt; db_name.sql</code></li>
<li>Import to destination database.<br />
    Example: <code>mysql -udb_user2 -pdbpass2 db_name2 &lt; db_name.sql</code></li>
<li>Update references to Drupal url, path, and database details (name, user, pass, and host) of non-CiviCRM tables.  You can use PhpMyAdmin to export this tables, then do the search/replace process on your local editor, and upload back the updates sql.  You can also dump the tables from using command line (but you&#8217;ll have a long list of tables) and do the grep (same as above) and re-import the updated sql file.</li>
<li>Update CiviCRM configurations from Drupal Admin section.  You need to update the &#8220;Resource URLs&#8221; and &#8220;Directories&#8221;.<br />
    <em>CiviCRM Admin Settings:  Administer Civicrm &gt; Global Settings &gt; Directories    (or use the direct url:  /civicrm/admin/setting/path?reset=1)<br />
    CiviCRM Admin Settings:  Administer Civicrm &gt; Global Settings &gt; Resource Urls  (or use the direct url:  /civicrm/admin/setting/url?reset=1)</em>
</li>
<li>Optional:  You can empty Sessions and Cache tables if you want.</li>
</ul>
<p><strong>Case 2:  Separate CiviCRM and Drupal Database </strong>(recommended install for CiviCRM).<br />
Process for this setup is almost the same as Case 1, the difference is on the import process for databases.  I&#8217;ll just provide the complete info below.</p>
<ul>
<li>Create sql dump of source databases.<br />
   Examples:<br />
<code>   mysqldump -Q -udb_user -pdbpass db_name_drupal &gt; db_name_drupal.sql<br />
   mysqldump -Q -udb_user -pdbpass db_name_civicrm &gt; db_name_civicrm.sql<br />
</code></li>
<li>Import directly the CiviCRM database.<br />
     Example: <code>mysql -udb_user2 -pdbpass2 db_name2_civicrm &lt; db_name_civicrm.sql</code></li>
<li>Update CiviCRM configurations from Drupal Admin section.  You need to update the &#8220;Resource URLs&#8221; and &#8220;Directories&#8221;.<br />
    <em>CiviCRM Admin Settings:  Administer Civicrm &gt; Global Settings &gt; Directories    (or use the direct url:  /civicrm/admin/setting/path?reset=1)<br />
    CiviCRM Admin Settings:  Administer Civicrm &gt; Global Settings &gt; Resource Urls  (or use the direct url:  /civicrm/admin/setting/url?reset=1)</em>
</li>
<li>Update references to Drupal url, path, and database details (name, user, pass, and host) of Drupal database dump.<br />
<code>perl -pi -e "s/example.com/example2.com/g"  db_name_drupal.sql<br />
perl -pi -e "s/public_html\/example/public_html\/example2/g"  db_name_drupal.sql</code></li>
<li>Import the Drupal database.<br />
    Example: <code>mysql -udb_user2 -pdbpass2 db_name2_drupal &lt; db_name_drupal.sql</code></li>
<li>Optional:  You can empty Sessions and Cache tables if you want.</li>
</ul>
<p>That&#8217;s All!</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/06/moving-drupalcivicrm-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LSI aquires 3ware® from AMCC</title>
		<link>http://linuxsysadminblog.com/2009/04/lsi-aquires-3ware%c2%ae-from-amcc/</link>
		<comments>http://linuxsysadminblog.com/2009/04/lsi-aquires-3ware%c2%ae-from-amcc/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:50:54 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=560</guid>
		<description><![CDATA[In an accouncement made yesterday LSI Corporation stated that it had entered into a definitive agreement with Applied Micro Circuits Corporation (AMCC) to acquire the assets and associated intellectual property of the 3ware® RAID adapter business. It has been about 5 years since AMCC aquired 3Ware Inc for roughly 150 millions dollars in cash and [...]]]></description>
			<content:encoded><![CDATA[<p>In an <a href="http://now.eloqua.com/e/es.aspx?s=793&amp;e=A3B04CDAD711452AAE30C28330C367B3&amp;elq=F3E2E27EAC1A44EAAF8765C376493879">accouncement</a> made yesterday LSI Corporation stated that it had entered into a definitive agreement with Applied Micro Circuits Corporation (AMCC) to acquire the assets and associated intellectual property of the 3ware® RAID adapter business. It has been about 5 years since AMCC aquired 3Ware Inc for roughly 150 millions dollars in cash and yesterday they sold 3Ware for about 20 million cash.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/04/lsi-aquires-3ware%c2%ae-from-amcc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
