<?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>Unix Sysadmin &#187; Solaris</title>
	<atom:link href="http://www.sysadmindayph.com/blog/tag/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmindayph.com/blog</link>
	<description>SysAdmin Blog, TechTips and Reviews</description>
	<lastBuildDate>Fri, 27 Jan 2012 04:36:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SVM: Determine Free Space on Soft Partition</title>
		<link>http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/</link>
		<comments>http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 03:28:43 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[metadevice]]></category>
		<category><![CDATA[metastat]]></category>
		<category><![CDATA[soft partition]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=178</guid>
		<description><![CDATA[SVM: Determine Free Space on Soft Partition , we use the metastat -c command&#8230; [root@localhost] /work/users&#62; metastat -c d103 d103 p 32GB d100 d100 m 68GB d101 d102 d101 s 68GB c1t2d0s0 d102 s 68GB c1t3d0s0 [root@localhost] /work/users&#62; metastat -p d103 d103 -p d100 -o 32 -b 58720256 -o 127926432 -b 8388608 d100 -m d101 &#8230; <a href="http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>SVM: Determine Free Space on Soft Partition , we use the metastat -c  command&#8230;</p>
<p><code>[root@localhost] /work/users&gt; metastat -c d103<br />
d103             p   32GB d100<br />
d100         m   68GB d101 d102<br />
d101     s   68GB c1t2d0s0<br />
d102     s   68GB c1t3d0s0</code></p>
<p>[root@localhost] /work/users&gt; metastat -p d103<br />
d103 -p d100 -o 32 -b 58720256  -o 127926432 -b 8388608<br />
d100 -m d101 d102 1<br />
d101 1 1 c1t2d0s0<br />
d102 1 1 c1t3d0s0</p>
<p>So from the first metastat -c d103.. that&#8217;s a mirrored 68G partition, d100 and a 32G soft partition d103..  We still have around 35G of space.</p>
<p>update: &#8212; someone comment please.. this information is incomplete!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free (Solaris) Virtualization for Dummies Ebook</title>
		<link>http://www.sysadmindayph.com/blog/free-solaris-virtualization-for-dummies-ebook/</link>
		<comments>http://www.sysadmindayph.com/blog/free-solaris-virtualization-for-dummies-ebook/#comments</comments>
		<pubDate>Fri, 15 May 2009 03:08:19 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[zones]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=148</guid>
		<description><![CDATA[I just want to share a link for those who are not subscribe to the official Sun Microsystems&#8217; email newletter.. (what?! You&#8217;re not subscribed?!) Anyway, the link will forward you to a form where you need to fill up some personal information (it&#8217;s from Sun, so there will be no selling of email or spamming &#8230; <a href="http://www.sysadmindayph.com/blog/free-solaris-virtualization-for-dummies-ebook/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I just want to share a link for those who are not subscribe to the official Sun Microsystems&#8217; email newletter.. (what?! You&#8217;re not subscribed?!)</p>
<p>Anyway, the link will forward you to a form where you need to fill up some personal information (it&#8217;s from Sun, so there will be no selling of email or spamming there). Once you&#8217;re done with that, go read and study Solaris Virturalization!</p>
<p>Enjoy!</p>
<p><span style="font-family: Arial,Helvetica,sans-serif; font-size: x-small;"><span style="font-family: Arial,Helvetica,sans-serif; color: #000000; font-size: x-small;"><strong><span style="font-family: Arial,Helvetica,sans-serif; color: #005480; font-size: x-small;">»</span></strong> <a href="http://communications1.sun.com/r/c/r?2.1.3J1.2T%5f.14HJf6.CHZhcG..H.GAmI.2KQE.aT1qYWNhcmFuZGE5ZGJ1eEBnbWFpbC5jb20mbW89MQ%5f%5fDdWMIJN0" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif; color: #005480; font-size: x-small;"><strong>Download your free copy of <em>Virtualization for Dummies</em>.</strong></span></a></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/free-solaris-virtualization-for-dummies-ebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Consolidate Servers and Applications using Solaris Containers</title>
		<link>http://www.sysadmindayph.com/blog/how-to-consolidate-servers-and-applications-using-solaris-containers/</link>
		<comments>http://www.sysadmindayph.com/blog/how-to-consolidate-servers-and-applications-using-solaris-containers/#comments</comments>
		<pubDate>Thu, 07 May 2009 02:02:28 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[containers]]></category>
		<category><![CDATA[pool]]></category>
		<category><![CDATA[zones]]></category>
		<category><![CDATA[zpool]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=143</guid>
		<description><![CDATA[I am subscribe to the official Sun Microsystem newsletter and I got this one directly from my inbox that I want to share to every Solaris SysAdmin out there: This How-To Guide instructs users, system administrators, and developers unfamiliar with Solaris 10 OS on consolidating applications onto a single server using Solaris Containers technology. The &#8230; <a href="http://www.sysadmindayph.com/blog/how-to-consolidate-servers-and-applications-using-solaris-containers/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I am subscribe to the official Sun Microsystem newsletter and I got this one directly from my inbox that I want to share to every Solaris SysAdmin out there:</p>
<p>This How-To Guide instructs users, system administrators, and developers unfamiliar with Solaris 10 OS on consolidating applications onto a single server using Solaris Containers technology. The guide starts with a brief overview of Solaris Containers and follows with an example of using Solaris Containers to consolidate two Web server applications and an email server application onto a single server. Users are guided step-by-step through the consolidation process, with code examples and illustrations.</p>
<p>After using this guide, a user should be able to create Solaris Containers by:</p>
<p>    * <strong>Creating a resource pool</strong><br />
    * <strong>Defining Solaris Zones</strong><br />
    * <strong>Assigning CPU usage with the Fair Share Scheduler</strong> (FSS)<br />
    * <strong>Installing and booting a zone</strong><br />
    * <strong>Configuring access to raw devices from the zone</strong></p>
<p><span id="more-143"></span></p>
<p>I wont be able to post every info from the PDF file here.. But I can however maybe put a part so that it will entice you more to download the paper:</p>
<p><strong>Solaris Zones</strong><br />
As part of the consolidation effort, it is important to<br />
evaluate the needs of the applications that will share the<br />
consolidated system. In this example, the email server and<br />
Web server applications need to run in isolated<br />
environments that make it appear as if they are running on<br />
physically separate machines. This is made possible by a<br />
Solaris Container technology called Solaris Zones, which<br />
provides separate environments on a machine and logically<br />
isolates applications from one another. Each application<br />
receives a dedicated namespace in which to run, and<br />
cannot see, monitor, or affect applications running in<br />
another zone</p>
<p><strong>Dynamic Resource Pools</strong><br />
In this example there are two types of applications, one<br />
that needs a fully dedicated CPU—an email server, and<br />
another that is more flexible and can share CPUs—the two<br />
Web servers. To accomplish these different levels of<br />
isolation we use a Solaris Container technology called<br />
Dynamic Resource Pools that enables CPU resources to be<br />
dedicated to specific applications. In this example, the<br />
email server needs a separate resource pool, while the Web<br />
servers can share another</p>
<p><strong>Fair Share Scheduler</strong><br />
While the two Web servers are capable of sharing the<br />
remaining CPUs on the system, they each need a minimum<br />
guarantee of CPU resources that will be available to them.<br />
This is made possible by another Solaris Container<br />
technology called the Fair Share Scheduler (FSS). This<br />
software enables CPU resources to be allocated<br />
proportionally to applications. That is, each application<br />
gets assigned a number of the available “shares” of the<br />
total CPU.</p>
<p>And many more! Excited yet? here&#8217;s the link for download:</p>
<p>https://www.sun.com/offers/details/solaris_containers.xml?cid=927534</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/how-to-consolidate-servers-and-applications-using-solaris-containers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replacing a Failed Disk in Solaris Mirror (SVM)</title>
		<link>http://www.sysadmindayph.com/blog/replacing-a-failed-disk-in-solaris-mirror-svm/</link>
		<comments>http://www.sysadmindayph.com/blog/replacing-a-failed-disk-in-solaris-mirror-svm/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 00:53:50 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[metaclear]]></category>
		<category><![CDATA[metadb]]></category>
		<category><![CDATA[metadettach]]></category>
		<category><![CDATA[metadevice]]></category>
		<category><![CDATA[metattache]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[svm]]></category>
		<category><![CDATA[volume manager]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=108</guid>
		<description><![CDATA[This one is about Solaris Volume Manager and all those meta commands you can think of.. (metadb, metadettach, metattach, metaclear etc)&#8230; Yesterday we had to replace a failed disk that belongs to a mirror. The disk is running in a Sparc Solaris 10 box. It&#8217;s a 72GB from Fujitsu c1t1d0           Soft Errors: 440 Hard Errors: &#8230; <a href="http://www.sysadmindayph.com/blog/replacing-a-failed-disk-in-solaris-mirror-svm/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>This one is about Solaris Volume Manager and all those meta commands you can think of.. (metadb, metadettach, metattach, metaclear etc)&#8230;</p>
<p>Yesterday we had to replace a failed disk that belongs to a mirror. The disk is running in a Sparc Solaris 10 box. It&#8217;s a 72GB from Fujitsu</p>
<p>c1t1d0           Soft Errors: 440 Hard Errors: 12 Transport Errors: 124<br />
Vendor: FUJITSU  Product: MAY2073RCSUN72G  Revision: 0501 Serial No: 0711S0935R<br />
Size: 73.40GB &lt;73400057856 bytes&gt;</p>
<p>As you can see from the iostat -En command, the disk is spitting hard errors and must be replaced before it can cause a lot more headache. It&#8217;s in c1t1, right.</p>
<p>Here&#8217;s what we&#8217;re supposed to do:</p>
<ul>
<li>we could delete the meta data base that corresponds to the failed disk</li>
<li>detached the failed disk/slices to the mirror</li>
<li>clear it</li>
<li>unconfigure the disk</li>
<li>replace the disk</li>
<li>configure the disk</li>
<li>create new meta device database</li>
<li>Initialize the disk</li>
<li>Attached it to mirror</li>
<li>and sync</li>
</ul>
<p>Here&#8217;s the detailed job:</p>
<p><span id="more-108"></span></p>
<p>Info:<br />
metadb | grep c1t1<br />
metadb –d c1t1d0s7</p>
<p>Detach:<br />
metadetach d30 d32<br />
metadetach d40 d42<br />
metadetach d20 d22<br />
metadetach d10 d12</p>
<p>metaclear d32<br />
metaclear d42<br />
metaclear d22<br />
metaclear d12</p>
<p>Verify:<br />
metastat -p | grep c1t1d0<br />
metadb  | grep c1t1d0<br />
[root@localhost] /&gt; cfgadm -al<br />
Ap_Id                          Type         Receptacle   Occupant     Condition<br />
c0                             scsi-bus     connected    configured   unknown<br />
c0::dsk/c0t0d0                 CD-ROM       connected    configured   unknown<br />
c1                             scsi-bus     connected    configured   unknown<br />
c1::dsk/c1t0d0                 disk         connected    configured   unknown<br />
c1::dsk/c1t1d0                 disk         connected    configured   unknown<br />
c1::dsk/c1t2d0                 disk         connected    configured   unknown<br />
c1::dsk/c1t3d0                 disk         connected    configured   unknown<br />
usb0/1                         unknown      empty        unconfigured ok<br />
usb0/2                         unknown      empty        unconfigured ok<br />
usb1/1.1                       unknown      empty        unconfigured ok<br />
usb1/1.2                       unknown      empty        unconfigured ok<br />
usb1/1.3                       unknown      empty        unconfigured ok<br />
usb1/1.4                       unknown      empty        unconfigured ok<br />
usb1/2                         unknown      empty        unconfigured ok</p>
<p>Unconfigure:<br />
cfgadm -c unconfigure c1::dsk/c1t1d0</p>
<p>Verify ulit, note the red text above:<br />
cfgadm –al<br />
SWAP DISK</p>
<p>Undo what has been done….</p>
<p>Configure:<br />
cfgadm -c configure c1::dsk/c1t1d0</p>
<p>format (to label disk)</p>
<p>prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s &#8211; /dev/rdsk/c1t1d0s2</p>
<p>metadb -a –c 2 c1t1d0s7</p>
<p>Attach!!</p>
<p>metainit d32 1 1 c1t1d0s6<br />
metainit d42 1 1 c1t1d0s4<br />
metainit d22 1 1 c1t1d0s1<br />
metainit d12 1 1 c1t1d0s0<br />
metattach d30 d32<br />
metattach d40 d42<br />
metattach d20 d22<br />
metattach d10 d12<br />
metastat -p<br />
metadevadm -u c1t1d0</p>
<p>And you&#8217;re done! Grab a cup of coffee and wait till the synchronization is done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/replacing-a-failed-disk-in-solaris-mirror-svm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

