Files
rocm-systems/projects/rdc
Bill(Shuzhou) Liu 0a20efdbf3 Add SSL mutual authentication support for rdci
The RDC API is changed to pass the certificates to the gRPC.

Add the support to add all GPUs in the host to a group. Also before
add a GPU to a group, the RDC API will verify that GPU exists or not.

Add the support to fetch the temperature metrics.

Change-Id: I5857ef03fede233d16e8b2836be120f33172da93


[ROCm/rdc commit: 66e4e790c3]
2020-08-17 14:07:25 -05:00
..
2020-01-09 17:57:29 -06:00
2020-08-17 14:07:25 -05:00
2020-08-17 14:07:25 -05:00
2020-08-17 14:07:25 -05:00
2020-01-09 17:57:29 -06:00

rdc

Radeon Data Center

To run the rdcd and rdci from the build folder without authentication

sudo LD_LIBRARY_PATH=$PWD/rdc_libs/  ./server/rdcd -u
LD_LIBRARY_PATH=$PWD/rdc_libs/  ./rdci/rdci discovery -u

To run the rdcd and rdci from the build folder with authentication

sudo LD_LIBRARY_PATH=$PWD/rdc_libs/  ./server/rdcd
LD_LIBRARY_PATH=$PWD/rdc_libs/  ./rdci/rdci discovery

Troubleshooting

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