天天看点

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

继续阅读