<?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>Sun Solaris System Admin &#187; sparc</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/sparc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>Install Sybase Perl module in Solaris 10</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 22:01:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dbd::sybase]]></category>
		<category><![CDATA[dbi]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[perl5]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris10]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sybase]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=96</guid>
		<description><![CDATA[Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary. Installing Sybase Perl Module requires the following preinstalled [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.</p>
<p><span id="more-96"></span></p>
<p>Installing Sybase Perl Module requires the following preinstalled</p>
<p>1. Sybase Server/Client already installed on your server<br />
2. GNU Make</p>
<p><span style="text-decoration: underline;"><strong>Install GNU Make</strong></span></p>
<p>Assuming you have already installed Sybase Server/Client on your system, lets download and install GNU Make.</p>
<p>GNU Make package can be downloaded from sunfreeware.com website. At the time of writing, the version available for download is Make 3.81</p>
<p><a title="Download GNU Make in Solaris 10 SPARC" href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/make-3.81-sol10-sparc-local.gz" target="_blank">Download GNU Make for Solaris 10 (SPARC)</a></p>
<p><a title="Download GNU Make in Solaris 10 x86" href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/make-3.81-sol10-x86-local.gz" target="_blank">Download Make for Solaris 10 (x86)</a></p>
<p><em><span style="text-decoration: underline;"><strong>Unzip and Install GNU Make</strong></span></em></p>
<p>From the directory where the file is downloaded</p>
<blockquote><p><strong># gunzip make-3.81-sol10-x86-local.gz<br />
# pkgadd -d make-3.81-sol10-x86-local</strong></p></blockquote>
<p>This should install &#8220;make&#8221; under <strong>/usr/local/bin</strong></p>
<blockquote><p><strong># which make<br />
/usr/local/bin/make</strong></p></blockquote>
<p>Download Perl Modules from <a title="CPAN" href="www.cpan.org" target="_blank">www.cpan.org</a>. The modules we are interested in are</p>
<p>1. <a title="Perl DBI module" href="http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz" target="_blank">DBI (Database Independent Interface for Perl)</a></p>
<p>2. <a title="Perl DBD::Sybase module" href="http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz" target="_blank">DBD::Sybase (Sybase database Driver for the DBI module)</a></p>
<p><em>NOTE: I find in Solaris 10 Update 6, DBI module is already installed which means we only need to install DBD::Sybase module.</em></p>
<p>To verify either of the modules is already installed on the system,</p>
<p>For DBI, file <em><strong>DBI.pm</strong></em> should exist under</p>
<blockquote><p><em><strong>x86</strong></em></p>
<p>/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/DBI.pm</p>
<p><em><strong>SPARC</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBI.pm</p></blockquote>
<p>For <em><strong>DBD::Sybase</strong></em></p>
<blockquote><p><em><strong>x86</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/DBD/Sybase.pm</p>
<p><em><strong>SPARC</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBD/Sybase.pm</p></blockquote>
<p>Now, assuming both these modules are not installed</p>
<p><span style="text-decoration: underline;"><strong>Install Perl DBI Module</strong></span></p>
<p>Download the DBI Module from <a title="Perl DBI module download" href="http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz" target="_blank">here</a></p>
<p>From the download directory,</p>
<blockquote><p><strong># gunzip DBI-1.609.tar.gz<br />
# tar -xvf DBI-1.609.tar<br />
# cd DBI-1.609</strong></p></blockquote>
<p>The above steps should (g)unzip, untar the downloaded source files.</p>
<p>Export <strong>$SYBASE</strong> &amp; <strong>$LD_LIBRARY_PATH</strong> environment variables. We have the Sybase client installed under</p>
<p><strong>/opt/sybase/oc15.0-EBF16084/OCS-15_0</strong></p>
<p>which means the libraries exist under</p>
<p><strong>/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib</strong></p>
<blockquote><p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084/OCS-15_0<br />
# export LD_LIBRARY_PATH=/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib:$LD_LIBRARY_PATH<br />
</strong></p></blockquote>
<p>If this step is skipped, the following error comes up in the next step:</p>
<p><span style="color: #ff0000;"><strong>Can&#8217;t find the lib directory under /export/home/sybase! at Makefile.PL line 118, &lt;IN&gt; line 44.</strong></span></p>
<p>Now comes the tricky bit, use /usr/perl5/bin/perlgcc instead of default perl as follows:</p>
<blockquote><p><strong># /usr/perl5/bin/perlgcc Makefile.PL</strong></p></blockquote>
<p>Let&#8217;s now compile and install using GNU Make from source directory</p>
<blockquote><p><strong># /usr/local/bin/make<br />
# /usr/local/bin/make test<br />
# /usr/local/bin/make install<br />
</strong></p></blockquote>
<p>To make sure the install compelted successfully. Check if the DBI.pm file exists as shown earlier.</p>
<p><span style="text-decoration: underline;"><strong>Install Perl DBD::Sybase module</strong></span></p>
<p>Download DBD::Sybase perl module from <a title="Download DBD::Sybase Perl module" href="http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz" target="_blank">here</a>.</p>
<p>From the downloaded directory:</p>
<blockquote><p><strong># gunzip DBD-Sybase-1.09.tar.gz<br />
# tar -xvf DBD-Sybase-1.09.tar<br />
# cd DBD-Sybase-1.09</strong></p></blockquote>
<p>The above should (g)unzip, untar the downloaded file and change into the source directory.</p>
<p>Export the <strong>$SYBASE &amp; $LD_LIBRARY_PATH</strong> environment variables if you have already not done so.</p>
<blockquote><p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084/OCS-15_0<br />
# export LD_LIBRARY_PATH=/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib:$LD_LIBRARY_PATH</strong></p></blockquote>
<p>Run perlgcc against the Makefile.PL as follows:</p>
<blockquote><p><strong># /usr/perl5/bin/perlgcc Makefile.PL</strong></p></blockquote>
<p>Select the default CHAIN mode or modify as required, then enter the Sybase Server, a Sybase Username and password and a Database as and when promted. This will allow the installation test connection. Make sure this DB connection is updated in the Sybase &#8220;interfaces&#8221; file.</p>
<p><em>NOTE: Once the installation is completed. Either the PWD file created by this procedure or the entire Source directory should be deleted as the PWD file will contain these DB access details. Also, it is advisable to provide a test DB access detail rather than a live environment.<br />
</em><br />
Let&#8217;s now compile and install using GNU Make from source directory</p>
<blockquote><p><strong># /usr/local/bin/make</strong></p></blockquote>
<p>Now, re-export <strong>$SYBASE</strong> as follows:</p>
<p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084</strong></p>
<p><em>[NOTE: This may vary in your environment]</em></p>
<blockquote><p><strong># /usr/local/bin/make test<br />
# /usr/local/bin/make install</strong></p></blockquote>
<p>This should install the Sybase Perl module. To confirm the installation was successful, look for Sybase.pm as explained earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>psrinfo &#8211; Find number of Physical &amp; Virtual Processors in Solaris 10</title>
		<link>http://www.sunsolarisadmin.com/general/psrinfo-find-number-of-physical-virtual-processors-in-solaris-10/</link>
		<comments>http://www.sunsolarisadmin.com/general/psrinfo-find-number-of-physical-virtual-processors-in-solaris-10/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 01:54:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[psrinfo]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sun4v]]></category>
		<category><![CDATA[sunos]]></category>
		<category><![CDATA[SUNW]]></category>
		<category><![CDATA[t5120]]></category>
		<category><![CDATA[t5140]]></category>
		<category><![CDATA[ultrasparc]]></category>
		<category><![CDATA[virtual-processor]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=61</guid>
		<description><![CDATA[In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you. To simply display the number of Physical processors, simply run the command with the -p option [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you.</p>
<p><span id="more-61"></span></p>
<p>To simply display the number of Physical processors, simply run the command with the -p option as follows:</p>
<blockquote><p><strong>root@sunserver # psrinfo -p<br />
</strong>2</p></blockquote>
<p>where 2 implies that there are 2 physical processors installed on the system.</p>
<p>If you would like to check the number of Virtual Processors on each of these Physical processors then type the command with the &#8220;-pv&#8221; arguement as follows:</p>
<blockquote><p><strong>root@ server:/root$ uname -a</strong></p>
<p>SunOS server 5.10 Generic_137111-02 sun4v sparc SUNW,SPARC-Enterprise-T5120</p>
<p><strong>root@server:/root$ psrinfo -pv</strong></p>
<p>The physical processor has 32 virtual processors (0-31)</p>
<p>  UltraSPARC-T2 (cpuid 0 clock 1165 MHz)</p></blockquote>
<p>The above indicates that there was only one physical processor (UltraSPARC-T2) on the T5120 server which has 32 Virtual processors. Each virtual processor is an entity with its own interrupt ID, capable of executing independent threads.</p>
<p>In simple terms, the number of Virtual Processors supported by a physical CPU is</p>
<blockquote><p><strong><em>&#8220;Number of Core&#8221; x &#8220;Number of threads&#8221;</em></strong></p></blockquote>
<p>For instance, the above is on a T5120 server with the UltraSPARC-T2. This CPU  has 4 cores and each core can support 8 threads and that gives us 32 Virtual processors.</p>
<p>The number of Virtual processors on a Server is simply the total Virtual processors supported on each of the physical processor.</p>
<p>In the following T5140 server there are 2 Physical UltraSPARC-T2+ processors with 6 cores, each supporting 8 threads which means we get 48 Virtual processors per Physical processor and hence a total of 96 Virtual processors (sum of VPs on individual processors) for the server:</p>
<blockquote><p><strong>root@ bserver:/root$ uname -a</strong></p>
<p>SunOS bserver 5.10 Generic_137111-02 sun4v sparc SUNW,T5140</p>
<p><strong>root@ bserver:/root$ psrinfo -pv</strong></p>
<p>The physical processor has 48 virtual processors (0-23 32-55)</p>
<p>  UltraSPARC-T2+ (cpuid 0 clock 1167 MHz)</p>
<p>The physical processor has 48 virtual processors (64-71 80-119)</p>
<p>  UltraSPARC-T2+ (cpuid 64 clock 1167 MHz)</p></blockquote>
<p>In earlier versions of Solaris, the <strong><em>-p</em></strong> arguement is not supported and hence wouldn&#8217;t provide this summarised output on the counts of the physical and Virtual CPUs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/psrinfo-find-number-of-physical-virtual-processors-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Multiple Interfaces (NICs) use single MAC-Address in Solaris on SPARC</title>
		<link>http://www.sunsolarisadmin.com/networking/multiple-interfaces-nics-use-single-mac-address-in-solaris-on-sparc/</link>
		<comments>http://www.sunsolarisadmin.com/networking/multiple-interfaces-nics-use-single-mac-address-in-solaris-on-sparc/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 20:38:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[eeprom]]></category>
		<category><![CDATA[ifconfig]]></category>
		<category><![CDATA[MAC-Address]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/networking/multiple-interfaces-nics-use-single-mac-address-in-solaris-on-sparc/</guid>
		<description><![CDATA[In SPARC Servers running Sun Solaris, you can see multiple Network Interface Cards (NICs) or interfaces are all sharing a single MAC-Address than having a unique Factory-default MAC-Address assigned to it. This is because by default, a System-Wide MAC-Address is assigned to all the NICs and hence a ifconfig -a output will show only one [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
In SPARC Servers running Sun Solaris, you can see multiple Network Interface Cards (NICs) or interfaces are all sharing a single MAC-Address than having a unique Factory-default MAC-Address assigned to it. This is because by default, a System-Wide MAC-Address is assigned to all the NICs and hence a ifconfig -a output will show only one MAC-Address.</p>
<p>To confirm this behaviour</p>
<p><span id="more-39"></span></p>
<blockquote><p><strong>root@solarisserver# eeprom local-mac-address?</strong><br />
local-mac-address?=false</p></blockquote>
<p>The output &#8220;local-mac-address?=false&#8221; indicates that the factory-default Mac-Address is not being used and a system-wide MAC-Address is used.</p>
<p>To make the NICs use their factory default MAC-Address set the &#8220;local-mac-address?&#8221; value to true.</p>
<blockquote><p><strong>root@solarisserver# eeprom local-mac-address?=true</strong></p></blockquote>
<p>This requires a reboot for the changes to take effect and hence reboot the server.</p>
<blockquote><p><strong>root@solarisserver# init 6</strong></p></blockquote>
<p>When the system comes back online, an &#8220;ifconfig -a&#8221; should show the NICs having individual MAC-Addresses. These are the factory default unique mac-addresses than the system-wide mac-addresses.</p>
<p>If however, if you find more than one interface still have same MAC-Address then it indicates that the NIC does not have a factory-default mac-address and hence will still use the system-wide mac-address.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/networking/multiple-interfaces-nics-use-single-mac-address-in-solaris-on-sparc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install &amp; Run Sun VTS in Solaris 10 for hardware &amp; Stress test</title>
		<link>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/</link>
		<comments>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 21:41:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris10]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sunvts]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/</guid>
		<description><![CDATA[In my previous write up here, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10. Download [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>In my previous write up <a target="_blank" href="http://www.sunsolarisadmin.com/general/sun-vts-sun-validation-test-suite-for-hardware-stress-test/" title="Sun VTS - Validation &amp; Test Suite">here</a>, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10.</p>
<p><span id="more-31"></span></p>
<p>Download the most recent stable version of SUNWvts (SUNWvts6.4ps2 at the time of writing this article) for SPARC/x86 platforms from <a target="_blank" href="http://www.sun.com/oem/products/vts/" title="Sun VTS download and install in Sun Solaris 10">here</a></p>
<pre>NOTE: Requires Sunsolve login to download.</pre>
<p>Sun VTS requires the following packages installed to run properly.</p>
<blockquote><p><strong><u>Core SunVTS Framework</u></strong></p>
<p>SUNWvts_VTS6.4ps2_sparc.tar.Z (SPARC)</p>
<p>SUNWvts_VTS6.4ps2_x86.tar.Z (x86)</p>
<p><strong><u>Sun VTS Tests</u></strong></p>
<p>SUNWvtsts_VTS6.4ps2_sparc.tar.Z (SPARC)</p>
<p>SUNWvtsts_VTS6.4ps2_x86.tar.Z (x86)</p>
<p><strong><u>SunVTS Framework Configuration Files in Root partition </u></strong><em>(Optional/Recommended)</em></p>
<p>SUNWvtsr_VTS6.4ps2_sparc.tar.Z</p>
<p>SUNWvtsr_VTS6.4ps2_x86.tar.Z<br />
 <br />
<strong><u>Sun VTS Man Pages (Optional)</u></strong><br />
SUNWvtsmn_VTS6.4ps1_sparc.tar.Z (SPARC)</p>
<p>SUNWvtsmn_VTS6.4ps1_x86.tar.Z (x86)</p></blockquote>
<p>Prior to installation, it is important that any previous version of the above mentioned Sun VTS packages are removed.</p>
<p>To check if previous versions are installed</p>
<blockquote><p><strong>solaris10# pkginfo -l | grep -i vts</strong></p></blockquote>
<p>If found uninstall them before proceeding with the procedure</p>
<blockquote><p><strong>solaris10# pkgrm SUNWvts SUNWvtsr SUNWvtsts SUNWvtsmn</strong></p></blockquote>
<p>Download and install the latest revision of Microtasking libraries (libmtsk) patch for Solaris 10 from the following Sun Solve website:</p>
<blockquote><p><a href="http://sunsolve.sun.com/show.do?target=patchpage"><strong>http://sunsolve.sun.com/show.do?target=patchpage</strong></a></p></blockquote>
<blockquote><p>Solaris 10 SPARC &#8211; 120753 (120753-05)</p>
<p>Solaris 10 x86 &#8211; 120754 (120754-05)</p></blockquote>
<p>Download unzip and install the patch:</p>
<p><strong><u>SPARC</u></strong></p>
<blockquote><p><strong>solaris10# unzip 120753-05.zip</strong></p>
<p><strong>solaris10# patchadd 120753-05</strong></p></blockquote>
<p><strong><u>x86</u></strong></p>
<blockquote><p><strong>solaris10# unzip 120754-05.zip</strong></p>
<p><strong>solaris10# patchadd 120754-05</strong></p></blockquote>
<p>Now, lets get installing the Sun VTS packages.</p>
<p><strong><u>Install SunVTS Core Framework (SPARC &amp; x86)</u></strong></p>
<blockquote><p><strong>solaris10#pkgadd -d . SUNWvts</strong></p></blockquote>
<p>That installs the required Sun VTS Core Framework package.</p>
<p><strong><u>Install the rest of the SunVTS packages</u></strong><br />
(SunVTS Tests,config files in root &amp; Man pages)</p>
<blockquote><p><strong>solaris10# pkgadd -d . SUNWvtsts SUNWvtsr SUNWvtsmn</strong></p></blockquote>
<p>That completes the Sun VTS package installation.</p>
<p><strong><u>Enable the rstatd daemon</u></strong></p>
<p>rstatd daemon is disabled by default in Solaris 10.</p>
<blockquote><p><strong>solaris10# svcadm enable rstatd</strong></p></blockquote>
<p><strong><u>Export Display to your PC (GUI only)</u></strong></p>
<blockquote><p><strong>solaris10# export DISPLAY 192.168.0.2:0</strong></p></blockquote>
<p><strong><u>Start Sun VTS</u></strong></p>
<blockquote><p><strong>solaris10# /opt/SUNWvts/bin/sunvts &amp;</strong></p></blockquote>
<p>This should start the Sun VTS software and export GUI to your PC (if display not exported then runs tty user interface on the terminal). Sun VTS will discover devices and list available tests for your server with dezcriptive information on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 9 (SPARC)</title>
		<link>http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:55:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Solaris 9]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p><span id="more-17"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 9:</p>
<blockquote><p>OpenSSL (Latest stable: openssl-0.9.8f)</p>
<p>ZLib (Latest stable: zlib-1.2.3)</p>
<p>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</p>
<p>TCPWrapper (Optional tcp_wrappers-7.6)</p>
<p>and OpenSSH itself (Latest Stable: openssh-4.7p1)</p></blockquote>
<p>To start of, download the packages from the following sunfreeware.com links Solaris 9 SPARC:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/libgcc-3.4.6-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/libgcc-3.4.6-sol9-sparc-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/zlib-1.2.3-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/zlib-1.2.3-sol9-sparc-local.gz</a></u></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssl-0.9.8f-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssl-0.9.8f-sol9-sparc-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssh-4.7p1-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssh-4.7p1-sol9-sparc-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris9# gunzip libgcc-3.4.6-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d libgcc-3.4.6-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris9# gunzip  zlib-1.2.3-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d zlib-1.2.3-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris9# gunzip openssl-0.9.8f-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d openssl-0.9.8f-sol9-sparc-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris9# gunzip openssh-4.7p1-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d openssh-4.7p1-sol9-sparc-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris9# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris9# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris9# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris9# groupadd ssh</p>
<p>solaris9# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<blockquote><p>Generate Keys for the server</p></blockquote>
<blockquote><p>solaris9# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>sshd at Solaris startup</u></strong></p>
<p>Add a startup script <strong><em>/etc/init.d/sshd</em></strong> as follows to enable the OpenSSH server daemon &#8220;sshd&#8221; at the startup</p>
<blockquote><p>case &#8220;$1&#8243; in<br />
&#8216;start&#8217;)<br />
        if [ -x /usr/local/sbin/sshd ]; then<br />
                echo &#8220;Starting the secure shell daemon&#8221;<br />
                /usr/local/sbin/sshd &amp;<br />
        fi<br />
        ;;</p>
<p>&#8216;stop&#8217;)<br />
        echo &#8220;Stopping the secure shell daemon &#8221;<br />
        pkill -TERM sshd<br />
        ;;<br />
*)<br />
        echo &#8220;Usage: /etc/init.d/sshd { start | stop }&#8221;<br />
        ;;<br />
esac<br />
exit 0</p></blockquote>
<p><strong><u>Change the ownership &amp; permissions on the startup script</u></strong></p>
<blockquote><p>solaris9# chown root:sys /etc/init.d/sshd<br />
solaris9# chmod 555 /etc/init.d/sshd</p></blockquote>
<p><strong><u>Create a Symlink to the startup script at /etc/rc2/d/S98sshd</u></strong></p>
<blockquote><p># ln -s /etc/init.d/sshd /etc/rc2.d/S98sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
