explorer是Solaris上,收集诊断日志的工具,类似Linux上的sosreport。如果要运行她,需要安装exlplorer包,然后生成配置文件,然后收集日志,主要有以下几步
# pkg publisher 查看IPS,IPS类似Linux上的yum源
# pkg install explorer 安装explorer,如果没安装的话
# /usr/sbin/explorer -g 生成配置文件# /usr/sbin/explorer 收集日志
root@sparcvm:~# explorer -g
-----
Oracle Corporation respects your desire for privacy. Personal information
collected from this form will not be shared with organizations external to
Oracle without your consent, except to process data on Oracle's behalf in
connection with this transaction. We will use your personal information for
communications regarding Oracle equipment and service related topics associated
with the data submitted.
Oracle, as a global company, may transfer your personal information to
countries which may not provide an adequate level of protection. Oracle,
however, is committed to providing a suitable & consistent level of protection
for your personal information regardless of the country in which it resides.
Completing the form below implies agreement with the above processing.
If you have any questions please refer to the Oracle Privacy Policy or contact
us. Note that entry of personal information into Explorer is optional.
If you have any questions about this form or in the future wish to update or
delete any of the information provided, please contact Oracle.
-----
Absolute path of the Explorer defaults file?
[/etc/explorer/default/explorer]:
Absolute path of the Explorer output top location?
[/var/explorer/output]:
Should Explorer create /var/explorer/output (y/n)?
[y]:
Retrieving serial number ... (can take time)
Company name
[]:
Contract Identifier
[]:
System (sparcvm, 21c41b56) serial number
[unknown]:
Contact name
[]:
Contact email address
[]:
Phone number
[]:
Address (line 1)
[]:
Address (line 2)
[]:
City
[]:
State
[]:
Zip
[]:
Select your geography from this list:
1) AMERICAS
2) EMEA
3) APAC
[AMERICAS] 3
APAC
Two-character country code or '?' for a list of countries
[]: ?
AF Afghanistan
AS American Samoa
AU Australia
BD Bangladesh
BT Bhutan
IO British Indian Ocean Territory
BN Brunei Darussalam
KH Cambodia
CN China
CX Christmas Island
CC Cocos [Keeling] Islands
CK Cook Islands
FJ Fiji
PF French Polynesia
TF French Southern Territories
GU Guam
Press ENTER for more countries or 'q' to quit the list
HK Hong Kong
IN India
ID Indonesia
JP Japan
KI Kiribati
KP Korea, Democratic People's Republic of
KR Korea, Republic of
LA Lao People's Democratic Republic
MO Macao
MY Malaysia
MV Maldives
MH Marshall Islands
FM Micronesia, Federated States of
MN Mongolia
MM Myanmar
NR Nauru
Press ENTER for more countries or 'q' to quit the list
NP Nepal
NC New Caledonia
NZ New Zealand
NU Niue
NF Norfolk Island
MP Northern Mariana Islands
PK Pakistan
PW Palau
PG Papua New Guinea
PH Philippines
PN Pitcairn
WS Samoa
SG Singapore
SB Solomon Islands
LK Sri Lanka
TW Taiwan, Province of China
Press ENTER for more countries or 'q' to quit the list
TH Thailand
TL Timor-Leste
TK Tokelau
TO Tonga
TT Trinidad and Tobago
TV Tuvalu
UM United States Minor Outlying Islands
VU Vanuatu
VN Viet Nam
WF Wallis and Futuna
Press ENTER for more countries or 'q' to quit the list
Two-character country code or '?' for a list of countries
[]: CN
Select the Explorer default transport upload method from this list:
1) Using Diagnostic Assistant (DA)
2) Other transport
3) None
[Using Diagnostic Assistant (DA)]
Selected: Using Diagnostic Assistant (DA)
Do you want to configure Diagnostic Assistant to save credentials (y/n)?
[y]: n
If you would like to be notified by email when your explorer output is uploaded
into the repository, enter the email address here. When notification is not
needed, enter a single '-'.
[]: -
You have answered:
Company name:
Contract ID:
System serial number: unknown
Contact name:
Contact email address:
Phone number:
Address (line 1):
Address (line 2):
City:
State:
Zip:
Country: China
Country Code: CN
Geography: APAC
Default result upload: Using Diagnostic Assistant (DA)
Mail output from:
Mail on data load:
Are these values okay (y/n)?
[]: y
Do you wish to schedule explorer in cron (y/n)?
[]: n
Mar 27 17:14:16 sparcvm[2163] explorer: Explorer defaults file updated.
Mar 27 17:14:16 sparcvm[2163] explorer: Run /usr/sbin/explorer with options to collect data.
root@sparcvm:~#
root@sparcvm:~# /usr/sbin/explorer
EXP_CONTRACT_ID not set! 1 warnings found in /etc/explorer/default/explorer Because the -SR command line option was not used, it is necessary to ask the following question. A response is expected within 40 seconds. Otherwise, Explorer assumes a negative answer. Is this Explorer run associated with a Service Request (y/n)? [n]: Oracle Explorer Data Collector 8.13 Mar 27 17:15:35 sparcvm[2574] explorer: Explorer ID: explorer.21c41b56.sparcvm-2017.03.27.17.15 Mar 27 17:15:35 sparcvm[2574] rda: RUNNING Mar 27 17:15:35 sparcvm[2574] rda: Initializing RDA Mar 27 17:15:35 sparcvm[2574] rda: Running RDA ------------------------------------------------------------------------------ RDA Data Collection Started 27-Mar-2017 17:16:33 ------------------------------------------------------------------------------ Processing RDA.BEGIN module ... Processing RDA.CONFIG module ... Processing XPLR module ... Mar 27 17:16:33 sparcvm[2574] begin:RUNNING Mar 27 17:16:33 sparcvm[2574] ilomsnapshot_start:RUNNING Mar 27 17:16:33 sparcvm[2574] patch:RUNNING Mar 27 17:16:33 sparcvm[2574] pkg:RUNNING Mar 27 17:17:00 sparcvm[2574] sysconfig:RUNNING Mar 27 17:18:14 sparcvm[2574] ndd:RUNNING Mar 27 17:18:22 sparcvm[2574] netinfo:RUNNING Mar 27 17:18:40 sparcvm[2574] platform_serial:RUNNING Mar 27 17:19:02 sparcvm[2574] servicetags:RUNNING Mar 27 17:19:03 sparcvm[2574] cluster:RUNNING Mar 27 17:19:03 sparcvm[2574] quorumserv:RUNNING Mar 27 17:19:03 sparcvm[2574] lp:RUNNING Mar 27 17:19:04 sparcvm[2574] sf15k_sc:RUNNING Mar 27 17:19:04 sparcvm[2574] ilomextended:RUNNING Mar 27 17:19:04 sparcvm[2574] xscfextended:RUNNING Mar 27 17:19:04 sparcvm[2574] sf15k_ndd:RUNNING Mar 27 17:19:04 sparcvm[2574] u4ft:RUNNING Mar 27 17:19:04 sparcvm[2574] ipmiextended:RUNNING Mar 27 17:19:04 sparcvm[2574] ipmi:RUNNING Mar 27 17:21:22 sparcvm[2574] Tx000:RUNNING Mar 27 17:21:34 sparcvm[2574] ssp:RUNNING Mar 27 17:21:34 sparcvm[2574] sunray:RUNNING Mar 27 17:21:34 sparcvm[2574] fma:RUNNING Mar 27 17:21:39 sparcvm[2574] fru:RUNNING Mar 27 17:21:39 sparcvm[2574] disks:RUNNING Mar 27 17:22:05 sparcvm[2574] zfsconfig:RUNNING Mar 27 17:22:13 sparcvm[2574] zfsdebug:RUNNING Mar 27 17:22:15 sparcvm[2574] storedge:RUNNING Mar 27 17:22:15 sparcvm[2574] fcal:RUNNING Mar 27 17:22:15 sparcvm[2574] lvm:RUNNING Mar 27 17:22:15 sparcvm[2574] storade:RUNNING Mar 27 17:22:16 sparcvm[2574] samfs:RUNNING Mar 27 17:22:16 sparcvm[2574] sanextended:RUNNING Mar 27 17:22:16 sparcvm[2574] emc:RUNNING Mar 27 17:22:16 sparcvm[2574] vxfs:RUNNING Mar 27 17:22:16 sparcvm[2574] vxvm:RUNNING Mar 27 17:22:16 sparcvm[2574] RAIDmanager:RUNNING Mar 27 17:22:16 sparcvm[2574] tape:RUNNING Mar 27 17:22:16 sparcvm[2574] st25xx:RUNNING Mar 27 17:22:17 sparcvm[2574] se3kextended:RUNNING Mar 27 17:22:17 sparcvm[2574] se3k:RUNNING Mar 27 17:22:17 sparcvm[2574] st5800:RUNNING Mar 27 17:22:17 sparcvm[2574] se61xx:RUNNING Mar 27 17:22:17 sparcvm[2574] sonoma:RUNNING Mar 27 17:22:17 sparcvm[2574] photon:RUNNING Mar 27 17:22:17 sparcvm[2574] t3extended:RUNNING Mar 27 17:22:17 sparcvm[2574] t3:RUNNING Mar 27 17:22:17 sparcvm[2574] ssa:RUNNING Mar 27 17:22:17 sparcvm[2574] stortools:RUNNING Mar 27 17:22:17 sparcvm[2574] vtsst:RUNNING Mar 27 17:22:17 sparcvm[2574] lic:RUNNING Mar 27 17:22:17 sparcvm[2574] crypto:RUNNING Mar 27 17:22:18 sparcvm[2574] ldap:RUNNING Mar 27 17:22:18 sparcvm[2574] sbu:RUNNING Mar 27 17:22:18 sparcvm[2574] ldom:RUNNING Mar 27 17:22:20 sparcvm[2574] init:RUNNING Mar 27 17:22:20 sparcvm[2574] smfextended:RUNNING Mar 27 17:22:35 sparcvm[2574] etc:RUNNING Mar 27 17:22:35 sparcvm[2574] var:RUNNING Mar 27 17:22:36 sparcvm[2574] ilomsnapshot_finish:RUNNING Mar 27 17:22:36 sparcvm[2574] messages:RUNNING Mar 27 17:22:36 sparcvm[2574] end:RUNNING Processing RDA.END module ... ------------------------------------------------------------------------------ RDA Data Collection Ended 27-Mar-2017 17:22:38 ------------------------------------------------------------------------------ Mar 27 17:22:38 sparcvm[2574] rda: Cleaning RDA work directories Mar 27 17:22:38 sparcvm[2574] explorer: data collection complete Mar 27 17:22:41 sparcvm[2574] explorer: Removing previous explorers from /var/explorer/output ... Mar 27 17:22:41 sparcvm[2574] explorer: Explorer finished The result of the Oracle Explorer data collection can be found in the /var/explorer/output directory. The packed result is: explorer.21c41b56.sparcvm-2017.03.27.17.15.tar.gz You can send this file to Oracle. Do not submit any health, payment card or other sensitive production data that requires protections greater than those specified in the Oracle GCS Security Practices (http://www.oracle.com/us/support/library/customer-support-security-practices-069170.pdf). Information on how to remove data from your submission is available at https://support.oracle.com/rs?type=doc&id=1227943.1.root@sparcvm:~# ls -l /var/explorer/output/explorer.21c41b56.sparcvm-2017.03.27.17.15
total 98 -rw------- 1 root root 1996 Mar 27 17:22 README drwx------ 2 root root 8 Mar 27 17:22 crypto drwx------ 2 root root 10 Mar 27 17:22 cups -rw------- 1 root root 2215 Mar 27 17:22 defaults drwx------ 7 root root 45 Mar 27 17:22 disks drwx------ 11 root root 43 Mar 27 17:22 etc drwx------ 4 root root 73 Mar 27 17:22 fma drwx------ 2 root root 4 Mar 27 17:22 fru drwx------ 2 root root 3 Mar 27 17:22 ilom drwx------ 7 root root 7 Mar 27 17:22 init drwx------ 2 root root 25 Mar 27 17:22 ipmi drwx------ 2 root root 42 Mar 27 17:22 ldom drwx------ 3 root root 3 Mar 27 17:22 lib -rw------- 1 root root 1511 Mar 27 17:22 log drwx------ 2 root root 4 Mar 27 17:22 messages drwx------ 9 root root 90 Mar 27 17:22 netinfo drwx------ 2 root root 22 Mar 27 17:22 patch+pkg drwx------ 3 root root 14 Mar 27 17:22 rda -rw------- 1 root root 5 Mar 27 17:22 rev -rw------- 1 root root 1568 Mar 27 17:19 service_tags.xml drwx------ 4 root root 136 Mar 27 17:22 sysconfig drwx------ 2 root root 4 Mar 27 17:22 tapes drwx------ 7 root root 15 Mar 27 17:22 var root@sparcvm:~# ls -l /var/explorer/output/explorer.21c41b56.sparcvm-2017.03.27.17.15.tar.gz -rw------- 1 root root 5710362 Mar 27 17:22 /var/explorer/output/explorer.21c41b56.sparcvm-2017.03.27.17.15.tar.gz root@sparcvm:~#
