This is an old revision of the document!


Add a profile

Add a profile for the command line to the RDMS.

Create the file "~/.irods/irods_environment.json" using your preferred text editor. The file must contain plain ASCII characters.
Add the following lines to the file:
{
    "irods_client_server_negotiation": "request_server_negotiation",
    "irods_authentication_scheme": "PAM",
    "irods_client_server_policy": "CS_NEG_REQUIRE",
    "irods_connection_pool_refresh_time_in_seconds": 300,
    "irods_default_hash_scheme": "SHA256",
    "irods_default_number_of_transfer_threads": 4,
    "irods_default_resource": "rootResc",
    "irods_encryption_algorithm": "AES-256-CBC",
    "irods_encryption_key_size": 32,
    "irods_encryption_num_hash_rounds": 16,
    "irods_encryption_salt_size": 8,
    "irods_host": "rdms-prod-icat.data.rug.nl",
    "irods_match_hash_policy": "compatible",
    "irods_maximum_size_for_single_buffer_in_megabytes": 32,
    "irods_port": 1247,
    "irods_transfer_buffer_size_for_parallel_transfer_in_megabytes": 4,
    "irods_user_name": "username@rug.nl",
    "irods_zone_name": "rug",
    "schema_name": "irods_environment",
    "schema_version": "v3"
}
Where "username@rug.nl" is your rug email. You can now start the session by invoking “iinit” command in your terminal. An easy iRODS tutorial on iCommand can be found here.