Pits encountered in Greenplum 5.0 installation

In the process of helping customers install Greenplum 5.7 today, there were two errors. Since the previous version 4.3 did not have this problem, I will share it with you here~

Scenes:

Customer requires 2 primary+2mirror to be installed on four compute nodes.

operate:

1. Use the initialization file to initialize 2 primary and 2 mirrors at the same time, but report non-zero....no command perl, because the server is a virtual machine with only two cores, mistakenly thought that the number of cores is not enough, and the cluster cannot be pulled up ;

2. Change to initialize 1 primary, and the cluster initialization is successful;

3. gpaddmirrors failed to add mirror; at this time, I found the above error: no command perl. . . . .

4. Then install perl (installed on all machines, you can use gpssh to call yum installation);

5. Delete the contents in the mirror directory, add mirror again, and report an error: no rsync.

6. This is obvious, install rsync on all nodes and repeat step 5.

success

reason:

Greenplum 5.0 uses perl for script development, and rsync is used for data synchronization, so the operating system is required to have this environment.

If you have any questions, please correct me~

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325218611&siteId=291194637