Skip to content

How to deploy pulsar node in cesnet environment

Notifications You must be signed in to change notification settings

CESNET/pulsar_node

Repository files navigation

# obecne sa najskor odporuca upgrade balikov
sudo apt-get update
sudo apt-get upgrade -y
# Nainstalovat ansible 2.12
sudo echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main" > /etc/apt/sources.list.d/ansible_ubuntu_focal_main.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
sudo apt-get update
sudo apt-get install ansible -y

# Vytvorit kluc pre pristup do git repa a zaregistrovat kluc vo svojom profile na githube
ssh-keygen -t ed25519

# Stiahnut repo
git clone <this repo>

# potreba nastavit spravne uzivatela <pulsar_user>, jeho UID a spravny NFS-home v playbooku v pulsar.yml (galaxyelixir, galaxyumsa ci galaxyeu) 

# vytvorit trezor
cd pulsar_node
openssl rand -base64 24 > .vault-password.txt
rm group_vars/secret.yml # ak sa jedna o fresh instalaciu
ansible-vault create group_vars/secret.yml # zadat heslo pre komunikaciu s prislusnou instanciou rabbitmq-server (napr. rabbitmq_password: a-very-long-password)

# spustime playbook
ansible-playbook pulsar.yml

##########################

## INFO: Bolo nutne zmenit obsah subora: roles/galaxyproject.pulsar/tasks/paths.yml (task Create Pulsar user-owned directories):
    - name: Create Pulsar user-owned directories
      file:
        path: "{{ item }}"
        state: directory
        #owner: "{{ __pulsar_user_name }}"
        #group: "{{ __pulsar_user_group }}"
        #mode: "{{ __pulsar_dir_perms }}"
      with_items: "{{ pulsar_dirs }}"
      become: yes
      become_user: "{{ __pulsar_user_name }}"
## Ak sa nespusti tvrda reinstalacia ansible zavislosti via `ansible-galaxy install -f -p roles -r requirements.yml` tak by nemalo dojst k obnove povodneho obsahu

About

How to deploy pulsar node in cesnet environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published