GBase8a_MPP_Cluster - License - MultiInstance - 9.5.3.011 - redhat7.3 - x86_64. Tar..bz2
problem phenomenon:
When installing a V9 series multiple instance version, if it is a version of the license, need to get the host hostid, when executing the command, complains:
[root @ node1 gcinstall] #./gethostsid - n 192.168.56.175 - f test. TXT - ugbase - pgbase
Traceback (the most recent call last) :
The File "./gethostsid ", line 189, in & lt; module>
With the open ('/TMP/getfingertmpmergefile_ % s' % (the host), 'rb') as r:
IOError: [2] Errno No to the file or directory: '/TMP/getfingertmpmergefile_192. 168.56.175'
CodePudding user response:
question reason:The host may install before v8 version of the series, under the TMP, residual gcgenfinger file, the file permissions and v9 series copy permissions are not consistent, so the error,
solution:
Delete the file, can,
The rm -f gcgenfinger
[root @ node1 gcinstall] #./gethostsid - n 192.168.56.175 - f test. TXT - uroot - proot123
======================================================================
Successful node nums: 1
======================================================================
[root @ node1 gcinstall] # cat test. TXT
{" HWADDR ":" 08:00:27: B2:91:3 f ", "SOCKETS" : 1, "ARCHITECTURE" : "x86_64," "BYTE ORDER" : "Little Endian" and "MODEL" : "58", "THREADS" : 2, "CPUS" : 2, "NNNODES" : 1, "CONFUSE DATA" : "2 izb ima3amlneg @}"