Hello,
this is what you looking for :
Sun[tm] Explorer How-Tos (FTP, NFS, Installation, Upgrade)
Related Categories
* Home>Services>Service tools and process
Description
5NSCBGJ Internal ID use only.
This document explains how to perform various Sun[tm] Explorer administrative procedures.
Steps to Follow
L9EF11N Internal ID use only.
Sun[tm] Explorer Data Collector includes some third-partyredistributable
This document includes the followingprocedures:
*
How to Download Sun Explorer
*
How to Install Sun Explorer
*
How to Install Sun ExplorerWith Limited Interaction
*
How to Install Sun Explorer to aNon-Default Directory
*
How to Upgrade Sun Explorer
*
How to Run Sun Explorer WithNFS
*
How to Use FTP to Submit SunExplorer Files
A summary of new features, a list of Sun Explorer commands, andFrequently Asked Questions (FAQ) are available from SunSolve[sm]Online. Follow the steps in "How toDownload Sun Explorer" to display the Sun Explorer page onSunSolve and view the License Agreement.
For questions about Sun Explorer, contact the explorer@sun.comalias.
Back to Sun Explorer main page
How to Download SunExplorer
Thisprocedure describes how to download the latest Sun Explorerfile.
1.
Click View License Agreement and Download SunExplorer.This link redirects you to the SunExplorer Data Collector page in the Sun Download Center. The Sun Download Center may require you to log inbefore proceeding.
2.
Review the License Agreement, and click Agree to proceed withdownloading.
Back to Top
How to Install Sun Explorer
Thisprocedure describes how to install Sun Explorer after you havedownloaded the latest file, as described in How to Download SunExplorer.
Note: Sun Explorer must beinstalled in the global zone if you are installing it on theSolaris[tm] 10 Operating System (Solaris OS). In Solaris 10, thepkgadd command includes a -g flag that restricts installation tothe global zone.
1.
If a version of Sun Explorer is installedon the host, remove the SUNWexplo and SUNWexplu packages before installing the new Sun Explorerpackage.
a. Become superuser.
b. Type the following commandat the prompt:
pkgrm SUNWexplo
If the SUNWexplu package is also installed, type the followingcommand at the prompt:
pkgrm SUNWexplu
Note: Removing the currentSUNWexplo and SUNWexplu package saves the Sun Explorer defaultsfile.
In Sun Explorer 3.6.2 and earlier versions, the defaults file is explorer_install_dir/etc/d
In Sun Explorer 4.0 and later versions, the defaults file is/etc/opt/SUNWexplo/defau
You can save the defaults file and use it as input when you runthe explorer -g command to create or update the defaults file.During installation of Sun Explorer version 4.0 or later, this fileis moved from the explorer_install_dir/etc/d
The output directory of the most recent Sun Explorer run issaved in the explorer_install_dir/outpu
2.
Uncompress and untar the SunExplorer.tar.Zfile.
a. Type the following commandto copy the file to the /var/tmp directory:
cp SunExplorer.tar.Z /var/tmp
b. Type the following commandsto change to the /var/tmp directory and uncompress the file:
cd /var/tmp
uncompress SunExplorer.tar.Z
c. Type the following commandto untar the file:
tar xvf SunExplorer.tar
Or
If you have zcat installed, type the following command touncompress and untar the file:
zcat SunExplorer.tar.Z | tar xvf -
3.
Extract the contents of the archive into adirectory called SUNWexplo andSUNWexplu located in the currentdirectory.
As superuser, type the following command at the prompt:
pkgadd -d . SUNWexplo SUNWexplu
Back to Top
How to Install Sun Explorer With LimitedInteraction
To upgrade or install SunExplorer with limited interaction, modify the Sun Explorer defaultssettings on host_A and then run explorer -g -d to use the settingsfrom host_A when installing on other hosts (such as host_B). Ifhost_B has an existing defaults file, Sun Explorer uses the definedvalues whenever possible. If host_B does not have a defaults file,Sun Explorer uses the host_A defaults file settings.
This procedure updates the modification date and EXP_DEF_VERSIONvariable, and replaces ${EXP_HOME} with /opt/SUNWexplo in theEXP_LIB variable.
Note: TheEXP_PLATFORM_NAME_$host
Perform the following steps to upgrade or install using limitedinteraction:
1.
Install Sun Explorer on host_A usingpkgadd.
2.
Run explorer -g on host_A to accept the license and update orcreate the defaults file.
3.
Save the defaults file.
The file must be located in the directory that other hosts areable to access.
4.
Install the new Sun Explorer release onanother system (host_B).
5.
Run explorer -g -d file on host_B.
The -d file option specifies the defaults file saved in Step3.
The defaults file for host_B is/etc/opt/SUNWexplo/defau
Back to Top
How to Install Sun Explorer to aNon-Default Directory
This procedure describes installingSUNWexplo and SUNWexplu into a non-default directory. The commandoption is pkgadd -a admin. A template of the admin file is in theSun Explorer release package.
1.
Untar the SunExplorer.tar.Zfile
tar xvf SunExplorer.tar.Z
2.
Create a new directory, such as/tmp/exp_admin.
mkdir /tmp/exp_admin
3.
Copy the exp_admin file in the SUNWexplo/install and SUNWexplu/install directories to the new directory.
cp SUNWexplo/install/exp_admi
cp SUNWexplu/install/exp_admi
4.
Change the value of basedir in theexp_admin file to the/tmp/exp_admin directory.
5.
Change to that directory and execute thepkgadd -a admin command.
pkgadd -a /tmp/exp_admin -d xx SUNWexplo
For example:
# cp SUNWexplo/install/exp_admi
# update the basedir defined in /tmp/exp_admin
# pkgadd -a /tmp/exp_admin -d xx SUNWexplo
Back to Top
How to Upgrade Sun Explorer
Upgrading anexisting Sun Explorer installation to a newer release consists ofthree steps, removing any existing SUNWexplo and SUNWesply package,downloading the latest version of Sun Explorer, and installing thenew package.
This section describes the procedure for upgrading an existingSun Explorer installation. See "How to Install Sun Explorer With Limited Interaction" for the procedure to update Sun Explorerwith limited interaction.
1.
Become superuser.
2.
Remove the current SUNWexplopackage and SUNWexplu package (if one exists).
# pkgrm SUNWexplo
# pkgrm SUNWexplu
Removing the existing SUNWexplo and SUNWexplu package deletesALL Sun Explorer components, except the Sun Explorer defaults fileand the most recent Sun Explorer output directory.
The most recent Sun Explorer output directory is located at:
<explorer_install_dir>/outpu
The defaults file is stored in these locations:
* Sun Explorer 3.6.2 and earlier versions:
<explorer_install_dir>/etc/d
* At least Sun Explorer 4.0:
/etc/opt/SUNWexplo/default
The defaults file is preserved to be used as input during theupgrade process from Sun Explorer 3.6.2 to at least SunExplorer 4.0. The defaults file is relocated to/etc/opt/SUNWexplo/defau
3.
Download the newest version of Explorerfrom sunsolve.sun.com.
a. Open a browser and go to http://sunsolve.sun.com.
b. Under SunSolve Contents andExplorer Data Collector, click Download, Install Explorer.
The Sun Explorer Data Collector page should appear. This pagelists a change summary for the latest version, FTP instructions,FAQs, installation instructions, a link to THIRDPARTYLICENSEREADME,a link to a list of commands used in Sun Explorer, and a link toView License Agreement and Download.
c. Click View License Agreementand Download.
d. Review the License Agreementand click Agree to proceed with downloading.
4.
Install the new SUNWexplo and SUNWexplu package.
a. Copy the tar file to the/var/tmp directory.
cp SunExplorer.tar.Z /var/tmp
b. Uncompress and untar thefile.
cd /var/tmp
uncompress SunExplorer.tar.Z
tar xvf SunExplorer.tar
Or, if you have zcatinstalled:
zcat SunExplorer.tar.Z | tar xvf -
c. Become superuser.
d. Type the following toextract the contents of the archive into a directory calledSUNWexplo located in the current directory:
pkgadd -d . SUNWexplo SUNWexplu
When you install the SUNWexplo package, the defaults file is updated only if the defaults file is/etc/opt/SUNWexplo/defau
e. (Optional) Run theexplorer -g command if you want to change the defaultsfile.
If you want to use the defaults file as-is, do not run theexplorer -g command.
Back to Top
How to Run Explorer WithNFS
Installing SunExplorer on multiple servers can be a time-consuming task. Toreduce the installation time, install Sun Explorer on one systemand then use NFS mount to share the install directory with othersystems.
Perform the following tasks to configure Sun Explorer to runover an NFS mount:
*
Create a Sun Explorer defaults file for the NFS client.
*
Reference the client's Sun Explorer defaults file.
*
Direct output to a local, writable directory.
*
Use a cron entry to schedule Sun Explorer to run on the NFSclient.
Create a SunExplorer Defaults File for the NFS Client
Most values in the NFS server's Sun Explorer defaults file arevalid for all servers in the environment. Perform the followingsteps on the NFS server with Sun Explorer installed to create adefaults file:
1.
Record the NFS client's host name and hostID.
2.
Become superuser.
3.
Go to the Sun Explorer defaultdirectory.
cd /etc/opt/SUNWexplo/default
4.
Copy and rename the defaults file toassociate it with the host (such as explorer.host-name).
cp explorer nfs_dir/explorer.host-name
5.
Edit the new explorer.hostnamefile and reset the following variables(where hostid isthe client's hostid):
EXP_INSTALL_$hostid=Today'
EXP_SERIAL_$hostid=Client'
Command Syntax forExplorer Being Run on NFS Mounted File System
Note: When using the explorercommand on an NFS client, you must specify the Sun Explorerdefaults file as input, and the output directory location. If youdo not specify the client's Sun Explorer defaults file, the NFSserver's defaults file is used. If you do not specify the outputdirectory location, an attempt is made to write the output to theNFS server's explorer_install_dir/outpu
Use the following Sun Explorer options:
* Specify the defaults file with -d<nfs_client_accessible_di
* Specify the directory in which to write the output with -t/var/tmp (which is a local writabledirectory)
Perform the following steps on the NFS client:
1.
Become superuser.
2.
Mount the explorer_install_dir directory from the NFS server.
3.
Change directories into the mountpoint.
4.
Execute the following command to sendoutput to the client's /var/tmp/output directory:
# explorer -d <nfs_dir>/explorer.host-name
Schedule SunExplorer to Run on an NFS Client Using cron
Do the following to schedule Sun Explorer to run on an NFSclient using cron:
1.
Verify that the NFS server is available.
2.
Verify that the <explorer_install_dir> directory ismounted on the NFS server.
3.
Do not send messages to standard output or to standarderror.
4.
Redirect to specific files or /dev/null.
Back to Top
How to Use FTP to Submit Sun ExplorerFiles
Thissection describes the procedure to manually submit a Sun Exploreroutput file to the Sun Explorer database (ConfigDB).
For AMER &APAC Submissions:
1.
Open a terminal window and type thefollowing:
ftp supportfiles.sun.com
2.
Type the following user name and passwordto log in:
Username: anonymous
Password: your_email_address
3.
Type the following at the ftpprompt:
ftp> cd /explorer
ftp> bin
ftp> hash
ftp> put <explorer.filename>
Note: <explorer.filename> is the name of the file toupload. Use explorer as the file name prefix.
For example, explorer.80a711xy.abcdf-20
For EMEASubmissions:
1.
Open a terminal window and type thefollowing:
ftp sunsolve.sun.co.uk
2.
Type the following user name and passwordto log in:
Username: anonymous
Password: your_email_address
3.
Type the following at the ftpprompt:
ftp> cd /cores/uk/incoming
ftp> bin
ftp> hash
ftp>put <explorer.filename>
Note: <explorer.filename> is the name of the file toupload. Use explorer as the file name prefix.
For example, explorer.80a711xy.abcdf-20
Main Topics
Browse All Topics





by: RowleyPosted on 2008-09-10 at 08:22:35ID: 22439293
You might want to have a read of this:
arch/docum ent.do?ass etkey=1-61 - 205424-1
http://sunsolve.sun.com/se