
createSharedSecret
Purpose Create shared secret for secure communication
Syntax createSharedSecret
createSharedSecret -file <filename>
Description createSharedSecret creates a shared secret file used for secure
communication between job managers and workers. T he file is named
secret in the curren t fold er.
createSharedSecret -file <filename> create a s hared secret file as
the giv en filename.
Before passing sensitive data from one service to another (e .g., between
job manager and workers), these services need to establish a trust
relationship using a shared secret. This script creates a file that serves
as a shared secret betw een the services. Each service is trusted that
has access to that secret file.
Create the secret file only once per cluster on o ne machine, then copy
it into the location specified by
SHARED_SECRET_FILE in the mdce_def
file on each machine before starting any job managers or workers. In a
shared file system, all nodes can po int to the same file. Shared secrets
can be reused in subse quent sessions.
Examples Create a shared secret file in a central location for all the nodes of the
cluster:
cd matlabInstallDir/toolbox/distcomp/bin
createSharedSecret -file /share/secret
Then make sure that the nodes’ shared or copied mdce_def files set
the parameter
SHARED_SECRET_FILE to /share/secret before starting
the m dce service on each.
See Also mdce
5-3
Comentários a estes Manuais