You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/07/29 19:24:56 UTC

[airavata] 01/02: Ansible: futurewater on js2

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit ad6611f4bbeb83058507203392e1c365cd7f1344
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jul 29 15:20:52 2022 -0400

    Ansible: futurewater on js2
---
 .../scigap/production/host_vars/futurewater/vars.yml    | 17 ++++++++++++-----
 dev-tools/ansible/inventories/scigap/production/hosts   |  2 +-
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/dev-tools/ansible/inventories/scigap/production/host_vars/futurewater/vars.yml b/dev-tools/ansible/inventories/scigap/production/host_vars/futurewater/vars.yml
index 721ca285c0..09819ef6af 100644
--- a/dev-tools/ansible/inventories/scigap/production/host_vars/futurewater/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/host_vars/futurewater/vars.yml
@@ -23,14 +23,21 @@
 # NOTE: futurewater is deployed to a Jetstream VM
 
 gateway_data_store_hostname: "gateway.futurewater.indiana.edu"
+# TODO: update host name of this storage resource to point to the new futurewater VM
 gateway_data_store_resource_id: "js-171-92.jetstream-cloud.org_1a76397d-cc28-4ec9-82e8-d27c5cf80c79"
-tusd_vhost_servername: "tus.scigap.org"
+real_user_data_dir: "/media/volume/sdb/gateway-user-data"
+# Keep user_data_dir same as it was on old VM
+user_data_dir: "/data/gateway-user-data"
+# TODO: setup tusd server
+# tusd_vhost_servername: "tus.scigap.org"
+tusd_vhost_servername:
 
-vhost_servername: "gateway.futurewater.indiana.edu"
+# vhost_servername: "gateway.futurewater.indiana.edu"
+vhost_servername: "futurewater.js2.scigap.org"
 vhost_ssl: True
-ssl_certificate_file: "/etc/letsencrypt/live/gateway.futurewater.indiana.edu/cert.pem"
-ssl_certificate_chain_file: "/etc/letsencrypt/live/gateway.futurewater.indiana.edu/fullchain.pem"
-ssl_certificate_key_file: "/etc/letsencrypt/live/gateway.futurewater.indiana.edu/privkey.pem"
+ssl_certificate_file: "/etc/letsencrypt/live/{{ vhost_servername }}/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/{{ vhost_servername }}/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/{{ vhost_servername }}/privkey.pem"
 
 django_file_upload_max_file_size_mb: 6000
 
diff --git a/dev-tools/ansible/inventories/scigap/production/hosts b/dev-tools/ansible/inventories/scigap/production/hosts
index 26d5da2c05..14b702912f 100644
--- a/dev-tools/ansible/inventories/scigap/production/hosts
+++ b/dev-tools/ansible/inventories/scigap/production/hosts
@@ -82,7 +82,7 @@ ehtgateway ansible_host=156.56.104.84
 dreg ansible_host=149.165.156.72 ansible_user=centos
 
 # futurewater jetstream server
-futurewater ansible_host=149.165.171.92 ansible_user=centos
+futurewater ansible_host=149.165.154.245 ansible_user=exouser
 
 # Delta Jetstream server
 delta ansible_host=149.165.169.250 ansible_user=centos