Skip to content
Snippets Groups Projects
Commit c85a7a1a authored by Moe Jette's avatar Moe Jette
Browse files

modify the default values in cray.conf so that the file will not normally

be required.
parent 44428ac8
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,9 @@ cray.conf \- Slurm configuration file for the Cray\-specific information
.SH "DESCRIPTION"
\fB/etc/cray.conf\fP is an ASCII file which defines parameters used by
Slurm's select/cray plugin in support of Cray systems. The file will always
be located in the same directory as the \fBslurm.conf\fP file.
be located in the same directory as the \fBslurm.conf\fP file. The default
configuration parameters will work properly in a typical installation and
this file will not be required.
.LP
Parameter names are case insensitive.
Any text following a "#" in the configuration file is treated
......@@ -46,7 +48,7 @@ The default value is \fIsdb\fR.
.TP
\fBSDBpass\fR=<password>
Password used to access the ALPS database.
The default value is NULL.
The default value is \fIbasic\fR.
.TP
\fBSDBport\fR=<port_number>
......@@ -56,7 +58,7 @@ The default value is 0.
.TP
\fBSDBuser\fR=<user_name>
Name of user used to access the ALPS database.
The default value is NULL.
The default value is \fIbasic\fR.
.SH "EXAMPLE"
.LP
......
......@@ -66,13 +66,13 @@ typedef struct {
/* database name to use */
#define DEFAULT_CRAY_SDB_DB "XTAdmin"
/* DNS name of SDB host */
#define DEFAULT_CRAY_SDB_HOST "sdb"
#define DEFAULT_CRAY_SDB_HOST "sdb"
/* If NULL, use value from my.cnf */
#define DEFAULT_CRAY_SDB_PASS NULL
#define DEFAULT_CRAY_SDB_PASS "basic"
/* If NULL, use value from my.cnf */
#define DEFAULT_CRAY_SDB_PORT 0
/* If NULL, use value from my.cnf */
#define DEFAULT_CRAY_SDB_USER NULL
#define DEFAULT_CRAY_SDB_USER "basic"
extern cray_config_t *cray_conf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment