天天看點

GP工具(不斷更新)gpcheckosgpcheckperf 網絡性能效驗使用gpssh來同步設定

gpcheckos

GP本身提供了一個工具gpcheckos,可以幫助你檢測作業系統層面的一些必要配置是否正确。

gpcheck -f /home/gpadmin/all_hosts -m greenplum.localdomain -s greenplum.localdoamin

gpcheckos -f /etc/all_segment_hosts

gpcheckperf

GP提供了一個叫做gpcheckperf的工具可以幫助你檢測目前硬體配置的性能情況,并給出報告。為了擷取準确的測試資料,建議多運作幾次,取平均值。

gpcheckperf -f all_file -d /dbfast1 -d dw

網絡性能效驗

網絡性能效驗: gpchecknet -f /home/gpadmin/hosts -d /opt/segmen_host gpchecknet -f /home/gpadmin/hosts -r n -d /home/gpadmin/data1(測試最大, 最小以及平均值等) 3.

使用gpssh來同步設定

SSH配置好了之後,就可以用gpssh來同步設定,例如建立使用者,同步安裝媒體等.但是因為我們這裡就用到一台虛拟機,此步驟可以忽略,真實情況如下示範所示:

[[email protected] greenplum-db]# gpssh -f /home/gpadmin/seg_hosts 'useradd gpadmin'

[greenplum.localdomain] useradd: user gpadmin exists

繼續閱讀