トラブルシューティングガイド
ftpコマンドを使用して,採取したコアファイルをリモート運用端末に転送する手順を次に示します。
図7-3 コアファイルのリモート運用端末へのファイル転送
> cd /usr/var/core/ > ls <---1 configManager.core snmpd.core > ftp 192.168.0.1 <---2 Connected to 192.168.0.1. 220 192.168.0.1 FTP server ready. Name (192.168.0.1:staff1): staff1 331 Password required for staff1. Password: 230 User staff1 logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> prompt <---3 Interactive mode off. ftp> binary <---4 200 Type set to I. ftp> cd /usr/home/staff1 <---5 250 CWD command successful. ftp> mput *.core <---6 local: configManager.core remote: configManager.core 200 EPRT command successful. 150 Opening BINARY mode data connection for 'configManager.core'. 100% |************************| 6740 KiB 0.98 MiB/s 00:00 ETA 226 Transfer complete. 6902471 bytes sent in 00:06 (0.98 MiB/s) local: snmpd.core remote: snmpd.core 200 EPRT command successful. 150 Opening BINARY mode data connection for 'snmpd.core'. 100% |************************| 843 KiB 12.83 MiB/s 00:00 ETA 226 Transfer complete. 863812 bytes sent in 00:00 (4.10 MiB/s) ftp> bye 221 Thank you for using the FTP service on 192.168.0.1. >
- コアファイルが存在することを確認します。
ファイルが存在しない場合は,何もしないで終了します。
- 転送先の端末アドレスを指定します。
- 対話モードを変更します。
- バイナリモードに設定※します。
- 転送先ディレクトリを指定します。
- コアファイルを転送します。
- 注※
- コアファイルは必ずバイナリモードで転送してください。コアファイルをアスキーモードで転送すると,正確な障害退避情報が取得できなくなります。
All Rights Reserved, Copyright(C), 2014, 2018, ALAXALA Networks, Corp.