<?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>Technology, Computer, Network and Games Cheat &#187; Hardware</title>
	<atom:link href="http://www.gamescheat.ca/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamescheat.ca</link>
	<description>Day to day technical how to - by Andrew Lin</description>
	<lastBuildDate>Thu, 26 May 2011 18:48:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Sun Sparc commands to power on and boot up the server.</title>
		<link>http://www.gamescheat.ca/2010/11/sun-sparc-commands-to-power-on-and-boot-up-the-server/</link>
		<comments>http://www.gamescheat.ca/2010/11/sun-sparc-commands-to-power-on-and-boot-up-the-server/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 16:06:52 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Sparc]]></category>
		<category><![CDATA[SUN]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=839</guid>
		<description><![CDATA[Booting up the Sun Sparc M3000 server. After logging into the XSCF console, power on the server. XSCF> poweron -d 0 DomainIDs to power on:00 Continue? [y&#124;n] :y Switch to the server console. XSCF> console -d 0 Connect to DomainID 0?[y&#124;n] :y Devalias will list all devices which can be booted. {0} ok devalias cdrom [...]]]></description>
			<content:encoded><![CDATA[<p>Booting up the Sun Sparc M3000 server.</p>
<p>After logging into the XSCF console, power on the server.<br />
XSCF> poweron -d 0<br />
DomainIDs to power on:00<br />
Continue? [y|n] :y</p>
<p>Switch to the server console.<br />
XSCF> console -d 0<br />
Connect to DomainID 0?[y|n] :y</p>
<p>Devalias will list all devices which can be booted.<br />
{0} ok devalias<br />
cdrom                    /pci@0,600000/pci@0/pci@0/scsi@0/disk@4,0:f<br />
net                      /pci@0,600000/pci@0/pci@1/pci@0/network@4<br />
disk                     /pci@0,600000/pci@0/pci@0/scsi@0/disk@0<br />
name                     aliases                                          </p>
<p>To boot from the disk, use the boot command.<br />
{0} ok boot disk<br />
Boot device: /pci@0,600000/pci@0/pci@0/scsi@0/disk@0  File and args:<br />
SunOS Release 5.10 Version Generic_141444-09 64-bit<br />
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved<br />
Use is subject to license terms.<br />
Hostname: andrew_lin</p>
<p>Switch back to the XSCF console with<br />
#. will bring you back to the XSCF console.</p>
<p>To list the default boot device use the printenv command.<br />
ok printenv boot-device<br />
boot-device =           /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk@w50060e80058c7b10,1:a</p>
<p>If you wanted to change the default boot device, use the setenv boot-device command.<br />
ok setenv boot-device device[n]</p>
<p>Save the changes with reset-all.<br />
ok reset-all</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2010/11/sun-sparc-commands-to-power-on-and-boot-up-the-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating RDM to LUN (SAN) mapping on VMware ESX 4, Vcenter.</title>
		<link>http://www.gamescheat.ca/2010/08/creating-rdm-to-lun-san-mapping-on-vmware-esx-4-vcenter/</link>
		<comments>http://www.gamescheat.ca/2010/08/creating-rdm-to-lun-san-mapping-on-vmware-esx-4-vcenter/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 20:42:52 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[VMware ESX]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=830</guid>
		<description><![CDATA[In the past I have written articles about how to create a RDM to LUN disk mapping for VMware ESX 3. http://www.gamescheat.ca/2009/10/scripts-to-automate-the-process-of-identifying-and-compiling-an-rdm-to-lun-mapping-list-for-vmware-esx-30/ and http://www.gamescheat.ca/2009/10/how-to-identify-and-compile-an-rdm-to-lun-mapping-list-for-vmware-esx-30/ The procedure to identify the path for the RDM (raw disk mapping) to LUN (disk on SAN) on Vmware ESX 4 is different from Vmware Esx 3. There are a few [...]]]></description>
			<content:encoded><![CDATA[<p>In the past I have written articles about how to create a RDM to LUN disk mapping for <a href="http://www.gamescheat.ca/2009/10/scripts-to-automate-the-process-of-identifying-and-compiling-an-rdm-to-lun-mapping-list-for-vmware-esx-30/">VMware ESX 3</a>.<br />
<a href="http://www.gamescheat.ca/2009/10/scripts-to-automate-the-process-of-identifying-and-compiling-an-rdm-to-lun-mapping-list-for-vmware-esx-30/">http://www.gamescheat.ca/2009/10/scripts-to-automate-the-process-of-identifying-and-compiling-an-rdm-to-lun-mapping-list-for-vmware-esx-30/</a> and <a href="http://www.gamescheat.ca/2009/10/how-to-identify-and-compile-an-rdm-to-lun-mapping-list-for-vmware-esx-30/">http://www.gamescheat.ca/2009/10/how-to-identify-and-compile-an-rdm-to-lun-mapping-list-for-vmware-esx-30/</a></p>
<p>The procedure to identify the path for the RDM (raw disk mapping) to LUN (disk on SAN) on Vmware ESX 4 is different from Vmware Esx 3.  There are a few more steps in version 4.  I will explain below how to determine the path for RDM to LUN in ESX 4.</p>
<p>Login to the console with root permission.</p>
<blockquote><p># find /vmfs/volumes -name **-rdm**<br />
/vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1-rdmp.vmdk</p></blockquote>
<p>Find all RDM file in .vmfs/volumes. Remove -rdmp from the result and that is the path you need for the next step.</p>
<blockquote><p># vmkfstools -q /vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1.vmdk<br />
Disk /vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1.vmdk is a Passthrough Raw Device Mapping<br />
Maps to: vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56</p></blockquote>
<p>Use the vmkfstools -q command to find the vml id of the LUN, it is vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56.</p>
<blockquote><p># esxcfg-scsidevs -u | grep vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56<br />
naa.60060e80058c7b0000008c7b0000310b                            vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56</p></blockquote>
<p>Now use the esxcfg-scsidevs command to find the Network Addressing Authority identifier (naa) for the LUN.</p>
<blockquote><p># esxcfg-mpath -l &#8211;device=naa.60060e80058c7b0000008c7b0000310b<br />
fc.2001001b3232c093:2101001b3232c093-fc.50060e80058c7b55:50060e80058c7b55-naa.60060e80058c7b0000008c7b0000310b<br />
   Runtime Name: vmhba2:C0:T0:L10<br />
   Device: naa.60060e80058c7b0000008c7b0000310b<br />
   Device Display Name: HITACHI Fibre Channel Disk (naa.60060e80058c7b0000008c7b0000310b)<br />
   Adapter: vmhba2 Channel: 0 Target: 0 LUN: 10<br />
   Adapter Identifier: fc.3001001b3232c093:2101001b3232c093<br />
   Target Identifier: fc.60060e80058c7b55:50060e80058c7b55<br />
   Plugin: NMP<br />
   State: active<br />
   Transport: fc<br />
   Adapter Transport Details: WWNN: 22:01:00:1b:32:32:c0:93 WWPN: 23:01:00:1b:32:32:c0:93<br />
   Target Transport Details: WWNN: 55:06:0e:80:05:8c:7b:55 WWPN: 56:06:0e:80:05:8c:7b:55</p>
<p>fc.2000001b3212c093:2100001b3212c093-fc.50060e80058c7b45:50060e80058c7b45-naa.60060e80058c7b0000008c7b0000310b<br />
   Runtime Name: vmhba1:C0:T0:L10<br />
   Device: naa.60060e80058c7b0000008c7b0000310b<br />
   Device Display Name: HITACHI Fibre Channel Disk (naa.60060e80058c7b0000008c7b0000310b)<br />
   Adapter: vmhba1 Channel: 0 Target: 0 LUN: 10<br />
   Adapter Identifier: fc.3000001b3212c093:2100001b3212c093<br />
   Target Identifier: fc.60060e80058c7b45:50060e80058c7b45<br />
   Plugin: NMP<br />
   State: active<br />
   Transport: fc<br />
   Adapter Transport Details: WWNN: 22:00:00:1b:32:12:c0:93 WWPN: 23:00:00:1b:32:12:c0:93<br />
   Target Transport Details: WWNN: 55:06:0e:80:05:8c:7b:45 WWPN: 56:06:0e:80:05:8c:7b:45</p></blockquote>
<p>The esxcfg-mpath -l command generates the detailed information for the LUN.  Because there are redundant path to the LUN on the SAN, the result is listed twice with different fiber channel HBA interfaces.</p>
<p>Now what if your VMware ESX server is hosting many servers all with different RDMs.  It would be very tedious to manually compile a report for RDM to LUN mapping.  I create a script that will automatically do all the above steps and will output the result to screen or you can redirect the result to a file.  This will script will search for all the RDMs and create the mappings.  Below is the script and explanation of how it works.</p>
<p><strong><br />
<blockquote>#!/bin/bash<br />
# Andrew Lin<br />
# August 4, 2010<br />
# Pay Andrew Lin lot&#8217;s of money before you<br />
# can use this script</p>
<p>date<br />
hostname</p>
<p>find /vmfs/volumes -name **-rdm** | sed &#8216;s/-rdmp.vmdk/.vmdk/g&#8217; | sed &#8216;s/-rdm.vmdk/.vmdk/g&#8217; | sed &#8216;s/^/vmkfstools -q /g&#8217; >> andrew-disk-map |<br />
chmod 645 andrew-disk-map</p>
<p>file=andrew-disk-map<br />
while read line<br />
do<br />
 $line<br />
 $line | grep vml | sed &#8216;s/.*to:/esxcfg-scsidevs -u | grep/g&#8217; > andrew_lin1</p>
<p>     chmod 755 andrew_lin1<br />
     ./andrew_lin1 | sed &#8216;s/ .*//g&#8217;<br />
     ./andrew_lin1 | sed &#8216;s/ .*//g&#8217; | sed &#8216;s/^/esxcfg-mpath -L &#8211;device=/g&#8217; >andrew_lin2<br />
     # rm andrew_lin1</p>
<p>     chmod 755 andrew_lin2<br />
     ./andrew_lin2<br />
     # rm andrew_lin2</p>
<p> echo -e &#8220;\n&#8221;<br />
done <$file</p></blockquote>
<p></strong></p>
<p>I will explain below what the above script does.</p>
<blockquote><p>find /vmfs/volumes -name **-rdm**<br />
/vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1-rdmp.vmdk</p></blockquote>
<p>Search for all RDM (raw disk mapping), VMware1_1-rdmp.vmdk is found.</p>
<blockquote><p>sed &#8216;s/-rdmp.vmdk/.vmdk/g&#8217;</p></blockquote>
<p>Change the characters -rdmp.vmdk to .vmdk. The s/ means to substitute, and /g means globally apply the changes for all matches. Some RDM have the -rdmp.vmdk extension (not shown in the above example).</p>
<blockquote><p>sed &#8216;s/-rdm.vmdk/.vmdk/g&#8217;</p></blockquote>
<p>Change -rdm.vmdk to .vmdk for all matches.</p>
<blockquote><p>sed &#8216;s/^/vmkfstools -q /g&#8217;</p></blockquote>
<p>Add the command vmkfstools -q to the beginning of each line.</p>
<blockquote><p>>> andrew-disk-map | chmod 645 andrew-disk-map</p></blockquote>
<p>Redirect the output to the file andrew-disk-map.  Change the file permission to 645 to make it executable.</p>
<p>Below is the result of the above command stored in andrew-disk-map.</p>
<blockquote><p>vmkfstools -q /vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1.vmdk</p></blockquote>
<blockquote><p>file=andrew-disk-map</p></blockquote>
<p>Define the variable called file which contains the name of the file andrew-disk-map.</p>
<blockquote><p>while read line<br />
do<br />
 ..<br />
 &#8230;<br />
 &#8230;.<br />
done <$file</p></blockquote>
<p>The while loop will read the contents of the file defined in the variable $file (which is andrew-disk-map).  The file is read one line at a time and the commands defined within the while loop are executed for each line read.</p>
<blockquote><p>$line</p></blockquote>
<p>Execute the line read from the file andrew-disk-map and send the output to screen.</p>
<blockquote><p><strong>Command</strong><br />
vmkfstools -q /vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1.vmdk<br />
<strong>Output</strong><br />
Disk /vmfs/volumes/4c20ca1e-d32d6ed6-96cb-001e4f3fdc36/VMware1/VMware1_1.vmdk is a Passthrough Raw Device Mapping<br />
Maps to: vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56</p></blockquote>
<blockquote><p>$line | grep vml | sed &#8216;s/.*to:/esxcfg-scsidevs -u | grep/g&#8217; > andrew_lin1</p></blockquote>
<p>Grep will find the line that contains the characters vml,  this is the unique LUN id.  Replace all characters before and upto the characters to: with esxcfg-scsidevs -u | grep.  The result will look like the below line which is redirected to the file andrew_lin1.</p>
<blockquote><p>esxcfg-scsidevs -u | grep vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56</p></blockquote>
<blockquote><p>chmod 755 andrew_lin1</p></blockquote>
<p>Chmod 755 will make the file andrew_lin1 executable.</p>
<blockquote><p>./andrew_lin1 | sed &#8216;s/ .*//g&#8217;</p></blockquote>
<p>Execute the file andrew_lin1.  Sed &#8216;s/ .*//g&#8217; will delete everything after the first space found, otherwise the output will look like the below.</p>
<blockquote><p><strong>Command executed (this is the content of the file andrew_lin1).</strong><br />
esxcfg-scsidevs -u | grep vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56<br />
<strong>Output</strong><br />
naa.60060e80058c7b0000008c7b0000310b                            vml.02000a000060060e80058c7b0000008c7b0000310b4f50454e2d56</p></blockquote>
<blockquote><p>./andrew_lin1 | sed &#8216;s/ .*//g&#8217; | sed &#8216;s/^/esxcfg-mpath -l &#8211;device=/g&#8217; >andrew_lin2</p></blockquote>
<p>Execute the file andrew_lin1, from the result remove everything after the LUN ID number (naa.60060e80058c7b0000008c7b0000310b). Then add the command esxcfg-mpath -L &#8211;device= in front of the LUN ID number, see below example.  The output is redirected to the file andrew_lin2.<br />
esxcfg-mpath -l &#8211;device=naa.60060e80058c7b0000008c7b0000310b</p>
<blockquote><p># rm andrew_lin1</p></blockquote>
<p>You are done with file andrew_lin1 and can delete it. If you want to save the file for troubleshooting then comment out the above line with the # sign.</p>
<blockquote><p>chmod 755 andrew_lin2</p></blockquote>
<p>Make the file andrew_lin2 executable.</p>
<blockquote><p>./andrew_lin2</p></blockquote>
<p>Execute andrew_lin2.  Which contains the command esxcfg-mpath -l &#8211;device=naa.60060e80058c7b0000008c7b0000310b.  The output below is displayed on screen.  Notice that there are redundant paths to the LUN on the SAN.</p>
<blockquote><p>fc.2001001b3232c093:2101001b3232c093-fc.50060e80058c7b55:50060e80058c7b55-naa.60060e80058c7b0000008c7b0000310b<br />
   Runtime Name: vmhba2:C0:T0:L10<br />
   Device: naa.60060e80058c7b0000008c7b0000310b<br />
   Device Display Name: HITACHI Fibre Channel Disk (naa.60060e80058c7b0000008c7b0000310b)<br />
   Adapter: vmhba2 Channel: 0 Target: 0 LUN: 10<br />
   Adapter Identifier: fc.3001001b3232c093:2101001b3232c093<br />
   Target Identifier: fc.60060e80058c7b55:50060e80058c7b55<br />
   Plugin: NMP<br />
   State: active<br />
   Transport: fc<br />
   Adapter Transport Details: WWNN: 22:01:00:1b:32:32:c0:93 WWPN: 23:01:00:1b:32:32:c0:93<br />
   Target Transport Details: WWNN: 55:06:0e:80:05:8c:7b:55 WWPN: 56:06:0e:80:05:8c:7b:55</p>
<p>fc.2000001b3212c093:2100001b3212c093-fc.50060e80058c7b45:50060e80058c7b45-naa.60060e80058c7b0000008c7b0000310b<br />
   Runtime Name: vmhba1:C0:T0:L10<br />
   Device: naa.60060e80058c7b0000008c7b0000310b<br />
   Device Display Name: HITACHI Fibre Channel Disk (naa.60060e80058c7b0000008c7b0000310b)<br />
   Adapter: vmhba1 Channel: 0 Target: 0 LUN: 10<br />
   Adapter Identifier: fc.3000001b3212c093:2100001b3212c093<br />
   Target Identifier: fc.60060e80058c7b45:50060e80058c7b45<br />
   Plugin: NMP<br />
   State: active<br />
   Transport: fc<br />
   Adapter Transport Details: WWNN: 22:00:00:1b:32:12:c0:93 WWPN: 23:00:00:1b:32:12:c0:93<br />
   Target Transport Details: WWNN: 55:06:0e:80:05:8c:7b:45 WWPN: 56:06:0e:80:05:8c:7b:45</p></blockquote>
<blockquote><p># rm andrew_lin2</p></blockquote>
<p>Delete the file andrew_lin2 by removing the # comment.</p>
<blockquote><p>echo -e &#8220;\n&#8221;</p></blockquote>
<p>Enter a line space.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2010/08/creating-rdm-to-lun-san-mapping-on-vmware-esx-4-vcenter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Booting up Solaris 10 from a SAN replicated LUN on a different Sun SPARC server</title>
		<link>http://www.gamescheat.ca/2010/07/booting-up-solaris-10-from-a-san-replicated-lun-on-a-different-sun-sparc-server/</link>
		<comments>http://www.gamescheat.ca/2010/07/booting-up-solaris-10-from-a-san-replicated-lun-on-a-different-sun-sparc-server/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 20:23:40 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[SUN]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=815</guid>
		<description><![CDATA[The quickest way to recover from a total disaster is to have some sort of replication implemented. There are two different methods of real-time replication, hardware and software. My experiences with software replication such as Symantec Veritas Volume replicator for AIX was not pleasing. It required constant maintenance and troubleshooting. The best is hardware replication [...]]]></description>
			<content:encoded><![CDATA[<p>The quickest way to recover from a total disaster is to have some sort of replication implemented.  There are two different methods of  real-time replication, hardware and software.  My experiences with software replication such as Symantec Veritas Volume replicator for AIX was  not pleasing.  It required constant maintenance and troubleshooting. The best is hardware replication if you can afford it.  A lot of  organizations pick software replication as it generally cost a lot less up front, but the cost of maintenance eventually adds up.</p>
<p>I will explain how to recover a Solaris 10 server from hardware replicated SAN disk.  It took me sometime to figure out how to boot up from  the replicated SAN LUN (disk), and many more hours to understand why the steps I applied works.</p>
<p>In this example I have a SUN SPARC M3000 server with two Qlogic fiber channel cards (HBA) installed in the PCI solts.  The HBAs were already  configured to connect to the SAN disk (LUN).  This LUN contained the replicated copy of a production Slaris 10 server.  The production server had two ZFS pool residing in a single LUN.</p>
<p>Using the Solaris 10 installation CD boot up the Sparc server into single user mode. </p>
<blockquote><p>boot cdrom -s</p></blockquote>
<p>The first thing you need to do is to see if the HBAs are working.  The connected status indictes that communication between the server and  switch is working.  There are two HBAs installed for redundancy, both connected to the same LUN.</p>
<blockquote><p># luxadm -e port<br />
/devices/pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl CONNECTED<br />
/devices/pci@1,700000/pci@0/pci@0/SUNW,qlc@0/fp@0,0:devctl CONNECTED</p></blockquote>
<p>Now you need to find out if the SAN disk is visible from the server. Even though both HBAs are connected to the same SAN disk, you will see  two separate SAN disks in the results below.  It just means there are two paths to the SAN.</p>
<blockquote><p># luxadm probe<br />
No Network Array enclosures found in /dev/es</p>
<p>Found Fibre Channel device(s):<br />
  Node WWN:50060e80058c7b10  Device Type:Disk device<br />
    Logical Path:/dev/rdsk/c1t50060E80058C7B10d1s2<br />
  Node WWN:50060e80058c7b00  Device Type:Disk device<br />
    Logical Path:/dev/rdsk/c2t50060E80058C7B00d1s2</p></blockquote>
<p>In the above example the first LUN is c1t50060E80058C7B10d1s2. This is the logical device name which is a symbolic link to the physical  device name stored in the /devices directory. Logical device names contain the controller number(c2), target number (t50060E80058C7B10), disk number (d1), and slice number (s2).</p>
<p>The next step is to find out how the disk is partitioned, the format command will give you that information. You need this information to  understand how to boot up the disk.</p>
<blockquote><p># format<br />
Searching for disks&#8230;done</p>
<p>AVAILABLE DISK SELECTIONS:<br />
0. c1t50060E80058C7B10d1 <HITACHI-OPEN-V-SUN-6006 cyl 65533 alt 2 hd 15 sec<br />
1066>/pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w50060e80058c7b10,1</p>
<p>1. c2t50060E80058C7B00d1 <HITACHI-OPEN-V-SUN-6006 cyl 65533 alt 2 hd 15 sec<br />
1066>/pci@1,700000/pci@0/pci@0/SUNW,qlc@0/fp@0,0/ssd@w50060e80058c7b00,1</p></blockquote>
<p>Select the first disk 0.</p>
<blockquote><p>Specify disk (enter its number): 0<br />
selecting c1t50060E80058C7B10d1<br />
[disk formatted]</p>
<p>FORMAT MENU:<br />
        disk       &#8211; select a disk<br />
        type       &#8211; select (define) a disk type<br />
        partition  &#8211; select (define) a partition table<br />
        current    &#8211; describe the current disk<br />
        format     &#8211; format and analyze the disk<br />
        repair     &#8211; repair a defective sector<br />
        label      &#8211; write label to the disk<br />
        analyze    &#8211; surface analysis<br />
        defect     &#8211; defect list management<br />
        backup     &#8211; search for backup labels<br />
        verify     &#8211; read and display labels<br />
        save       &#8211; save new disk/partition definitions<br />
        inquiry    &#8211; show vendor, product and revision<br />
        volname    &#8211; set 8-character volume name<br />
        !<cmd>     &#8211; execute <cmd>, then return<br />
        quit</p></blockquote>
<p>Display the labels and slices (partitions).  In Solaris each slice is treated as a separate physical disk.  In the below example you can tell that the disk is labeled as VTOC (Volume Table of Contents) because you can see the cylinders.  VTOC is also known as SMI label.  If the disk was labeled with EFI (Extensible Firmware Interface), then you would see sectors instead of cylinders.  Partition 0 (slice 0) holds the  operating system files, the boot disk.  Please note that you cannot boot from a disk with EFI label.  Slice 2 is the entire physical disk  because it contains all cylinders, 0 &#8211; 65532.</p>
<blockquote><p>format> verify</p>
<p>Primary label contents:</p>
<p>Volume name = <<br />
ascii name  = <HITACHI-OPEN-V-SUN-6006 cyl 65533 alt 2 hd 15 sec 1066><br />
pcyl        = 65535<br />
ncyl        = 65533<br />
acyl        =    2<br />
nhead       =   15<br />
nsect       = 1066<br />
Part      Tag    Flag     Cylinders         Size            Blocks<br />
  0       root    wm       0 &#8211;  3356       25.60GB    (3357/0/0)    53678430<br />
  1 unassigned    wm       0                0         (0/0/0)              0<br />
  2     backup    wm       0 &#8211; 65532      499.66GB    (65533/0/0) 1047872670<br />
  3 unassigned    wm       0                0         (0/0/0)              0<br />
  4 unassigned    wm       0                0         (0/0/0)              0<br />
  5 unassigned    wm       0                0         (0/0/0)              0<br />
  6 unassigned    wm       0                0         (0/0/0)              0<br />
  7 unassigned    wm    3357 &#8211; 65532      474.07GB    (62176/0/0)  994194240
    </p></blockquote>
<p>Here is what we know so far, we know that the disk name is c1t50060E80058C7B10d1. Slice 0 on this disk contains the boot files.  The physical path for this disk is /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w50060e80058c7b10,1.  Now we need to find out the physical path for Slice 0.</p>
<p>I know that the disk contains ZFS filesystems because it is a replica of the production disk.  When a ZFS filesystem is moved to a different  SPARC server it must first be imported because the hostid is different.</p>
<p>List the ZFS pool contained on the disk using the zpool import command.  There are two ZFS pools in the below example, epool and rpool.  Take a note of the status and action.</p>
<blockquote><p># zpool import<br />
  pool: epool<br />
    id: 16865366839830765202<br />
 state: ONLINE<br />
status: The pool was last accessed by another system.<br />
action: The pool can be imported using its name or numeric identifier and the &#8216;-f&#8217; flag.<br />
   see: http://www.sun.com/msg/ZFS-8000-EY<br />
config:</p>
<p>        epool                      ONLINE<br />
          c2t50060E80058C7B00d1s7  ONLINE</p>
<p>  pool: rpool<br />
    id: 10594898920105832331<br />
 state: ONLINE<br />
status: The pool was last accessed by another system.<br />
action: The pool can be imported using its name or numeric identifier and the &#8216;-f&#8217; flag.<br />
   see: http://www.sun.com/msg/ZFS-8000-EY<br />
config:</p>
<p>        rpool                      ONLINE<br />
          c2t50060E80058C7B00d1s0  ONLINE</p></blockquote>
<p>Import the pool with the zpool import command.  The options -a will import all the ZFS pools it can find, the -f option will force the  import.  If you do not specify the force option, then the import may fail with the error &#8220;cannot import &#8216;rpool&#8217;: pool may be in use from other system, it was last accessed by server name (hostid: 123456)&#8221;.  Ignore the error message about failed to create mountpoint.</p>
<blockquote><p># zpool import -af<br />
cannot mount &#8216;/epool&#8217;: failed to create mountpoint<br />
cannot mount &#8216;/rpool&#8217;: failed to create mountpoint</p></blockquote>
<p>List the imported ZFS pools.</p>
<blockquote><p># zpool list<br />
NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT<br />
epool   472G   260G   212G    55%  ONLINE  -<br />
rpool  25.5G  5.75G  19.8G    22%  ONLINE  -</p></blockquote>
<p>List the ZFS filesystems. In the example below notice the mountpoint / is mounted on the zfs filesystem rpool/ROOT/zfsboot.  This is the boot partition, it resides in rpool.</p>
<blockquote><p># zfs list<br />
NAME                                     USED  AVAIL  REFER  MOUNTPOINT<br />
epool                                    260G   205G    21K  /epool<br />
rpool                                   7.74G  17.4G    99K  /rpool<br />
rpool/ROOT                              4.74G  17.4G    21K  legacy<br />
rpool/ROOT/zfsboot                      4.74G  17.4G  4.48G  /<br />
rpool/ROOT/zfsboot/var                   139M  17.4G   105M  /var<br />
rpool/dump                              1.00G  17.4G  1.00G  -<br />
rpool/swap                              2.00G  19.4G    16K  -</p></blockquote>
<p>Change the mountpoint for rpoo/ROOT/zfsboot to /mnt so you can mount it to read the contents.</p>
<blockquote><p># zfs set mountpoint=/mnt rpool/ROOT/zfsboot</p></blockquote>
<p>Confirm that the mountpoint was changed.</p>
<blockquote><p># zfs list<br />
NAME                                     USED  AVAIL  REFER  MOUNTPOINT<br />
epool                                    260G   205G    21K  /epool<br />
rpool                                   7.74G  17.4G    99K  /rpool<br />
rpool/ROOT                              4.74G  17.4G    21K  legacy<br />
rpool/ROOT/zfsboot                      4.74G  17.4G  4.48G  /mnt<br />
rpool/ROOT/zfsboot/var                   139M  17.4G   105M  /mnt/var<br />
rpool/dump                              1.00G  17.4G  1.00G  -<br />
rpool/swap                              2.00G  19.4G    16K  -
           </p></blockquote>
<p>Now mount rpool/ROOT/zfsboot.</p>
<blockquote><p># zfs mount rpool/ROOT/zfsboot</p></blockquote>
<p>List the logical disks.</p>
<blockquote><p># cd /dev/dsk<br />
# ls<br />
c1t50060E80058C7B10d1s0  c2t50060E80058C7B00d1s0<br />
c1t50060E80058C7B10d1s1  c2t50060E80058C7B00d1s1<br />
c1t50060E80058C7B10d1s2  c2t50060E80058C7B00d1s2<br />
c1t50060E80058C7B10d1s3  c2t50060E80058C7B00d1s3<br />
c1t50060E80058C7B10d1s4  c2t50060E80058C7B00d1s4<br />
c1t50060E80058C7B10d1s5  c2t50060E80058C7B00d1s5<br />
c1t50060E80058C7B10d1s6  c2t50060E80058C7B00d1s6<br />
c1t50060E80058C7B10d1s7  c2t50060E80058C7B00d1s7</p></blockquote>
<p>As stated earlier the physical path for the disk we are looking for is /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w50060e80058c7b10,1.   The boot slice is 0.  We can derive from the physical path that the disk name is 50060e80058c7b10.  We also know from the output of the format command that the physical disk 50060e80058c7b10 maps to the logical disk c1t50060E80058C7B10d1.  Therefore we can derive that the  logical boot disk is c1t50060E80058C7B10d1s0.</p>
<p>Now find out what physical path c1t50060E80058C7B10d1s0 is a symbolic link for and that is your complete boot path.  In the below example the boot path starts at the first slash (/) right after /devices. It is /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w50060e80058c7b10,1:a.  You need to replace ssd@ with disk@ when entering the path into EEPROM.</p>
<blockquote><p># ls -l c1t50060E80058C7B10d1s0<br />
lrwxrwxrwx   1 root     root          82 Jul  5 10:21 c1t50060E80058C7B10d1s0 -><br />
 ../../devices/pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w50060e80058c7b10,1:a</p></blockquote>
<p>If you have more than one ZFS pool the non root pool may not get mounted upon booting up the server, as in this example.  You may get the  below error.</p>
<blockquote><p>SUNW-MSG-ID: ZFS-8000-D3, TYPE: Fault, VER: 1, SEVERITY: Major<br />
EVENT-TIME: Mon Jul  5 11:54:14 EDT 2010<br />
PLATFORM: SUNW,SPARC-Enterprise, CSN: PX654321, HOSTNAME: Andrew-Lin<br />
SOURCE: zfs-diagnosis, REV: 1.0<br />
EVENT-ID: 33e5a9f1-49ac-6ebc-f2a9-dff25dea6b86<br />
DESC: A ZFS device failed.  Refer to http://sun.com/msg/ZFS-8000-D3 for more information.<br />
AUTO-RESPONSE: No automated response will occur.<br />
IMPACT: Fault tolerance of the pool may be compromised.<br />
REC-ACTION: Run &#8216;zpool status -x&#8217; and replace the bad device.</p>
<p>http://sun.com/msg/ZFS-8000-D3fameserverq9{root}: zpool status -x<br />
  pool: epool<br />
 state: UNAVAIL<br />
status: One or more devices could not be opened.  There are insufficient<br />
        replicas for the pool to continue functioning.<br />
action: Attach the missing device and online it using &#8216;zpool online&#8217;.<br />
   see: http://www.sun.com/msg/ZFS-8000-3C<br />
 scrub: none requested<br />
config:</p>
<p>        NAME                                       STATE     READ WRITE CKSUM<br />
        epool                                      UNAVAIL      0     0     0  insufficient replicas<br />
          c3t60060E8005652C000000652C00002100d0s7  UNAVAIL      0     0     0  cannot open</p></blockquote>
<p>The above error is caused by the zpool.cache file.  This file contains the old paths of the disks from the previous server. The default  behavior of Solaris 10 is to read the path from the zpool.cache file to speed up the boot sequence.  You should delete this file and the  system will recreate a fresh one during the boot up sequence.</p>
<p>Below are the steps to rename the zpool.cache file.</p>
<blockquote><p># cd /mnt/etc/zfs<br />
# ls<br />
zpool.cache<br />
# mv zpool.cache zpool.cache.old</p></blockquote>
<p>Now you need to reverse the changed you applied to the mountpoint earlier. Make sure that you change directory out of /mnt to /, otherwise  the set mountpoint command will fail with the error device busy.  Ignore the cannot mount &#8216;/&#8217;: directory is not empty message.</p>
<blockquote><p># zfs set mountpoint=/ rpool/ROOT/zfsboot<br />
cannot mount &#8216;/&#8217;: directory is not empty<br />
property may be set but unable to remount filesystem                            </p></blockquote>
<p>Confirm that the mount points were changed.</p>
<blockquote><p># zfs list<br />
NAME                                     USED  AVAIL  REFER  MOUNTPOINT<br />
epool                                    260G   205G    21K  /epool<br />
rpool                                   7.74G  17.4G    99K  /rpool<br />
rpool/ROOT                              4.74G  17.4G    21K  legacy<br />
rpool/ROOT/zfsboot                      4.74G  17.4G  4.48G  /<br />
rpool/ROOT/zfsboot/var                   139M  17.4G   105M  /var<br />
rpool/dump                              1.00G  17.4G  1.00G  -<br />
rpool/swap                              2.00G  19.4G    16K  -</p></blockquote>
<p>Shutdown the server.</p>
<blockquote><p># init 0
                            </p></blockquote>
<p>Now set the boot device in EEPROM.</p>
<blockquote><p>setenv boot-device /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk@w50060e80058c7b10,1:a</p></blockquote>
<p>The server is ready to be booted with the boot command.</p>
<blockquote><p>{0} ok boot</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2010/07/booting-up-solaris-10-from-a-san-replicated-lun-on-a-different-sun-sparc-server/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Changing the default boot device on a Sparc server</title>
		<link>http://www.gamescheat.ca/2010/03/changing-the-default-boot-device-on-a-sparc-server/</link>
		<comments>http://www.gamescheat.ca/2010/03/changing-the-default-boot-device-on-a-sparc-server/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 17:21:36 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Sparc]]></category>
		<category><![CDATA[SUN]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=799</guid>
		<description><![CDATA[You can display and change the default boot device on a SUN Sparc server from the eeprom console. List the bootable devices with the devalias command, ok devalias cdrom /pci@0,600000/pci@0/pci@0/scsi@0/disk@4,0:f net /pci@0,600000/pci@0/pci@1/pci@0/network@4 disk /pci@0,600000/pci@0/pci@0/scsi@0/disk@0 name aliases List the current boot device. ok printenv boot-device boot-device = disk Change the boot device from disk to network. [...]]]></description>
			<content:encoded><![CDATA[<p>You can display and change the default boot device on a SUN Sparc server from the eeprom console.</p>
<p>List the bootable devices with the devalias command,</p>
<blockquote><p>ok devalias<br />
cdrom                    /pci@0,600000/pci@0/pci@0/scsi@0/disk@4,0:f<br />
net                      /pci@0,600000/pci@0/pci@1/pci@0/network@4<br />
disk                     /pci@0,600000/pci@0/pci@0/scsi@0/disk@0<br />
name                     aliases
</p></blockquote>
<p>List the current boot device.</p>
<blockquote><p>ok printenv boot-device<br />
boot-device =           disk </p></blockquote>
<p>Change the boot device from disk to network.</p>
<blockquote><p>ok setenv boot-device net<br />
boot-device =           net
</p></blockquote>
<p>Verify the change.</p>
<blockquote><p>ok printenv boot-device<br />
boot-device =           net</p></blockquote>
<p>Save the change.</p>
<blockquote><p>ok reset-all </p></blockquote>
<p>After the server rests, boot from he device</p>
<blockquote><p>ok boot</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2010/03/changing-the-default-boot-device-on-a-sparc-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to list the type of fiber channel card and it&#8217;s WWN info in AIX</title>
		<link>http://www.gamescheat.ca/2010/01/how-to-list-the-type-of-fiber-channels-cards-and-its-wwn-info-in-aix/</link>
		<comments>http://www.gamescheat.ca/2010/01/how-to-list-the-type-of-fiber-channels-cards-and-its-wwn-info-in-aix/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 11:00:51 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Aix]]></category>
		<category><![CDATA[Fiber Channel]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=749</guid>
		<description><![CDATA[I needed to find out the type of fiber channel HBA cards installed in the Aix server. Here are the commands I used to find the information, Use the lsdev command to list the fiber channel cards (HBA) installed in the Aix server. Depending on the version of aix one or all of the commands [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to find out the type of fiber channel HBA cards installed in the Aix server.  Here are the commands I used to find the information,</p>
<p>Use the lsdev command to list the fiber channel cards (HBA) installed in the Aix server. Depending on the version of aix one or all of the commands below should work.</p>
<p>:/root > lsdev -C | grep fcs<br />
fcs0       Available 04-08         FC Adapter<br />
fcs1       Available 07-08         FC Adapter<br />
fcs2       Available 0A-08         FC Adapter<br />
fcs3       Available 0B-08         FC Adapter</p>
<p>OR</p>
<p>:/root > lscfg -vp | grep fcs<br />
  fcs2             U787B.001.DNW19B5-P1-C1-T1<br />
FC Adapter<br />
  fcs3             U787B.001.DNW19B5-P1-C2-T1<br />
FC Adapter<br />
  fcs0             U787B.001.DNW19B5-P1-C3-T1<br />
FC Adapter<br />
  fcs1             U787B.001.DNW19B5-P1-C5-T1<br />
FC Adapter                                                    </p>
<p>OR</p>
<p>itsm:/root > lsdev -Ccadapter | grep fcs<br />
fcs0      Available 04-08 FC Adapter<br />
fcs1      Available 07-08 FC Adapter<br />
fcs2      Available 0A-08 FC Adapter<br />
fcs3      Available 0B-08 FC Adapter                  </p>
<p>To find the WWN info for the Fc interface use the lscfg command.  The Network Address is the WWN, e.g. Network Address&#8230;&#8230;&#8230;&#8230;.10000000C942E65C.<br />
The firmware level is Device Specific.(Z9)&#8230;&#8230;..TS1.91A5.</p>
<p>:/root > lscfg -vl fcs0<br />
  fcs0             U787B.001.DNW19B5-P1-C3-T1  FC Adapter                       </p>
<p>        Part Number&#8230;&#8230;&#8230;&#8230;&#8230;..80P4543<br />
        EC Level&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..A<br />
        Serial Number&#8230;&#8230;&#8230;&#8230;&#8230;1F4500AC78<br />
        Manufacturer&#8230;&#8230;&#8230;&#8230;&#8230;.001F<br />
        Feature Code/Marketing ID&#8230;280B<br />
        FRU Number&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;     80P4544<br />
        Device Specific.(ZM)&#8230;&#8230;..3<br />
        Network Address&#8230;&#8230;&#8230;&#8230;.10000000C942E65C<br />
        ROS Level and ID&#8230;&#8230;&#8230;&#8230;02881955<br />
        Device Specific.(Z0)&#8230;&#8230;..1001206D<br />
        Device Specific.(Z1)&#8230;&#8230;..00000000<br />
        Device Specific.(Z2)&#8230;&#8230;..00000000<br />
        Device Specific.(Z3)&#8230;&#8230;..03000909<br />
        Device Specific.(Z4)&#8230;&#8230;..FF801413<br />
        Device Specific.(Z5)&#8230;&#8230;..02881955<br />
        Device Specific.(Z6)&#8230;&#8230;..06831955<br />
        Device Specific.(Z7)&#8230;&#8230;..07831955<br />
        Device Specific.(Z8)&#8230;&#8230;..20000000C942E65C<br />
        Device Specific.(Z9)&#8230;&#8230;..TS1.91A5<br />
        Device Specific.(ZA)&#8230;&#8230;..T1D1.91A5<br />
        Device Specific.(ZB)&#8230;&#8230;..T2D1.91A5<br />
        Device Specific.(YL)&#8230;&#8230;..U787B.001.DNW19B5-P1-C3-T1              </p>
<p>The command lsmcode will display the firmware and microcode level.<br />
:/root > lsmcode -d fcs0</p>
<p>Below is the command to list the fileset.</p>
<p>:/root > lslpp -l | grep &#8220;FC Adapter&#8221;<br />
  devices.pci.77101223.com  5.3.0.51  APPLIED    PCI FC Adapter (77101223)<br />
                            5.3.0.50  APPLIED    PCI FC Adapter (77101223)<br />
  devices.pci.77101223.rte  5.3.0.10  COMMITTED  PCI FC Adapter (77101223)<br />
  devices.pci.77102224.com  5.3.0.51  APPLIED    PCI-X FC Adapter (77102224)<br />
  devices.pci.77102224.diag  5.3.0.0  COMMITTED  PCI-X FC Adapter (77102224)<br />
  devices.pci.77102224.rte  5.3.0.50  APPLIED    PCI-X FC Adapter (77102224)<br />
  devices.pci.df1000f7.com  5.3.0.54  APPLIED    Common PCI FC Adapter Device<br />
                            5.3.0.50  APPLIED    PCI FC Adapter Device<br />
  devices.pci.df1000f7.rte  5.3.0.30  APPLIED    PCI FC Adapter Device Software<br />
  devices.pci.df1000f9.diag  5.3.0.0  COMMITTED  64-bit PCI FC Adapter Device<br />
  devices.pci.df1000f9.rte  5.3.0.30  APPLIED    64-bit PCI FC Adapter Device<br />
  devices.pci.df1000fd.rte  5.3.0.50  APPLIED    4Gb PCI-X FC Adapter Device<br />
  devices.pci.df1080f9.diag  5.3.0.0  COMMITTED  PCI-X FC Adapter Device<br />
  devices.pci.df1080f9.rte  5.3.0.30  APPLIED    PCI-X FC Adapter Device<br />
  devices.pci.77101223.com   5.3.0.0  COMMITTED  PCI FC Adapter (77101223)<br />
  devices.pci.77102224.com   5.3.0.0  COMMITTED  PCI-X FC Adapter (77102224)<br />
  devices.pci.df1000f7.com  5.3.0.54  APPLIED    Common PCI FC Adapter Device<br />
  devices.pci.df1000f7.diag  5.3.0.0  COMMITTED  PCI FC Adapter Device<br />
  devices.pci.df1000f7.rte   5.3.0.0  COMMITTED  PCI FC Adapter Device Software </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2010/01/how-to-list-the-type-of-fiber-channels-cards-and-its-wwn-info-in-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade or downgrade ScreenOS using either the WebUI or CLI</title>
		<link>http://www.gamescheat.ca/2009/06/how-to-upgrade-or-downgrade-screenos-using-either-the-webui-or-cli/</link>
		<comments>http://www.gamescheat.ca/2009/06/how-to-upgrade-or-downgrade-screenos-using-either-the-webui-or-cli/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:32:02 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Juniper]]></category>
		<category><![CDATA[Netscreen]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=388</guid>
		<description><![CDATA[I tried uploading the Juniper 5GT screenOS file name ns5gt.6.2.0r2.0 via the WebUI interface. But it kept failing with the error message &#8220;File too big or empty&#8221;. I then had to upgrade the screenOS or firmware through the command line interface of CLI. I downloaded the TFTP server for Windows from Solar Winds, it is [...]]]></description>
			<content:encoded><![CDATA[<p>I tried uploading the Juniper 5GT screenOS file name ns5gt.6.2.0r2.0 via the WebUI interface.  But it kept failing with the error message &#8220;File too big or empty&#8221;.   I then had to upgrade the screenOS or firmware through the command line interface of CLI.</p>
<p>I downloaded the TFTP server for Windows from Solar Winds, it is free to use.  Copy the new firmware to the default path of the TFTP server, which is c:\TFTP-Root.</p>
<p>Follow the instructions to upgrade via CLI below.  This is an excerpt from Junipers knowledge base.</p>
<p>How to upgrade or downgrade ScreenOS using either the WebUI or CLI</p>
<p>Synopsis:</p>
<p>Steps to upgrade or downgrade ScreenOS from the WebUI and CLI</p>
<p>Problem:</p>
<p>Basic steps for upgrading or downgrading ScreenOS</p>
<p>Solution:</p>
<p>Below is the basic guideline for the upgrading or downgrading ScreenOS.   For a complete guide, including requirements and restrictions, consult the Migration Procedure section in the ScreenOS release notes (for ScreenOS 5.3 and 5.4) or the ScreenOS Migration Guide (for ScreenOS 5.2 and earlier).</p>
<p>Upgrading / Downgrading from the WebUI<br />
( click here for CLI instructions )</p>
<p>Perform the following steps to upgrade the firmware using the WebUI: </p>
<p> Save Configuration file</p>
<p>Caution! Before upgrading or downgrading a security device, save the existing configuration file to avoid losing any data. </p>
<p>Log in to the security device by opening a Web browser and then entering the Management IP address in the Address field. Log in as the root admin or an admin with read-write privileges. </p>
<p>Save the existing configuration:<br />
Go to Configuration > Update > Config File, and then click Save to File<br />
In the File Download dialog box, click Save.<br />
Navigate to the location where you want to save the configuration file (cfg.txt), and then click Save.<br />
 Upgrading or downgrading Firmware </p>
<p>Go to Configuration > Update > ScreenOS/Keys and select Firmware Update. </p>
<p>Click Browse to navigate to the location of the firmware “xxxxx.5.0.0r10’<br />
(where xxxx corresponds to the device model) or type the path to its location in the Load File field. </p>
<p>Click Apply. </p>
<p>Click OK to continue.<br />
The security device restarts automatically. The upgrade or downgrade is complete when the device displays the login page in the browser.<br />
Note: This process takes some time. DO NOT click Cancel or the upgrade /downgrade will fail. If you click Cancel and the upgrade fails, power off the device and then power it on again. Restart the upgrade procedure from step 2. </p>
<p>Log in to the security device. You can verify the version of the security device ScreenOS firmware in the Device Information section of the WebUI Home page.<br />
 Upgrading to the New ScreenOS Firmware </p>
<p>Go to Configuration > Update > ScreenOS/Keys and select Firmware Update. </p>
<p>Click Browse to navigate to the location of the new ScreenOS firmware or type the path to its location in the Load File field. </p>
<p>Click Apply.<br />
A message box appears with information. </p>
<p>Click OK to continue.<br />
The security device restarts automatically. The upgrade is complete when the device displays the login page in the browser. </p>
<p>Log in to the security device. You can verify the version of the security device ScreenOS firmware in the Device Information section of the WebUI Home page. </p>
<p>Upgrading/Downgrading from the CLI<br />
Perform the following steps to upgrade or downgrade the firmware using the CLI: </p>
<p>Make sure that you have the ScreenOS firmware “xxxx.5.0.0r10” (where xxxx corresponds to the device model). </p>
<p>Run the TFTP server on your computer by double-clicking on the TFTP server application. </p>
<p>Log in to the security device using an application such as Telnet or Secure Shell (SSH) or Hyper Terminal if directly connected through the console port. Log in as the root admin or an admin with read-write privileges. </p>
<p>Save the existing configuration by executing the command:<br />
save config to { flash | slot1 | tftp }&#8230; </p>
<p>On the security device, enter the following command:<br />
save soft from tftp ip_addr filename to flash<br />
where:<br />
ip_addr is the IP address of your computer<br />
filename is the name of the ScreenOS firmware. </p>
<p>When the upgrade or downgrade is complete, you must reset the security device.<br />
Execute the reset command and enter y at the prompt to reset the device. </p>
<p>Wait a few minutes, and then log in to the security device again. </p>
<p>Use the get system command to verify the version of the security device ScreenOS firmware. </p>
<p>Upload the configuration file that you saved in step 3 by executing the command:<br />
save config to { flash | slot1 | tftp }&#8230;<br />
Note: when downgrading from major release you might have to run exec downgrade command before reset. Please check the Migration Guide for details.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/06/how-to-upgrade-or-downgrade-screenos-using-either-the-webui-or-cli/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to create a virtual disk with the Dell OpenManage Server Admnistrator.</title>
		<link>http://www.gamescheat.ca/2009/04/how-to-create-a-virtual-disk-with-the-dell-openmanage-server-admnistrator/</link>
		<comments>http://www.gamescheat.ca/2009/04/how-to-create-a-virtual-disk-with-the-dell-openmanage-server-admnistrator/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 16:20:03 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[Microsoft Windows Server]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=208</guid>
		<description><![CDATA[Open the Dell OpenManage Server Administrator Click on System &#8211; Storage &#8211; PERC 5/E Adapter (PCI Slot 1) &#8211; Connector 0 (RAID) &#8211; Enclosure &#8211; Physical Disks. This will display all the Disk Drives in the right window. Under the column Available RAID DISK Space, you should be able to determine if there is any [...]]]></description>
			<content:encoded><![CDATA[<p>Open the Dell OpenManage Server Administrator</p>
<p>Click on System &#8211; Storage &#8211; PERC 5/E Adapter (PCI Slot 1) &#8211; Connector 0 (RAID) &#8211; Enclosure &#8211; Physical Disks.</p>
<p>This will display all the Disk Drives in the right window.</p>
<p>Under the column Available RAID DISK Space, you should be able to determine if there is any unused disk. Make a note of the name of the disks that are avaiable, this would be under the column Name.  Such as &#8220;Physical Disk 0.0.0&#8243; and &#8220;Physical DISK 0.0.1&#8243;.  You will need to this information when creating the RAID volume.</p>
<p>Go to Click on System &#8211; Storage &#8211; PERC 5/E Adapter (PCI Slot 1) &#8211; Connector 0 (RAID) &#8211; Virtual Disks.  On the right screen you should see any existing virtual disks.</p>
<p>Click on Go To Create Virtual Disk Wizard, then click on Go To Advanced Wizard.  You will be presented with the option to create Raid 0, Raid 1, Raid 5, Raid 10 and Raid 50.  The options may differ depending on the firmware and type of PERC controller.</p>
<p>In this case I want to create a RAID 5 volume, which is striping with distributed parity. You need a minumum of 3 hard disks for Raid 5. The storage size equal to one disk is used for parity.  So if you have 3 disks then the usable space is equal to the total of 2 disks.</p>
<p>Slect Raid 5 and click on Continue.  This will display only the physical disks that are avaiable. Check all the Physical Disks that you wish to add to your virtual Disk, then click on Continue.</p>
<p>You can now give the virtual disk an optional name. Leave the defaults and click on Continue.</p>
<p>When creating virtual disk that is larger than 2 TB in size, you will be prompted with a warning message. &#8220;Please verify that your operating system, including any updates or modifications, supports a virtual disk of this size.  Do you want to proceed?&#8221;. Click on OK to continue.</p>
<p>You will now be presented with the configuration summary.  Click on Finish.</p>
<p>The new virtual disk should now appear in the list.  Note the Device Name of the new virtual disk you just created, e.g. Windows Disk 2.  You will need this information when configuring the new virtual disk in Windows Disk Management MMC.  Under the progress column you will see the status of the new disk volume, this may take many hours to complete if the volume is many terra bytes large.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/04/how-to-create-a-virtual-disk-with-the-dell-openmanage-server-admnistrator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configuring NAT on the Cisco PIX or ASA firewalls.</title>
		<link>http://www.gamescheat.ca/2009/04/configuring-nat-on-the-cisco-pix-or-asa-firewalls/</link>
		<comments>http://www.gamescheat.ca/2009/04/configuring-nat-on-the-cisco-pix-or-asa-firewalls/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 15:28:33 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[ASA]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[PIX]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=202</guid>
		<description><![CDATA[If you do not want to expose your server&#8217;s IP address to an external client you can use Network Address Tranalation (NAT) to hide it. For example if your servers IP address is 192.168.0.10 then you can publish it to an external client as 10.0.0.10. The reason you would do this is to enhance the [...]]]></description>
			<content:encoded><![CDATA[<p>If you do not want to expose your server&#8217;s IP address to an external client you can use Network Address Tranalation (NAT) to hide it.  For example if your servers IP address is 192.168.0.10 then you can publish it to an external client as 10.0.0.10.  The reason you would do this is to enhance the security of your server, you want to make the hacker earn their self pride or whatever it is that motivates them.</p>
<p>There are many ways to achieve this, NAT, VIP, MIP etc.  In this article I will explain NAT (natting) on a Cisco PIX, ASA or router.</p>
<p>First you need to log onto the firewall or router.  Enter en (enable) to get into the privilege mode, you will then be prompted for the password.  Enter Config T to get into the configure terminal mode.  You can now start confguring the network appliance.</p>
<p>Below is what your should see in the running config after you complete the configuration.</p>
<p><strong>static (inside,outside) 172.210.10.10 11.12.13.10 netmask 255.255.255.255 0 0 </strong></p>
<p>The above line means that the IP address 172.210.10.10 (outside interface) is mapped to 11.12.13.10 (inside interface).  Clients in the outside interface will connect to resources on 11.12.13.10 by referencing the natted (NAT) IP 172.210.10.10.</p>
<p>You also need to configure the access list or policy to allow traffic from the outside interface to flow into the inside interface.  The access list then needs to be applied to the outside intefrace.</p>
<p><strong>access-list Allowed_Traffic permit tcp host any host 172.210.10.10 eq www log</strong></p>
<p>The above means that the name of the access list is Allowed_Traffic.  Permit TCP traffic from any host to 172.210.10.10, only allow if service request is for www (TCP port 80), and log all traffic.</p>
<p>You then need to apply the access list to the outside interface.</p>
<p><strong>access-group Allowed_Traffic in interface outside</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/04/configuring-nat-on-the-cisco-pix-or-asa-firewalls/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TCP ports opened on firewall for Dell Remote Access Card &#8211; DRAC.</title>
		<link>http://www.gamescheat.ca/2009/04/tcp-ports-opened-firewall-for-dell-remote-access-card-drac/</link>
		<comments>http://www.gamescheat.ca/2009/04/tcp-ports-opened-firewall-for-dell-remote-access-card-drac/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 16:13:20 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Dell Remote Access Card - DRAC]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[TCP Ports]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=132</guid>
		<description><![CDATA[The Dell Remote Access Card (DRAC) communicates via the following ports: 22 Secure Shell, SSH 23 Telnet 80 http 443 https 161 SNMP 3668 Virtual Media Server 5900 Console Redirection 5901 Console Redirection If you have a firewall in between you and the server, ensure that you have the above ports opened.]]></description>
			<content:encoded><![CDATA[<p>The Dell Remote Access Card (DRAC) communicates via the following ports:</p>
<p>22 Secure Shell, SSH<br />
23 Telnet<br />
80 http<br />
443 https<br />
161 SNMP<br />
3668 Virtual Media Server<br />
5900 Console Redirection<br />
5901 Console Redirection</p>
<p>If you have a firewall in between you and the server, ensure that you have the above ports opened.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/04/tcp-ports-opened-firewall-for-dell-remote-access-card-drac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Default Password for Dell Remote Access Card (DRAC)</title>
		<link>http://www.gamescheat.ca/2009/04/default-password-for-dell-remote-access-card-drac/</link>
		<comments>http://www.gamescheat.ca/2009/04/default-password-for-dell-remote-access-card-drac/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 17:20:33 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Dell Remote Access Card - DRAC]]></category>
		<category><![CDATA[DNS Server]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=122</guid>
		<description><![CDATA[The default userid for the Dell remote access card (DRAC) is root and the password is calvin. The DRAC module makes the life of the server administrator easy, you can remotely power cycle the server as if you were standing next to it. You can do pretty much everything as if you were standing at [...]]]></description>
			<content:encoded><![CDATA[<p>The default userid for the Dell remote access card (DRAC) is root and the password is calvin.</p>
<p>The DRAC module makes the life of the server administrator easy, you can remotely power cycle the server as if you were standing next to it.  You can do pretty much everything as if you were standing at the server&#8217;s console.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/04/default-password-for-dell-remote-access-card-drac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

