Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
1ac18d00
Commit
1ac18d00
authored
16 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
added example to the mysql configuration
parent
0941ed14
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/html/accounting.shtml
+24
-0
24 additions, 0 deletions
doc/html/accounting.shtml
with
24 additions
and
0 deletions
doc/html/accounting.shtml
+
24
−
0
View file @
1ac18d00
...
@@ -303,6 +303,30 @@ Define the name of the user we are going to connect to the database
...
@@ -303,6 +303,30 @@ Define the name of the user we are going to connect to the database
with to store the job accounting data.</li>
with to store the job accounting data.</li>
</ul>
</ul>
<h2>MySQL Configuration</h2>
<p>While SLURM will create the database automatically you will need to
make sure the StorageUser is given permissions in MySQL to do so.
As the <i>mysql</i> user grant privileges to that user using a
command such as
<pre>
GRANT ALL ON slum_acct_db.* TO 'StorageUser'@'localhost';
live example:
mysql@snowflake:~$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 538
Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> grant all on slurm_acct_db.* TO 'da'@'localhost';
Query OK, 0 rows affected (0.00 sec)
</pre>
This will grant user 'da' access to do what he needs to do on the
local host.
<h2>Tools</h2>
<h2>Tools</h2>
<p>There are a few tools available to work with accounting data,
<p>There are a few tools available to work with accounting data,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment