Infinity Personal

Revision as of 15:05, 6 February 2024 by Kulhanek (talk | contribs)

Documentation / Activation, Deactivation, and Installation / Infinity Personal


Infinity Personal is a set of tools allowing you to install the Infinity system on your computer, either PC or laptop. The software modules are downloaded on your computer and can be used offline. In addition, you can monitor and submit computational jobs to supported clusters if you are online. Note: your local account should have the same name as in e-Infra space for reasonable work.

The currently supported operating systems are:

  • Ubuntu 22.04 LTS

Register

First, you must join the Infinity Personal group. Once the application is approved by the administrator, you can continue.

Register into Infinity Personal group

Install Infinity Personal

The core of Infinity Personal is installed by using system packages. You have to activate the NCBR package repository for a given version of OS and then install the package.

1) Activate the NCBR public package repository:

https://einfra.ncbr.muni.cz/ > User support > Ubuntu Packages > NCBR PUBLIC (LCC and WOLF mirrors available)

NCBR PUBLIC Repository (WOLF mirror)

Follow Instructions in the section How to activate access to the package repository.

2) Install the core package with AMS:

$ sudo apt-get install ncbr-ams-core-9.0-personal

Configure Infinity Personal

At this stage, you will configure Infinity Personal using the ams-personal command, which can be used only by a user in the sudo group. You will generate SSH keys to access the Infinity Personal repository, update the shell environment, and set up your user account to grant access to the local Infinity Personal repository. Each step requires you to re-login your computer.

Basic Setup

$ ams-personal envinit
-> logout/login
$ ams-personal useradd
-> logout/login  
$ ams-personal gensshkeys

Confirm that you want to create the new key. The key is composed of the type, key, and user ID.

Register SSH Key

Put all the ssh key content into your e-Infra identity in the Perun system.

https://perun.cesnet.cz/fed/gui

a) Left tab "User" -> Select identity -> Top tab "Authentication" -> Kerberos & SSH keys b) Create a new key in the section "Public ssh Key:" (a green button with a plus sign) c) Insert the key d) Press the "Save" button.

You need to wait up to 1 hour to complete the propagation.

Install Core Software Modules

$ ams-personal coremods
-> logout/login

Install Software Modules

The list of all software modules is provided online at iSoftRepo service:

iSoftRepo

The modules can be installed by the ams-personal command. For example, you can install the VMD module by:

$ ams-personal install vmd

See ams-personal -h for other options.

Additional Computer Tweaks

The packages described below are authoritative. Once the setup is changed, it is difficult to undo it!

Kerberos

Install the ncbr-krb5-einfra package for general Kerberos support in the META and EINFRA realms. This provides the kinit and klist commands. To employ the ssh command Kerberos tickets, install the ncbr-ssh-client-config package. If you have a local account with the same *name* and *password* as in e-Infra space, you can benefit from the ncbr-personal-authc-einfra package. You will get a Kerberos ticket if online during the local authentication. In offline mode, your identity will be validated locally.

Package Purpose
ncbr-krb5-einfra general support for Kerberos (META realm)
ncbr-ssh-client-config configure ssh client to employ Kerberos
ncbr-personal-authc-einfra install and configure pam_krb5
$ sudo apt-get install ncbr-krb5-einfra
$ sudo apt-get install ncbr-ssh-client-config
$ sudo apt-get install ncbr-personal-authc-einfra

MetaCentrum Storages

Package Purpose
ncbr-metanfs4-krb5i-metastorage MetaCentrum storages
ncbr-metanfs4-keytab generate nfs keytab

Install Packages

$ sudo apt-get install ncbr-metanfs4-krb5i-metastorage
$ sudo apt-get install ncbr-metanfs4-keytab

Generate NFS Keytab

You must be in the sudo group to generate the NFS keytab. First, get the valid Kerberos tickets and then generate the keytab.

$ kinit
$ gen-metanfs4-keytab

Reboot

You must reboot the computer to start using the storages.