Documente Academic
Documente Profesional
Documente Cultură
Download
• UNIX Getconfig Version 7.64 (includes logic for "HDCA Diags" collections)
• UNIX Getconfig Version 7.60
Instructions
Note: You must have root access to run GetConfig.
C:\temp>ftp myunixserver.corp.com
Connected to myunixserver.corp.com.
220 (vsFTPd 1.2.1)
User (myunixserver.corp.com:(none)): magic8ball
331 Please specify the password.
Password:
230 Login successful.
ftp> cd /tmp
250 Directory successfully changed.
ftp> pwd
https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Get_Config/UNIX_Getconfig
Updated: Sun, 10 Nov 2019 08:07:37 GMT
Powered by
1
257 "/tmp"
ftp> bin
200 Type set to I
ftp> put getcfg760.tar
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 430080 bytes sent in 0.08Seconds 5513.85Kbytes/sec.
257 "/tmp"
ftp> bye
221 Goodbye.
7. Run the UNIX Getconfig from this directory using one of the following:
• Default mode
• Silent mode
• Silent Verbose Mode
Default Mode
##################################################################
# DEFAULT OPTION MODE
# *note: [] means accept the default option. Press *ENTER*
https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Get_Config/UNIX_Getconfig
Updated: Sun, 10 Nov 2019 08:07:37 GMT
Powered by
2
##################################################################
/tmp> #./getcfg
##################################################################
GSC GetConfig Data Collection Script version 7.60
##################################################################
Display README? [n]:
Enter your case number including SD or EUC prefix : SD1234567
Specify path to save getconfig data [/tmp]:
Display additional options? [n]:
##################################################################
Gathering standard system files .........
Gathering process information .....
Gathering additional system information ......
Gathering Platform Information and Control Library info ....
Gathering list of /usr/lib & /usr/local/lib files ...
Gathering error logs .......
Gathering dmesg log ...
...
Silent Mode
##################################################################
# SILENT (NO OPTION) MODE
##################################################################
# ./getcfg casenumber -s output destination
*note:
casenumber is the Hitachi case number including prefix
-s is for silent mode
output destination is optional. If not specified /tmp is used.
##################################################################
# SILENT (NO OPTION) VERBOSE MODE
##################################################################
# ./getcfg casenumber -s -v output destination >/tmp/output.txt 2>&1 &
*note:
casenumber is the Hitachi case number including prefix
https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Get_Config/UNIX_Getconfig
Updated: Sun, 10 Nov 2019 08:07:37 GMT
Powered by
3
-s is for silent mode
-v is for verbose mode
output destination is the destination directory
It is strongly advised to add ">/tmp/output.txt 2>&1" to capture the output if you run in silent or verbose mode.
For example:
or
# tail -f output.txt
The above captures the output and runs the script in the background.
You may also leave out the mode flags to specify only an output destination. For example:
Additional Options
##################################################################
# ADDITIONAL OPTIONS
# *note: [] means accept the default option. Press ENTER
##################################################################
/tmp> #./getcfg
##################################################################
GetConfig Data Collection Script version 7.60
##################################################################
Display README? [n]:
Enter your case number including SD or EUC prefix : SD1234567
Specify path to save getconfig data [/tmp]:
Display additional options? [n]: y
Verbose mode? (*note: output is sent to screen) [n]: y
Display Excludes? [n]: y
https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Get_Config/UNIX_Getconfig
Updated: Sun, 10 Nov 2019 08:07:37 GMT
Powered by
4
Exclude hdvm from getconfig? [n]:
Exclude htnm from getconfig? [n]:
Exclude hssm from getconfig? [n]:
Exclude hdlm from getconfig? [n]:
Exclude veritas from getconfig? [n]:
Exclude hitrack from getconfig? [n]:
Exclude horcm from getconfig? [n]:
Exclude rapidx from getconfig? [n]:
##################################################################
Gathering standard system files .........
Gathering process information .....
Gathering additional system information ......
Gathering Platform Information and Control Library info ....
Gathering list of /usr/lib & /usr/local/lib files ...
Gathering error logs .......
Gathering dmesg log ...
...
# cd /tmp
# ls getc*
getconfig.sun.SD1234567.TRCFTP.092508.134547.tar.gz
#
# exit
Change to the directory where you wish to put the getconfig results
example:
C:\temp>ftp myunixserver.corp.com
Connected to myunixserver.corp.com.
220 (vsFTPd 1.2.1)
User (myunixserver.corp.com:(none)): magic8ball
331 Please specify the password.
Password:
230 Login successful.
https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Get_Config/UNIX_Getconfig
Updated: Sun, 10 Nov 2019 08:07:37 GMT
Powered by
5
ftp> cd /tmp
250 Directory successfully changed.
ftp> pwd
257 "/tmp"
ftp> bin
200 Type set to I
ftp> get getconfig.sun.SD1234567.TRCFTP.092508.134547.tar.gz
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 430080 bytes sent in 0.08Seconds 5513.85Kbytes/sec.
ftp> bye
11. Open up your Web Browser and go to https://tuf.hitachivantara.com/upload.php, enter your case number and
upload the files.
https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Get_Config/UNIX_Getconfig
Updated: Sun, 10 Nov 2019 08:07:37 GMT
Powered by
6