Files
rocm-systems/projects/rdc
Bill(Shuzhou) Liu ce4890f88c Implement the APIs for gRPC calls in client/server
Implement the APIs defined in the RdcStandaloneHandler to make gRPC call to daemon

Implement the APIs defined in the RdcAPIServiceImpl to handle the gRPC calls in daemon

Add two APIs to get all GPU groups and field groups: rdc_group_get_all_ids()
and rdc_group_field_all_ids()
Those two APIs are required by the rdci group and fieldgroup
sub-modules.

Change-Id: I066091423146dea180c16af212688ed43dc44611


[ROCm/rdc commit: 7ee29b6cdd]
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