<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-28219144</id><updated>2011-12-15T02:41:50.027Z</updated><title type='text'>solaris guide</title><subtitle type='html'>A Practical guide for Solaris system administrator.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28219144.post-3627120074390937064</id><published>2007-11-21T10:47:00.000Z</published><updated>2007-11-21T11:18:16.968Z</updated><title type='text'>Veritas Cluster Command Reference</title><content type='html'>Term/Cmd/Pkg                                                   Description                                                                       &lt;br /&gt;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-&lt;br /&gt;VRTSvcs                                         VERITAS Cluster Server&lt;br /&gt;VRTSvcswz                               VERITAS Cluster Server Wizard&lt;br /&gt;VRTScsga                                     VERITAS Cluster Server Graphical Administrator&lt;br /&gt;VRTSgab                                        VERITAS Group Membership and Atomic Broadcast&lt;br /&gt;VRTSllt                           VERITAS Low Latency Transport&lt;br /&gt;VRTSvcsor                                  VERITAS Cluster Server Oracle Enterprise Extension&lt;br /&gt;VRTSvcssy                                  VERITAS Cluster Server Sybase Enterprise Extension&lt;br /&gt;VRTSperl                                        VERITAS Perl for VRTSvcs&lt;br /&gt;&lt;br /&gt;Cluster                                              Name of your HA environment&lt;br /&gt;Nodes                                                 Physical systems that make up the cluster&lt;br /&gt;Service group                       Abstract container of related resources&lt;br /&gt;Resource             Cluster components (i.e. NICs, IPs, disk groups, volumes, mounts, processes,                                   etc...)&lt;br /&gt;Attributes           Parameter values that define the resources&lt;br /&gt;Dependencies     Links between resources or service groups&lt;br /&gt;&lt;br /&gt;Cluster Mgr    Cluster Monitor : Log in, add clusters, change preferences&lt;br /&gt;Cluster Mgr    Cluster Explorer: Monitor systems, service grps, resources, attributes &amp;amp;                                           dependencies     &lt;br /&gt;Cluster Mgr    Log Desk        : Monitor log messages received from engine, view GUI commands&lt;br /&gt;Cluster Mgr    Command Center  : Build VCS commands and send to engine&lt;br /&gt;LLT                  Low Latency transport provides fast kernel-kernel comm. &amp;amp; monitors network                                 connx.&lt;br /&gt;GAB                 Grp membership &amp;amp; Atomic Broadcast maintains a synch. state &amp;amp; monitors disk                               comm.&lt;br /&gt;&lt;br /&gt;Config files   VCS etc directory                        $VCSETC=/etc/VRTSvcs&lt;br /&gt;Config files   VCS configuration directories            $VCSCONF=/etc/VRTSvcs/conf/config&lt;br /&gt;Binary files   VCS opt directory                        $VCSOPT=/opt/VRTSvcs&lt;br /&gt;Binary files   VCS binary path                          $VCSBIN=/opt/VRTSvcs/bin&lt;br /&gt;Log files      VCS log path                             $VCSLOG=/var/VRTSvcs/log&lt;br /&gt;Config files   VCS configuration file                   /etc/VRTSvcs/conf/config/main.cf&lt;br /&gt;LLT tab file   LLT configuration file                   /etc/llttab&lt;br /&gt;LLT hosts file LLT host name database                   /etc/llthosts&lt;br /&gt;GAB file       Grp membership &amp;amp; Atomic Broadcast file   /etc/gabtab&lt;br /&gt;&lt;br /&gt;quick-start    VCS Quick-start wizard                   # $VCS_HOME/wizards/config/quick_start&lt;br /&gt;quick-NFS      VCS Quick-NFS wizard                     # $VCS_HOME/wizards/services/quick_nfs&lt;br /&gt;llt            Verify LLT                               # /sbin/llstat -n&lt;br /&gt;llt            Get interface MAC Address                # /opt/VRTSllt/getmac device_name&lt;br /&gt;llt            Check network connectivity               # /opt/VRTSllt/dlpiping -s|-c -v device_name&lt;br /&gt;gab            Verify GAB                               # /sbin/gabconfig -a ; /sbin/gabconfig -l&lt;br /&gt;hasys          List systems in cluster                  # /opt/VRTSvcs/bin/hasys -list&lt;br /&gt;hasys          Detailed info on each cluster node       # /opt/VRTSvcs/bin/hasys -display                                     (sysname)&lt;br /&gt;hasys          Increase system count in gabtab startup  # /opt/VRTSvcs/bin/hasys -add                                     (sysname)&lt;br /&gt;hasys          Delete a system                          # /opt/VRTSvcs/bin/hasys -delete (sysname)&lt;br /&gt;hastart        Start VCS cluster                        # /opt/VRTSvcs/bin/hastart&lt;br /&gt;hastart        Force start a stale VCS cluster          # /opt/VRTSvcs/bin/hastart -force -stale&lt;br /&gt;hastop         Stop VCS on all systems                  # /opt/VRTSvcs/bin/hastop -all&lt;br /&gt;hastop         Stop VCS had, keep srvc-groups running   # /opt/VRTSvcs/bin/hastop -local -force&lt;br /&gt;hastop         Stop VCS, migrate srvc-groups to sysname # /opt/VRTSvcs/bin/hastop -sys                                   (sysname) -evacuate&lt;br /&gt;hastatus       Provide continual status of service grps # /opt/VRTSvcs/bin/hastatus&lt;br /&gt;hastatus       Verify status of service groups          # /opt/VRTSvcs/bin/hastatus -summary&lt;br /&gt;hacf           Check for syntax errors in main.cf       # /opt/VRTSvcs/bin/hacf -verify                                             /etc/VRTSvcs/conf/config/main.cf&lt;br /&gt;hacf           Generate dependency tree in main.cf      # /opt/VRTSvcs/bin/hacf -generate                                 /etc/VRTSvcs/conf/config/main.cf&lt;br /&gt;&lt;br /&gt;hares          List all resources                           # /opt/VRTSvcs/bin/hares -list&lt;br /&gt;hares          List a resource's dependencies           # /opt/VRTSvcs/bin/hares -dep                                             (resource_name)&lt;br /&gt;hares          Get detailed info on a resource          # /opt/VRTSvcs/bin/hares -display (resource)&lt;br /&gt;hares          Add a resource                           # /opt/VRTSvcs/bin/hares -add (resource_name                              (resource_type (service_group)&lt;br /&gt;hares          Modify attributes of the new resource    # /opt/VRTSvcs/bin/hares -modify                                 (resource_name (attribute_name (value)&lt;br /&gt;hares          Delete a resource                        # /opt/VRTSvcs/bin/hares -delete (resource_name)&lt;br /&gt;hares          Online a resource                        # /opt/VRTSvcs/bin/hares -online (resource_name)                     -sys (system_name)&lt;br /&gt;hares          Offline a resource                       # /opt/VRTSvcs/bin/hares -offline (resource_name)                     -sys (system_name)&lt;br /&gt;hares          Monitor resource on a system             # /opt/VRTSvcs/bin/hares -probe                                         (resource_name) -sys (system_name)&lt;br /&gt;hares          Clear a faulted resource                 # /opt/VRTSvcs/bin/hares -clear                                                 (resource_name) [-sys system_name]&lt;br /&gt;hares          Make a resource's attribute value local  # /opt/VRTSvcs/bin/hares -local                                         (resource_name) (attribute_name) value)&lt;br /&gt;hares          Make a resource's attribute value global # /opt/VRTSvcs/bin/hares -global                                     (resource_name) (attribute_name) value)&lt;br /&gt;hares          Specify a dependency between 2 resources # /opt/VRTSvcs/bin/hares -link                                 (parent_res) (child_res)&lt;br /&gt;hares          Remove dependency between 2 resources    # /opt/VRTSvcs/bin/hares -unlink                             (parent_res) (child_res)&lt;br /&gt;hares          Modify a Share res. by adding options    # /opt/VRTSvcs/bin/hares                                                 Share_cicgt-as4-p_apps Options "%-o rw,root=dcsa-cln1"&lt;br /&gt;&lt;br /&gt;hagrp          List all service groups                  # /opt/VRTSvcs/bin/hagrp -list&lt;br /&gt;hagrp          List a service group's resources         # /opt/VRTSvcs/bin/hagrp -resources                                     [service_group]&lt;br /&gt;hagrp          List a service group's dependencies      # /opt/VRTSvcs/bin/hagrp -dep                                         [service_group]&lt;br /&gt;hagrp          Detailed info about a service group      # /opt/VRTSvcs/bin/hagrp -display                                     [service_group]&lt;br /&gt;hagrp          Start service group, bring res. online   # /opt/VRTSvcs/bin/hagrp -online                                     (service_group) -sys (system_name)&lt;br /&gt;hagrp          Stop service group, bring res. offline   # /opt/VRTSvcs/bin/hagrp -offline (service_g ourp) -sys (system_name)&lt;br /&gt;&lt;br /&gt;hagrp          Switch service group between nodes       # /opt/VRTSvcs/bin/hagrp -switch (service_group) -to (system_name)&lt;br /&gt;&lt;br /&gt;hagrp          Freeze svcgroup, (disable onl. &amp;amp; offl.)  # /opt/VRTSvcs/bin/hagrp -freeze (service_group) [-persistent]&lt;br /&gt;&lt;br /&gt;hagrp          Thaw a svcgroup, (enable onl. &amp;amp; offl.)   # /opt/VRTSvcs/bin/hagrp -unfreeze (service_group) [-persistent]&lt;br /&gt;&lt;br /&gt;hagrp          Enable a service group                   # /opt/VRTSvcs/bin/hagrp -enable (service_group) [-sys system_name]&lt;br /&gt;&lt;br /&gt;hagrp          Disable a service group                  # /opt/VRTSvcs/bin/hagrp -disable (service_group) [-sys system_name]&lt;br /&gt;&lt;br /&gt;hagrp          Enable all resources in a service group  # /opt/VRTSvcs/bin/hagrp -enableresources (service_group)&lt;br /&gt;&lt;br /&gt;hagrp          Disable all resources in a service group # /opt/VRTSvcs/bin/hagrp -disableresources (service_group)&lt;br /&gt;&lt;br /&gt;hagrp          Specify dependenciy between 2 svc groups # /opt/VRTSvcs/bin/hagrp -link (parent_group) (child_group) (relationship)&lt;br /&gt;&lt;br /&gt;hagrp          Remove dependenciy between 2 svc groups  # /opt/VRTSvcs/bin/hagrp -unlink (parent_group) (child_group)&lt;br /&gt;&lt;br /&gt;hagrp          Auto-Enable a servicegroup marked        # /opt/VRTSvcs/bin/hagrp -autoenable (service_group) [-sys system_name]&lt;br /&gt;             disabled due to prob with system_name.&lt;br /&gt;&lt;br /&gt;hatype         List resource types                      # /opt/VRTSvcs/bin/hatype -list&lt;br /&gt;hatype         Detailed info on a resource type         # /opt/VRTSvcs/bin/hatype -display (resource_type)&lt;br /&gt;&lt;br /&gt;hatype         List all resources of a part. type       # /opt/VRTSvcs/bin/hatype -resources (resource_type)&lt;br /&gt;&lt;br /&gt;hatype         Add a resource type                      # /opt/VRTSvcs/bin/hatype -add (resource_type)&lt;br /&gt;&lt;br /&gt;hatype         Set static attribute values              # /opt/VRTSvcs/bin/hatype -modify ...&lt;br /&gt;&lt;br /&gt;hatype         Delete a resource type                   # /opt/VRTSvcs/bin/hatype -delete (resource_type)&lt;br /&gt;&lt;br /&gt;haattr         Add Attribute to a Type definition       # /opt/VRTSvcs/bin/haattr -add (resource_type) (attribute_name) (attribute_type -integer, -string, -vector)&lt;br /&gt;&lt;br /&gt;haattr         Delete a Entry in a Type definition      # /opt/VRTSvcs/bin/haattr -delete (resource_type) (attribute_name)&lt;br /&gt;&lt;br /&gt;haconf         Set VCS configuration file to r/w mode   # /opt/VRTSvcs/bin/haconf -makerw&lt;br /&gt;&lt;br /&gt;haconf         Set VCS configuration file to read mode  # /opt/VRTSvcs/bin/haconf -dump&lt;br /&gt;-makero&lt;br /&gt;&lt;br /&gt;hauser         Add a user with r/w access to VCS        # /opt/VRTSvcs/bin/hauser -add (user_name)&lt;br /&gt;&lt;br /&gt;hauser         Add a user with read access only to VCS  # /opt/VRTSvcs/bin/hauser -add&lt;br /&gt;VCSGuest&lt;br /&gt;hauser         Update a user                            # /opt/VRTSvcs/bin/hauser -update (user_name)&lt;br /&gt;hauser         Delete a user                            # /opt/VRTSvcs/bin/hauser -delete (user_name)&lt;br /&gt;hauser         Display all users                        # /opt/VRTSvcs/bin/hauser -display&lt;br /&gt;&lt;br /&gt;haagent        Start agents manually                    # haagent -start (agent_name) -sys (system_name)&lt;br /&gt;&lt;br /&gt;haagent        Stop agents manually                     # haagent -stop (agent_name) -sys (system_name)&lt;br /&gt;hagui          Start Cluster Manager                    # /opt/VRTSvcs/bin/hagui&lt;br /&gt;hagui          Start Cluster Manager in debug mode      # /opt/VRTSvcs/bin/hagui -D&lt;br /&gt;&lt;br /&gt;Product Terminology comparisons&lt;br /&gt;Sun SC 2.2            Veritas VCS 1.1&lt;br /&gt;------------------------------------------------------&lt;br /&gt;cluster name                    cluster name&lt;br /&gt;admin workstation               -&lt;br /&gt;physical node A                 local system&lt;br /&gt;physical node B                 remote system&lt;br /&gt;physical node IP address        maintenance IP address&lt;br /&gt;logical host                    service group&lt;br /&gt;logical host IP address         service group IP address&lt;br /&gt;-                               resources&lt;br /&gt;disk group                      disk group&lt;br /&gt;private heartbeats              communication channels&lt;br /&gt;-                               GAB disk (disk heartbeat)&lt;br /&gt;Quorum disk                     -&lt;br /&gt;Admin filesystem                -&lt;br /&gt;scinstall                       Quick-Start wizard &lt;br /&gt;split-brain                     network partition&lt;br /&gt;&lt;br /&gt;configuration files:&lt;br /&gt;                              /etc/llthosts&lt;br /&gt;                              /etc/llttab&lt;br /&gt;                              /etc/gabtab&lt;br /&gt;                              /etc/VRTSvcs/conf/config/main.cf&lt;br /&gt;                              /etc/VRTSvcs/conf/config/sysname&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-3627120074390937064?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/3627120074390937064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=3627120074390937064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/3627120074390937064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/3627120074390937064'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2007/11/veritas-cluster-command-reference.html' title='Veritas Cluster Command Reference'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-6798205349994570827</id><published>2007-02-09T19:16:00.000Z</published><updated>2007-02-09T19:44:18.994Z</updated><title type='text'>All About Sun Explorer utiltiy</title><content type='html'>&lt;b  style="font-weight: bold; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style=""&gt;What is Sun Explorer Utility?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-family:arial;" &gt;&lt;/span&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;SunTM Explorer Data Collector is a collection of scripts that gather system information, bundles it into a compressed file, and sends it to&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style=""&gt;Sun with your approval&lt;/span&gt;&lt;/span&gt; for troubleshooting.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;How to install this utility?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=""&gt;Explorer requires root privileges to run and root must have privileges to write to the directory in which you install the package.&lt;br /&gt;&lt;/span&gt;&lt;p  style="font-family:arial;"&gt;&lt;span style=""&gt;To unpack Explorer after downloading, take the following steps: &lt;/span&gt; &lt;/p&gt;&lt;p  style="font-family:arial;"&gt;&lt;span style=""&gt;a. # cd /opt/ ; uncompress SUNWexplo.tar.Z and SUNWexplu.tar.Z ; tar -xvf  /opt/SUNWexplo.tar and tar -xvf /opt/SUNWexplu.tar&lt;/span&gt; &lt;/p&gt;&lt;p  style="font-family:arial;"&gt;&lt;span style=""&gt;b. # pkgadd -d . SUNWexplo and # pkgadd -d . SUNWexplu&lt;/span&gt; &lt;/p&gt;&lt;p  style="font-family:arial;"&gt;&lt;span style=""&gt;c. During installation you are asked several questions, including the contract ID, serial number, etc. Please supply your Contract ID, serial number, and Company Name, as this enables us to track the explorer output more effectively.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;How to run this utility?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt; /opt/SUNWexplo/bin/explorer -D -q&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Options&lt;br /&gt;&lt;br /&gt;-D -Delete the uncompressed output directory&lt;br /&gt;-q - Suppress printing of all log messages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The output directory is /opt/SUNWexplo/output and the output file is available in .gz format.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Sun Documents for this utility can be downloaded from this link&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;http://docs.sun.com/app/docs/coll/1554.2&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-6798205349994570827?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/6798205349994570827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=6798205349994570827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/6798205349994570827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/6798205349994570827'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2007/02/all-about-sun-explorer-utiltiy.html' title='All About Sun Explorer utiltiy'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-115798890872342069</id><published>2006-09-11T16:34:00.000+01:00</published><updated>2006-09-11T16:35:09.066+01:00</updated><title type='text'>How to create Solaris FLAR Archive</title><content type='html'>&lt;strong&gt;Pre-Requisites&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There are a number of key pre-requisites to do this process:&lt;br /&gt;&lt;br /&gt;1) Disk space must be available to hold the image(s), and store it/them for a period of time if required.&lt;br /&gt;&lt;br /&gt;2) The server to be imaged must be brought to a controlled halt. This means all the applications must be shut down correctly, databases shut down, and any extraneous server processes halted. This is to ensure that the image can be restored in a controlled manner. If any processes (incl' apps and db) are left running when the image is taken, then bring the server back to operational status after restoring the image will be very problematic.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Create Flash Archive&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A flash archive is created using the flarcreate command.&lt;br /&gt;&lt;br /&gt;1.Ensure all pre-requisites are completed (see above). DO NOT PROCEED until they are completed.&lt;br /&gt;&lt;br /&gt;2.Delete obsolete application log files to reduce the size of the flash&lt;br /&gt;Some application log files can be several Gb in size and are often obsolete, so deleting these can reduce the flash size significantly and subsequently the restore time.&lt;br /&gt;&lt;br /&gt;3.Double check that all applications have been shutdown successfully.&lt;br /&gt;&lt;br /&gt;4.Ensure there is sufficient free disk space to hold the Flash Archive.  If necessary, create a directory in a filesystem with ample space free .&lt;br /&gt;&lt;br /&gt;# mkdir /flash&lt;br /&gt;&lt;br /&gt;5.Then create the flash archive using the flarcreate command:&lt;br /&gt;The flarcreate command is used with the switches listed below.&lt;br /&gt;&lt;br /&gt;-n allows you to specify an internal name&lt;br /&gt;-R specify the root directory (i.e. Creates the archive rooted at the specified file system tree location)&lt;br /&gt;-S skip the disk space check (without this option flarcreate builds a compressed archive in memory first)&lt;br /&gt;-c compresses the archive&lt;br /&gt;-x excludes the file or directory specified (as a default the network configuration files need to be excluded because they interfere with jumpstart)&lt;br /&gt;&lt;br /&gt;Examples&lt;br /&gt;# flarcreate -S -n "server-type-flash" -R / -c -x /flash /flash/`hostname`-flash&lt;br /&gt;# flarcreate -n "210-flash" -R / -S -c -x /flash -x /platform/sun4u/kernel/drv/bge.conf /flash/`hostname`-flash&lt;br /&gt;# flarcreate -n "480R-flash" -R / -S -c -x /flash -x /platform/sun4u/kernel/drv/ce.conf /flash/`hostname`-flash&lt;br /&gt;&lt;br /&gt;This will take between 1 and 4 hours depending on what the server does and on the platform.&lt;br /&gt;&lt;br /&gt;6.  Copy the flash to the relevant Jumpstart server with the following command: &lt;br /&gt;&lt;br /&gt;7.Set the attributes of the flash archive files to Read-Only, to reduce the possibility that it could be accidentally overwritten or deleted. In addition, change the ownership of the flash archive to Root (so that it cannot be changed by anyone without proper authorised access).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-115798890872342069?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/115798890872342069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=115798890872342069' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/115798890872342069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/115798890872342069'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/09/how-to-create-solaris-flar-archive.html' title='How to create Solaris FLAR Archive'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-115783265431937100</id><published>2006-09-09T21:08:00.000+01:00</published><updated>2006-09-09T21:10:54.823+01:00</updated><title type='text'>useful Windows Shortcuts</title><content type='html'>Useful Shortcut: &lt;br /&gt;• Start + M: Minimizes all open windows &lt;br /&gt;• Start + Shift + M: Maximizes All Windows &lt;br /&gt;• Start + E: Runs Windows Explorer &lt;br /&gt;• Start + R: Open the RUN Dialog Box &lt;br /&gt;• Start + F: Open the Search Results Dialog box &lt;br /&gt;• Start + CTRL + F: Opens the Search Results-Computer dialog Box (if the computer is connected to a network) &lt;br /&gt;• Start + Pause (Break): Opens the System Properties Dialog Box &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Windows System Key Combinations: &lt;br /&gt;o F1: Help &lt;br /&gt;o CTRL + ESC: Open Start menu &lt;br /&gt;o ALT + TAB: Switch between open programs &lt;br /&gt;o ALT + F4: Quit program &lt;br /&gt;o SHIFT + DELETE: Delete item permanently &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Windows Program Key Combinations: &lt;br /&gt; CTRL + C: Copy &lt;br /&gt; CTRL + X: Cut &lt;br /&gt; CTRL + V: Paste &lt;br /&gt; CTRL + Z: Undo &lt;br /&gt; CTRL + B: Bold &lt;br /&gt; CTRL + U: Underline &lt;br /&gt; CTRL + I: Italic &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mouse Click/Keyboard Modifier Combinations for Shell Objects: &lt;br /&gt; SHIFT + right click: Displays a shortcut menu containing alternative commands &lt;br /&gt; SHIFT + double click: Runs the alternate default command (the second item on the menu) &lt;br /&gt; ALT + double click: Displays properties &lt;br /&gt; SHIFT + DELETE: Deletes an item immediately without placing it in the Recycle Bin &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;General Keyboard-Only Commands: &lt;br /&gt; F1: Starts Windows Help &lt;br /&gt; F10: Activates menu bar options &lt;br /&gt; SHIFT + F10: Opens a shortcut menu for the selected item (this is the same as right-clicking an object &lt;br /&gt; CTRL + ESC: Opens the Start menu (use the ARROW keys to select an item) &lt;br /&gt; CTRL + ESC or ESC: Selects the Start button (press TAB to select the taskbar, or press SHIFT+F10 for a context menu) &lt;br /&gt; ALT + DOWN ARROW: Opens a drop-down list box &lt;br /&gt; ALT + TAB: Switch to another running program (hold down the ALT key and then press the TAB key to view the task-switching window) &lt;br /&gt; SHIFT: Press and hold down the SHIFT key while you insert a CD-ROM to bypass the automatic-run feature &lt;br /&gt; ALT + SPACE: Displays the main window's System menu (from the System menu, you can restore, move, resize, minimize, maximize, or close the window) &lt;br /&gt; ALT +- (ALT + hyphen): Displays the Multiple Document Interface (MDI)child window's System menu (from the MDI child window's System menu, you can restore, move, resize, minimize, maximize, or close the child window) &lt;br /&gt; CTRL + TAB: Switch to the next child window of a Multiple Document Interface (MDI) program &lt;br /&gt; ALT + underlined letter in menu: Opens the menu &lt;br /&gt; ALT + F4: Closes the current window &lt;br /&gt; CTRL + F4: Closes the current Multiple Document Interface (MDI) window &lt;br /&gt; ALT + F6: Switch between multiple windows in the same program (for example, when the Notepad Find dialog box is displayed &lt;br /&gt; ALT + F6: switches between the Find dialog box and the main Notepad window) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Shell Objects and General Folder/Windows Explorer Shortcuts For a selected object: &lt;br /&gt; F2: Rename object &lt;br /&gt; F3: Find all files &lt;br /&gt; CTRL + X: Cut &lt;br /&gt; CTRL + C: Copy &lt;br /&gt; CTRL + V: Paste &lt;br /&gt; SHIFT + DELETE: Delete selection immediately, without moving the item to the Recycle Bin &lt;br /&gt; ALT + ENTER: Open the properties for the selected object &lt;br /&gt; To Copy a File: Press and hold down the CTRL key while you drag the file to another folder. &lt;br /&gt; To Create a Shortcut: Press and hold down CTRL+SHIFT while you drag a file to the desktop or a folder. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;General Folder/Shortcut Control: &lt;br /&gt; F4: Selects the Go To A Different Folder box and moves down the entries in the box (if the toolbar is active in Windows Explorer) &lt;br /&gt; F5: Refreshes the current window. &lt;br /&gt; F6: Moves among panes in Windows Explorer &lt;br /&gt; CTRL + G: Opens the Go To Folder tool (in Windows 95 Windows Explorer only) &lt;br /&gt; CTRL + Z: Undo the last command &lt;br /&gt; CTRL + A: Select all the items in the current window &lt;br /&gt; BACKSPACE: Switch to the parent folder &lt;br /&gt; SHIFT + click + Close button: For folders, close the current folder plus all parent folders &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Windows Explorer Tree Control: &lt;br /&gt; Numeric Keypad *: Expands everything under the current selection &lt;br /&gt; Numeric Keypad +: Expands the current selection&lt;br /&gt;Numeric Keypad -: Collapses the current selection. &lt;br /&gt; RIGHT ARROW: Expands the current selection if it is not expanded, otherwise goes to the first child &lt;br /&gt; LEFT ARROW: Collapses the current selection if it is expanded, otherwise goes to the parent &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Properties Control: &lt;br /&gt; CTRL + TAB/CTRL + SHIFT + TAB: Move through the property tabs &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Accessibility Shortcuts: &lt;br /&gt;• Press SHIFT five times: Toggles StickyKeys on and off &lt;br /&gt;• Press down and hold the right SHIFT key for eight seconds: Toggles FilterKeys on and off &lt;br /&gt;• Press down and hold the NUM LOCK key for five seconds: Toggles ToggleKeys on and off &lt;br /&gt;• Left ALT + left SHIFT+NUM LOCK: Toggles MouseKeys on and off &lt;br /&gt;• Left ALT + left SHIFT+PRINT SCREEN: Toggles high contrast on and off &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Microsoft Natural Keyboard Keys: &lt;br /&gt;o Windows Logo: Start menu &lt;br /&gt;o Windows Logo + R: Run dialog box &lt;br /&gt;o Windows Logo + M: Minimize all &lt;br /&gt;o SHIFT + Windows Logo+M: Undo minimize all &lt;br /&gt;o Windows Logo + F1: Help &lt;br /&gt;o Windows Logo + E: Windows Explorer &lt;br /&gt;o Windows Logo + F: Find files or folders &lt;br /&gt;o Windows Logo + D: Minimizes all open windows and displays the desktop &lt;br /&gt;o CTRL + Windows Logo + F: Find computer &lt;br /&gt;o CTRL + Windows Logo + TAB: Moves focus from Start, to the Quick Launch toolbar, to the system tray (use RIGHT ARROW or LEFT ARROW to move focus to items on the Quick Launch toolbar and the system tray) &lt;br /&gt;o Windows Logo + TAB: Cycle through taskbar buttons &lt;br /&gt;o Windows Logo + Break: System Properties dialog box &lt;br /&gt;o Application key: Displays a shortcut menu for the selected item &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Microsoft Natural Keyboard with IntelliType Software Installed: &lt;br /&gt; Windows Logo + L: Log off Windows &lt;br /&gt; Windows Logo + P: Starts Print Manager &lt;br /&gt; Windows Logo + C: Opens Control Panel &lt;br /&gt; Windows Logo + V: Starts Clipboard &lt;br /&gt; Windows Logo + K: Opens Keyboard Properties dialog box   &lt;br /&gt; Windows Logo + I: Opens Mouse Properties dialog box &lt;br /&gt; Windows Logo + A: Starts Accessibility Options (if installed) &lt;br /&gt; Windows Logo + SPACEBAR: Displays the list of Microsoft IntelliType shortcut keys &lt;br /&gt; Windows Logo + S: Toggles CAPS LOCK on and off &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dialog Box Keyboard Commands: &lt;br /&gt; TAB: Move to the next control in the dialog box &lt;br /&gt; SHIFT + TAB: Move to the previous control in the dialog box &lt;br /&gt; SPACEBAR: If the current control is a button, this clicks the button. If the current control is a check box, this toggles the check box. If the current control is an option, this selects the option. &lt;br /&gt; ENTER: Equivalent to clicking the selected button (the button with the outline) &lt;br /&gt; ESC: Equivalent to clicking the Cancel button &lt;br /&gt; ALT + underlined letter in dialog box item: Move to the corresponding item &lt;br /&gt;http://www.microsoft.com/athome/moredone/compshortcuts.mspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-115783265431937100?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/115783265431937100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=115783265431937100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/115783265431937100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/115783265431937100'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/09/useful-windows-shortcuts.html' title='useful Windows Shortcuts'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114850361934256143</id><published>2006-05-24T21:35:00.000+01:00</published><updated>2006-05-24T21:46:59.593+01:00</updated><title type='text'>All About OBP</title><content type='html'>Features of OpenBoot&lt;br /&gt;&lt;br /&gt;The OpenBoot architecture provides a significant increase in functionality and portability when compared to proprietary systems of the past. Although this architecture was first implemented by Sun Microsystems as OpenBoot on SPARC systems, its design is processor-independent. Some notable features of OpenBoot firmware include:&lt;br /&gt;&lt;br /&gt;• Plug-in device drivers &lt;br /&gt;A plug-in device driver is usually loaded from a plug-in device such as an SBus card. The plug-in device driver can be used to boot the operating system from that device or to display text on the device before the operating &lt;br /&gt;system has activated its own drivers. This feature enables the input and output devices supported by a particular system to evolve without changing the system PROM.&lt;br /&gt;&lt;br /&gt;• FCode interpreter &lt;br /&gt;Plug-in drivers are written in a machine-independent interpreted language called FCode. Each OpenBoot system PROM contains an FCode interpreter. Thus, the same device and driver can be used on machines with different CPU instruction sets. &lt;br /&gt;&lt;br /&gt;• Device tree &lt;br /&gt;The device tree is a data structure describing the devices (permanently installed and plug-in) attached to a system. Both the user and the operating system can determine the hardware configuration of the system by inspecting the device tree. &lt;br /&gt;&lt;br /&gt;• Programmable user interface &lt;br /&gt;The OpenBoot User Interface is based on the interactive programming language Forth. Sequences of user commands can be combined to form complete programs, and this provides a powerful capability for debugging hardware and software.&lt;br /&gt;&lt;br /&gt;The User Interface&lt;br /&gt;The user interface is based on an interactive command interpreter that gives you access to an extensive set of functions for hardware and software development, fault isolation, and debugging. Any level of users can use these functions.&lt;br /&gt;The user interface prompt is implementation dependent.&lt;br /&gt;&lt;br /&gt;You can enter the OpenBoot environment in the following ways:&lt;br /&gt;• By halting the operating system &lt;br /&gt;• By pressing the Stop-A key &lt;br /&gt;• By power-cycling the system &lt;br /&gt;&lt;br /&gt;If your system is not configured to boot automatically, the system will stop at the user interface. &lt;br /&gt;&lt;br /&gt;If automatic booting is configured, you can make the system stop at the user interface by pressing the Stop-A keys from the keyboard after the display console banner is displayedbut before the system starts booting the operating system.&lt;br /&gt;&lt;br /&gt;• When the system hardware detects an error from which it cannot recover (This is known as a Watchdog Reset.)&lt;br /&gt;&lt;br /&gt;See "A Caution About Using Some OpenBoot Commands" ( for information on using commands after entering OpenBoot from the operating system.&lt;br /&gt;&lt;br /&gt;The Device Tree&lt;br /&gt;Devices are attached to a host computer through a hierarchy of interconnected buses. OpenBoot represents the interconnected buses and their attached devices as a tree of nodes. Such a tree is called the device tree. A node representing the host computer's main physical address bus forms the tree's root node.&lt;br /&gt;Each device node can have:&lt;br /&gt;&lt;br /&gt;• Properties, which are data structures describing the node and its associated device &lt;br /&gt;• Methods, which are the software procedures used to access the device &lt;br /&gt;• Data, which are the initial values of the private data used by the methods &lt;br /&gt;• Children, which are other device nodes "attached" to a given node and that lie directly below it in the device tree &lt;br /&gt;• A parent, which is the node that lies directly above a given node in the device tree.&lt;br /&gt;&lt;br /&gt;Nodes with children usually represent buses and their associated controllers, if any. Each such node defines a physical address space that distinguishes the devices connected to the node from one another. Each child of that node is assigned a physical address in the parent's address space.&lt;br /&gt;&lt;br /&gt;The physical address generally represents a physical characteristic unique to the device (such as the bus address or the slot number where the device is installed). The use of physical addresses to identify devices prevents device addresses from changing when other devices are installed or removed.&lt;br /&gt;&lt;br /&gt;Nodes without children are called leaf nodes and generally represent devices. However, some such nodes represent system-supplied firmware services.&lt;br /&gt;&lt;br /&gt;Device Path Names, Addresses, and Arguments&lt;br /&gt;&lt;br /&gt;OpenBoot deals directly with hardware devices in the system. Each device has a unique name representing the type of device and where that device is located in the system addressing structure. The following example shows a full device path name:&lt;br /&gt;&lt;br /&gt;  /sbus@1f,0/SUNW,fas@e,8800000/sd@3,0:a  &lt;br /&gt;&lt;br /&gt;A full device path name is a series of node names separated by slashes (/). The root of the tree is the machine node, which is not named explicitly but is indicated by a leading slash (/). Each node name has the form:&lt;br /&gt;&lt;br /&gt;driver-name@unit-address:device-arguments&lt;br /&gt;&lt;br /&gt;driver-name A human-readable string consisting of one to 31 letters, digits and punctuation characters from the set ", . _ + - " that, ideally, has some mnemonic value. Uppercase and lowercase characters are distinct. In some cases, this name includes the name of the device's manufacturer and the device's model name, separated by a comma. Typically, the manufacturer's upper-case, publicly-listed stock symbol is used as the manufacturer's name (e.g. SUNW,sd). For built-in devices, the manufacturer's name is usually omitted (e.g. sbus).&lt;br /&gt;&lt;br /&gt;@ Must precede the address parameter.&lt;br /&gt;&lt;br /&gt;unit-address A text string representing the physical address of the device in its &lt;br /&gt;&lt;br /&gt;parent's address space. The format of the text is bus dependent.&lt;br /&gt;&lt;br /&gt;: Must precede the arguments parameter.&lt;br /&gt;device-arguments A text string, whose format depends on the particular device. It can be used to pass additional information to the device's software.&lt;br /&gt;&lt;br /&gt;The full device path name mimics the hardware addressing used by the system to distinguish between different devices. Thus, you can specify a particular device without ambiguity.&lt;br /&gt;&lt;br /&gt;In general, the unit-address part of a node name represents an address in the physical address space of its parent. The exact meaning of a particular address depends on the bus to which the device is attached. Consider this example:&lt;br /&gt;&lt;br /&gt;  /sbus@1f,0/esp@0,40000/sd@3,0:a  &lt;br /&gt;&lt;br /&gt;• 1f,0 represents an address on the main system bus, because the SBus is directly attached to the main system bus in this example. &lt;br /&gt;• 0,40000 is an SBus slot number (in other words, 0) and an offset (in other words, 40000), because the esp device is at offset 40000 on the card in SBus slot 0. &lt;br /&gt;• 3,0 is a SCSI target and logical unit number, because the disk device is attached to a SCSI bus at target 3, logical unit 0.&lt;br /&gt;When specifying a path name, either the @unit-address or driver-name part of a node name is optional, in which case the firmware tries to pick the device that best matches the given name. If there are several matching nodes, the firmware chooses one (but it may not be the one you want).&lt;br /&gt;&lt;br /&gt;For example, using /sbus/esp@0,40000/sd@3,0 assumes that the system in question has exactly one SBus on the main system bus, making sbus as unambiguous an address as sbus@1f,0. On the same system, however, /sbus/esp/sd@3,0 might or might not be ambiguous. Since SBus accepts plug-in cards, there could be more than one esp device on the same SBus bus. If there were more than one on the system, using esp alone would not specify which one, and the firmware might not choose the one you intended.&lt;br /&gt;As another example, /sbus/@2,1/sd@3,0 would normally be unambiguous, while /sbus/scsi@2,1/@3,0 usually would not, since both a SCSI disk device driver and a SCSI tape device driver can use the SCSI target, logical unit address 3,0.&lt;br /&gt;The :device-arguments part of the node name is also optional. Once again, in the &lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;&lt;br /&gt;  /sbus@1f,0/scsi@2,1/sd@3,0:a  &lt;br /&gt;&lt;br /&gt;the argument for the disk device is a. The software driver for this device interprets its argument as a disk partition, so the device path name refers to partition a on that disk.&lt;br /&gt;&lt;br /&gt;Some implementations also enable you to omit path name components. So long as the omission does not create any ambiguity, those implementations will select the device that you intended. For example, if our example system had only one sd device,&lt;br /&gt;/sd:a&lt;br /&gt;&lt;br /&gt;would identify the same device as the much longer preceding expression.&lt;br /&gt;&lt;br /&gt;Device Aliases&lt;br /&gt;&lt;br /&gt;A device alias, or simply, alias, is a shorthand representation of a device path.&lt;br /&gt;For example, the alias disk may represent the complete device path name:&lt;br /&gt;&lt;br /&gt;  /sbus@1f,0/esp@0,40000/sd@3,0:a  &lt;br /&gt;&lt;br /&gt;Systems usually have predefined device aliases for the most commonly used devices, so you rarely need to type a full device path name.&lt;br /&gt;Table 2 describes the devalias command, which is used to examine, create, and change aliases.&lt;br /&gt;&lt;br /&gt;Table 2 Examining and Creating Device Aliases&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt; &lt;br /&gt;devalias Display all current device aliases.&lt;br /&gt;&lt;br /&gt;devalias alias Display the device path name corresponding to alias.&lt;br /&gt;&lt;br /&gt;devalias alias device-path Define an alias representing device-path. &lt;br /&gt;&lt;br /&gt;If an alias with the same name already exists, the new value supersedes the old.&lt;br /&gt;&lt;br /&gt;User-defined aliases are lost after a system reset or power cycle. If you want to create permanent aliases, you can either manually store the devalias command in a portion of non-volatile RAM (NVRAM) called nvramrc, or use the nvalias and nvunalias commands. &lt;br /&gt;&lt;br /&gt;Displaying the Device Tree&lt;br /&gt;&lt;br /&gt;You can browse the device tree to examine and modify individual device tree nodes. The device tree browsing commands are similar to the SolarisTM commands for changing, displaying and listing the current directory in the Solaris directory tree. Selecting a device node makes it the current node.&lt;br /&gt;&lt;br /&gt;The User Interface commands for browsing the device tree are shown in Table 3.&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt; &lt;br /&gt;.properties &lt;br /&gt;&lt;br /&gt;Display the names and values of the current node's properties.&lt;br /&gt;dev device-path Choose the indicated device node, making it the current node.&lt;br /&gt;dev node-name Search for a node with the given name in the subtree below the current node, and choose the first such node found.&lt;br /&gt;dev .. Choose the device node that is the parent of the current node.&lt;br /&gt;dev / Choose the root machine node.&lt;br /&gt;device-end Leave the device tree.&lt;br /&gt;" device-path" find-device Choose device node, similar to dev.&lt;br /&gt;Ls &lt;br /&gt;&lt;br /&gt;Display the names of the current node's children.&lt;br /&gt;&lt;br /&gt;Pwd&lt;br /&gt;&lt;br /&gt;Display the device path name that names the current node.&lt;br /&gt;see wordname Decompile the specified word.&lt;br /&gt;&lt;br /&gt;show-devs [device-path]&lt;br /&gt;&lt;br /&gt;Display all the devices directly beneath the specified device in the device tree. show-devs used by itself shows the entire device tree.&lt;br /&gt;Words Display the names of the current node's methods.&lt;br /&gt;&lt;br /&gt;" device-path" select-dev Select the specified device and make it the active node.&lt;br /&gt;&lt;br /&gt;.properties displays the names and values of all the properties in the current node:&lt;br /&gt;&lt;br /&gt;  ok dev /zs@1,f0000000  &lt;br /&gt;  ok .properties  &lt;br /&gt;  address               ffee9000  &lt;br /&gt;  port-b-ignore-cd  &lt;br /&gt;  port-a-ignore-cd  &lt;br /&gt;  keyboard  &lt;br /&gt;  device_type           serial  &lt;br /&gt;  slave                 00000001  &lt;br /&gt;  intr                  0000000c  00000000  &lt;br /&gt;  interrupts            0000000c  &lt;br /&gt;  reg                   00000001  f0000000  00000008  &lt;br /&gt;  name                  zs  &lt;br /&gt;  ok&lt;br /&gt;&lt;br /&gt;dev sets the current node to the named node so its contents can be viewed. For example, to make the ACME company's SBus device named "ACME,widget" the current node:&lt;br /&gt;&lt;br /&gt;  ok dev /sbus/ACME,widget  &lt;br /&gt;find-device is essentially identical to dev differing only in the way the input pathname is passed.&lt;br /&gt;&lt;br /&gt;  ok " /sbus/ACME,widget" find-device  &lt;br /&gt; &lt;br /&gt;Note - After choosing a device node with dev or find-device, you can't execute that node's methods because dev does not establish the current instance. For a detailed explanation of this issue, refer toWriting FCode 3.x Programs.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;show-devs &lt;br /&gt;&lt;br /&gt;lists all the devices in the OpenBoot device tree, as shown in the following example:&lt;br /&gt;&lt;br /&gt;  ok show-devs  &lt;br /&gt;  /SUNW,UltraSPARC@0,0  &lt;br /&gt;  /sbus@1f,0  &lt;br /&gt;  /counter-timer@1f,3c00  &lt;br /&gt;  /virtual-memory  &lt;br /&gt;  /memory@0,0  &lt;br /&gt;  /aliases  &lt;br /&gt;  /options  &lt;br /&gt;  /openprom  &lt;br /&gt;  /chosen  &lt;br /&gt;  /packages  &lt;br /&gt;  /sbus@1f,0/cgsix@1,0  &lt;br /&gt;  /sbus@1f,0/lebuffer@0,40000  &lt;br /&gt;  /sbus@1f,0/dma@0,81000  &lt;br /&gt;  /sbus@1f,0/SUNW,bpp@e,c800000  &lt;br /&gt;  /sbus@1f,0/SUNW,hme@e,8c00000  &lt;br /&gt;  /sbus@1f,0/SUNW,fas@e,8800000  &lt;br /&gt;  /sbus@1f,0/sc@f,1300000  &lt;br /&gt;  /sbus@1f,0/zs@f,1000000  &lt;br /&gt;  /sbus@1f,0/zs@f,1100000  &lt;br /&gt;  /sbus@1f,0/eeprom@f,1200000  &lt;br /&gt;  /sbus@1f,0/SUNW,fdtwo@f,1400000  &lt;br /&gt;  /sbus@1f,0/flashprom@f,0  &lt;br /&gt;  /sbus@1f,0/auxio@f,1900000  &lt;br /&gt;  /sbus@1f,0/SUNW,CS4231@d,c000000  &lt;br /&gt;  /sbus@1f,0/SUNW,fas@e,8800000/st  &lt;br /&gt;  /sbus@1f,0/SUNW,fas@e,8800000/sd  &lt;br /&gt;  /openprom/client-services  &lt;br /&gt;  /packages/disk-label  &lt;br /&gt;  /packages/obp-tftp  &lt;br /&gt;  /packages/deblocker  &lt;br /&gt;  /packages/terminal-emulator  &lt;br /&gt;  ok  &lt;br /&gt;&lt;br /&gt;Here is an example of the use of words:&lt;br /&gt;&lt;br /&gt;  ok dev /zs  &lt;br /&gt;  ok words  &lt;br /&gt;  ring-bell        read           remove-abort? install-abort  &lt;br /&gt;  close            open           abort?              restore  &lt;br /&gt;  clear             reset          initkbdmouse        keyboard-addr mouse  &lt;br /&gt;  1200baud          setbaud        initport             port-addr  &lt;br /&gt;Getting Help&lt;br /&gt;Whenever you see the ok prompt on the display, you can ask the system for help by typing one of the help commands shown in Table 4.&lt;br /&gt;&lt;br /&gt;Table 4 Help Commands&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt; &lt;br /&gt;Help List main help categories.&lt;br /&gt;&lt;br /&gt;help category Show help for all commands in the category. Use only the first word of the category description.&lt;br /&gt;&lt;br /&gt;help command Show help for individual command (where available).&lt;br /&gt;&lt;br /&gt;help, without any specifier, displays instructions on how to use the help system and lists the available help categories. Because of the large number of commands, help is available only for commands that are used frequently.&lt;br /&gt;&lt;br /&gt;If you want to see the help messages for all the commands in a selected category, or, possibly, a list of subcategories, type:&lt;br /&gt;&lt;br /&gt;  ok help category  &lt;br /&gt;If you want help for a specific command, type:&lt;br /&gt;&lt;br /&gt;  ok help command  &lt;br /&gt;For example, when you ask for information on the dump command, you might see the following message:&lt;br /&gt;&lt;br /&gt;  ok help dump  &lt;br /&gt;  Category: Memory access  &lt;br /&gt;  dump ( addr length -- ) display memory at addr for length bytes  &lt;br /&gt;  ok  &lt;br /&gt;&lt;br /&gt;The above help message first shows that dump is a command from the Memory access category. The message also shows the format of the command.&lt;br /&gt; &lt;br /&gt;Note - In some newer systems, descriptions of additional machine-specific commands are available with the help command. Help as described may not be available on all systems.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;A Caution About Using Some OpenBoot Commands&lt;br /&gt;&lt;br /&gt;OpenBoot may not operate correctly after the operating system has begun execution. (For example, after Stop-a or halt.) This occurs when the operating system can modify the system state in ways that are inconsistent with continued OpenBoot operation. In this case, you may have to power cycle the system to restore normal operation.&lt;br /&gt;&lt;br /&gt;For example, suppose you boot the operating system, exit to OpenBoot, then execute the probe-scsi command (described in "Booting and Testing Your System"). You may find that probe-scsi fails, and you may not be able to resume the operating system, or you may have to power cycle the systems.&lt;br /&gt;Re-execute an OpenBoot command that failed because the operating system has executed:&lt;br /&gt;&lt;br /&gt;1. Note the value of auto-boot? NVRAM configuration variable using printenv. If it is true, set the value to false using SETENV. &lt;br /&gt;2. Reset the system. &lt;br /&gt;3. Execute OpenBoot command after it stops at the user interface. &lt;br /&gt;4. Restore the value of auto-boot? NVRAM configuration. &lt;br /&gt;5. Reset the system. &lt;br /&gt;Booting and Testing Your System&lt;br /&gt;&lt;br /&gt;This chapter describes the most common tasks that you perform using OpenBoot. These tasks enable you to:&lt;br /&gt;&lt;br /&gt;• Boot your system &lt;br /&gt;• Run diagnostics &lt;br /&gt;• Display system information &lt;br /&gt;• Reset the system&lt;br /&gt;&lt;br /&gt;Booting Your System&lt;br /&gt;&lt;br /&gt;The most important function of OpenBoot firmware is to boot the system. Booting is the process of loading and executing a stand-alone program such as an operating system. Booting can either be initiated automatically or by typing a command at the User Interface.&lt;br /&gt;The boot process is controlled by a number of configuration variables. (Configuration variables are discussed in detail in Chapter 3, "Setting Configuration Variables".) The configuration variables that affect the boot process are:&lt;br /&gt;&lt;br /&gt;• auto-boot? &lt;br /&gt;This variable controls whether or not the system automatically boots after a system reset or when the power is turned on. This variable is typically true. &lt;br /&gt;&lt;br /&gt;• boot-command&lt;br /&gt;This variable specifies the command to be executed when auto-boot? is true. The default value of boot-command is boot with no command line arguments.&lt;br /&gt;&lt;br /&gt;• diag-switch? &lt;br /&gt;If the value is true, run in the Diagnostic mode. This variable is false by default. &lt;br /&gt;&lt;br /&gt;• boot-device &lt;br /&gt;This variable contains the name of the default boot device that is used when OpenBoot is not in diagnostic mode. &lt;br /&gt;&lt;br /&gt;• boot-file &lt;br /&gt;This variable contains the default boot arguments that are used when OpenBoot is not in diagnostic mode. &lt;br /&gt;&lt;br /&gt;• diag-device &lt;br /&gt;This variable contains the name of the default diagnostic mode boot device. &lt;br /&gt;&lt;br /&gt;• diag-file &lt;br /&gt;This variable contains the default diagnostic mode boot arguments. &lt;br /&gt;Based on the values of the above configuration variables, the boot process can proceed in a number of different ways. For instance:&lt;br /&gt;&lt;br /&gt;• If auto-boot? is true, the machine will boot from either the default boot device or from the diagnostic boot device depending on whether OpenBoot is in diagnostic mode. &lt;br /&gt;&lt;br /&gt;• If auto-boot? is false, the machine will stop at the OpenBoot User Interface without booting the system. To boot the system, you can do one of the following: &lt;br /&gt;• Type the boot command without any arguments. The machine will boot from the default boot device using the default boot arguments. &lt;br /&gt;&lt;br /&gt;• Type the boot command with an explicit boot device. The machine will boot from the specified boot device using the default boot arguments. &lt;br /&gt;&lt;br /&gt;• Type the boot command with explicit boot arguments. The machine will use the specified arguments to boot from the default boot device. &lt;br /&gt;&lt;br /&gt;• Type the boot command with an explicit boot device and with explicit arguments. The machine will boot from the specified device with the specified arguments.&lt;br /&gt;&lt;br /&gt;Booting for the Casual User&lt;br /&gt;&lt;br /&gt;Typically, auto-boot? will be true, boot-command will be boot, and OpenBoot will not be in diagnostic mode. Consequently, the system will automatically load and execute the program and arguments described by boot-file from the device described by boot-device when the system is first turned on or following a system reset.&lt;br /&gt;If you want to boot the default program when auto-boot? is false, simply type boot at the ok prompt.&lt;br /&gt;&lt;br /&gt;Booting for the Expert User&lt;br /&gt;&lt;br /&gt;Booting is the process of loading and executing a client program. The client program is normally an operating system or an operating system's loader program, but boot can also be used to load and execute other kinds of programs, such as diagnostics. &lt;br /&gt;&lt;br /&gt;Booting usually happens automatically based on the values contained in the configuration variables described above. However, the user can also initiate booting from the User Interface.&lt;br /&gt;&lt;br /&gt;OpenBoot performs the following steps during the boot process:&lt;br /&gt;• The firmware may reset the machine if a client program has been executed since the last reset. (The execution of a reset is implementation dependent.) &lt;br /&gt;• A device is selected by parsing the boot command line to determine the boot device and the boot arguments to use. Depending on the form of the boot command, the boot device and/or argument values may be taken from configuration variables. &lt;br /&gt;• The bootpath and bootargs properties in the /chosen node of the device tree are set with the selected values.&lt;br /&gt;• The selected program is loaded into memory using a protocol that depends on the type of the selected device. For example, a disk boot might read a fixed number of blocks from the beginning of the disk, while a tape boot might read a particular tape file. &lt;br /&gt;• The loaded program is executed. The behavior of the program may be further controlled by the argument string (if any) that was either contained in the selected configuration variable or was passed to the boot command on the command line.&lt;br /&gt;Often, the program loaded and executed by the boot process is a secondary boot program whose purpose is to load yet another program. This secondary boot program may use a protocol different from that used by OpenBoot to load the secondary boot program. For example, OpenBoot might use the Trivial File Transfer Protocol (TFTP) to load the secondary boot program while the secondary boot program might then use the Network File System (NFS) protocol to load the operating system.&lt;br /&gt;Typical secondary boot programs accept arguments of the form: filename -flags&lt;br /&gt;where filename is the name of the file containing the operating system and where -flags is a list of options controlling the details of the start-up phase of either the secondary boot program, the operating system or both. Please note that, as shown in the boot command template immediately below, OpenBoot treats all such text as a single, opaque arguments string that has no special meaning to OpenBoot itself; the arguments string is passed unaltered to the specified program.&lt;br /&gt;The boot command has the following format:&lt;br /&gt;&lt;br /&gt;  ok boot [device-specifier] [arguments]  &lt;br /&gt;The optional parameters for the boot command are described in Table 5.&lt;br /&gt;&lt;br /&gt;Table 5 Optional boot Command Parameters&lt;br /&gt;Parameter Description&lt;br /&gt; &lt;br /&gt;[device-specifier] The name (full path name or devalias) of the boot device. Typical values include: cdrom (CD-ROM drive) &lt;br /&gt;disk (hard disk) &lt;br /&gt;floppy (3-1/2" diskette drive) &lt;br /&gt;net (Ethernet) &lt;br /&gt;tape (SCSI tape) &lt;br /&gt;If device-specifier is not specified and if diagnostic-mode? returns false, boot uses the device specified by the boot-device configuration variable. If device-specifier is not specified and if diagnostic-mode? returns true, boot uses the device specified by the diag-device configuration variable.&lt;br /&gt;[arguments] The name of the program to be booted (e.g. stand/diag) and any program arguments. If arguments is not specified and if diagnostic-mode? returns false, boot uses the file specified by the boot-file configuration variable. &lt;br /&gt;If arguments is not specified and if diagnostic-mode? returns true, boot uses the file specified by the diag-file configuration variable.&lt;br /&gt; &lt;br /&gt;Note - Most commands (such as boot and test) that require a device name accept either a full device path name or a device alias. In this manual, the term device-specifier indicates that either an appropriate device path name or a device alias is acceptable for such commands.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Since a device alias cannot be syntactically distinguished from the arguments, OpenBoot resolves this ambiguity as follows:&lt;br /&gt;• If the space-delimited word following boot on the command line begins with /, the word is a device-path and, thus, a device-specifier. Any text to the right of this device-specifier is included in arguments. &lt;br /&gt;• Otherwise, if the space-delimited word matches an existing device alias, the word is a device-specifier. Any text to the right of this device-specifier is included in arguments. &lt;br /&gt;• Otherwise, the appropriate default boot device is used, and any text to the right of boot is included in arguments.&lt;br /&gt;Consequently, boot command lines have the following possible forms.&lt;br /&gt;&lt;br /&gt;  ok boot  &lt;br /&gt;With this form, boot loads and executes the program specified by the default boot arguments from the default boot device.&lt;br /&gt;&lt;br /&gt;  ok boot device-specifier  &lt;br /&gt;If boot has a single argument that either begins with the character / or is the name of a defined devalias, boot uses the argument as a device specifier. boot loads and executes the program specified by the default boot arguments from the specified device.&lt;br /&gt;For example, to explicitly boot from the primary disk, type:&lt;br /&gt;&lt;br /&gt;  ok boot disk  &lt;br /&gt;To explicitly boot from the primary network device, type:&lt;br /&gt;&lt;br /&gt;  ok boot net  &lt;br /&gt;If boot has a single argument that neither begins with the character / nor is the name of a defined devalias, boot uses all of the remaining text as its arguments.&lt;br /&gt;&lt;br /&gt;  ok boot arguments  &lt;br /&gt;boot loads and executes the program specified by the arguments from the default boot device.&lt;br /&gt;&lt;br /&gt;  ok boot device-specifier arguments  &lt;br /&gt;If there are at least two space-delimited arguments, and if the first such argument begins with the character / or if it is the name of a defined devalias, boot uses the first argument as a device specifier and uses all of the remaining text as its arguments. boot loads and executes the program specified by the arguments from the specified device.&lt;br /&gt;&lt;br /&gt;For all of the above cases, boot records the device that it uses in the bootpath property of the /chosen node. boot also records the arguments that it uses in the bootargs property of the /chosen node.&lt;br /&gt;&lt;br /&gt;Device alias definitions vary from system to system. Use the devalias command, described in Chapter 1, "Overview", to obtain the definitions of your system's aliases.&lt;br /&gt;&lt;br /&gt;Running Diagnostics&lt;br /&gt;&lt;br /&gt;Several diagnostic routines are available from the User Interface. These on-board tests let you check devices such as the network controller, the floppy disk system, memory, installed SBus cards and SCSI devices, and the system clock.&lt;br /&gt;The value returned by diagnostic-mode? controls:&lt;br /&gt;• The selection of the device and file that are used by the boot and load commands (if the device and file are not explicitly specified as arguments to those commands). &lt;br /&gt;• The extent of the diagnostics performed during power-on self-test, and the (implementation dependent) number of diagnostic messages produced.&lt;br /&gt;OpenBoot will be in diagnostic mode and the diagnostic-mode? command will return true if at least one of the following conditions is met:&lt;br /&gt;• The configuration variable diag-switch? is set to true. &lt;br /&gt;• The machine's diagnostic switch (if any) is "on". &lt;br /&gt;• Another system-dependent indicator requests extensive diagnostics.&lt;br /&gt;&lt;br /&gt;When OpenBoot is in the Diagnostic mode, the value of diag-device is used as the default boot device and the value of diag-file is used as the default boot arguments for the boot command.&lt;br /&gt;&lt;br /&gt;When OpenBoot is not in the Diagnostic mode, the value of boot-device is used as the default boot device and the value of boot-file is used as the default boot arguments for the boot command.&lt;br /&gt;&lt;br /&gt;Table 6 lists diagnostic test commands. Not all of these tests are available in all OpenBoot implementations.&lt;br /&gt;&lt;br /&gt;Table 6 Diagnostic Test Commands&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt; &lt;br /&gt;probe-scsi Identify devices attached to a SCSI bus.&lt;br /&gt;test device-specifier Execute the specified device's selftest method. For example: test net - test the network connection&lt;br /&gt;watch-clock Test a clock function.&lt;br /&gt;watch-net Monitor a network connection.&lt;br /&gt;&lt;br /&gt;Testing the SCSI Bus&lt;br /&gt;&lt;br /&gt;To check a SCSI bus for connected devices, type:&lt;br /&gt;&lt;br /&gt;  ok probe-scsi  &lt;br /&gt;  Target 1  &lt;br /&gt;    Unit 0 Disk SEAGATE ST1480 SUN04246266 Copyright (C) 1991 Seagate All rights reserved  &lt;br /&gt;  Target 3  &lt;br /&gt;    Unit 0 Disk SEAGATE ST1480 SUN04245826 Copyright (C) 1991 Seagate All rights reserved  &lt;br /&gt;  &lt;br /&gt;  ok  &lt;br /&gt;The actual response depends on the devices on the SCSI bus.&lt;br /&gt;Testing Installed Devices&lt;br /&gt;&lt;br /&gt;To test a single installed device, type:&lt;br /&gt;&lt;br /&gt;  ok test device-specifier  &lt;br /&gt;&lt;br /&gt;In general, if no message is displayed, the test succeeded.&lt;br /&gt; &lt;br /&gt;Note - Many devices require the system's diag-switch? parameter to be true in order to run this test.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Testing the Diskette Drive&lt;br /&gt;&lt;br /&gt;The diskette drive test determines whether or not the diskette drive is functioning properly. For some implementations, a formatted, high-density (HD) disk must be in the diskette drive for this test to succeed.&lt;br /&gt;To test the diskette drive, type:&lt;br /&gt;&lt;br /&gt;  ok test floppy  &lt;br /&gt;  Testing floppy disk system. A formatted  &lt;br /&gt;  disk should be in the drive.  &lt;br /&gt;  Test succeeded.  &lt;br /&gt;  ok  &lt;br /&gt; &lt;br /&gt;Note - Not all OpenBoot systems include this test word.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;To eject the diskette from the diskette drive of a system capable of software-controlled ejection, type:&lt;br /&gt;&lt;br /&gt;  ok eject-floppy  &lt;br /&gt;  ok  &lt;br /&gt;Testing Memory&lt;br /&gt;To test memory, type:&lt;br /&gt;&lt;br /&gt;  ok test /memory  &lt;br /&gt;  Testing 16 megs of memory at addr 4000000 11  &lt;br /&gt;  ok  &lt;br /&gt; &lt;br /&gt;Note - Not all OpenBoot systems include this test word.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;In the preceding example, the first number (4000000) is the base address of the testing, and the following number (11) is the number of megabytes to go.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Testing the Clock&lt;br /&gt;To test the clock function, type:&lt;br /&gt;&lt;br /&gt;  ok watch-clock  &lt;br /&gt;  Watching the 'seconds' register of the real time clock chip.  &lt;br /&gt;  It should be ticking once a second.  &lt;br /&gt;  Type any key to stop.  &lt;br /&gt;  1  &lt;br /&gt;  ok  &lt;br /&gt;The system responds by incrementing a number once a second. Press any key to stop the test.&lt;br /&gt; &lt;br /&gt;Note - Not all OpenBoot systems include this test word.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Testing the Network Controller&lt;br /&gt;To test the primary network controller, type:&lt;br /&gt;&lt;br /&gt;  ok test net  &lt;br /&gt;  Internal Loopback test - (result)  &lt;br /&gt;  External Loopback test - (result)  &lt;br /&gt;  ok  &lt;br /&gt;The system responds with a message indicating the result of the test.&lt;br /&gt; &lt;br /&gt;Note - Depending on the particular network controller and the type of network to which your system is attached, various levels of testing are possible. Some such tests may require that the network interface be connected to the network.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Monitoring the Network&lt;br /&gt;To monitor a network connection, type:&lt;br /&gt;&lt;br /&gt;  ok watch-net  &lt;br /&gt;  Internal Loopback test - succeeded  &lt;br /&gt;  External Loopback test - succeeded  &lt;br /&gt;  Looking for Ethernet packets.  &lt;br /&gt;  '.' is a good packet. 'X' is a bad packet.  &lt;br /&gt;  Type any key to stop  &lt;br /&gt;  ....................X.....X...............  &lt;br /&gt;  ok  &lt;br /&gt;The system monitors network traffic, displaying "." each time it receives an error-free packet and "X" each time it receives a packet with an error that can be detected by the network hardware interface.&lt;br /&gt; &lt;br /&gt;Note - Not all OpenBoot systems include this test word.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Displaying System Information&lt;br /&gt;&lt;br /&gt;The User Interface provides one or more commands to display system information. banner is provided by all OpenBoot implementations; the remaining commands represent extensions provided by some implementations. These commands, listed in Table 7, let you display the system banner, the Ethernet address for the Ethernet controller, the contents of the ID PROM, and the version number of OpenBoot. (The ID PROM contains information specific to each individual machine, including the serial number, date of manufacture, and Ethernet address assigned to the machine.)&lt;br /&gt;&lt;br /&gt;Table 7 System Information Commands&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt;banner Display power-on banner.&lt;br /&gt;show-sbus Display list of installed and probed SBus devices.&lt;br /&gt;.enet-addr Display current Ethernet address.&lt;br /&gt;.idprom Display ID PROM contents, formatted.&lt;br /&gt;Table 7 System Information Commands (Continued)&lt;br /&gt;Command Description&lt;br /&gt;.traps Display a list of processor-dependent trap types.&lt;br /&gt;.version Display version and date of the boot PROM.&lt;br /&gt;.speed Display processor and bus speeds.&lt;br /&gt;Also see the device tree browsing commands in Table 3 on page 7.&lt;br /&gt;Resetting the System&lt;br /&gt;&lt;br /&gt;Occasionally, you may need to reset your system. The reset-all command resets the entire system and is similar to performing a power cycle.&lt;br /&gt;To reset the system, type:&lt;br /&gt;&lt;br /&gt;  ok reset-all  &lt;br /&gt;If your system is set up to run the power-on self-test (POST) and initialization procedures on reset, these procedures begin executing once you initiate this command. (On some systems, POST is only executed after power-on.) Once POST completes, the system either boots automatically or enters the User Interface, just as it would have done after a power cycle.&lt;br /&gt;Setting Configuration Variables&lt;br /&gt;&lt;br /&gt;This chapter describes how to access and modify non-volatile RAM (NVRAM) configuration variables.&lt;br /&gt;&lt;br /&gt;System configuration variables are stored in the system NVRAM. These variables determine the start-up machine configuration and related communication characteristics. You can modify the values of the configuration variables, and any changes you make remain in effect even after a power cycle. Configuration variables should be adjusted cautiously.&lt;br /&gt;&lt;br /&gt;The procedures described in this chapter assume that the user interface is active. See Chapter 1, "Overview" for information about entering the user interface.&lt;br /&gt;Table 8 lists a typical set of NVRAM configuration variables defined by IEEE Standard 1275-1994.&lt;br /&gt;&lt;br /&gt;Table 8 Standard Configuration Variables&lt;br /&gt;Variable Typical Default Description&lt;br /&gt;auto-boot? true If true, boot automatically after power on or reset.&lt;br /&gt;boot-command boot Command that is executed if auto-boot? is true.&lt;br /&gt;boot-device disk net Device from which to boot.&lt;br /&gt;boot-file empty string Arguments passed to booted program.&lt;br /&gt;diag-device net Diagnostic boot source device.&lt;br /&gt;diag-file empty string Arguments passed to booted program in diagnostic mode.&lt;br /&gt;diag-switch? false If true, run in diagnostic mode.&lt;br /&gt;Table 8 Standard Configuration Variables (Continued)&lt;br /&gt;Variable Typical Default Description&lt;br /&gt;  &lt;br /&gt;fcode-debug? false If true, include name fields for plug-in device FCodes.&lt;br /&gt;input-device keyboard Console input device (usually keyboard, ttya, or ttyb).&lt;br /&gt;nvramrc empty Contents of NVRAMRC.&lt;br /&gt;oem-banner empty string Custom OEM banner (enabled by oem-banner? true).&lt;br /&gt;oem-banner? false If true, use custom OEM banner.&lt;br /&gt;oem-logo no default Byte array custom OEM logo (enabled by oem-logo? true). Displayed in hexadecimal.&lt;br /&gt;oem-logo? false If true, use custom OEM logo (else, use Sun logo).&lt;br /&gt;output-device screen Console output device (usually screen, ttya, or ttyb).&lt;br /&gt;screen-#columns 80 Number of on-screen columns (characters/line).&lt;br /&gt;screen-#rows 34 Number of on-screen rows (lines).&lt;br /&gt;security-&lt;br /&gt;#badlogins no default Number of incorrect security password attempts.&lt;br /&gt;security-mode none Firmware security level (options: none, command, or full).&lt;br /&gt;security-password no default Firmware security password (never displayed).&lt;br /&gt;use-nvramrc? false If true, execute commands in NVRAMRC during system start-up.&lt;br /&gt;An dditional configuration variable is defined by the SBus binding to IEEE Standard 1275-1994. The variable is shown in Table 9.&lt;br /&gt;Table 9 SBus Configuration Variable&lt;br /&gt;Variable Typical Default Description&lt;br /&gt;sbus-probe-list 0123 Which SBus slots to probe and in what order.&lt;br /&gt; &lt;br /&gt;Note - Different OpenBoot implementations may use different defaults and/or different configuration variables.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Displaying and Changing Variable Settings&lt;br /&gt;NVRAM configuration variables can be viewed and changed using the commands listed in &lt;br /&gt;&lt;br /&gt;Table 10 Viewing or Changing Configuration Variables&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt; &lt;br /&gt;printenv Display current variables and current default values. printenv variable shows the current value of the named variable.&lt;br /&gt;setenv variable value Set variable to the given decimal or text value. (Changes are permanent, but often take effect only after a reset.)&lt;br /&gt;set-default variable Reset the value of variable to the factory default.&lt;br /&gt;set-defaults Reset variable values to the factory defaults.&lt;br /&gt;password Set security-password&lt;br /&gt;&lt;br /&gt;The following pages show how these commands can be used.&lt;br /&gt; &lt;br /&gt;Note - Solaris provides the eeprom utility for modifying OpenBoot configuration variables.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;To display a list of the current variable settings on your system, type:&lt;br /&gt;&lt;br /&gt;  ok printenv  &lt;br /&gt;  Variable Name           Value                             Default Value  &lt;br /&gt;  &lt;br /&gt;  oem-logo                2c 31 2c 2d 00 00 00 00 ...  &lt;br /&gt;  oem-logo?               false                             false  &lt;br /&gt;  oem-banner  &lt;br /&gt;  oem-banner?             false                             false  &lt;br /&gt;  output-device           ttya                              screen  &lt;br /&gt;  input-device            ttya                              keyboard  &lt;br /&gt;  sbus-probe-list         03                                0123  &lt;br /&gt;  diag-file  &lt;br /&gt;  diag-device             net                               net  &lt;br /&gt;  boot-file  &lt;br /&gt;  boot-device             disk                              disk net  &lt;br /&gt;  auto-boot?              false                             true  &lt;br /&gt;  fcode-debug?            true                              false  &lt;br /&gt;  use-nvramrc?            false                             false  &lt;br /&gt;  nvramrc  &lt;br /&gt;  screen-#columns         80                                80  &lt;br /&gt;  screen-#rows            34                                34  &lt;br /&gt;  security-mode           none                              none  &lt;br /&gt;  security-password  &lt;br /&gt;  security-#badlogins 0  &lt;br /&gt;  diag-switch?            true                              false  &lt;br /&gt;  ok  &lt;br /&gt;In the displayed, formatted list of the current settings, numeric variables are often shown in decimal.&lt;br /&gt;To change a variable setting, type:&lt;br /&gt;&lt;br /&gt;  ok setenv variable-name value  &lt;br /&gt;variable-name is the name of the variable. value is a numeric value or text string appropriate to the named variable. A numeric value is interpreted as a decimal number, unless preceded by 0x, which is the qualifier for a hexadecimal number.&lt;br /&gt;For example, to set the auto-boot? variable to false, type:&lt;br /&gt;&lt;br /&gt;  ok setenv auto-boot? false  &lt;br /&gt;  ok  &lt;br /&gt; &lt;br /&gt;Note - Many variable changes do not affect the operation of the firmware until the next power cycle or system reset at which time the firmware uses the variable's new value.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;You can reset one or most of the variables to the original defaults using the set-default variable and set-defaults commands.&lt;br /&gt;For example, to reset the auto-boot? variable to its default setting (true), type:&lt;br /&gt;&lt;br /&gt;  ok set-default auto-boot?  &lt;br /&gt;  ok  &lt;br /&gt;To reset most variables to their default settings, type:&lt;br /&gt;&lt;br /&gt;  ok set-defaults  &lt;br /&gt;  ok  &lt;br /&gt;On SPARC systems, it is possible to reset the NVRAM variables to their default settings by holding down Stop-N while the machine is powering up. When issuing this command, hold down Stop-N immediately after turning on the power to the SPARC system, and keep it pressed for a few seconds or until you see the banner (if the display is available). This is a good technique to force a SPARC compatible machine's NVRAM variables to a known condition.&lt;br /&gt;Setting Security Variables&lt;br /&gt;The NVRAM system security variables are:&lt;br /&gt;• security-mode &lt;br /&gt;• security-password &lt;br /&gt;• security-#badlogins&lt;br /&gt;security-mode can restrict the set of operations that users are allowed to perform from the User Interface. The three security modes, and their available commands, are listed in the following table in the order of most to least secure.&lt;br /&gt;Table 11 Commands Available for security-mode Settings&lt;br /&gt;Mode Commands&lt;br /&gt; &lt;br /&gt;full All commands except for go require the password.&lt;br /&gt;command All commands except for boot and go require the password.&lt;br /&gt;none No password required (default).&lt;br /&gt;Command Security&lt;br /&gt;With security-mode set to command:&lt;br /&gt;• A password is not required if you type the boot command by itself. However, if you use the boot command with an argument, a password is required. &lt;br /&gt;• The go command never asks for a password. &lt;br /&gt;• A password is required to execute any other command.&lt;br /&gt;Examples are shown in the following screen.&lt;br /&gt;&lt;br /&gt;  ok boot               (no password required)  &lt;br /&gt;  ok go                 (no password required)  &lt;br /&gt;  ok boot filename       (password required)  &lt;br /&gt;  Password:             (password is not echoed as it is typed)  &lt;br /&gt;  ok reset-all          (password required)  &lt;br /&gt;  Password:             (password is not echoed as it is typed)  &lt;br /&gt; &lt;br /&gt; Caution - It is important to remember your security password and to set the security password before setting the security mode. If you forget this password, you cannot use your system; you must call your vendor's customer support service to make your machine bootable again.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;To set the security password and command security mode, type the following at the ok prompt:&lt;br /&gt;&lt;br /&gt;  ok password  &lt;br /&gt;  ok New password (only first 8 chars are used):  &lt;br /&gt;  ok Retype new password:  &lt;br /&gt;  ok setenv security-mode command  &lt;br /&gt;  ok  &lt;br /&gt;The security password you assign must be between zero and eight characters. Any characters after the eighth are ignored. You do not have to reset the system; the security feature takes effect as soon as you type the command.&lt;br /&gt;If you enter an incorrect security password, there will be a delay of about 10 seconds before the next boot prompt appears. The number of times that an incorrect security password is typed is stored in the security-#badlogins variable.&lt;br /&gt;Full Security&lt;br /&gt;The full security mode is the most restrictive. With security-mode set to full:&lt;br /&gt;• A password is required any time you execute the boot command. &lt;br /&gt;• The go command never asks for a password. &lt;br /&gt;• A password is required to execute any other command.&lt;br /&gt;Here are some examples.&lt;br /&gt;&lt;br /&gt;  ok go                 (no password required)  &lt;br /&gt;  ok boot               (password required)  &lt;br /&gt;  Password:             (password is not echoed as it is typed)  &lt;br /&gt;  ok boot filename       (password required)  &lt;br /&gt;  Password:             (password is not echoed as it is typed)  &lt;br /&gt;  ok reset-all          (password required)  &lt;br /&gt;  Password:             (password is not echoed as it is typed)  &lt;br /&gt; &lt;br /&gt; Caution - It is important to remember your security password and to set the security password before setting the security mode.. If you forget this password, you cannot use your system; you must call your vendor's customer support service to make your machine bootable again.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;To set the security password and full security, type the following at the ok prompt:&lt;br /&gt;&lt;br /&gt;  ok password  &lt;br /&gt;  ok New password (only first 8 chars are used):  &lt;br /&gt;  ok Retype new password:  &lt;br /&gt;  ok setenv security-mode full  &lt;br /&gt;  ok  &lt;br /&gt;Changing the Power-on Banner&lt;br /&gt;The banner configuration variables are:&lt;br /&gt;• oem-banner &lt;br /&gt;• oem-banner? &lt;br /&gt;• oem-logo &lt;br /&gt;• oem-logo?&lt;br /&gt;To view the power-on banner, type:&lt;br /&gt;&lt;br /&gt;  ok banner  &lt;br /&gt;  &lt;br /&gt;  ok  &lt;br /&gt; &lt;br /&gt;The banner for your system may be different.&lt;br /&gt;The banner consists of two parts: the text field and the logo (over serial ports, only the text field is displayed). You can replace the existing text field with a custom text message using the oem-banner and oem-banner? configuration variables.&lt;br /&gt;To insert a custom text field in the power-on banner, type:&lt;br /&gt;&lt;br /&gt;  ok setenv oem-banner Hello Mom and Dad ok setenv oem-banner? true  &lt;br /&gt;  ok banner  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  ok  &lt;br /&gt; &lt;br /&gt;The system displays the banner with your new message, as shown in the preceding screen.&lt;br /&gt;The graphic logo is handled differently. oem-logo is a 512-byte array, containing a total of 4096 bits arranged in a 64 x 64 array. Each bit controls one pixel. The most significant bit (MSB) of the first byte controls the upper-left corner pixel. The next bit controls the pixel to the right of it, and so on.&lt;br /&gt;To create a new logo, first create a Forth array containing the correct data; then copy this array into oem-logo. The array is then installed in oem-logo with $setenv. The example below fills the top half of oem-logo with an ascending pattern.&lt;br /&gt;&lt;br /&gt;  ok create logoarray d# 512 allot  &lt;br /&gt;  ok logoarray d# 256 0 do i over i + c! loop drop  &lt;br /&gt;  ok logoarray d# 256 " oem-logo" $setenv  &lt;br /&gt;  ok setenv oem-logo? true  &lt;br /&gt;  ok banner  &lt;br /&gt;To restore the system's original power-on banner, set the oem-logo? and oem-banner? variables to false.&lt;br /&gt;&lt;br /&gt;  ok setenv oem-logo? false  &lt;br /&gt;  ok setenv oem-banner? false  &lt;br /&gt;  ok  &lt;br /&gt;Because the oem-logo array is so large, printenv displays approximately the first 8 bytes (in hexadecimal). To display the entire array, use the phrase oem-logo dump. The oem-logo array is not erased by set-defaults, since it might be difficult to restore the data. However, oem-logo? is set to false when set-defaults executes, so the custom logo is no longer displayed.&lt;br /&gt; &lt;br /&gt;Note - Some systems do not support the oem-logo feature.&lt;br /&gt;&lt;br /&gt;Input and Output Control&lt;br /&gt;&lt;br /&gt;The console is used as the primary means of communication between OpenBoot and the user. The console consists of an input device, used for receiving information supplied by the user, and an output device, used for sending information to the user. Typically, the console is either the combination of a text/graphics display device and a keyboard or an ASCII terminal connected to a serial port.&lt;br /&gt;The configuration variables related to the control of the console are:&lt;br /&gt;• input-device &lt;br /&gt;• output-device &lt;br /&gt;• screen-#columns &lt;br /&gt;• screen-#rows&lt;br /&gt;You can use these variables to assign the power-on defaults for the console. These values do not take effect until after the next power cycle or system reset.&lt;br /&gt;Selecting Input and Output Device Options&lt;br /&gt;The input-device and output-device variables control the firmware's selection of input and output devices after a power-on reset. The default input-device value is keyboard and the default output-device value is screen. The values of input-device and output-device must be device specifiers. The aliases keyboard and screen are often used as the values of these variables.&lt;br /&gt;When the system is reset, the named device becomes the initial firmware console input or output device. (If you want to temporarily change the input or output device, use the input or output commands described in Chapter 4, "Using Forth Tools".)&lt;br /&gt;To set ttya as the initial console input device, type:&lt;br /&gt;&lt;br /&gt;  ok setenv input-device ttya  &lt;br /&gt;  ok  &lt;br /&gt;If you select keyboard for input-device, and the device is not plugged in, input is accepted from a fallback device (typically ttya) after the next power cycle or system reset. If you select screen for output-device, but no frame buffer is available, output is sent to the fall-back device after the next power cycle or system reset.&lt;br /&gt;To specify an SBus frame buffer as the default output device (especially if there are multiple frame buffers in the system), type:&lt;br /&gt;&lt;br /&gt;  ok setenv output-device /sbus/SUNW,leo  &lt;br /&gt;  ok  &lt;br /&gt;Serial Port Characteristics&lt;br /&gt;The following values represent the typical range of communications characteristics for serial ports:&lt;br /&gt;• baud = 110, 300, 1200, 2400, 4800, 9600, 19200, or 38400 bits/second &lt;br /&gt;• #bits = 5, 6, 7, or 8 (data bits) &lt;br /&gt;• parity = n (none), e (even), or o (odd), parity bit &lt;br /&gt;• #stop = 1 (1), . (1.5), or 2 (2) stop bits&lt;br /&gt; &lt;br /&gt;Note - rts/cts and xon/xoff handshaking are not implemented on some systems. When a selected protocol is not implemented, the handshake variable is accepted but ignored; no messages are displayed.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Selecting Boot Options&lt;br /&gt;&lt;br /&gt;You can use the following configuration variable to determine whether or not the &lt;br /&gt;system will boot automatically after a power cycle or system reset.&lt;br /&gt;• auto-boot?&lt;br /&gt;If auto-boot? is true and if OpenBoot is not in diagnostic mode, the system boots automatically after a power-cycle or system reset using the boot-device and boot-file values.&lt;br /&gt;These variables can also be used during manual booting to select the boot device and the program to be booted. For example, to specify default booting from the network server, type:&lt;br /&gt;&lt;br /&gt;  ok setenv boot-device net  &lt;br /&gt;  ok  &lt;br /&gt;Changes to boot-file and boot-device take effect the next time that boot is executed.&lt;br /&gt;Controlling Power-on Self-Test (POST)&lt;br /&gt;The Power-on Testing variables are:&lt;br /&gt;• diag-switch? &lt;br /&gt;• diag-device &lt;br /&gt;• diag-file &lt;br /&gt;• diag-level&lt;br /&gt;Setting diag-switch? to true causes the function diagnostic-mode? to return true. When diagnostic-mode? returns true, the system:&lt;br /&gt;• Performs more thorough self tests during any subsequent power-on or system reset process. &lt;br /&gt;• May display additional status messages (the details are implementation dependent). &lt;br /&gt;• Uses different configuration variables for booting. (For more details on the effects on the boot process, see Chapter 2, "Booting and Testing Your System".)&lt;br /&gt;Most systems have a factory default of false for the diag-switch? variable. To set diag-switch? to true, type:&lt;br /&gt;&lt;br /&gt;  ok setenv diag-switch? true  &lt;br /&gt;  ok  &lt;br /&gt; &lt;br /&gt;Note - Some systems have a hardware diagnostic switch that also cause diagnostic-mode? to return true. Such systems run the full tests at power-on and system reset if either the hardware switch is set or diag-switch? is true.&lt;br /&gt;&lt;br /&gt;Note - Some implementations enable you to force diag-switch? to true by using an implementation-dependent key sequence during power-on. Check your system's documentation for details, or see Appendix C, "Troubleshooting Guide."&lt;br /&gt;&lt;br /&gt;To set diag-switch? to false, type:&lt;br /&gt;&lt;br /&gt;  ok setenv diag-switch? false  &lt;br /&gt;  ok  &lt;br /&gt;&lt;br /&gt;When not in diagnostic mode, the system does not announce the diagnostic tests as they are performed (unless a test fails) and may perform fewer tests.&lt;br /&gt;Using nvramrc&lt;br /&gt;The nvramrc configuration variable whose contents are called the script, can be used to store user-defined commands executed during start-up.&lt;br /&gt;Typically, nvramrc is used by a device driver to save start-up configuration variables, to patch device driver code, or to define installation-specific device configuration and device aliases. It can also be used for bug patches or for user-installed extensions. Commands are stored in ASCII, just as the user would type them at the console.&lt;br /&gt;If the use-nvramrc? configuration variable is true, the script is evaluated during the OpenBoot start-up sequence as shown:&lt;br /&gt;• Perform power-on self-test (POST) &lt;br /&gt;• Perform system initialization &lt;br /&gt;• Evaluate the script (if use-nvramrc? is true) &lt;br /&gt;• Execute probe-all (evaluate FCode) &lt;br /&gt;• Execute install-console &lt;br /&gt;• Execute banner &lt;br /&gt;• Execute secondary diagnostics &lt;br /&gt;• Perform default boot (if auto-boot? is true)&lt;br /&gt;It is sometimes desirable to modify the sequence probe-all install-console banner. For example, commands that modify the characteristics of plug-in display devices may need to be executed after the plug-in devices have been probed, but before the console device has been selected. Such commands would need to be executed between probe-all and install-console. Commands that display output on the console would need to be placed after install-console or banner.&lt;br /&gt;This is accomplished by creating a custom script which contains either banner or suppress-banner since the sequence probe-all install-console banner is not executed if either banner or suppress-banner is executed&lt;br /&gt;from the script. This allows the use of probe-all, install-console and banner inside the script, possibly interspersed with other commands, without having those commands re-executed after the script finishes.&lt;br /&gt;Most User Interface commands can be used in the script. The following cannot:&lt;br /&gt;• boot &lt;br /&gt;• go &lt;br /&gt;• nvedit &lt;br /&gt;• password &lt;br /&gt;• reset-all &lt;br /&gt;• setenv security-mode&lt;br /&gt;Editing the Contents of the Script&lt;br /&gt;&lt;br /&gt;The script editor, nvedit, lets you create and modify the script using the commands listed in Table 12.&lt;br /&gt;&lt;br /&gt;Table 12 Commands Affecting NVRAMAC&lt;br /&gt;&lt;br /&gt;Command Description&lt;br /&gt; &lt;br /&gt;nvalias alias device-path Stores the command "devalias alias device-path" in the script. The alias persists until either nvunalias or set-defaults is executed.&lt;br /&gt;$nvalias Performs the same function as nvalias except that it takes its arguments, name-string and device-string, from the stack.&lt;br /&gt;nvedit Enters the script editor. If data remains in the temporary buffer from a previous nvedit session, resumes editing those previous contents. If not, reads the contents of nvramrc into the temporary buffer and begins editing it.&lt;br /&gt;nvquit Discards the contents of the temporary buffer, without writing it to nvramrc. Prompts for confirmation.&lt;br /&gt;nvrecover Recovers the contents of nvramrc if they have been lost as a result of the execution of set-defaults; then enters the editor as with nvedit. nvrecover fails if nvedit is executed between the time that the nvramrc contents were lost and the time that nvrecover is executed.&lt;br /&gt;nvrun Executes the contents of the temporary buffer.&lt;br /&gt;nvstore Copies the contents of the temporary buffer to nvramrc; discards the contents of the temporary buffer.&lt;br /&gt;nvunalias alias Deletes the specified alias from nvramrc.&lt;br /&gt;$nvunalias Performs the same function as nvunalias except that it takes its argument, name-string, from the stack.&lt;br /&gt;The editing commands shown in Table 13 are used in the script editor.&lt;br /&gt;Table 13 Script Editor Keystroke Commands&lt;br /&gt;Keystroke Description&lt;br /&gt; &lt;br /&gt;Control-B Moves backward one character.&lt;br /&gt;Escape B Moves backward one word.&lt;br /&gt;Control-F Moves forward one character.&lt;br /&gt;Escape F Moves forward one word.&lt;br /&gt;Control-A Moves backward to beginning of the line.&lt;br /&gt;Control-E Moves forward to end of the line.&lt;br /&gt;Control-N Moves to the next line of the script editing buffer.&lt;br /&gt;Control-P Moves to the previous line of the script editing buffer.&lt;br /&gt;Return (Enter) Inserts a new line at the cursor position and advances to the next line.&lt;br /&gt;Control-O Inserts a newline at the cursor position and stays on the current line.&lt;br /&gt;Control-K Erases from the cursor position to the end of the line, storing the erased characters in a save buffer. If at the end of a line, joins the next line to the current line (i.e. deletes the newline).&lt;br /&gt;Delete Erases the previous character.&lt;br /&gt;Backspace Erases the previous character.&lt;br /&gt;Control-H Erases the previous character.&lt;br /&gt;Escape H Erases from beginning of word to just before the cursor, storing erased characters in a save buffer.&lt;br /&gt;Control-W Erases from beginning of word to just before the cursor, storing erased characters in a save buffer.&lt;br /&gt;Control-D Erases the next character.&lt;br /&gt;Escape D Erases from the cursor to the end of the word, storing the erased characters in a save buffer.&lt;br /&gt;Control-U Erases the entire line, storing the erased characters in a save buffer.&lt;br /&gt;Control-Y Inserts the contents of the save buffer before the cursor.&lt;br /&gt;Control-Q Quotes the next character (i.e. allows you to insert control characters).&lt;br /&gt;Control-R Retypes the line.&lt;br /&gt;Control-L Displays the entire contents of the editing buffer.&lt;br /&gt;Control-C Exits the script editor, returning to the OpenBoot command interpreter. The temporary buffer is preserved, but is not written back to the script. (Use nvstore afterwards to write it back.)&lt;br /&gt;Activating the Script&lt;br /&gt;Use the following steps to create and activate the script:&lt;br /&gt;1. At the ok prompt, type nvedit. &lt;br /&gt;Edit the script using editor commands.&lt;br /&gt;2. Type Control-C to get out of the editor and back to the ok prompt. &lt;br /&gt;If you have not yet typed nvstore to save your changes, you may type nvrun to execute the contents of the temporary edit buffer.&lt;br /&gt;3. Type nvstore to save your changes. &lt;br /&gt;4. Enable the interpretation of the script by typing: &lt;br /&gt;&lt;br /&gt;  setenv use-nvramrc? true  &lt;br /&gt;5. Type reset-all to reset the system and execute the script, or type: &lt;br /&gt;&lt;br /&gt;  nvramrc evaluate  &lt;br /&gt;to execute the contents directly.&lt;br /&gt;The following example shows you how to create a simple colon definition in the script.&lt;br /&gt;&lt;br /&gt;  ok nvedit  &lt;br /&gt;  0: : hello ( -- )  &lt;br /&gt;  1: ." Hello, world. " cr  &lt;br /&gt;  2: ;  &lt;br /&gt;  3: ^C  &lt;br /&gt;  ok nvstore  &lt;br /&gt;  ok setenv use-nvramrc? true  &lt;br /&gt;  ok reset-all  &lt;br /&gt;  ...  &lt;br /&gt;  ok hello  &lt;br /&gt;  Hello, world.  &lt;br /&gt;  ok  &lt;br /&gt;Notice the nvedit line number prompts (0:, 1:, 2:, 3:) in the above example. These prompts are system-dependent.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114850361934256143?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114850361934256143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114850361934256143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850361934256143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850361934256143'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/all-about-obp.html' title='All About OBP'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114850229945984428</id><published>2006-05-24T21:21:00.000+01:00</published><updated>2006-05-24T21:24:59.620+01:00</updated><title type='text'>Hardware Sizing - Oracle Application Server</title><content type='html'>This document presents a set of guidelines for use when sizing the correct hardware for oracle application server.&lt;br /&gt;&lt;br /&gt;The main steps toward sizing the right hardware are the following&lt;br /&gt;1. Analyze the user load and requirement&lt;br /&gt;2. Choose architecture&lt;br /&gt;3. Choose database management system&lt;br /&gt;4. Consider reliability&lt;br /&gt;5. Consider scalability&lt;br /&gt;6. Use Hardware sizing tool&lt;br /&gt;&lt;br /&gt;Three types of information will be needed for sizing the hardware: &lt;br /&gt;&lt;br /&gt;Processing&lt;br /&gt;&lt;br /&gt;The first type of question has to do with processing (i.e., CPU) requirements. The business transaction volumes will be important for sizing CPU requirements. In some situations, this can be reduced to merely asking for “number of users.” In other cases, not all users put the same load on the server, so it may be necessary to ask for the “total number of business transactions processed.” Other questions include: How many orders are entered in a typical 8-hour day? What is the average number of items per order? How many loans are processed? How many hits-per-second are typical for a Web application? &lt;br /&gt;&lt;br /&gt;Memory&lt;br /&gt;&lt;br /&gt;The second type of question has to do with memory requirements. Often, applications are designed so that separate jobs and/or storage are used for each user. These questions will take the form of: How many order entry users are there? How many accounts payable users are there? How many concurrent users/transactions are there? ...etc. &lt;br /&gt;&lt;br /&gt;Disk&lt;br /&gt;&lt;br /&gt;The third type of question will have to do with DASD requirements. How many documents and records are there? What is their average size? How many SKUs are maintained? How many customer accounts? How long is historical data kept on-line? &lt;br /&gt;&lt;br /&gt;Each of these three categories for information gathering may benefit from additional questions to help determine the complexity or “largeness” of that item. Questions such as &lt;br /&gt;&lt;br /&gt;“Are users accessing the application through the Web or a native interface?” might affect the amount of CPU processing. &lt;br /&gt;&lt;br /&gt;“What proportion of application users are doing Web browsing versus Web purchasing?” may affect disk activity for updates as compared to the total memory demand for caching frequently referenced Web pages.&lt;br /&gt;&lt;br /&gt;Some care must be taken to organize the questions, phrasing them in a logical and comprehensible manner so the end user does not become overwhelmed. Also, keep in mind that code can be provided in the Sizing Guide Solution to offer some reasonable defaults in the event that not all of the information is readily known by the user. In some cases, the customer will only have “impressions” of how the server will be used. This will lead to using a large number of “fuzzy” terms to describe the work. Terms such as “light,” “heavy,” “moderate,” “casual,” and “complex” would be used extensively as answers to the sizing questions. This can make the effort of quantifying the default values more critical to achieving reasonable sizing results. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sizing Parameters:&lt;br /&gt;&lt;br /&gt;The sizing depends heavily on two parameters, 'Total Connected Users' and 'Business Trx/hr for all Users'. Also for light users, 'Business Trx/hr for all users' should be at least 1 to 4 times 'Total Connected Users'. For heavy users, 'Business Trx/hr for all Users' can be upto 12 times the 'Total Connected Users'.&lt;br /&gt;&lt;br /&gt;Number of Active Concurrent Users is the number of users who are actively using the system. An active user requests a page, thinks for some time, then requests another page. The user is considered active in the time between the first and last page access, including the think times. &lt;br /&gt;&lt;br /&gt;Page View Rate per User is the rate at which the average user generates a page request (i.e. "click") on the system. Isizer expects this number of page views to be expressed in per minute. You can enter a fraction if the rate you desire is less than one.  &lt;br /&gt;&lt;br /&gt;Number of Hits per Page View Each page view by a user will generate one or more hits on the OC4J server depending on the page and the application behind it due to images and other things in the page. More complex web pages tend to generate more hits and therefore are heavier for OC4J to process. &lt;br /&gt;&lt;br /&gt;Workload Type Ultimately sizing OC4J is very dependent on the java application. A poorly written or very complex application will require more resources than a well-written, simple application. We have chosen the Pet Store application to run our benchmarks and generate our sizing metrics. You must estimate how much heavier or lighter your application is compared to Pet Store. A "Browsing" scenario is more appropriate to choose when your web site is mostly used for read only access; more data  &lt;br /&gt;&lt;br /&gt;A transaction is simply the HTTP hit that primarily constitutes a transaction. Throughput is a measure of the data transferred between users and the application server. Because the test requires all work to be done within an hour, throughput was not an explicit goal of the testing. &lt;br /&gt;&lt;br /&gt;Latency is the time it takes one user to perform a transaction and receive results from Application. (Ttransaction latency does not include browser rendering, although it does reflect network load.) Lastly, the term named users represents the total community of users who have login-concurrent users are the authenticated and active subset of named users.&lt;br /&gt;&lt;br /&gt;Transaction Concurrency&lt;br /&gt;&lt;br /&gt;Transaction concurrency is a derivative of the testing scenario, which simulated users in a typical Application environment with a production database. The testing confirmed that transaction concurrency and latency are directly related. When a system gets busy, then more transactions end up executing at the same time and generally take longer to complete-the level of transaction concurrency increases when latency increases. &lt;br /&gt;&lt;br /&gt;Scalability &lt;br /&gt;&lt;br /&gt;Scalability refers to the performance characteristics an application as the workload increases, and an the application as it runs on larger and larger server configurations. For example, an application with a characteristic of linear scalability requires twice the server resources to perform twice the workload. Another vertical scalability characteristic involves whether an application can make full use of system resources (e.g., all processors as n-way increases). &lt;br /&gt;&lt;br /&gt;The application itself should be “tuned” to make optimal use of CPU, memory, and disk resources that is, to make the application scale in a predictable and efficient manner. Examples of tuning techniques include: analyzing the application’s efficiency, adjusting the application design and implementation to perform as much parallel work in multiple threads (or jobs), and minimizing locking contention between application users (or between various parts of the application). Given enough disk and memory resources, and with enough workload, a highly scalable application can push the processor to 90% utilization or higher. &lt;br /&gt;&lt;br /&gt;An application may have been designed for a certain kind of hardware configuration, which effectively means that buying larger, faster hardware may not yield the expected, linear improvement in throughput. For instance, if the application is written to take advantage of 16 threads, then running that application on a 32-way processor will not show throughput that is anywhere near twice as fast. &lt;br /&gt;&lt;br /&gt;CPU Sizing&lt;br /&gt;&lt;br /&gt;This section includes two formulas for CPU sizing - one for determining a configuration that will provide optimal response times, and one for producing a configuration with good (but less than optimal) response times. In choosing which formula to use, consider the transaction types and user characteristics of the target environment. Section 2, “Test Results” shows which transaction types exhibit better scaling in comparison to others, and this information can be used as a reference to tailor configurations for particular workloads.&lt;br /&gt;&lt;br /&gt;The formulas presented below for CPU sizing are based on the number of transactions per CPU. This seems to be the best approach given trends in the test results. Deriving the number of transactions per&lt;br /&gt;&lt;br /&gt;CPU requires:&lt;br /&gt;&lt;br /&gt;The number of concurrent users, given a named user population of a certain size&lt;br /&gt;The number of concurrent users that have transactions executing at any one point in time Of the total concurrent users, how many would have transactions that are simultaneously executing?&lt;br /&gt;&lt;br /&gt;This value is directly related to the transaction latency measured in the tests. For optimal response times, this value is 3.5 percent, and for moderate response times, it is 4.5 percent.&lt;br /&gt;&lt;br /&gt;Next, since we know the expected number of transactions in the system, how do these transactions map to CPUs? Again the testing provides some indication-approximately 2.5 transactions were executing on each CPU when response times were optimal, and about 4.5 transactions were executing on each CPU when response times were reasonable (but not optimal).&lt;br /&gt;&lt;br /&gt;Total CPU MHz = # Hits/Sec * 4.65&lt;br /&gt;Number of CPUs = Total CPU MHz / MHz per CPU&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114850229945984428?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114850229945984428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114850229945984428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850229945984428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850229945984428'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/hardware-sizing-oracle-application.html' title='Hardware Sizing - Oracle Application Server'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114850133637399601</id><published>2006-05-24T20:58:00.000+01:00</published><updated>2006-05-24T21:08:56.476+01:00</updated><title type='text'>Samba Configuration guide</title><content type='html'>Introduction&lt;br /&gt;&lt;br /&gt;Samba is a useful program to install if your Solaris machine is networked with other machines running Windows. It enables the Solaris system to appear in Network Neighborhood on Windows, thus enabling simple drag-and-drop transfer of files between the systems. Samba also enables the Solaris system to print to printers attached to a Windows system..&lt;br /&gt;&lt;br /&gt;Samba is supplied in source form and you need to compile it. This isn't difficult! Before doing so, you need to have installed the g(un)zip program and a C compiler. All of these are freely downloadable from the Net and instructions for installing C and gzip are here.&lt;br /&gt; &lt;br /&gt;Installing Samba&lt;br /&gt;&lt;br /&gt;1. Download the source code:&lt;br /&gt;The source of Samba is available from http://samba.org. At the time of writing, the latest version is V2.0.6 and the source code is provided as a compressed tar archive in the file samba-2.0.6.tar.gz. Download the file to a temporary directory, such as /tmp.&lt;br /&gt;&lt;br /&gt;2. Prepare the source code for compilation:&lt;br /&gt;Make a directory at a convenient point in the file system to hold the source code and copy the source into this directory. For example:&lt;br /&gt; # mkdir -p /opt/source/samba&lt;br /&gt; # cd /opt/source/samba&lt;br /&gt; # cp /tmp/samba-2.0.6.tar.gz .&lt;br /&gt;Unzip and untar the source and then change to the directory created by tar:&lt;br /&gt; # gunzip samba*&lt;br /&gt; # tar xvf samba*&lt;br /&gt; # cd samba-2.0.6&lt;br /&gt;At this point, you may like to have a look at the README file for general information and at the file docs/textdocs/UNIX_INSTALL.txt for detailed installation instructions. If you're impatient, just follow the instructions here which should be enough to get you started..&lt;br /&gt;&lt;br /&gt;3. Compile the source code and install Samba:&lt;br /&gt;Configure the compilation process for your system:&lt;br /&gt; # cd source&lt;br /&gt; # ./configure&lt;br /&gt;Compile the source code:&lt;br /&gt; # make&lt;br /&gt;Finally, install the compiled code:&lt;br /&gt; # make install&lt;br /&gt;This installs all the Samba files in directories under /usr/local/samba with the binaries in /usr/local/samba/bin and the manual pages in /usr/local/samba/man.&lt;br /&gt;&lt;br /&gt;4. Modify the search path:&lt;br /&gt;You now need to modify the man search path so that the 'man' command can find Samba's manual page. If you're running the CDE windowing system, this is done by editing the file /.dtprofile and adding the following lines (if they aren't already there) to the end of this file:&lt;br /&gt; MANPATH=$MANPATH:/usr/man/:/usr/local/man:/usr/local/samba/man&lt;br /&gt;It's advisable to log out and log in again at this point to activate this change. Make sure that the system can find the Samba manual page:&lt;br /&gt; # man samba&lt;br /&gt;&lt;br /&gt;5. Create the Samba lock directory:&lt;br /&gt;At this point, create the lock directory used by Samba:&lt;br /&gt; # mkdir /usr/local/samba/var/locks&lt;br /&gt;&lt;br /&gt;6. Create a share directory:&lt;br /&gt;It's useful to create a directory on the Solaris system that is fully shareable on the local network so that Windows systems can read files from the Solaris system and write files to it. To do this:&lt;br /&gt; mkdir /share&lt;br /&gt;  chmod 777 /share&lt;br /&gt;  chmod +t /share&lt;br /&gt;  chown sys /share&lt;br /&gt;  chgrp sys share&lt;br /&gt;&lt;br /&gt;7. Configure Samba:&lt;br /&gt;Samba is controlled by means of the configuration file /usr/local/samba/lib/smb.conf&lt;br /&gt;Create a basic configuration file containing the following lines:&lt;br /&gt; # Global parameters&lt;br /&gt;  workgroup = HOME&lt;br /&gt;  security = Share&lt;br /&gt;  hosts allow = localhost, local-machine-name, 192.168.1.&lt;br /&gt;  hosts deny = All&lt;br /&gt; [root]&lt;br /&gt;  path = /&lt;br /&gt;  comment = Solaris root&lt;br /&gt;  guest ok = Yes&lt;br /&gt;  read only = Yes&lt;br /&gt; [share]&lt;br /&gt;  path = /share&lt;br /&gt;  comment = Solaris share&lt;br /&gt;  guest ok = Yes&lt;br /&gt;  read only = No&lt;br /&gt;Note that "# Global parameters", "[root]" and "[share]" should be positioned at the start of their lines and all other lines should be prefixed with a tab character.&lt;br /&gt;In this file, replace HOME with the name of your Windows workgroup or domain. On a Windows 95 or 98 system, this is the "Workgroup" name set on the Identification tab in Start -&gt; Settings -&gt; Control Panel -&gt; Network. On NT 4, this name is found in the same place but is called the "Domain".&lt;br /&gt;&lt;br /&gt;Also, replace local-machine-name with the name of your Solaris system so that it can connect to the swat Web server described later, and replace 192.168.1 with the first three components of the IP addresses used on your local network. The range 192.168.1.1 to 192.168.1.254 is reserved for private use and is a good choice to use for a local network. Note the presence of a dot after the partial IP address in the configuration file.&lt;br /&gt;&lt;br /&gt;The effect of this basic configuration file is to allow access to your Solaris system from Windows machines on the local network only (those with IP addresses starting 192.168.1) and a password is not required to browse the Solaris system. The root file system is shared but is read-only and the /share directory is shared with both read and write access. Incoming connections to the Solaris system have a User and Group identity (uid and gid) of the "nobody" user by default.&lt;br /&gt;This basic configuration file can be amended later, if you wish, to share only specific directories with other networked systems, to require the use of passwords and to allow printing. I recommend that the "swat" program is used (see later) to make further changes to the configuration file.&lt;br /&gt;&lt;br /&gt;8. Check the configuration file:&lt;br /&gt;It's advisable to check that Samba is happy with the basic configuration file. Type the following:&lt;br /&gt; # cd /usr/local/samba/bin&lt;br /&gt; # ./testparm    &lt;br /&gt;and this should display the following:&lt;br /&gt; Load smb config files from /usr/local/samba/lib/smb.conf&lt;br /&gt; Processing section "[root]"&lt;br /&gt; Processing section "[share]"&lt;br /&gt; Loaded services file OK.&lt;br /&gt; Press enter to see a dump of your service definitions&lt;br /&gt;At this point, press ENTER to see a list of all the default options or type CONTROL and C to exit.&lt;br /&gt;&lt;br /&gt;9. Arrange for inetd to start the Samba daemons:&lt;br /&gt;Most of Samba's services are provided by means of three servers or daemons: smbd is the Samba server, nmbd is the NetBIOS name server and swat is a Web-based Samba configuration tool. These deal with incoming connections on ports 137, 139 and 901 respectively and we need to tell the Solaris internet daemon, inetd, to start the appropriate Samba daemons whenever an incoming request is received on these ports.&lt;br /&gt;Edit /etc/services and make the following changes.&lt;br /&gt;Immediately after the line which reads:&lt;br /&gt; sunrpc  111/tcp  rpcbind&lt;br /&gt;insert the two lines:&lt;br /&gt; netbios-ns      137/udp  # Samba nmbd&lt;br /&gt; netbios-ssn     139/tcp  # Samba smbd&lt;br /&gt;and, after the line which reads:&lt;br /&gt; ldaps  636/udp  # LDAP protocol over TLS/SSL (was sldap)&lt;br /&gt;insert the line:&lt;br /&gt; swat   901/tcp  # Samba swat&lt;br /&gt;Now edit /etc/inetd.conf and add the following three lines to the end of the file:&lt;br /&gt; netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd&lt;br /&gt; netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd&lt;br /&gt; swat  stream tcp nowait.400 root /usr/local/samba/bin/swat swat&lt;br /&gt;If you have TCP wrappers installed (see Installing and configuring TCP Wrappers on Solaris), the three lines to be added should read:&lt;br /&gt; netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/local/samba/bin/smbd smbd&lt;br /&gt; netbios-ns dgram udp wait root /usr/sbin/tcpd /usr/local/samba/bin/nmbd nmbd&lt;br /&gt; swat  stream tcp nowait.400 root /usr/sbin/tcpd /usr/local/samba/bin/swat swat&lt;br /&gt;Tell the inetd daemon to re-read its configuration file:&lt;br /&gt; # pkill -HUP inetd&lt;br /&gt;and Samba is installed and working.&lt;br /&gt;&lt;br /&gt;10. Simple testing&lt;br /&gt;Start up Windows Explorer on a Windows machine on your local network and look in Network Neighborhood. You should see an entry for your Solaris machine there and you should be able to browse the Solaris file system from the Windows machine. Using standard Windows drag-and-drop techniques, you should be able to copy files (as long as they have global read access) from the Solaris system to the Windows system.. You should also be able to copy files from Windows to directories on Solaris which have global write access, such as /tmp and /share.&lt;br /&gt;&lt;br /&gt;11. Using swat&lt;br /&gt;Swat is a Web server which runs on your local machine in response to HTTP connections on port 901. It provides a graphical interface for configuring Samba and access to some of Samba's documentation. To connect to Swat, simply start your Web browser and point it at:&lt;br /&gt;http://localhost:901&lt;br /&gt;If this doesn't work, replace "localhost" with the name of your Solaris machine.&lt;br /&gt;&lt;br /&gt;12. And finally:&lt;br /&gt;This page is not intended to be a complete guide to Samba. Its purpose is really to provide a step-by-step guide to installing Samba and making it work without having to plough through the voluminous documentation provided with the software.&lt;br /&gt;If you make further changes to the Samba configuration file smb.conf, note that the two Samba daemons should be told to re-read the file by issuing the commands:&lt;br /&gt; # pkill -HUP smbd&lt;br /&gt; # pkill -HUP nmbd&lt;br /&gt;&lt;br /&gt;Start Samba &lt;br /&gt;&lt;br /&gt;Smbd –D –s  /usr/local/samba/lib/smb.conf&lt;br /&gt;Nmbd –D –s  /usr/local/samba/lib/smb.conf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114850133637399601?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114850133637399601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114850133637399601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850133637399601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850133637399601'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/samba-configuration-guide.html' title='Samba Configuration guide'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114850045551915650</id><published>2006-05-24T20:45:00.000+01:00</published><updated>2006-05-24T20:57:52.220+01:00</updated><title type='text'>Apache Web server configuration guide</title><content type='html'>Apache is the most widely used Web server. The below is the configuration guide on unix platform.&lt;br /&gt;&lt;br /&gt;Files created by apache&lt;br /&gt;&lt;br /&gt;• /etc/httpd/conf/ – This directory contains all the apache configuration files&lt;br /&gt;• /etc/rc.d/ -- This directory contains system startup scripts.&lt;br /&gt;• /var/www – The default documents and web pages.&lt;br /&gt;• /usr/share/man – The man pages for apache.&lt;br /&gt;• /usr/sbin – The executable programs are placed here.&lt;br /&gt;• /var/log/hhtpd – The Server log files are placed here.&lt;br /&gt;&lt;br /&gt;Starting and Stopping the Apache Server&lt;br /&gt;&lt;br /&gt;Starting&lt;br /&gt;&lt;br /&gt;/etc/rc.d/init.d/httpd start&lt;br /&gt;&lt;br /&gt;Stoping&lt;br /&gt;&lt;br /&gt;/etc/rc.d/init.d/httpd stop&lt;br /&gt;&lt;br /&gt;Restarting&lt;br /&gt;&lt;br /&gt;/etc/rc.d/init.d/httpd restart&lt;br /&gt;&lt;br /&gt;Monitoring the status&lt;br /&gt;&lt;br /&gt;/etc/rc.d/init.d/httpd status&lt;br /&gt;&lt;br /&gt;Runtime server configuration settings&lt;br /&gt;&lt;br /&gt;we have to configure it as per out need. This run time configuration files are&lt;br /&gt;&lt;br /&gt;httpd.conf&lt;br /&gt;&lt;br /&gt;access.conf&lt;br /&gt;&lt;br /&gt;srm.conf&lt;br /&gt;&lt;br /&gt;Configuration Directives&lt;br /&gt;&lt;br /&gt;• The runtime configuration is done with “Configuration Directives” in the above mentioned files.&lt;br /&gt;&lt;br /&gt;• Configuration directives are used the tell the server about various information such as&lt;br /&gt;&lt;br /&gt;* Location of files required for server.&lt;br /&gt;* To enable or disable a particular facility.&lt;br /&gt;&lt;br /&gt;Syntax for Configuration directive&lt;br /&gt;  &lt;br /&gt;directive option option ...&lt;br /&gt;&lt;br /&gt;• The directives are specified one per line.&lt;br /&gt;&lt;br /&gt;Special Directives&lt;br /&gt;&lt;br /&gt;• The special directives are also called as “sections”&lt;br /&gt;• The sections are similar to HTML tags&lt;br /&gt;• The contains group of  “configuration directives”&lt;br /&gt;&lt;br /&gt;Syntax for Special Directives&lt;br /&gt;&lt;br /&gt;&lt;Directory some/dir/&gt;&lt;br /&gt;directive option option&lt;br /&gt;directive option opthin&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;&lt;br /&gt;All special directives are opened with &lt;&gt; tag and closed with &lt;/&gt; tag.&lt;br /&gt;&lt;br /&gt;Editing httpd.conf file&lt;br /&gt;&lt;br /&gt;Most of the default settings can be left as it is.&lt;br /&gt;&lt;br /&gt;The following list provides the directives that are very important.&lt;br /&gt;&lt;br /&gt;ServerType Directive&lt;br /&gt;&lt;br /&gt;This directive have two options &lt;br /&gt;• Standalone&lt;br /&gt;• inetd&lt;br /&gt;&lt;br /&gt;Standalone Directive&lt;br /&gt;&lt;br /&gt; Standalone is the most widely used in all web servers, The advantage of using this option is that the client do not have to refer the server for same web page again and again.if a particular web page is being viewed  this is being cached by the browser, the user can revisit the page stored in the browser with out intervening the server.&lt;br /&gt;&lt;br /&gt;Inetd Directive&lt;br /&gt;&lt;br /&gt;Inetd is not widely used, it is slow when compared to standalone option.This option is used for security reason and configuration checking. For each and every request the server spawns its process.&lt;br /&gt;&lt;br /&gt;ServerRoot Directive&lt;br /&gt;&lt;br /&gt;This directive sets the absolute path to your server directory, It tells where to find all the resources and configuration files. &lt;br /&gt;&lt;br /&gt;ServerRoot  “/etc/httpd”&lt;br /&gt;&lt;br /&gt;By default the server root is set to /etc/httpd directory. If you wish to create a separate configuration in different directory, you can mention that directory.&lt;br /&gt;&lt;br /&gt;Port Directive&lt;br /&gt;&lt;br /&gt;The Port directive indicates which port your server to run on. By default it is set to 80, which is standard HTTP port number. If you decide to run the server on any other port , the port number can be changed to your desire.&lt;br /&gt;&lt;br /&gt;Port 80&lt;br /&gt;&lt;br /&gt;User and Group Directives&lt;br /&gt;&lt;br /&gt;This directive sets the UID and GID that the server will use to process requests. We should be careful while setting the UID. The UID should be set as a user with no privilege or less privilege.&lt;br /&gt;&lt;br /&gt;The default set is&lt;br /&gt;&lt;br /&gt;User apache&lt;br /&gt;Group apache&lt;br /&gt;&lt;br /&gt;By default the default user and group directive is apache.&lt;br /&gt;&lt;br /&gt;ServerAdmin Directive&lt;br /&gt;&lt;br /&gt;This should be set to the mail id of the webmaster, if any error occurs it will be mailed to webmasters email id.&lt;br /&gt;&lt;br /&gt;ServerAdmin webmaster@drmcet.org&lt;br /&gt; &lt;br /&gt;ServerName Directive&lt;br /&gt;&lt;br /&gt;The ServerName directive sets the hostname the server will return to client if any request is made.&lt;br /&gt;&lt;br /&gt;ServerName www.drmcet.org&lt;br /&gt;&lt;br /&gt;DocumentRoot directive&lt;br /&gt;&lt;br /&gt;Set it to the absolute path of your document tree. which is the top directory from which apache will serve files.&lt;br /&gt;&lt;br /&gt;By default&lt;br /&gt;&lt;br /&gt;DocumentRoot “/var/www/html”&lt;br /&gt;&lt;br /&gt;If you wish to create your own html source in some other directory you can specify the path of that directory instead of /var/www/html as argument.&lt;br /&gt;In older version of apache this directive is present in srm.conf&lt;br /&gt;&lt;br /&gt;UserDir Directive&lt;br /&gt;&lt;br /&gt;This directive defines the directory relative to a local user’s home directory where that user can put public HTML documents. It is relative because each user will have their own HTML directory.&lt;br /&gt;&lt;br /&gt;The default setting for this directive is public_html. So each user will be able to create a directory called public_html under his home directory.HTML documents available under this directory can be viewed by http://servername/~username, where user name is the name of the particular user.&lt;br /&gt;&lt;br /&gt;In older version of apache this directive is present in srm.conf.&lt;br /&gt;&lt;br /&gt;UserDir public_html&lt;br /&gt;&lt;br /&gt;DirectoryIndex directive&lt;br /&gt;&lt;br /&gt;The DirectoryIndex directive indicates which file should be served as the index for a directory,&lt;br /&gt;Multiple files can be specified as index because if any file is not found the next one will be tried.&lt;br /&gt;&lt;br /&gt;DirectoryIndex index.html index.htm index.cgi index.shtml&lt;br /&gt;&lt;br /&gt;In older version of apache this directive is present in srm.conf&lt;br /&gt;.htaccess File&lt;br /&gt;&lt;br /&gt;Almost any directive that appears in the configuration files can appear in an .htaccess file. This file is being called from httpd.conf by “AccessFileName” directive defined as&lt;br /&gt;&lt;br /&gt;AccessFileName .htaccess&lt;br /&gt;&lt;br /&gt;.htaccess file can override the httpd.conf ‘s configuration. In order to allow and not to allow we can specify a directive called AllowOverride.&lt;br /&gt;&lt;br /&gt;An example:&lt;br /&gt;&lt;br /&gt;&lt;Directory "/home/httpd/html"&gt;&lt;br /&gt;Options Indexes Includes FollowSymLinks&lt;br /&gt;AllowOverride None&lt;br /&gt;Order allow, deny&lt;br /&gt;Allow from all&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;&lt;br /&gt;Options directives&lt;br /&gt;&lt;br /&gt;Options can be None, All, or any combination of Indexes, Includes, FollowSymLinks.&lt;br /&gt;&lt;br /&gt;None&lt;br /&gt;&lt;br /&gt;None of the available options are enabled for this directory.&lt;br /&gt;&lt;br /&gt;All&lt;br /&gt;&lt;br /&gt;All the available options are enables for this directory.&lt;br /&gt;&lt;br /&gt;Indexes&lt;br /&gt;&lt;br /&gt;This is an option which search for file options in DirectoryIndex directive.&lt;br /&gt;&lt;br /&gt;FollowSymLinks&lt;br /&gt;&lt;br /&gt;Allows access to directories that are symbolically linked to a document directory. This is usually a bad idea, and you should not set this for all the directories. You should set it reasonably.&lt;br /&gt;&lt;br /&gt;AllowOverrides Directives&lt;br /&gt;&lt;br /&gt;The AllowOverrides directives specify which options .htaccess files can override.&lt;br /&gt;&lt;br /&gt;Options&lt;br /&gt;&lt;br /&gt;The .htaccess file can add options not listed in the Options directive.&lt;br /&gt;&lt;br /&gt;FileInfo &lt;br /&gt;&lt;br /&gt;The .htaccess file can include directives for modifying document type information.&lt;br /&gt;&lt;br /&gt;AuthConfig&lt;br /&gt;&lt;br /&gt; The .htaccess file may contain authorization directives.&lt;br /&gt;&lt;br /&gt;Limit&lt;br /&gt;&lt;br /&gt;The .htaccess file may contain allow, deny, and order directives.&lt;br /&gt;&lt;br /&gt;Authentication and Access Control&lt;br /&gt;&lt;br /&gt;If you wish that your web site should be viewed only by selected users you can authenticate and authorize the particular user.&lt;br /&gt;&lt;br /&gt;Access Restrictions with allow and deny&lt;br /&gt;&lt;br /&gt;One of the simplest ways to provide access to a specific group of users is to restrict accesses based on IP address or hostnames. Apache uses allow and deny directives to accomplish this. &lt;br /&gt;&lt;br /&gt;Both of these will take an address expression as a parameter.&lt;br /&gt;&lt;br /&gt;• All  -- can be used to affect all hosts.&lt;br /&gt;• Host or Domain name which can either be a partially or a FQDN&lt;br /&gt;&lt;br /&gt;Ex. &lt;br /&gt; sys1.drmcet.org or drmcet.org&lt;br /&gt;&lt;br /&gt;• An IP address which can be either full or partial &lt;br /&gt;&lt;br /&gt;Ex.&lt;br /&gt;&lt;br /&gt;10.10.10 or  10.10.10.25&lt;br /&gt;&lt;br /&gt;• A network / Netmask pair such as 10.10.10.0/255.255.255.0&lt;br /&gt;• A network address specified in CIDR format(Classless Internet Domain Routing)&lt;br /&gt;&lt;br /&gt;Ex.&lt;br /&gt;  &lt;br /&gt;10.10.10.0/24&lt;br /&gt;&lt;br /&gt;The default behavior of apache is to apply all the Deny directives first and then check the allow directives. If you want to change this order you can use the order statements, There are three different ways in which apache may interpret this statement.&lt;br /&gt;&lt;br /&gt;• Order deny, allow – the deny directives are evaluated before allow. If a host is not specifically denied access it will be allowed to access the resource.(This is the default)&lt;br /&gt;&lt;br /&gt;• Order allow, deny – all allow directives are evaluated before deny, if a host is not specifically&lt;br /&gt;Allowed access, it will be denied access to the resources.&lt;br /&gt;&lt;br /&gt;• Order mutual-failure – only host that are specified in an allow directive and at the same time do not appear in a deny directive will be allowed access.If a host does not appear in either directive it will not be granted access.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;directory /var/www/html&gt;&lt;br /&gt;Options Indexes Includes FollowSymLinks&lt;br /&gt;AllowOverride None&lt;br /&gt;Order deny,allow&lt;br /&gt;Allow from drmcet.org&lt;br /&gt;&lt;/directory&gt;&lt;br /&gt;&lt;br /&gt;Authentication&lt;br /&gt;&lt;br /&gt;Authentication is the process of asking user name and password from the visitor. To get viewed the particular web page the user should have an account in the server.&lt;br /&gt;&lt;br /&gt;In order to use a basic authentication you will need a file that lists which users are allowed to access the resources. This file is similar to /etc/passwd file which contains username and encrypted password.&lt;br /&gt;&lt;br /&gt;htpasswd Command &lt;br /&gt;&lt;br /&gt;To create a user file for Apache, use the htpasswd command. This is included with in the Apache package and it is located at /usr/bin/htpasswd. &lt;br /&gt;&lt;br /&gt;To create a new file named “webusers” which will store the user accounts and add a user “user1” to that file , issue the following command&lt;br /&gt; &lt;br /&gt;# htpasswd –c webuser  user1&lt;br /&gt;&lt;br /&gt;here&lt;br /&gt;&lt;br /&gt;-c option will create a file named “webuser” .&lt;br /&gt;&lt;br /&gt;This –c option should be issued only once while creating the file.&lt;br /&gt;If you intend to add more user to that file just issue the following command&lt;br /&gt;&lt;br /&gt;# htpasswd webuser user2&lt;br /&gt;&lt;br /&gt;You can also create a groups file which has the following syntax.&lt;br /&gt;&lt;br /&gt;Groupname: user1 user2 user3 user4&lt;br /&gt;&lt;br /&gt;The first field is the name of the group, the next entries are the member list.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;directory /var/www/html&gt;&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName “Documentation”&lt;br /&gt;AuthUserFile “webusers”&lt;br /&gt;Require vaild-user&lt;br /&gt;&lt;/directory&gt;&lt;br /&gt;&lt;br /&gt;Virtual Hosting&lt;br /&gt;&lt;br /&gt;One of the most popular service provided with the apache is to host a virtual domain or other wise called as virtual host. This is a complete web site with its own domain name, as if it where a standalone machine, but is is hosted on the same machine as other web sites.&lt;br /&gt;&lt;br /&gt;Types of Virtual Hosting&lt;br /&gt;&lt;br /&gt;1. Address Based&lt;br /&gt;2. Name Based&lt;br /&gt;&lt;br /&gt;Address-Based Virtual Hosts&lt;br /&gt;&lt;br /&gt;Configure multiple virtual IP address on the server.&lt;br /&gt;&lt;br /&gt;With each IP address you can make independent web sites. By configuring the httpd.conf file as follows.&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost 10.10.10.20&gt;&lt;br /&gt;ServerName www.abc.com&lt;br /&gt;DocumentRoot /home/abc/www&lt;br /&gt;TransferLog /home/abc/log/access_log&lt;br /&gt;ErrorLog /home/abc/log/error_log&lt;br /&gt;&lt;/VirtulaHost&gt;&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost 10.10.10.62&gt;&lt;br /&gt;ServerName www.mce.com&lt;br /&gt;DocumentRoot /home/mce/www&lt;br /&gt;TransferLog /home/mce/log/access_log&lt;br /&gt;ErrorLog /home/mce/log/error_log&lt;br /&gt;&lt;/VirtulaHost&gt;&lt;br /&gt;&lt;br /&gt;The Directives that cannot be set in VirtualHost sections are as follows.&lt;br /&gt;&lt;br /&gt;StartServers, MaxSpareServers, MinSpareServers, MaxRequestsPerChild, BindAddress, Listen, PidFile, TypesConfig, ServerRoot, and NameVirtualHost.&lt;br /&gt;&lt;br /&gt;Name-Based Virtual Hosts&lt;br /&gt;&lt;br /&gt;Name-based virtual hosts allow you to run more than one host on the same IP address. To accomplish this we have to add  additional names to our DNS as CNAMEs(Canonical names).&lt;br /&gt;&lt;br /&gt;When an client requests a document from your server, it sends with a request variable indicating the document. Based on this variable, the server determines from which of the virtual hosts it should serve content.&lt;br /&gt;&lt;br /&gt;Name base virtual hosts require just one step more than IP address-based virtual hosts. You first need to indicate which IP address has the multiple DNS names on it. This is done with the NameVirtualHost directive.&lt;br /&gt;&lt;br /&gt;NameVirtualHost 10.10.10.63&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost 10.10.10.63&gt;&lt;br /&gt;ServerName www.abt.com&lt;br /&gt;DocumentRoot /home/abt/www&lt;br /&gt;TransferLog /home/abt/log/access_log&lt;br /&gt;ErrorLog /home/abt/log/error_log&lt;br /&gt;&lt;/VirtulaHost&gt;&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost 10.10.10.63&gt;&lt;br /&gt;ServerName www.mcet.com&lt;br /&gt;DocumentRoot /home/mcet/www&lt;br /&gt;TransferLog /home/mcet/log/access_log&lt;br /&gt;ErrorLog /home/mcet/log/error_log&lt;br /&gt;&lt;/VirtulaHost&gt;&lt;br /&gt;&lt;br /&gt;You need to have a section for each name on that address, setting the configuration for the name. &lt;br /&gt;&lt;br /&gt;As with IP-based virtual hosts, you only need to set those configurations that need to be different for the host. You must set the ServerName directive because that is the only that distinguish one host from another.&lt;br /&gt;&lt;br /&gt;Logging&lt;br /&gt;&lt;br /&gt;Apache provides for logging just about any information you might be interested in from web accesses. There are two standard log files that are generated when you run your apache server.&lt;br /&gt;access_log and error_log files. These log files are generated from the CustomLog and LogFormat directives.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;LogFormat “%h %l %u %t \ “%r\” %.s %b” common&lt;br /&gt;&lt;br /&gt;The following variables are available for LogFormat statements:&lt;br /&gt;&lt;br /&gt;%a           Remote IP address&lt;br /&gt;%A           Local IP address&lt;br /&gt;%b            Bytes sent&lt;br /&gt;%f             filename&lt;br /&gt;%h            Remote host&lt;br /&gt;%H           Request protocol&lt;br /&gt;%l             Remote logname&lt;br /&gt;%m           Request method&lt;br /&gt;%P            Process ID&lt;br /&gt;%t              Time&lt;br /&gt;%r              First line of request&lt;br /&gt;%s              Status&lt;br /&gt;%u              the remote user&lt;br /&gt;%U             The URL requested&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114850045551915650?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114850045551915650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114850045551915650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850045551915650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114850045551915650'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/apache-web-server-configuration-guide.html' title='Apache Web server configuration guide'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114836918289686644</id><published>2006-05-23T08:25:00.000+01:00</published><updated>2006-05-23T08:27:21.580+01:00</updated><title type='text'>VI COPY FILE TO FILE</title><content type='html'>Here is how to copy the required number &lt;br /&gt;of lines from one file to another in &lt;br /&gt;VI editor.  First use the following &lt;br /&gt;key combinations in the source file.&lt;br /&gt;&lt;br /&gt;Press ESCAPE&lt;br /&gt;Press Shift "(Shift double quotes)&lt;br /&gt;Press a&lt;br /&gt;Press the number of lines you want to copy&lt;br /&gt;press y followed by another y&lt;br /&gt;&lt;br /&gt;Now press " : " (COLON) to get the vi prompt.&lt;br /&gt;Hit e "Destination file name"&lt;br /&gt;Once you enter the Destination file &lt;br /&gt;go to the line where you want the lines &lt;br /&gt;copied to be inserted.&lt;br /&gt;&lt;br /&gt;Press ESCAPE.&lt;br /&gt;Press SHIFT "(Double quotes).&lt;br /&gt;Press a.&lt;br /&gt;Press p.&lt;br /&gt;&lt;br /&gt;The lines get copied.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114836918289686644?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114836918289686644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114836918289686644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114836918289686644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114836918289686644'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/vi-copy-file-to-file.html' title='VI COPY FILE TO FILE'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114828924223210705</id><published>2006-05-22T10:08:00.000+01:00</published><updated>2006-05-22T10:14:02.360+01:00</updated><title type='text'>Sun Cluster 3.0 Admin command reference</title><content type='html'>A cluster, or plex, is a collection of loosely coupled computing nodes that provides a single client view of network services or applications, including databases, web services, and file services.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Sun cluster Admin Commands&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Start the CCP Launch Pad – ccp cluster name&lt;br /&gt;&lt;br /&gt;Interactively configure sun cluster – scsetup&lt;br /&gt;&lt;br /&gt;Display the cluster patch number – showrev –p &lt;br /&gt;&lt;br /&gt;Displaying sun cluster release and version information – scinstall –pv&lt;br /&gt;&lt;br /&gt;Check the status of cluster components – scstat –p&lt;br /&gt;&lt;br /&gt;List the cluster configuration information – scconf &lt;br /&gt;&lt;br /&gt;View the cluster configuration – scconf –p&lt;br /&gt;&lt;br /&gt;Verify the cluster configuration – sccheck&lt;br /&gt;&lt;br /&gt;Shutdown the cluster (all nodes) – scshutdown –g0  –y&lt;br /&gt;&lt;br /&gt;View the node status – scstat –n&lt;br /&gt;&lt;br /&gt;Switch all resource group from one node to another node – scswitch –s –h nodelist&lt;br /&gt;&lt;br /&gt;Boot cluster node from OK prompt – boot&lt;br /&gt;&lt;br /&gt;Boot the cluster node  in non cluster mode – boot –x&lt;br /&gt;&lt;br /&gt;Check the status of cluster interconnect -  scstat –w&lt;br /&gt;&lt;br /&gt;Verify the cluster transport cable – scconf  -p | grep cable&lt;br /&gt;&lt;br /&gt;Verify the cluster adapter – scconf  -p | grep adapter&lt;br /&gt;&lt;br /&gt;Verify the cluster Junction  – scconf  -p | grep junction&lt;br /&gt;&lt;br /&gt;Create NAFO (Network Adapter Fail Over )Group -  pnmset  -c nafo-group  - create  adapeter adapter&lt;br /&gt;&lt;br /&gt;Verify the status of NAFO group – pnmstat –l &lt;br /&gt;&lt;br /&gt;Add the adapter to the NAFO group -  pnmset –c nafo-group –o add adapter &lt;br /&gt;&lt;br /&gt;Identify whether the NAFO group is  being used by any logical host or shared address resources – scrgadm –pv&lt;br /&gt;&lt;br /&gt;Switch the logical host resource groups and shared address resource groups that&lt;br /&gt;use this NAFO group -  scswitch -z -g resource-group -h nodelist&lt;br /&gt;&lt;br /&gt;Delete the NAFO group – pnmset –c nafo-group – o delete &lt;br /&gt;&lt;br /&gt;Remove the adapter from the NAFO group – pnmset –c nafo-group –o remove  adapter&lt;br /&gt;&lt;br /&gt;Finding the active adapter in the NAFO group – pnmptor nafo0&lt;br /&gt;&lt;br /&gt;Finding Adapter’s NAFO group – pnmrtop  qfe0&lt;br /&gt;&lt;br /&gt;Public network tunable parameters - /etc/cluster/pnmparams&lt;br /&gt;&lt;br /&gt;Changing the cluster name – scconf –c –C cluster=clustername&lt;br /&gt;&lt;br /&gt;Prevent new machine from being  added to the cluster – scconf –a –T node=.&lt;br /&gt;&lt;br /&gt;This will enable all the new machine to be added to the cluster – scconf –r  –T all&lt;br /&gt;&lt;br /&gt;Set date on ok prompt – date HHMMSS&lt;br /&gt;&lt;br /&gt;Sync date with remote host – rdate hostname&lt;br /&gt;&lt;br /&gt;Put node in Maintenance mode – scconf  -c –q node=node, maintstate&lt;br /&gt;&lt;br /&gt;Verify the cluster node state – scstat –q&lt;br /&gt;&lt;br /&gt;Bring a cluster node out of  maintenance mode -  scconf –c –q node=node,reset&lt;br /&gt;&lt;br /&gt;Shutdown the cluster – scshutdown  -y –g0 grace period “ message”&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114828924223210705?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114828924223210705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114828924223210705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114828924223210705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114828924223210705'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/sun-cluster-30-admin-command-reference.html' title='Sun Cluster 3.0 Admin command reference'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114824219843864404</id><published>2006-05-21T21:05:00.000+01:00</published><updated>2006-05-21T21:12:21.646+01:00</updated><title type='text'>Solaris Patch Administration</title><content type='html'>A patch is a collection of files intended to update or fix problems with installed software. For example, a patch might be required to fix a problem with a system command or address a security issue. Because most system and application software are installed as packages, patches are applied against one or more packages. &lt;br /&gt;&lt;br /&gt;Actually, patches are special packages used to update other packages. Like packages, a collection of patches can be grouped together into a patch cluster.&lt;br /&gt;The ability to obtain and install patches, keep track of installed patches, and occasionally remove patches are key skills of a competent system administrator.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Obtaining Patches and Patch Information&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can obtain patches from Sun Microsystems in several ways. The two most common methods are purchasing a service contract from Sun or downloading the patches yourself from Sun's Web or FTP site.&lt;br /&gt;&lt;br /&gt;Sun Service customers have access to an online patch database and an extended set of patches. The patches can be downloaded from Sun's Web site or FTP site. In addition, Sun Service customers receive a CD-ROM of patches every six to eight weeks.&lt;br /&gt;Everyone else can obtain recommended and security patches for supported systems on the Web at http://sunsolve.sun.com or through anonymous FTP from ftp://sunsolve1.sun.com/pubs/patches. &lt;br /&gt;&lt;br /&gt;Sun offers a bimonthly report that summarizes recommended and security patches for each supported system. Like the patches, the information is available at http://sunsolve.sun.com along with other system support information.&lt;br /&gt;&lt;br /&gt;Patches are identified with an eight-digit number. The first six digits identify the base patch, and the last two digits identify the revision. For example, patch number 110906-01 is the update for the x86 version of the Solaris 8 find(1) command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Installing a Patch&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You install patches by using the patchadd command. The appropriate type of system configuration must be specified by using a patchadd command-line argument. You might also need to specify a target directory. In addition, you can use a single patchadd command to install more than one patch.&lt;br /&gt;&lt;br /&gt;Regardless of the type of system configuration being patched, the patchadd command is typically executed locally on the system where the software being patched resides (the target directory). However, you can install patches remotely over the network if the target directory can be accessed through Network File System (NFS) services.&lt;br /&gt;If the patch is on a CD-ROM, you can install it directly from the CD-ROM. A patch downloaded from the Sun Web or FTP site must reside on a system hard disk. The area where patches are stored before they are installed is referred to as the spool directory.&lt;br /&gt;&lt;br /&gt;Although patches have no required spool directory, the most commonly used location is the /var/spool/patch directory. However, you can use any location on the system that has adequate free space.&lt;br /&gt;&lt;br /&gt;If a patch was obtained via download, chances are good that it is zipped (compressed) to make it easier and quicker to download. Some patches (mainly for SPARC platforms) are compressed with the gzip(1) command and have filenames ending with the .gz suffix. Others are compressed with the zip(1) command and have filenames ending with the .zip suffix. The zip command is used for both SPARC and Intel x86 platforms. To uncompress or unzip the x86 find patch (110906-01), which is located in the current directory, use the unzip(1) command as shown in the following &lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;# unzip 110906-01.zip&lt;br /&gt;Archive: 110906-01.zip&lt;br /&gt;  creating: 110906-01/&lt;br /&gt; inflating: 110906-01/.diPatch &lt;br /&gt;  creating: 110906-01/SUNWcsu/&lt;br /&gt; inflating: 110906-01/SUNWcsu/pkgmap &lt;br /&gt; inflating: 110906-01/SUNWcsu/pkginfo &lt;br /&gt;  creating: 110906-01/SUNWcsu/install/&lt;br /&gt; inflating: 110906-01/SUNWcsu/install/checkinstall &lt;br /&gt; inflating: 110906-01/SUNWcsu/install/copyright &lt;br /&gt; inflating: 110906-01/SUNWcsu/install/i.none &lt;br /&gt; inflating: 110906-01/SUNWcsu/install/patch_checkinstall &lt;br /&gt; inflating: 110906-01/SUNWcsu/install/patch_postinstall &lt;br /&gt; inflating: 110906-01/SUNWcsu/install/postinstall &lt;br /&gt; inflating: 110906-01/SUNWcsu/install/preinstall &lt;br /&gt;  creating: 110906-01/SUNWcsu/reloc/&lt;br /&gt;  creating: 110906-01/SUNWcsu/reloc/usr/&lt;br /&gt;  creating: 110906-01/SUNWcsu/reloc/usr/bin/&lt;br /&gt; inflating: 110906-01/SUNWcsu/reloc/usr/bin/find &lt;br /&gt; inflating: 110906-01/README.110906-01 &lt;br /&gt;# &lt;br /&gt;&lt;br /&gt;A subdirectory with the same name as the patch will be created under the current directory, and the unzipped files will be placed in this subdirectory.&lt;br /&gt;You then use the patchadd command to install the patch. Because patches have no default spool directory, you must specify the full pathname to the patch as a command-line argument. The following example shows the installation of the x86 find command patch on a standalone system:&lt;br /&gt;&lt;br /&gt;# patchadd 110906-01&lt;br /&gt;&lt;br /&gt;Checking installed patches...&lt;br /&gt;Verifying sufficient filesystem capacity (dry run method)...&lt;br /&gt;Installing patch packages...&lt;br /&gt;&lt;br /&gt;Patch number 110906-01 has been successfully installed.&lt;br /&gt;See /var/sadm/patch/110906-01/log for details&lt;br /&gt;&lt;br /&gt;Patch packages installed:&lt;br /&gt; SUNWcsu&lt;br /&gt;&lt;br /&gt;# &lt;br /&gt;&lt;br /&gt;Note that the patch modified the SUNWcsu package (core Solaris software). The patchadd command is actually a ksh script that calls the pkgadd command to install the patch.&lt;br /&gt;&lt;br /&gt;To apply a patch to the bootable root image of a diskless client or AutoClient, use the -R command-line argument and specify the path to the client's root image. For example, applying the Solaris 8 x86 find command patch to a diskless client that uses a root image stored under the /export/root/client directory on the current system requires the following command:&lt;br /&gt;&lt;br /&gt;patchadd -R /export/root/client /var/spool/patch/110906-01&lt;br /&gt;&lt;br /&gt;To apply a patch to an operating system (OS) service, use the -S command-line argument and specify the service. (See Chapter 13, "The Solaris Network Environment," for information about OS servers.) For example, applying the Solaris 8 find command patch to an x86 Solaris 8 OS service named Solaris_8x86 on the OS server requires the following command:&lt;br /&gt;&lt;br /&gt;patchadd -S Solaris_8x86 /var/spool/patch/110906-01&lt;br /&gt;&lt;br /&gt;To apply a patch to the mini root of a net install image (the image used to install a system over the network), use the -C command-line argument and specify the pathname to the net install image. For example, applying the Solaris 8 find command patch to an x86 Solaris 8 image on the Solaris_8x86 net install server requires the following command:&lt;br /&gt;&lt;br /&gt;patchadd -C /export/Solaris_8x86/Tools/Boot &lt;br /&gt;&lt;br /&gt;/var/spool/patch/110906-01&lt;br /&gt;&lt;br /&gt;Multiple patches can be installed by using the patchadd command with the -M command-line argument and by specifying a directory where all the patches are located and a list of the patch numbers. For example, to install patches 108529-05, 108653-23, and 108876-07, which are all located in the /var/spool/patch directory, you can use the following command:&lt;br /&gt;&lt;br /&gt;patchadd -M /var/spool/patch 108529-05 108653-23 108876-07&lt;br /&gt;&lt;br /&gt;Instead of listing several patches on the command line, you can create a text file containing a list of patches. Then specify the name of the text file on the command line in place of all the individual patch names.&lt;br /&gt;For example, to install the 108529-05, 108653-23, and 108876-07 patches located in the /var/spool/patch directory, create a text file with the name /var/spool/patch/patchlist that contains the name of the three patches (separated by spaces or returns). Then use the following command to install the patches:&lt;br /&gt;&lt;br /&gt;patchadd -M /var/spool/patch /var/spool/patch/patchlist&lt;br /&gt;&lt;br /&gt;The -M command-line argument can be used to install multiple patches for client, services, or install servers by specifying the previously described -R, -S, or -C command-line argument. This argument should be specified after the -M patch spool directory and patch names or patch list command-line arguments. See the previous examples of the patchadd command for use of these arguments.&lt;br /&gt;By default, any files that will be changed as a result of the patch's installation are copied to one or more backup directories. If necessary, you can then remove the patch and return the system to its state before the patch was installed. However, if you specify the -d command-line argument on the patchadd command, the files are not backed up, and the patch cannot be removed.&lt;br /&gt;The default backup directories, located under /var/sadm/pkg, are based on the installed package or packages being modified by the patch and the patch number. For example, the x86 find command patch (110906-01) modified the SUNWcsu package. Any files changed by installing this patch will be saved under the /var/sadm/pkg/SUNWcsu/110906-01 directory. You can specify a different backup directory by using the -B command-line argument.&lt;br /&gt;&lt;br /&gt;The patchadd command will fail if any of the following occur:&lt;br /&gt;• A package being patched is not installed or is only partially installed.&lt;br /&gt;• The patch requires another patch that is not installed.&lt;br /&gt;• The patch is incompatible with another patch already installed.&lt;br /&gt;• The current version or a higher version of the patch is already installed.&lt;br /&gt;• The architecture of the patch and the system do not match.&lt;br /&gt;&lt;br /&gt;After you unzip a patch, you can delete the zip file to save space. Likewise, after you install a patch, you can delete the files associated with the patch in the patch spool directory to save space.&lt;br /&gt;&lt;br /&gt;Determining Which Patches Are Installed&lt;br /&gt;&lt;br /&gt;Two commands can be used to generate a list of installed patches for a standalone system:&lt;br /&gt;• showrev -p&lt;br /&gt;• patchadd -p&lt;br /&gt;&lt;br /&gt;Both commands generate almost identical lists. The following example illustrates the use of the showrev(1M) command (the output is formatted for readability):&lt;br /&gt;&lt;br /&gt;$ showrev -p&lt;br /&gt;Patch: 110906-01&lt;br /&gt;Obsoletes:&lt;br /&gt;Requires:&lt;br /&gt;Incompatibles:&lt;br /&gt;Packages: SUNWcsu&lt;br /&gt;Patch: 108632-06&lt;br /&gt;Obsoletes:&lt;br /&gt;Requires: 109000-01, 109038-01, 109067-02, 108994-01, 108969-01&lt;br /&gt;Incompatibles:&lt;br /&gt;Packages: SUNWcsr, SUNWnisr, SUNWncar&lt;br /&gt;$&lt;br /&gt;When a patch is installed, information about the patch is added to the pkginfo file of each package the patch updates. The pkginfo files are located in subdirectories under the /var/sadm/pkg directory. The showrev and patchadd commands extract and format information from the pkginfo files. In addition to the patch number and packages the patch updates, the commands list any dependency information, such as other required patches or incompatible patches.&lt;br /&gt;&lt;br /&gt;You can use the patchadd command to display a list of installed patches for other system configurations by using the -C, -R, and -S command-line arguments, as previously described. For example, to display the patches applied to an OS service named Solaris8x86, you can use the following patchadd command:&lt;br /&gt;&lt;br /&gt;patchadd -S solaris8x86 -p&lt;br /&gt;&lt;br /&gt;To display a list of patches applied to a particular package, use the pkgparam command. The following example lists the patches applied to the SUNWcsu package:&lt;br /&gt;$ pkgparam SUNWcsu PATCHLIST&lt;br /&gt;108529-01 108826-01 108900-01 108980-04 108986-01 108990-02 &lt;br /&gt;109010-01 109020-01 109028-01 109044-02 109046-02 109092-01 &lt;br /&gt;109138-01 109146-01 109148-01 109150-01 109278-01 108965-02 &lt;br /&gt;108976-02 109004-01 109006-01 109008-01 109012-01 109016-01 &lt;br /&gt;109018-01 109022-01 109024-01 109032-01&lt;br /&gt;109034-01 109036-01 &lt;br /&gt;110906-01&lt;br /&gt;$&lt;br /&gt;Removing a Patch&lt;br /&gt;&lt;br /&gt;The patchrm command is used to remove or back out a patch by specifying the patch number as a command-line argument. This command also supports the system configurations that the patchadd command supports. You use the same -C, -R, and -S command-line arguments, as previously described. For example, to remove patch 110906-01 from the bootable root image of a diskless client named client5, you can use the following patchrm command:&lt;br /&gt;&lt;br /&gt;patchrm -R /export/root/client5 110906-01&lt;br /&gt;&lt;br /&gt;Because the default backup directory could have been changed during installation by using the -B command-line argument to the patchadd command, the patchrm command also supports the -B argument. In addition, you can force the patchrm command to remove a patch that has been superseded by another patch by using the -f command-line argument.&lt;br /&gt;&lt;br /&gt;You can remove installed patches and return the system to the state it was in before the patch was installed as long as the following conditions are met:&lt;br /&gt;• The patch is not required by another patch or has been made obsolete by a later patch.&lt;br /&gt;• The patch was not installed by using patchadd -d, which instructs patchadd not to save a copy of files before they are updated or replaced.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114824219843864404?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114824219843864404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114824219843864404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114824219843864404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114824219843864404'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/solaris-patch-administration.html' title='Solaris Patch Administration'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114824123195961777</id><published>2006-05-21T20:48:00.000+01:00</published><updated>2006-05-21T20:57:50.113+01:00</updated><title type='text'>SSH installation for Solaris 8</title><content type='html'>&lt;strong&gt;Ssh installation for Solaris 8&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Secure shell (SSH) is a protocol that provides a secure, remote connection to any device with ssh support. SSH is a substitute to Berkeley r-tools like telnet, rlogin, rsh and rcp which are not secure. SSH provides more security to any data that is being transported to the Internet by providing more authentication, encryption and authorization procedures. There are currently two versions of SSH available, SSH Version 1 and SSH Version 2 .&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Required packages&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;openssh&lt;br /&gt;openssl (SSL)&lt;br /&gt;prngd (Psuedo Random Generator Daemon)&lt;br /&gt;zlib (Z library)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;#pkgadd -d openssl-0.9.6c-sol8-sparc-local&lt;br /&gt;&lt;br /&gt;The following packages are available:&lt;br /&gt;1 SMCosslc openssl&lt;br /&gt;(sparc) 0.9.6c&lt;br /&gt;&lt;br /&gt;Select package(s) you wish to process (or 'all' to process&lt;br /&gt;all packages). (default: all) [?,??,q]:&lt;br /&gt;&lt;br /&gt;#pkgadd -d prngd-0.9.23-sol8-sparc-local&lt;br /&gt;&lt;br /&gt;The following packages are available:&lt;br /&gt;1 SMCprngd prngd&lt;br /&gt;(sparc) 0.9.23&lt;br /&gt;&lt;br /&gt;Select package(s) you wish to process (or 'all' to process&lt;br /&gt;all packages). (default: all) [?,??,q]:&lt;br /&gt;&lt;br /&gt;#pkgadd -d zlib-1.1.4-sol8-sparc-local&lt;br /&gt;&lt;br /&gt;The following packages are available:&lt;br /&gt;1 SMCzlib zlib&lt;br /&gt;(sparc) 1.1.4&lt;br /&gt;&lt;br /&gt;Select package(s) you wish to process (or 'all' to process&lt;br /&gt;all packages). (default: all) [?,??,q]:&lt;br /&gt;&lt;br /&gt;#pkgadd -d openssh-3.1p1-sol8-sparc-local&lt;br /&gt;&lt;br /&gt;The following packages are available:&lt;br /&gt;1 SMCossh openssh&lt;br /&gt;(sparc) 3.1p1&lt;br /&gt;&lt;br /&gt;Select package(s) you wish to process (or 'all' to process&lt;br /&gt;all packages). (default: all) [?,??,q]:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Startup Scripts: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Create a startup script for the ssh daemon.&lt;br /&gt;/etc/init.d/ssh&lt;br /&gt;&lt;br /&gt;#! /bin/sh&lt;br /&gt;#&lt;br /&gt;# start/stop the secure shell daemon&lt;br /&gt;&lt;br /&gt;case "$1" in&lt;br /&gt;&lt;br /&gt;'start')&lt;br /&gt;     # Start the ssh daemon&lt;br /&gt;     if [ -f /usr/local/sbin/sshd ]; then&lt;br /&gt;          echo "starting SSHD daemon"&lt;br /&gt;          /usr/local/sbin/sshd &amp;&lt;br /&gt;     fi&lt;br /&gt;     ;;&lt;br /&gt;&lt;br /&gt;'stop')&lt;br /&gt;     # Stop the ssh deamon&lt;br /&gt;     PID=`/usr/bin/ps -e -u 0 | /usr/bin/fgrep sshd | /usr/bin/awk '{print $1}'`&lt;br /&gt;     if [ ! -z "$PID" ] ; then&lt;br /&gt;          /usr/bin/kill ${PID} &gt;/dev/null 2&gt;&amp;1&lt;br /&gt;     fi&lt;br /&gt;     ;;&lt;br /&gt;&lt;br /&gt;*)&lt;br /&gt;     echo "usage: /etc/init.d/sshd {start|stop}"&lt;br /&gt;     ;;&lt;br /&gt;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Make the script executable and create a startup script on run level 2.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;#chmod +x /etc/init.d/sshd&lt;br /&gt;#ln –s /etc/init.d/sshd /etc/rc2.d/S99sshd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a startup script for the pseudo random generator daemon.&lt;br /&gt;/etc/init.d/prngd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#! /bin/sh&lt;br /&gt;#&lt;br /&gt;# start/stop the pseudo random generator daemon&lt;br /&gt;&lt;br /&gt;case "$1" in&lt;br /&gt;&lt;br /&gt;'start')&lt;br /&gt;     # Start the ssh daemon&lt;br /&gt;     if [ -f /usr/local/bin/prngd ]; then&lt;br /&gt;          echo "starting PRNG daemon"&lt;br /&gt;          /usr/local/bin/prngd /var/spool/prngd/pool&amp;&lt;br /&gt;     fi&lt;br /&gt;     ;;&lt;br /&gt;&lt;br /&gt;'stop')&lt;br /&gt;     # Stop the ssh deamon&lt;br /&gt;     PID=`/usr/bin/ps -e -u 0 | /usr/bin/fgrep prngd | /usr/bin/awk '{print $1}'`&lt;br /&gt;     if [ ! -z "$PID" ] ; then&lt;br /&gt;          /usr/bin/kill ${PID} &gt;/dev/null 2&gt;&amp;1&lt;br /&gt;     fi&lt;br /&gt;     ;;&lt;br /&gt;&lt;br /&gt;*)&lt;br /&gt;     echo "usage: /etc/init.d/prngd {start|stop}"&lt;br /&gt;     ;;&lt;br /&gt;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;Make the script executable and create a startup script on run level 2.&lt;br /&gt;&lt;br /&gt;#chmod +x /etc/init.d/prngd&lt;br /&gt;#ln –s /etc/init.d/prngd /etc/rc2.d/S99prngd &lt;br /&gt;&lt;br /&gt;# /etc/init.d/prngd start&lt;br /&gt;starting PRNG daemon&lt;br /&gt;Info: Random pool not (yet) seeded&lt;br /&gt;Could not bind socket to /var/spool/prngd/pool: No such file or directory&lt;br /&gt;# mkdir -p /var/spool/prngd&lt;br /&gt;#/etc/init.d/prngd start&lt;br /&gt;starting PRNG daemon&lt;br /&gt;# Info: Random pool not (yet) seeded&lt;br /&gt;#&lt;br /&gt;Next is to start the actual ssh daemon,&lt;br /&gt;# /etc/init.d/sshd start&lt;br /&gt;starting SSHD daemon&lt;br /&gt;Could not load host key: /usr/local/etc/ssh_host_key&lt;br /&gt;Could not load host key: /usr/local/etc/ssh_host_rsa_key&lt;br /&gt;Could not load host key: /usr/local/etc/ssh_host_dsa_key&lt;br /&gt;Disabling protocol version 1. Could not load host key&lt;br /&gt;Disabling protocol version 2. Could not load host key&lt;br /&gt;sshd: no hostkeys available -- exiting.&lt;br /&gt;# &lt;br /&gt;The errors above are due to the fact that we didn't create any key pairs for our ssh server.&lt;br /&gt;&lt;br /&gt;Create a public key pair to support the new, DSA-based version 2 protocol&lt;br /&gt;&lt;br /&gt;# /usr/local/bin/ssh-keygen -d -f /usr/local/etc/ssh_host_dsa_key -N ""&lt;br /&gt;&lt;br /&gt;Generating public/private dsa key pair.&lt;br /&gt;Your identification has been saved in /usr/local/etc/ssh_host_dsa_key.&lt;br /&gt;Your public key has been saved in /usr/local/etc/ssh_host_dsa_key.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;00:91:f5:8a:55:7c:ac:ff:b7:08:1f:ce:23:aa:f2:79 root@solaris8&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a public key pair to support the old, RSA-based version 1 protocol&lt;br /&gt;&lt;br /&gt;# /usr/local/bin/ssh-keygen -b 1024 -f /usr/local/etc/ssh_host_rsa_key -t rsa -N ""&lt;br /&gt;Generating public/private rsa1 key pair.&lt;br /&gt;Your identification has been saved in /usr/local/etc/ssh_host_rsa_key.&lt;br /&gt;Your public key has been saved in /usr/local/etc/ssh_host_rsa_key.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;8e:b0:1d:8a:22:f2:d2:37:1f:92:96:02:e8:74:ca:ea root@solaris8 &lt;br /&gt;&lt;br /&gt;Edit ssh daemon configuration file /usr/local/etc/sshd_config, enable protocol 2 and 1 &lt;br /&gt;Uncomment the line, that says &lt;br /&gt;&lt;br /&gt;protocol 2,1&lt;br /&gt;&lt;br /&gt;# /etc/init.d//sshd start&lt;br /&gt;starting SSHD daemon&lt;br /&gt;# &lt;br /&gt;&lt;br /&gt;Your ssh server is now ready to accept a ssh session.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error&lt;br /&gt;----&lt;br /&gt;# /etc/init.d/sshd start &lt;br /&gt;starting SSHD daemon &lt;br /&gt;Could not load host key: /usr/local/etc/ssh_host_key &lt;br /&gt;# Disabling protocol version 1. Could not load host key &lt;br /&gt;/var/empty must be owned by root and not group or world-writable. &lt;br /&gt;&lt;br /&gt;fix: &lt;br /&gt;Run the fol &lt;br /&gt;# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N "" &lt;br /&gt;Generating public/private rsa1 key pair. &lt;br /&gt;Your identification has been saved in /usr/local/etc/ssh_host_key. &lt;br /&gt;Your public key has been saved in /usr/local/etc/ssh_host_key.pub. &lt;br /&gt;The key fingerprint is: &lt;br /&gt;cc:a2:71:07:20:2c:07:dd:a4:ef:a2:05:6d:04:87:96 root@dfm-quickview-svr &lt;br /&gt;&lt;br /&gt;Also, I changed the ownership and permission of /var/empty as follows: &lt;br /&gt;# chown root:sys empty &lt;br /&gt;# chmod 755 empty &lt;br /&gt;&lt;br /&gt;then I start ssh daemon and it is working now &lt;br /&gt;# /etc/init.d/sshd start &lt;br /&gt;starting SSHD daemon &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Privilege separation user sshd does not exist&lt;br /&gt;By : perh ( Tue Mar 16 06:04:53 2004 ) &lt;br /&gt;add following line in /etc/passwd &lt;br /&gt;&lt;br /&gt;sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114824123195961777?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114824123195961777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114824123195961777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114824123195961777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114824123195961777'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/ssh-installation-for-solaris-8.html' title='SSH installation for Solaris 8'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114824016138843870</id><published>2006-05-21T20:32:00.000+01:00</published><updated>2006-05-21T21:15:41.606+01:00</updated><title type='text'>Quick glance about Sun Fire 15K</title><content type='html'>&lt;strong&gt;Hardware Configuration Details&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Sun Fire 15K/12K system is often referred to as the platform. Up to 18 domains on the Sun Fire 15K can exist simultaneously on a single platform.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CPU/Memory Boards&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The CPU/Memory board holds four CPUs. Each CPU has an associated memory&lt;br /&gt;subsystem of eight DIMMs, so memory bandwidth and capacity are both scaled up&lt;br /&gt;as CPUs are added. The memory capacity of the board is 32 GBytes using a 1-GByte&lt;br /&gt;DIMM. The maximum memory bandwidth inside a board is 9.6 Gbytes per second.&lt;br /&gt;The CPU/Memory board has a 4.8 Gbyte per second connection to the rest of the&lt;br /&gt;system.&lt;br /&gt;&lt;br /&gt;Total Number of System Boards – 18 (SB0 – SB17)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I/O Boards&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The common Sun Fire 15K/12K systems hot-swap PCI assembly architecture has&lt;br /&gt;two I/O controllers. Each controller provides one 66/33-MHz PCI (peripheral&lt;br /&gt;component interconnect) bus and one 33-MHz PCI bus for a total of two of each&lt;br /&gt;speed on the I/O board. Therefore, each I/O assembly has four hot-swap component&lt;br /&gt;PCI slots. A Sun Fire I/O board has a 2.4 Gbyte per second connection to the rest of&lt;br /&gt;the system.&lt;br /&gt;&lt;br /&gt;Total Number of I/O Boards – 18 (IO 0 – IO 17)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;System Controller&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The system controller is the heart of the Sun Fire 15K/12K systems availability and&lt;br /&gt;serviceability technology. It configures the system, coordinates the boot process, sets&lt;br /&gt;up the dynamic system domains, monitors the system environmental sensors, and&lt;br /&gt;handles error detection, diagnosis, and recovery. Two System Control boards are&lt;br /&gt;configured into the system to provide redundancy and automatic failover in the&lt;br /&gt;event that one board fails.&lt;br /&gt;&lt;br /&gt;There are two SCs within Sun Fire platform. The SC that controls the platform is&lt;br /&gt;referred to as the main SC, while the other SC acts as a backup and is called the&lt;br /&gt;spare SC. The software running on the SC monitors the SCs to determine when an&lt;br /&gt;automatic failover should be performed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Peripherals&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Sun Fire 15K/12K systems cabinet does not have room for peripherals, with the&lt;br /&gt;exception of the system controller peripherals (DVD ROM, digital audio tape (DAT)&lt;br /&gt;drive, and hard drive). However, more peripheral devices can be configured in&lt;br /&gt;additional peripheral expansion racks.&lt;br /&gt;&lt;br /&gt;System Peripeherals – 2 ( DVD,HDD and Tape Drive)&lt;br /&gt;&lt;br /&gt;Total FAN Tray’s – 8 ( each tray has 7 )&lt;br /&gt;&lt;br /&gt;The Sun StorEdge S1 array comes bundled with all F15K&lt;br /&gt;&lt;br /&gt; The StorEdge S1 storage enclosure has a single power supply (available in AC or DC versions) and up to three hot-swappable, LVD SCSI hard disk drives. Because the storage enclosure supports LVD SCSI, you can connect up to four enclosures to one LVD SCSI bus.&lt;br /&gt;&lt;br /&gt;Sun Fire 15K provides for 72 processors, with an ability to add up to 34 more for a total of 106 processors when I/O slots are traded out. 900Mhz UltraSPARC III Cu processors (Cheetah+) will be available at GA. Using 1 GB DIMMs, the total maximum amount of memory supported is 576 GB. Using 256 MB DIMMs, the minimum amount of memory supported is 16GB. At GA, the total memory configuration per domain will be 288 GB.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The following system components are hot swappable:&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Expander Boards, CPU/Memory Boards, hsPCI Assemblies, MaxCPU boards (dual CPU board), System Controller Boards, System Controller Peripheral Boards, fan trays and power supplies.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Power Supply:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Each AC Power Supply consists of two equal halves and is fully redundant by itself. The power supply is designed to accept two AC input receptacles, and provide two sets of 48 Volt DC outputs . Even with the failure of one half of the power supply, the other half supplies the necessary power. Each AC input has its own circuit breaker switch. This allows the system to be able to provide dual grid power configurations to those customers interested in this high availability functionality.&lt;br /&gt;&lt;br /&gt;Total Power Supply – 6&lt;br /&gt;&lt;br /&gt;The System Management Services (SMS) software lets you control and monitor domains, as well as the platform itself.&lt;br /&gt;&lt;br /&gt;SMS 1.3 supports Sun Fire 15K/12K servers running the Solaris 8 and Solaris 9&lt;br /&gt;operating environments. Graphical user interfaces for many of the commands in SMS are provided by Sun Management Center.&lt;br /&gt;&lt;br /&gt;Dynamically reconfigure a domain so that currently installed system boards can&lt;br /&gt;be logically attached to or detached from the operating system while the domain&lt;br /&gt;continues running in multiuser mode. This feature is known as dynamic reconfiguration.&lt;br /&gt;&lt;br /&gt;The following list is an overview of the many services the System Controller provides for the Sun Fire system:&lt;br /&gt;&lt;br /&gt; Manages the overall system configuration.&lt;br /&gt; Acts as a boot initiator for its domains.&lt;br /&gt; Serves as the syslog host for its domains; note that an SC can still be a syslog&lt;br /&gt; client of a LAN-wide syslog host.&lt;br /&gt; Provides a synchronized hardware clock source.&lt;br /&gt; Sets up and configures dynamic domains.&lt;br /&gt; Monitors system environmental information, such as power supply, fan, and&lt;br /&gt; temperature status.&lt;br /&gt; Hosts field-replaceable unit (FRU) logging data.&lt;br /&gt; Provides redundancy and automated SC failover in dual SC configurations.&lt;br /&gt; Provides a default name service for the domains based on virtual hostids, and&lt;br /&gt; MAC addresses for the domains.&lt;br /&gt; Provides administrative roles for platform management.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Administrate domains by logically grouping domain configurable units (DCU)&lt;br /&gt;together. DCUs are system boards such as CPU and I/O boards. Domains are able&lt;br /&gt;to run their own operating systems and handle their own workloads.&lt;br /&gt;&lt;br /&gt;SMS architecture is best described as distributed client-server. init(1M) starts (and&lt;br /&gt;restarts as necessary) one process: ssd(1M). ssd is responsible for monitoring all&lt;br /&gt;other SMS processes and restarting them as necessary.&lt;br /&gt;&lt;br /&gt;smsconfig(1M) allows an administrator to add, remove, and list members of&lt;br /&gt;platform and domain groups as well as set platform and domain directory privileges&lt;br /&gt;using the -a, -r, and -l options.&lt;br /&gt;&lt;br /&gt;SMS daemons are started by ssd and should not be started manually from the command line.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Administration Privileges :&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Platform Administrator Group&lt;br /&gt;Platform Operator Group&lt;br /&gt;Platform Service Group&lt;br /&gt;Domain Administrator Group&lt;br /&gt;Domain Configuration Group&lt;br /&gt;Super User&lt;br /&gt;&lt;br /&gt;The platform administrator can shut down a running domain by powering off server hardware.&lt;br /&gt;&lt;br /&gt;The Domain administrator has access to the Solaris console for that domain and the privilege to exert control over the software that runs in the domain or over the hardware assigned to the domain.&lt;br /&gt;&lt;br /&gt;Administrative privilege configuration can be changed at will, by the superuser, using smsconfig -g without the need to stop or restart SMS.&lt;br /&gt;&lt;br /&gt;A dynamic system domain (DSD) is an independent environment, a subset of a server,&lt;br /&gt;that is capable of running a unique version of firmware and a unique version of the&lt;br /&gt;Solaris operating environment. Each domain is insulated from the other domains.&lt;br /&gt;Continued operation of a domain is not affected by any software failures in other&lt;br /&gt;domains nor by most hardware failures in any other domain.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Domain Configuration requirements&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can create a domain out of any group of system boards, provided the following&lt;br /&gt;conditions are met:&lt;br /&gt;&lt;br /&gt; The boards are present and not in use in another domain.&lt;br /&gt; At least one board has a CPU and memory.&lt;br /&gt; At least one is an I/O board.&lt;br /&gt; At least one board has a network interface.&lt;br /&gt; The boards have sufficient memory to support an autonomous domain.&lt;br /&gt; The name you give the new domain is unique (as specified in the addtag(1M)&lt;br /&gt;command).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;A Domain on the F15K requires a minimum set of hardware:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A valid CPU/Memory Board with at least 1 GB of physical memory, an hsPCI Assembly, access to the Fire plane via an Expander Board, at least one network capable PCI card configured, and a local boot disk subsystem. You may boot a domain over a network, but it is not recommended. You may also boot a domain initially from the DVD drive on the SC.&lt;br /&gt;&lt;br /&gt;To initially set up a F15K, the following steps would be taken:&lt;br /&gt;. Login into SC0 via serial cable. Setup networking info.&lt;br /&gt;. Reboot SC0&lt;br /&gt;. Telnet to SC0&lt;br /&gt;. Setup Domains A-R. They can jumpstart from SC’s DVD or over the public &lt;br /&gt;   network.&lt;br /&gt;&lt;br /&gt;Static domain configuration&lt;br /&gt;Adding a board to an inactive domain&lt;br /&gt; Removing a board from an inactive domain&lt;br /&gt;&lt;br /&gt;Dynamic domain configuration &lt;br /&gt;Adding a board to an active domain&lt;br /&gt; Removing a board from an active domain&lt;br /&gt;&lt;br /&gt;setupplatform sets up the available component list for domains.&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;sc0:sms-user:&gt; setupplatform -d domain_indicator -a location&lt;br /&gt;&lt;br /&gt;Valid form for Sun Fire 15K Valid form for Sun Fire 12K&lt;br /&gt;&lt;br /&gt;SB(0...17)&lt;br /&gt;IO(0...17)&lt;br /&gt;&lt;br /&gt;The following is an example of making boards at SB0, IO1, and IO2 available to&lt;br /&gt;domain A&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; setupplatform -d A -a SB0 IO1 IO2&lt;br /&gt;&lt;br /&gt;Addtag:&lt;br /&gt;&lt;br /&gt;The following is an example of naming Domain A to dmnA:&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; addtag -d domain_indicator new_tag&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; addtag -d A dmnA&lt;br /&gt;&lt;br /&gt;showboards (1M) command to determine a board’s state.&lt;br /&gt;&lt;br /&gt;To Add Boards to a Domain From the Command Line&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;sc0:sms-user:&gt; addboard -d domain_indicator -c assign location...&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; addboard -d C -c assign SB0 I01 SB1 I02&lt;br /&gt;&lt;br /&gt;SB0, IO1, SB1 and IO2 have now gone from being available to domain C to being&lt;br /&gt;assigned to it.&lt;br /&gt;&lt;br /&gt;To Delete Boards From a Domain From the Command Line&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; deleteboard -c unassign location...&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;deleteboard -c unassign SB0&lt;br /&gt;&lt;br /&gt;SB0 has now gone from being assigned to the domain to being available to it.&lt;br /&gt;&lt;br /&gt;To Move Boards Between Domains From the Command Line&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;sc0:sms-user:&gt; moveboard -d domain_indicator -c assign location&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;sc0:sms-user:&gt; moveboard -d C -c assign SB0&lt;br /&gt;&lt;br /&gt;set domain defaults for all domains&lt;br /&gt;&lt;br /&gt;Platform administrators can set domain defaults for all domains, but only one&lt;br /&gt;domain at a time. The domain must not be active and setkeyswitch must be set to&lt;br /&gt;off.&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; setdefaults -d domain_indicator [-p]&lt;br /&gt;&lt;br /&gt;To Obtain Board Status&lt;br /&gt;&lt;br /&gt;Platform administrators can obtain board status for all domains.&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; showboards [-d domain_id|-d domain_tag]&lt;br /&gt;&lt;br /&gt;showboards - obtain board status of all domains&lt;br /&gt;&lt;br /&gt;To Obtain Domain Status&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; showplatform -d domain_indicator&lt;br /&gt;&lt;br /&gt;showplatform – obtain status of all domains&lt;br /&gt;&lt;br /&gt;To Set the Date on the SC&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; setdate 021210302000.00&lt;br /&gt;&lt;br /&gt;To Set the Date for Domain eng2&lt;br /&gt;&lt;br /&gt;setdate -d eng2 021210302000.00&lt;br /&gt;&lt;br /&gt;(Domain eng2: Tue Feb 12 10:30 2002 US/Pacific)&lt;br /&gt;&lt;br /&gt;To Display the Date on the SC&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; showdate&lt;br /&gt;&lt;br /&gt;Virtual ID PROM - Each configurable domain has a virtual ID PROM that contains identifying information about the domain such as hostID and domain Ethernet address.&lt;br /&gt;&lt;br /&gt;Flash update - SMS provides the flashupdate(1M) command to update the Flash PROM in the system controller (SC),&lt;br /&gt;&lt;br /&gt;Flashupdate command -  displays both the current Flash PROM and the flash image file information prior to any updates.&lt;br /&gt;&lt;br /&gt;To Obtain Device Status&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; showdevices [-d domain_id|domain_tag]&lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;&lt;br /&gt;showdevices IO1&lt;br /&gt;&lt;br /&gt;Virtual Keyswitch&lt;br /&gt;&lt;br /&gt;the Sun Fire 15K/12K domain virtual keyswitch controls whether the domain is powered on or off, whether increased diagnostics are run at boot, and whether certain operations (for example, flash PROM updates and domain reset commands) are permitted.&lt;br /&gt;&lt;br /&gt;setkeyswitch -  changes the position of the virtual key switch to the specified value.&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; setkeyswitch -d domain_indicator [-q -y|-n]&lt;br /&gt;on|standby|off|diag|secure&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;To Set the Virtual Keyswitch On in Domain A&lt;br /&gt;&lt;br /&gt;setkeyswitch -d A on&lt;br /&gt;&lt;br /&gt;To Display the Virtual Keyswitch Setting in Domain A&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; showkeyswitch -d A&lt;br /&gt;&lt;br /&gt;Virtual NVRAM&lt;br /&gt;&lt;br /&gt;Each domain has a virtual NVRAM containing OpenBoot PROM data such as the OpenBoot PROM variables. OpenBoot PROM is a binary image stored on the SC in /opt/SUNWSMS/hostobjs which setkeyswitch downloads into domain memory at boot time. There is only one version of OpenBoot PROM for all domains.&lt;br /&gt;&lt;br /&gt;Setting the OpenBoot PROM Variables&lt;br /&gt;&lt;br /&gt;sc0: sms-user:&gt; setobpparams -d domain_indicator param=value...&lt;br /&gt;&lt;br /&gt;Param All OBP variables&lt;br /&gt;&lt;br /&gt;To See the OpenBoot PROM Variables.&lt;br /&gt;&lt;br /&gt;sc0: sms-user:&gt; showobpparams -d domain_indicator&lt;br /&gt;&lt;br /&gt;poweron - SMS boots all properly configured domains when the Sun Fire 15K/12K chassis is powered on using the poweron(1M) command. &lt;br /&gt;&lt;br /&gt;Poweroff - SMS shuts down all properly configured domains when the chassis is powered off using the poweroff command.&lt;br /&gt;&lt;br /&gt;The following components can be power controlled using the poweron and  poweroff commands.&lt;br /&gt;&lt;br /&gt;Bulk power supply  Fan tray , Centerplane support board , Expander board , CPU/Memory board , Standard PCI board , Hot-pluggable PCI and PCI+ assemblies  MaxCPU board,  wPCI board  System controller  (spare only; poweroff only. resetsc is used to power on the spare.)&lt;br /&gt;&lt;br /&gt;Platform and Domain Blacklisting&lt;br /&gt;&lt;br /&gt;The editable blacklist files specify that certain hardware resources are to be considered unusable by POST. They will not be probed for, tested, or configured in the domain interconnect.&lt;br /&gt;&lt;br /&gt;Sun Fire 15K/12K POST supports two editable canonical blacklist files, one for the platform, one for the domain, located in:&lt;br /&gt;&lt;br /&gt;/etc/opt/SUNWSMS/config/platform/blacklist&lt;br /&gt;and&lt;br /&gt;/etc/opt/SUNWSMS/config/domain_id/blacklist&lt;br /&gt;&lt;br /&gt;The two files are considered logically concatenated.&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; disablecomponent [-d domain_indicator] location&lt;br /&gt;&lt;br /&gt;To Remove a Component From the Blacklist&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; enablecomponent [-d domain_indicator] location&lt;br /&gt;&lt;br /&gt;To Display the Environment Status for Domain A&lt;br /&gt;&lt;br /&gt;sc0:sms-user:&gt; showenvironment -d A&lt;br /&gt;&lt;br /&gt;The software state consists of status information provided by the software running in a domain.&lt;br /&gt;&lt;br /&gt;Showboards  showdevices  showenvironment  showobpparams  showplatform  showxirstate&lt;br /&gt;&lt;br /&gt;showfailover - allows you to monitor the state and display the current status of the SC failover mechanism. The -v option displays the current status of all monitored components.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SMS installation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;SC : # smsinstall directory name&lt;br /&gt;&lt;br /&gt;Control script&lt;br /&gt;&lt;br /&gt;/etc/init.d/sms start| stop&lt;br /&gt;&lt;br /&gt;To restore SMS configuration&lt;br /&gt;&lt;br /&gt;sc1:# /opt/SUNWSMS/bin/smsrestore filename&lt;br /&gt;&lt;br /&gt;Enabling Failover on the Main SC (SC1):&lt;br /&gt;&lt;br /&gt;sc1:sms-user:&gt; /opt/SUNWSMS/bin/setfailover on&lt;br /&gt;&lt;br /&gt;To Add Users to SMS Groups&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;sc0:#/opt/SUNWSMS/bin/smsconfig -a -u username -G groupname   domain_id|platform&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;sc0: # /opt/SUNWSMS/bin/smsconfig -a -u fdjones -G admn a&lt;br /&gt;&lt;br /&gt;(fdjones has been added to the dmnaadmn group )&lt;br /&gt;&lt;br /&gt;To list SMS groups and administrative privileges, use the following command.&lt;br /&gt;&lt;br /&gt;sc0: # /opt/SUNWSMS/bin/smsconfig -l domain_id|platform&lt;br /&gt;&lt;br /&gt;The following command for each user you wish to remove.&lt;br /&gt;&lt;br /&gt;sc0:#/opt/SUNWSMS/bin/smsconfig -r -u username -G groupname domain_id|platform&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114824016138843870?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114824016138843870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114824016138843870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114824016138843870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114824016138843870'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/quick-glance-about-sun-fire-15k.html' title='Quick glance about Sun Fire 15K'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114797703603910932</id><published>2006-05-18T19:08:00.000+01:00</published><updated>2006-05-18T20:14:06.003+01:00</updated><title type='text'>Device Mapping on Sun Servers</title><content type='html'>Managing I/O devices and disks can be very challenging, especially when configurations are complex. This guide explains how to identify slot numbers from a device's fully qualified physical path name. &lt;br /&gt;&lt;br /&gt;Every hardware device on a system is identified with its full device name, also called the physical device name. Physical device files are found in the /devices directory. The full device pathname identifies a device in terms of its location in the device tree by identifying a series of node names separated by slashes, with the root indicated by a leading slash. Each node name in the full device pathname has the following form: driver-name@unit-address:device arguments. &lt;br /&gt;&lt;br /&gt;driver-name identifies the device name; @unit-address is the physical address of the device in the address space of the parent; and :device arguments defines additional information regarding the device software. &lt;br /&gt;&lt;br /&gt;If you match the devices to the driver names (which will be part of the physical path) you will know what type of device you are looking at. &lt;br /&gt;&lt;br /&gt;The following sections describe slot numbers for different system architecture. &lt;br /&gt;&lt;br /&gt;Table 1 provides the descriptions of commonly used device drivers: &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table1.0.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enterprise 3500-6500 servers&lt;br /&gt;&lt;br /&gt;The physical path can help you locate a particular device. For example, the full device address /sbus@1f,0/esp@0,3000/sd@2,0:a &lt;br /&gt;&lt;br /&gt;represents a slice of a SCSI disk drive on a SPARC system. It is interpreted from left to right as a device attached to the sbus with a main system bus address of 1f,0; an esp device, a SCSI bus attached at sbus slot 0, offset 3000; and an sd device with a SCSI bus target of 2, a logical unit of 0, and an argument of a, which represents slice a of the disk. &lt;br /&gt;&lt;br /&gt;For Sun Fire, there are two sbuses per board, 0 and 1 on board 0, 2 and 3 on board 1, etc. The sbus is in hex and the slot # in decimal. There are 3 slots per board, 0, 1 and 2. Slot d is the onboard slot. Slots go from left to right (they are numbered so it's easy). There are two channels per slot, 0 and 1. Channels go from right to left. For example: &lt;br /&gt;&lt;br /&gt;Searching for disks...done&lt;br /&gt;&lt;br /&gt;AVAILABLE DISK SELECTIONS:&lt;br /&gt;0. c2t96d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719af3e,0&lt;br /&gt;1. c2t101d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719b0e8,0&lt;br /&gt;2. c2t106d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719aded,0&lt;br /&gt;3. c2t112d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719ad78,0&lt;br /&gt;4. c2t115d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719ad8e,0&lt;br /&gt;5. c2t118d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719b021,0&lt;br /&gt;6. c2t122d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@17,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203719aea6,0&lt;br /&gt;Specify disk (enter its number):&lt;br /&gt;&lt;br /&gt;The above format output shows one (they're all c2) photon (because it's using socal/sf/ssd drivers) on sbus@17, which means it's on board 11 (17 hex = 23 decimal. Round odd numbers down one = 22 and divide by 2 = 11). It is connected to the onboard socal (socal@d,10000) and must be on the right channel (sf@0,0). &lt;br /&gt;So, if the device path reads: &lt;br /&gt;&lt;br /&gt;0. c2t96d0 &lt;SUN9.0G cyl 4924 alt 2 hd 27 sec 133&gt;&lt;br /&gt;/sbus@7,0/SUNW,socal@1,0/sf@1,0/ssd@w210000203719af3e,0&lt;br /&gt;&lt;br /&gt;then the device is on sbus@7 = board 3 (7 hex = 7 decimal, round down to 6 and divide by 2 = 3), in slot 1 (socal@1.0) in channel 1 (left channel, sf@1,0). &lt;br /&gt;With this information you can track the device by tracing the wire. Table 2, which makes the same calculation a lot easier to interpret, describes the slot and sbus slot assignments and their locations (front or back of the system). &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 2: 3500-6500 slot assignments &lt;br /&gt;&lt;br /&gt;Refer to the preceding example and Table 2. You will see that sbus@17 means it is in board slot 11 at the back of the system. &lt;br /&gt;&lt;br /&gt;Note: The Sun Enterprise 3x00 has board slots in the back of the system only (the internal disks are located on the front). The Sun Enterprise 4x00, 5x00, and 6x00 have board slots in the front and back. &lt;br /&gt;&lt;br /&gt;Note: sf@0 is the GBIC port on the right and sf@1 is the GBIC port on the left on a soc+ I/O board. &lt;br /&gt;&lt;br /&gt;Midrange 250 and 450 Servers&lt;br /&gt;&lt;br /&gt;The Sun workgroup server product series slot assignments for Sun Enterprise 250 and 450 are shown in this section. &lt;br /&gt;&lt;br /&gt;Consider the following device path: &lt;br /&gt;/pci@6,4000/scsi@2 &lt;br /&gt;&lt;br /&gt;As shown in Table 3, this device path represents the card occupying slot 3. In this table, Device is the device driver name of the card occupying the slot (for example, scsi). &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table3.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Table 3: 450 PCI Slot Assignments &lt;br /&gt;&lt;br /&gt;The device path /pci@1f,4000/scsi@3 may be reported. This device path references the disk controller built onto the system board that controls the first four internal disk slots in a Sun Enterprise 450 - the bottom four slots. &lt;br /&gt;The device path /pci@1f,4000/scsi@2 may be reported. This device path references the controller built onto the system board for the internal CD-ROM or tape drive, as well as the onboard SCSI port on the system board. &lt;br /&gt;&lt;br /&gt;Table 4 shows the Sun Enterprise 250 PCI Slot Assignments. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table4.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table4.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 4: 250 PCI Slot Assignments &lt;br /&gt;&lt;br /&gt;Enterprise 3800-6800 Servers&lt;br /&gt;&lt;br /&gt;There are two types of I/O boards - PCI and cPCI. PCI has 8 slots and cPCI has 6 slots. 4800/4810/6800 do not support cPCI cards at this time. In 3800, IB6 and IB8 are located side by side on the front of the box. In 4800, IB6 is at the bottom and IB8 is at the top at the back of the box. In 4810, both of the boards are located in the front. In 6800, they are located as: &lt;br /&gt;IB9     IB8 &lt;br /&gt;IB7     IB6 &lt;br /&gt;3800-6800: CPU/Memory Boards&lt;br /&gt;&lt;br /&gt;Depending on the type, Sun Fire systems can have up to 6 CPU boards. Each CPU board can have up to 4 processors. Processors with Agent IDs (AID) 0-3 reside on board C0, 4-7 on board C1, 8-11 on board C2, and so on. Refer to Table 5 for AID allocation. &lt;br /&gt;Using this allocation, there are up to 4 CPU instances P0-P3 on each board. There are up to 4 banks of memory per CPU board. Each bank is controlled by one memory controller (MMU). The memory controller is co-packaged with its processor. Thus, AID for the memory controller is the same as its processor AID but with a different offset. The offset is 0 for processors and 400000 for memory. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table5.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table5.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 5: AID Allocation &lt;br /&gt;&lt;br /&gt;Example for CPU module&lt;br /&gt;&lt;br /&gt;To determine the physical location of CPU modules, consider the following full device path name &lt;br /&gt;&lt;br /&gt;/ssm@0,0/SUNW,UltraSPARC-III@b,0 &lt;br /&gt;&lt;br /&gt;Here, 0 is the Node ID and CPU AID is B. Now &lt;br /&gt;  Divide processor Agent ID by 4. &lt;br /&gt;&lt;br /&gt;hex: b/4 = 2.xx &lt;br /&gt;dec: 11/4 = 2.xx &lt;br /&gt;&lt;br /&gt;The whole number represents the CPU board number(slot number), C2 in this case. &lt;br /&gt;  The remainder of the division represents processor instance number (0-3) on the CPU board. &lt;br /&gt;&lt;br /&gt;In this example, the remainder is 3, indicating CPU P3. &lt;br /&gt;&lt;br /&gt;Example for memory controller&lt;br /&gt;&lt;br /&gt;To determine physical location of memory controllers, consider the following full device path name &lt;br /&gt;&lt;br /&gt;/ssm@0,0/SUNW,memory-controller@b,400000 &lt;br /&gt;&lt;br /&gt;Here Node ID is 0, Memory AID is B and offset is 400000. The same formula applies to memory components. As in the CPU case, memory resides on board C2. &lt;br /&gt;3800-6800: IO Boards&lt;br /&gt;&lt;br /&gt;There are up to 4 I/O boards in a system, each hosting 2 Schizo's. Each Schizo has two bus sides, A and B. Agent ID 25 and 26 are located on IB6, 27 and 28 on IB7, and so on. The node ID for Sun Fire is always zero (ssm@0,0). Sun Fireplane Agent IDs (AID) range from 0-31 (0-1f, hex). CPU AIDs range from 0-23 (0-17, hex). Schizo AIDs range from 24-31 (18-1f, hex). &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table6.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table6.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 6: Sun Fireplane Agent ID (AID) allocation for Schizo IO &lt;br /&gt;&lt;br /&gt;There are 2 types of IO boards, PCI and cPCI. The PCI board types have 8 slots. A cPCI may have 4 or 6 slots. Tables 5, 6, and 7 describe PCI and cPCI IO board topology. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table7.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table7.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 7: PCI IO Board Topology &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table8.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table8.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 8: cPCI IO Board Topology for 4 slots &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table9.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table9.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 9: cPCI IO Board Topology for 6 slots &lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table10.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table10.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 10: Physical Slot location for PCI IO boards &lt;br /&gt;&lt;br /&gt;Example for IO boards&lt;br /&gt;&lt;br /&gt;PCI Example 1&lt;br /&gt;&lt;br /&gt;To determine physical location of I/O devices, consider the following full device pathname: &lt;br /&gt;/ssm@0,0/pci@19,700000/pci@3/SUNW,isptwo@4/sd (block)&lt;br /&gt;&lt;br /&gt;Where&lt;br /&gt;Node ID is 0&lt;br /&gt;Schizo AID is 19&lt;br /&gt;&lt;br /&gt;Device# is 3 &lt;br /&gt;&lt;br /&gt;To locate the IO board number, divide the Schizo ID by 2 and subtract 6. &lt;br /&gt;&lt;br /&gt;Hex: (19/2)- 6 = 6.8 &lt;br /&gt;&lt;br /&gt;This means the device resides on the I/O board in slot 6 (IB6). The fact that the result has a fraction indicates that this is an odd AID. An odd AID indicates Schizo 1 and an even AID indicates Schizo 0 of IB6. Alternatively, you can look up the AID in Table 5. &lt;br /&gt;&lt;br /&gt;To identify the slot number of IB6 in which this device is installed, use Table 7 for PCI IO topology. From the device path, AID is odd (19), offset = 700000, and device # = 3. This device is in slot 6 of IO board IB6. &lt;br /&gt;&lt;br /&gt;PCI Example 2&lt;br /&gt;&lt;br /&gt;(from show-devs output): &lt;br /&gt;/ssm@0,0/pci@1d,600000/scsi@1,1 (scsi-2)&lt;br /&gt;/ssm@0,0/pci@1d,600000/scsi@1,1/tape (byte)&lt;br /&gt;/ssm@0,0/pci@1d,600000/scsi@1,1/disk (block)&lt;br /&gt;/ssm@0,0/pci@1d,600000/scsi@1 (scsi-2)&lt;br /&gt;/ssm@0,0/pci@1d,600000/scsi@1/tape (byte)&lt;br /&gt;/ssm@0,0/pci@1d,600000/scsi@1/disk (block)&lt;br /&gt;&lt;br /&gt;Where AID is 0&lt;br /&gt;Offset is 600000&lt;br /&gt;Device# is 1 &lt;br /&gt;&lt;br /&gt;All of these devices belong to the same slot since the AID, offset, and device numbers are identical. &lt;br /&gt;AID=1d, offset=600000, device#=1&lt;br /&gt;1d/2-6=8.8 =&gt; slot8 &lt;br /&gt;&lt;br /&gt;Using PCI topology Table 7, you can determine that this device is located at slot 7 of IO board IB8. &lt;br /&gt;&lt;br /&gt;cPCI Example 1&lt;br /&gt;&lt;br /&gt;Consider this full device pathname &lt;br /&gt;/ssm@0,0/pci@1c,700000/pci@1/SUNW,isptwo@4 (scsi)&lt;br /&gt;&lt;br /&gt;Where&lt;br /&gt;Node ID is 0&lt;br /&gt;Schizo AID is 1c&lt;br /&gt;Device# is 1 &lt;br /&gt;&lt;br /&gt;To find the IO board number, divide the AID 1c by 2 then subtract 6: 1c/2 - 6 = 8. This device is on IB8. Again, no fractions means Schizo 0 of IB8. &lt;br /&gt;&lt;br /&gt;From the device path: AID=even (1c), offset = 700000, device# = 1. Using Table 7, you will find that this device is located at slot 2 of IB8. &lt;br /&gt;&lt;br /&gt;Complete List of Software Utilities and Products Utilities&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5634/2903/1600/table11.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5634/2903/400/table11.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table 11 Software Utilities and Products&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114797703603910932?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114797703603910932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114797703603910932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114797703603910932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114797703603910932'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/device-mapping-on-sun-servers.html' title='Device Mapping on Sun Servers'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114794584070953580</id><published>2006-05-18T10:46:00.000+01:00</published><updated>2006-05-18T10:50:40.836+01:00</updated><title type='text'>Solaris 10 OS Upgrade Exam Details</title><content type='html'>&lt;strong&gt;Sun Certified System Administrator for the Solaris 10 Operating System Upgrade Exam (CX-310-203)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Exam code  : CX-310-203&lt;br /&gt; &lt;br /&gt;Prometric test number : 310-203&lt;br /&gt; &lt;br /&gt;Exam type  : Multiple Choice and Drag and Drop&lt;br /&gt; &lt;br /&gt;Number of questions : 50D&lt;br /&gt; &lt;br /&gt;Passing score  : 60&lt;br /&gt; &lt;br /&gt;Pre-requisites  : Previous System Administrator Certification in any version of the Solaris OS&lt;br /&gt; &lt;br /&gt;Exam delivery  : Authorized Worldwide Prometric Testing Centers&lt;br /&gt; &lt;br /&gt;Time limit  : 105 minutes&lt;br /&gt; &lt;br /&gt;Price   : $150 USD &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Exam Objectives &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Section 1: Install Software &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Explain the Solaris 10 OS installation and upgrade options for CD / DVD, including how to provide Minimal Installations for SPARC, x64, and x86-based systems. &lt;br /&gt;&lt;br /&gt;Perform an OS installation from CD / DVD for SPARC, x64, and x86- based systems. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Section 2: Manage File Systems&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Explain disk architecture including the UFS file system capabilities and naming conventions for devices for SPARC, x64, and x86-based systems. &lt;br /&gt;&lt;br /&gt;Use the prtconf and format commands to list devices, explain critical issues of the /etc/path_to_inst file and reconfigure devices by performing a reconfiguration boot or using the devfsadm command for SPARC, x64, and x86-based systems. &lt;br /&gt;&lt;br /&gt;Given a scenario, partition a disk correctly using the appropriate files, commands, and options, and manage disk labels using SMI and EFI labels as they relate to disk sets. &lt;br /&gt;&lt;br /&gt;Explain the Solaris 10 OS file system, including disk-based, distributed, devfs, and memory file systems related to SMF, and create a new UFS file system using options for &lt;1Tbyte and &gt; 1Tbyte file systems. &lt;br /&gt;&lt;br /&gt;Perform Solaris 10 OS package administration using command-line interface commands and manage software patches for the Solaris OS, including preparing for patch administration, and installing and removing patches using the patchadd and patchrm commands. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Section 3: Perform System Boot and Shutdown Procedures for SPARC, x64, and x86-based systems &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Given a scenario, explain the BIOS settings for booting, abort sequence, and displaying POST, including BIOS configuration for x64 and x86-based system. &lt;br /&gt;&lt;br /&gt;Use the Xorg configuration files or kdmconfig utility to configure the keyboard, display, and mouse devices for an x64 and x86 based system. &lt;br /&gt;&lt;br /&gt;Perform system boot and shutdown procedures, including identifying the system's boot device, creating and removing custom device aliases, viewing and changing NVRAM parameters, and interrupting an unresponsive system. &lt;br /&gt;&lt;br /&gt;Explain the Service Management Facility and the phases of the boot process. &lt;br /&gt;&lt;br /&gt;Use SMF or legacy commands and scripts to control both the boot and shutdown procedures. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Section 4: Perform User and Security Administration &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Monitor system access by using appropriate commands. &lt;br /&gt;&lt;br /&gt;Perform system security by switching users on a system, and by becoming root and monitoring su attempts. &lt;br /&gt;&lt;br /&gt;Control system security through restricting ftp access and using /etc/hosts.equiv and $HOME/ .rhosts files, and SSH fundamentals. &lt;br /&gt;&lt;br /&gt;Restrict access to data in files through the use of group membership, ownership, and special file permissions. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Section 5: Control Access and Configure System Messaging &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Configure role-based access control (RBAC) including assigning rights profiles, roles, and authorizations to users. &lt;br /&gt;&lt;br /&gt;Analyze RBAC configuration file summaries and manage RBAC using the command line. &lt;br /&gt;&lt;br /&gt;Explain syslog function fundamentals, and configure and manage the /etc/syslog.conf file and syslog messaging. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Section 6: Perform Advanced Installation Procedures for SPARC and x86 based systems &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Explain consolidation issues, features of Solaris zones, and decipher between the different zone concepts including zone types, daemons, networking, command scope, and given a scenario, create a Solaris zone. &lt;br /&gt;&lt;br /&gt;Given a zone configuration scenario, identify zone components and zonecfg resource parameters, allocate file system space, use the zonecfg command, describe the interactive configuration of a zone, and view the zone configuration file. &lt;br /&gt;&lt;br /&gt;Given a scenario, use the zoneadm command to view, install, boot, halt, reboot, and delete a zone. &lt;br /&gt;&lt;br /&gt;Given a PXE installation scenario, identify requirements and install methods, configure both the install and DHCP server, and boot the x86 client.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114794584070953580?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114794584070953580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114794584070953580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114794584070953580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114794584070953580'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/solaris-10-os-upgrade-exam-details.html' title='Solaris 10 OS Upgrade Exam Details'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114781499275706222</id><published>2006-05-16T22:29:00.000+01:00</published><updated>2006-05-16T22:29:52.756+01:00</updated><title type='text'>Solaris Volume manager</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114781499275706222?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114781499275706222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114781499275706222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114781499275706222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114781499275706222'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/solaris-volume-manager.html' title='Solaris Volume manager'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28219144.post-114779980030818395</id><published>2006-05-16T18:16:00.000+01:00</published><updated>2006-05-17T09:18:47.280+01:00</updated><title type='text'>Sun Server Auditing command list</title><content type='html'>Server audit helps you to get the exact report about the server status. This is very useful when you take over the server. You can capture the errors if any when you do server auditing. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the Server Status &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command helps you to find the hardware failure if any and the components status on the server.&lt;br /&gt;&lt;br /&gt;Syntax - /usr/platform/platform-name/sbin/prtdiag &lt;br /&gt;&lt;br /&gt;Example: /usr/platform/sun4u/sbin/prtdiag -v &lt;br /&gt;&lt;br /&gt;Useful option&lt;br /&gt;&lt;br /&gt;v - verbose mode. It displays the detailed report. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the OS version &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command display the OS version, Server model and patch version.&lt;br /&gt;&lt;br /&gt;Example: uname -a  &lt;br /&gt;&lt;br /&gt;Useful options &lt;br /&gt;&lt;br /&gt;a - It displays the hostname, OS version, patch version and server model. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the OBP Version.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command displays the OBP version. &lt;br /&gt;&lt;br /&gt;prtdiag -v ¦ grep -i obp&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the OS patch version &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command displays the patch number also.&lt;br /&gt;&lt;br /&gt;Example: uname -a &lt;br /&gt;&lt;br /&gt;You can check /etc/release file for more details.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the processor information &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command displays the processor information.&lt;br /&gt;&lt;br /&gt;Example: psrinfo -pv &lt;br /&gt;&lt;br /&gt;Useful options&lt;br /&gt;&lt;br /&gt;p - Number of physical processors&lt;br /&gt;v- Detailed information&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the physical memory ( RAM ) information &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command displays the total physical memory installed on the server.&lt;br /&gt;&lt;br /&gt;Example: /usr/platform/sun4u/sbin/prtdiag ¦ grep -i "Memory size" &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the installed network cards &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command displays the available network cards on the server.&lt;br /&gt;&lt;br /&gt;Example: more /etc/path_to_inst ¦ grep net &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Check the hard disk details &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command list all the available hard disk on the server both internal and external.&lt;br /&gt;&lt;br /&gt;Example: echo ¦ format &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Find out the Voume manager configuration details &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Check the /etc/vfstab for file system details. /dev/md/* represent solaris volume manager/Solstice disksuite . /dev/vx/* represent veritas volume manger. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Find out the network card configuration details &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can use the below set of commands to display the plumbed network card IP, card speed and transfer mode.&lt;br /&gt;&lt;br /&gt;Example: ifconfig -a command display the plumbed network card details. &lt;br /&gt;&lt;br /&gt;kstat ce:0 grep ¦ speed - Display the card speed ( 100/1000 mbps ) &lt;br /&gt;&lt;br /&gt;kstat ce:0 grep ¦ duplex - Display the transfer mode. ( half/ full duplex mode ) &lt;br /&gt;&lt;br /&gt;ndd -get /dev/ce adv_autoneg_cap - Display the autonegotiation details. prior to this command set the network instance using ndd -set /dev/ce instance 2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28219144-114779980030818395?l=solarisguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solarisguide.blogspot.com/feeds/114779980030818395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28219144&amp;postID=114779980030818395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114779980030818395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28219144/posts/default/114779980030818395'/><link rel='alternate' type='text/html' href='http://solarisguide.blogspot.com/2006/05/sun-server-auditing-command-list.html' title='Sun Server Auditing command list'/><author><name>singampuli</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
