Aşağıdaki görevlerin nasıl gerçekleştirileceğine ilişkin adımlar:
A. Metro Düğümü sorunlarını ayıklamak için hangi günlükler gereklidir?
Notlar:
Aşağıda, bu iki dosya adının nasıl göründüğüne ilişkin örnekler verilmiştir. YYYY-AA-GG-SA.DK.SN olarak gösterilen tarih ve saat, dosyaların toplandığı tarih ve saattir:
B. Bir metro düğümü kümesinde toplama tanılamalarını nasıl yakalayabilirim?
Not: Son 30 günü kapsayan temel dosya, çoğu sorunu araştırmak ve çözmek için yeterlidir. Destek ekibi tarafından aksi belirtilmediği sürece bu seçenekler kullanılmalıdır.
Bu verileri yakalamak için "--noextended" ve "--last-logs 30d" bayraklarıyla bir collect-diagnostics komutu çalıştırın.
Yönetici düğümü Linux isteminde (örneğin, service@director-1-1-a) bir SSH oturumu oluşturun, ardından vplexcli'de oturum açın.
Örnek çıktı:
login as: service Keyboard-interactive authentication prompts from server: | Password: End of keyboard-interactive prompts from server Last login: <date and timestamp data> from x.x.x.x service@director-1-1-a:~> service@director-1-1-a:~> vplexcli Trying ::1... Connected to localhost. Escape character is '^]'. VPlexcli:/>
Örnek Çıktı:
VPlexcli:/> collect-diagnostics --noextended --last-logs 30d ('WARNING:The collect-diagnostics command was issued with option --noextended. ',) The following file(s) will NOT be collected: core files fast trace dump files slow trace dump files udcom trace dump files udcom legacy trace files user-defined performance sink files the management console's heap ('WARNING:Only the logs that are generated in the last 30 days are collected.') 2024-02-09 19:55:12 UTC: ****Initializing collect-diagnostics... 2024-02-09 19:55:13 UTC: No cluster-witness server found. 2024-02-09 19:55:13 UTC: Free space = 88G 2024-02-09 19:55:13 UTC: Total space needed = 1907M ================================================================================ Starting collect-diagnostics, this operation might take a while... ================================================================================ Executing cluster collection ..
C. Yöneticideki/düğümdeki mevcut collect-diagnostics paketleri nasıl doğrulanır?
collect-diagnostics komutu tamamlandıktan ve vplexcli komut istemine geri dönüldükten sonra, winscp [veya eşdeğeri SCP yardımcı programı] aracılığıyla komutu çalıştırdığınız yöneticiye bağlanın ve /diag/collect-diagnostics-out/ dizinine gidin.
Doğru zaman damgasına sahip olan günlük dosyalarını belirleyin ve bunları yerel iş istasyonunuza indirin.
D. Devam eden bir collect-diagnostics işlemini iptal etme
Not: Bu, kesintiye yol açmayan bir işlemdir. Doğrudan toplama işlemini iptal edecek bir komut bulunmadığı için yönetim konsolunu yeniden başlatmanız gerekir. Yine de, çalışan bir collect-diagnostics işlemini iptal etmeden önce, kaybolabilecek veriler olabileceğinden, sorun olmadığından emin olmak için collect-diagnostics işlemini neden durdurmak istediğinizi açıklamak için destek ekibine başvurun. Bu kayıp veriler, iptal eyleminin ardından collect-diagnostics işlemi yeniden çalıştırıldığında tekrar toplanamaz.
Örnek Çıktı:
VPlexcli:/> collect-diagnostics --noextended --last-logs 30d ('WARNING:The collect-diagnostics command was issued with option --noextended. ',) The following file(s) will NOT be collected: core files fast trace dump files slow trace dump files udcom trace dump files udcom legacy trace files user-defined performance sink files the management console's heap ('WARNING:Only the logs that are generated in the last 30 days are collected.') 2022-02-09 19:55:12 UTC: ****Initializing collect-diagnostics... 2022-02-09 19:55:13 UTC: No cluster-witness server found. 2022-02-09 19:55:13 UTC: Free space = 88G 2022-02-09 19:55:13 UTC: Total space needed = 1907M ================================================================================ Starting collect-diagnostics, this operation might take a while... ================================================================================ Executing cluster collection ..
Örnek Çıktı:
login as: service Using keyboard-interactive authentication. Password: Last login: <date and time stamp data> from x.x.x.x service@director-1-1-b:~>
Örnek Çıktı:
service@director-1-1-b:~> sudo systemctl restart VPlexManagementConsole.service
"Connection closed by foreign host."
Örnek çıktı (Çıktının son satırını kontrol edin):
VPlexcli:/> collect-diagnostics --noextended --last-logs 30d ('WARNING:The collect-diagnostics command was issued with option --noextended. ',) The following file(s) will NOT be collected: core files fast trace dump files slow trace dump files udcom trace dump files udcom legacy trace files user-defined performance sink files the management console's heap ('WARNING:Only the logs that are generated in the last 30 days are collected.') 2022-02-09 20:02:03 UTC: ****Initializing collect-diagnostics... 2022-02-09 20:02:04 UTC: No cluster-witness server found. 2022-02-09 20:02:04 UTC: Free space = 88G 2022-02-09 20:02:04 UTC: Total space needed = 1907M ================================================================================ Starting collect-diagnostics, this operation might take a while... ================================================================================ Executing cluster collection .. ERROR Executing SMS log collection .. Connection closed by foreign host. <<<
*genişletilmiş dosyalar çıkarılmadıysa
Örnek çıktı:
service@director-1-1-b:/diag> ll total 32 drwxr-xr-x 2 service groupSvc 4096 Feb 9 20:03 collect-diagnostics-tmp-ext drwxr-xr-x 2 service groupSvc 4096 Feb 9 20:03 collect-diagnostics-jobs drwxr-xr-x 2 service groupSvc 4096 Feb 9 20:04 collect-diagnostics-out drwxr-xr-x 3 service groupSvc 4096 Feb 9 20:02 collect-diagnostics-tmp drwx------ 2 root root 16384 Jan 27 16:54 lost+found drwx--x--x 3 service groupSvc 4096 Dec 17 03:08 share service@director-1-1-b:/diag>
Örnek çıktı:
service@director-1-1-b:/diag> rm -r collect-diagnostics-jobs service@director-1-1-b:/diag> rm -r collect-diagnostics-tmp service@director-1-1-b:/diag> ll total 24 drwxr-xr-x 2 service groupSvc 4096 Feb 9 20:04 collect-diagnostics-out drwx------ 2 root root 16384 Jan 27 16:54 lost+found drwx--x--x 3 service groupSvc 4096 Dec 17 03:08 share service@director-1-1-b:/diag>
Not: Genişletilmiş dosya genellikle düğüm çökmelerini araştırmak için kullanılır. Düğüm çökmesiyle ilgili devam eden bir araştırma varsa ve destek ekibi gerekli tüm günlükleri kaydetmediyse collect-diagnostics-tmp-ext dizinini temizlemeden önce destek ekibiyle iletişime geçin; aksi takdirde gerekli temel dosyalar silinebilir.