27b7f174b3
Also:
* update README documentation
* correct postinst scripts for deb and rpm
* add lib64/ to link_directories (needed for CentOS and others)
* remove a redundant "rdc" from the package names
* rearrange the package names to conform to convention
For example:
rdc-server_1.0.0.0.local-build-0-c3187fb-dirty_amd64.deb
rdc-server_1.0.0.0.local-build-0-c3187fb-dirty.x86_64.rpm
* fix issues that result from having, in essence, 2 different
install prefixes, 1 for the client and 1 for the server.
Change-Id: I88f0e1b8b72df2793c35ed71534afd91142da012
[ROCm/rdc commit: 4008dd8eac]
rdc
Radeon Data Center
To run the rdcd and rdci from the build folder without authentication
Note: Only if RDC not installed requires the LD_LIBRARY_PATH.
sudo LD_LIBRARY_PATH=$PWD/rdc_libs/ ./server/rdcd -u
LD_LIBRARY_PATH=$PWD/rdc_libs/ ./rdci/rdci discovery -u -l
To run the rdcd and rdci from the build folder with authentication
Note: Only if RDC not installed requires the LD_LIBRARY_PATH.
sudo LD_LIBRARY_PATH=$PWD/rdc_libs/ ./server/rdcd
LD_LIBRARY_PATH=$PWD/rdc_libs/ ./rdci/rdci discovery -l
Troubleshooting
Enable the debug log:
sudo RDC_LOG=DEBUG ./server/rdcd
Check the ssl connection in rdci:
rdcd_hostname= "" # Set the rdcd you want to connect
openssl s_client -connect $rdcd_hostname:50051 -cert /etc/rdc/client/certs/rdc_client_cert.pem -key /etc/rdc/client/private/rdc_client_cert.key -CAfile /etc/rdc/client/certs/rdc_cacert.pem