allow to split metrix VM from slurm/database VM#535
Conversation
e563668 to
906b427
Compare
906b427 to
d186949
Compare
|
Superseded by PR #569. To move metrix to another instance with PR #569, here is the required hieradata: magic_castle::site::tags:
metrix:
- profile::metrix
mysql::server::override_options:
mysqld:
bind-address: "0.0.0.0"
metrix::slurm_db_ip: "%{lookup('terraform.tag_ip.mgmt.0')}"
profile::slurm::accounting::db_users:
- username: "%{alias('metrix::slurm_user')}"
password: "%{alias('metrix::slurm_password')}"
privileges: ['SELECT']
host: "%{lookup('terraform.tag_ip.metrix.0')}"
profile::reverse_proxy::subdomains:
metrix: "http://%{lookup('terraform.tag_ip.metrix.0')}:9000" |
A bit counter-intuitive that DB users are created by |
|
They are users with only access to Slurm database, so they are, Slurm database users, not general DB users per se. It also not very different from what was proposed here: |
|
Ah, I see, so in this PR, there are two DB servers running ? One for Slurm (on mgmt1), and one for Metrix, on the Metrix node ? |
|
I would like at some point to have the ability of moving the database on a dedicated instance, but for now if slurmdbd and metrix are not on the same instance, they each get their own mariadb server. |
This requires PR ComputeCanada/puppet-metrix#5