Skip to content

Commit d0bb7ad

Browse files
committed
update migrid and erda site conf samples and introduce (disabled) conf template for freeze_admin option.
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6169 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent bfe2dab commit d0bb7ad

File tree

2 files changed

+87
-14
lines changed

2 files changed

+87
-14
lines changed

README

Lines changed: 83 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ settings:
388388
--destination_suffix=DESTINATION_SUFFIX
389389
--auto_add_filter_fields=AUTO_ADD_FILTER_FIELDS
390390
--auto_add_filter_method=AUTO_ADD_FILTER_METHOD
391+
--auto_add_user_permit=AUTO_ADD_USER_PERMIT
391392
--base_fqdn=BASE_FQDN
392393
--public_fqdn=PUBLIC_FQDN
393394
--public_alias_fqdn=PUBLIC_ALIAS_FQDN
@@ -400,6 +401,7 @@ settings:
400401
--ext_oidc_fqdn=EXT_OIDC_FQDN
401402
--sid_fqdn=SID_FQDN
402403
--io_fqdn=IO_FQDN
404+
--cert_fqdn_extras=CERT_FQDN_EXTRAS
403405
--seafile_fqdn=SEAFILE_FQDN
404406
--seafile_base=SEAFILE_BASE
405407
--seafmedia_base=SEAFMEDIA_BASE
@@ -408,6 +410,7 @@ settings:
408410
--sftp_address=SFTP_ADDRESS
409411
--sftp_subsys_address=SFTP_SUBSYS_ADDRESS
410412
--ftps_address=FTPS_ADDRESS
413+
--ftps_pasv_ports=FTPS_PASV_PORTS
411414
--davs_address=DAVS_ADDRESS
412415
--jupyter_services=JUPYTER_SERVICES
413416
--jupyter_services_desc=JUPYTER_SERVICES_DESC
@@ -429,12 +432,33 @@ settings:
429432
--mig_oid_provider=MIG_OID_PROVIDER
430433
--ext_oid_title=EXT_OID_TITLE
431434
--ext_oid_provider=EXT_OID_PROVIDER
435+
--mig_oidc_title=MIG_OIDC_TITLE
432436
--mig_oidc_provider_meta_url=MIG_OIDC_PROVIDER_META_URL
437+
--ext_oidc_title=EXT_OIDC_TITLE
433438
--ext_oidc_provider_meta_url=EXT_OIDC_PROVIDER_META_URL
434-
--ext_oidc_client_name=EXT_OIDC_CLIENT_NAME
435-
--ext_oidc_client_id=EXT_OIDC_CLIENT_ID
439+
--ext_oidc_provider_issuer=EXT_OIDC_PROVIDER_ISSUER
440+
--ext_oidc_provider_authorization_endpoint=EXT_OIDC_PROVIDER_AUTHORIZATION_ENDPOINT
441+
--ext_oidc_provider_verify_cert_files=EXT_OIDC_PROVIDER_VERIFY_CERT_FILES
442+
--ext_oidc_provider_token_endpoint=EXT_OIDC_PROVIDER_TOKEN_ENDPOINT
443+
--ext_oidc_provider_token_endpoint_auth=EXT_OIDC_PROVIDER_TOKEN_ENDPOINT_AUTH
444+
--ext_oidc_provider_user_info_endpoint=EXT_OIDC_PROVIDER_USER_INFO_ENDPOINT
436445
--ext_oidc_scope=EXT_OIDC_SCOPE
446+
--ext_oidc_user_info_token_method=EXT_OIDC_USER_INFO_TOKEN_METHOD
447+
--ext_oidc_public_key_files=EXT_OIDC_PUBLIC_KEY_FILES
448+
--ext_oidc_private_key_files=EXT_OIDC_PRIVATE_KEY_FILES
449+
--ext_oidc_response_type=EXT_OIDC_RESPONSE_TYPE
450+
--ext_oidc_response_mode=EXT_OIDC_RESPONSE_MODE
451+
--ext_oidc_client_id=EXT_OIDC_CLIENT_ID
452+
--ext_oidc_client_name=EXT_OIDC_CLIENT_NAME
453+
--ext_oidc_pkce_method=EXT_OIDC_PKCE_METHOD
454+
--ext_oidc_id_token_encrypted_response_alg=EXT_OIDC_ID_TOKEN_ENCRYPTED_RESPONSE_ALG
455+
--ext_oidc_id_token_encrypted_response_enc=EXT_OIDC_ID_TOKEN_ENCRYPTED_RESPONSE_ENC
456+
--ext_oidc_user_info_signed_response_alg=EXT_OIDC_USER_INFO_SIGNED_RESPONSE_ALG
457+
--ext_oidc_cookie_same_site=EXT_OIDC_COOKIE_SAME_SITE
458+
--ext_oidc_pass_cookies=EXT_OIDC_PASS_COOKIES
437459
--ext_oidc_remote_user_claim=EXT_OIDC_REMOTE_USER_CLAIM
460+
--ext_oidc_pass_claim_as=EXT_OIDC_PASS_CLAIM_AS
461+
--ext_oidc_rewrite_cookie=EXT_OIDC_REWRITE_COOKIE
438462
--dhparams_path=DHPARAMS_PATH
439463
--daemon_keycert=DAEMON_KEYCERT
440464
--daemon_pubkey=DAEMON_PUBKEY
@@ -445,6 +469,8 @@ settings:
445469
--vgrid_managers=VGRID_MANAGERS
446470
--signup_methods=SIGNUP_METHODS
447471
--login_methods=LOGIN_METHODS
472+
--digest_salt=DIGEST_SALT
473+
--crypto_salt=CRYPTO_SALT
448474
--csrf_protection=CSRF_PROTECTION
449475
--password_policy=PASSWORD_POLICY
450476
--password_legacy_policy=PASSWORD_LEGACY_POLICY
@@ -462,6 +488,8 @@ settings:
462488
--skin=SKIN
463489
--title=TITLE
464490
--short_title=SHORT_TITLE
491+
--extra_userpage_scripts=EXTRA_USERPAGE_SCRIPTS
492+
--extra_userpage_styles=EXTRA_USERPAGE_STYLES
465493
--peers_explicit_fields=PEERS_EXPLICIT_FIELDS
466494
--peers_contact_hint=PEERS_CONTACT_HINT
467495
--external_doc=EXTERNAL_DOC
@@ -473,16 +501,35 @@ settings:
473501
--collaboration_links=COLLABORATION_LINKS
474502
--default_vgrid_links=DEFAULT_VGRID_LINKS
475503
--advanced_vgrid_links=ADVANCED_VGRID_LINKS
504+
--support_email=SUPPORT_EMAIL
476505
--admin_email=ADMIN_EMAIL
477506
--admin_list=ADMIN_LIST
507+
--smtp_server=SMTP_SERVER
508+
--smtp_sender=SMTP_SENDER
478509
--log_level=LOG_LEVEL
479510
--twofactor_mandatory_protos=TWOFACTOR_MANDATORY_PROTOS
511+
--twofactor_auth_apps=TWOFACTOR_AUTH_APPS
512+
--permanent_freeze=PERMANENT_FREEZE
480513
--freeze_to_tape=FREEZE_TO_TAPE
481514
--status_system_match=STATUS_SYSTEM_MATCH
515+
--storage_protocols=STORAGE_PROTOCOLS
482516
--duplicati_protocols=DUPLICATI_PROTOCOLS
517+
--imnotify_address=IMNOTIFY_ADDRESS
518+
--imnotify_channel=IMNOTIFY_CHANNEL
519+
--imnotify_username=IMNOTIFY_USERNAME
520+
--imnotify_password=IMNOTIFY_PASSWORD
483521
--gdp_data_categories=GDP_DATA_CATEGORIES
522+
--gdp_id_scramble=GDP_ID_SCRAMBLE
523+
--gdp_path_scramble=GDP_PATH_SCRAMBLE
524+
--quota_backend=QUOTA_BACKEND
525+
--ca_fqdn=CA_FQDN
526+
--ca_user=CA_USER
527+
--ca_smtp=CA_SMTP
528+
--datasafety_link=DATASAFETY_LINK
529+
--datasafety_text=DATASAFETY_TEXT
484530
--cert_valid_days=CERT_VALID_DAYS
485531
--oid_valid_days=OID_VALID_DAYS
532+
--oidc_valid_days=OIDC_VALID_DAYS
486533
--generic_valid_days=GENERIC_VALID_DAYS
487534
--apache_worker_procs=APACHE_WORKER_PROCS
488535
--sftp_subsys_auth_procs=SFTP_SUBSYS_AUTH_PROCS
@@ -501,6 +548,7 @@ settings:
501548
--sftp_show_port=SFTP_SHOW_PORT
502549
--sftp_subsys_port=SFTP_SUBSYS_PORT
503550
--sftp_subsys_show_port=SFTP_SUBSYS_SHOW_PORT
551+
--sftp_max_sessions=SFTP_MAX_SESSIONS
504552
--davs_port=DAVS_PORT
505553
--davs_show_port=DAVS_SHOW_PORT
506554
--ftps_ctrl_port=FTPS_CTRL_PORT
@@ -512,6 +560,9 @@ settings:
512560
--seafile_seafhttp_port=SEAFILE_SEAFHTTP_PORT
513561
--seafile_client_port=SEAFILE_CLIENT_PORT
514562
--seafile_quota=SEAFILE_QUOTA
563+
--quota_user_limit=QUOTA_USER_LIMIT
564+
--quota_vgrid_limit=QUOTA_VGRID_LIMIT
565+
--wwwserve_max_bytes=WWWSERVE_MAX_BYTES
515566
--auto_add_cert_user=AUTO_ADD_CERT_USER
516567
--auto_add_oid_user=AUTO_ADD_OID_USER
517568
--auto_add_oidc_user=AUTO_ADD_OIDC_USER
@@ -526,6 +577,7 @@ settings:
526577
--enable_workflows=ENABLE_WORKFLOWS
527578
--enable_events=ENABLE_EVENTS
528579
--enable_sharelinks=ENABLE_SHARELINKS
580+
--enable_quota=ENABLE_QUOTA
529581
--enable_transfers=ENABLE_TRANSFERS
530582
--enable_freeze=ENABLE_FREEZE
531583
--enable_sandboxes=ENABLE_SANDBOXES
@@ -616,6 +668,7 @@ additional web apps and OpenID on CentOS:
616668
--ext_cert_fqdn= \
617669
--mig_oid_fqdn=dk-ext.migrid.org \
618670
--ext_oid_fqdn=dk-oid.migrid.org \
671+
--ext_oidc_fqdn=dk-oidc.migrid.org \
619672
--sid_fqdn=dk-sid.migrid.org \
620673
--io_fqdn=dk-io.migrid.org \
621674
--daemon_show_address=dk-io.migrid.org \
@@ -635,9 +688,13 @@ additional web apps and OpenID on CentOS:
635688
--trac_ini_path=/home/mig/mig/server/trac.ini \
636689
--public_http_port=80 --public_https_port=443 \
637690
--ext_cert_port=443 --mig_oid_port=443 \
638-
--ext_oid_port=443 --sid_port=443 \
691+
--ext_oid_port=443 --ext_oidc_port=443 --sid_port=443 \
639692
--mig_oid_provider=https://dk-ext.migrid.org/openid/ \
640693
--ext_oid_provider=https://openid.ku.dk/ \
694+
--ext_oidc_provider_meta_url=https://id.ku.dk/nidp/oauth/nam/.well-known/openid-configuration \
695+
--ext_oidc_scope=AS_SIF-ERDA \
696+
--ext_oidc_client_name=erda_migrid-dk \
697+
--ext_oidc_remote_user_claim=upn \
641698
--enable_openid=True --enable_sftp_subsys=True \
642699
--enable_davs=True --enable_ftps=True \
643700
--enable_sandboxes=True --enable_jobs=True \
@@ -656,9 +713,13 @@ additional web apps and OpenID on CentOS:
656713
--daemon_keycert=~/certs/combined.pem \
657714
--daemon_pubkey=~/certs/combined.pub \
658715
--daemon_pubkey_from_dns=True \
659-
--signup_methods="extoid migoid migcert" \
660-
--login_methods="extoid migoid migcert" \
716+
--signup_methods="extoid migoid migcert extoidc" \
717+
--login_methods="extoid migoid migcert extoidc" \
661718
--distro=centos --skin=migrid-basic \
719+
--default_menu="home files submitjob jobs vgrids settings setup logout" \
720+
--user_menu="sharelinks people cloud crontab transfers runtimeenvs resources peers downloads docs dashboard migadmin" \
721+
--wsgi_procs=25 --sftp_subsys_auth_procs=20 \
722+
--sftp_max_sessions=16 \
662723
--collaboration_links="default advanced" \
663724
--default_vgrid_links="files web" \
664725
--advanced_vgrid_links="files web scm tracker workflows monitor" \
@@ -669,11 +730,10 @@ additional web apps and OpenID on CentOS:
669730
--short_title="MiG" \
670731
--external_doc=https://www.migrid.org \
671732
--mig_oid_title="Non-KU/UCPH" --ext_oid_title="KU/UCPH" \
672-
--default_menu="home files submitjob jobs vgrids settings setup logout" \
673-
--user_menu="sharelinks people cloud crontab transfers runtimeenvs resources peers downloads docs dashboard migadmin" \
674-
--wsgi_procs=25 --sftp_subsys_auth_procs=20 \
675-
--sftp_max_sessions=16 \
676-
--auto_add_oid_user=True --auto_add_cert_user=True \
733+
--ext_oidc_title="KU/UCPH" \
734+
--auto_add_oid_user=True --auto_add_oidc_user=True \
735+
--auto_add_cert_user=True \
736+
--auto_add_user_permit='email:.+@([a-z0-9]+\.|)ku\.dk$' \
677737
--auto_add_filter_fields=full_name --auto_add_filter_method=skip \
678738
--io_account_expire=True \
679739
--password_policy="MODERN:12" \
@@ -686,6 +746,7 @@ additional web apps and OpenID on CentOS:
686746
--imnotify_channel="FILE::/home/mig/state/secrets/imnotify_channel.txt" \
687747
--imnotify_username="FILE::/home/mig/state/secrets/imnotify_username.txt" \
688748
--imnotify_password="FILE::/home/mig/state/secrets/imnotify_password.txt" \
749+
--ca_fqdn=ca.migrid.org --ca_user=mig-ca --ca_smtp=migrid.science \
689750
--secscan_addr="130.226.158.3 130.225.213.72 192.38.10.137"
690751

691752
and a storage-only setup with CentOS 7.x, apache 2.4, WSGI (default web),
@@ -701,6 +762,7 @@ local OpenID login and added Jupyter+cloud integration for data analysis:
701762
--ext_cert_fqdn=cert.erda.dk \
702763
--mig_oid_fqdn=ext.erda.dk \
703764
--ext_oid_fqdn=erda.dk \
765+
--ext_oidc_fqdn=oidc.erda.dk \
704766
--sid_fqdn=sid.erda.dk \
705767
--io_fqdn=io.erda.dk \
706768
--seafile_fqdn=sid.erda.dk \
@@ -723,9 +785,13 @@ local OpenID login and added Jupyter+cloud integration for data analysis:
723785
--trac_admin_path='' --trac_ini_path='' \
724786
--public_http_port=80 --public_https_port=443 \
725787
--ext_cert_port=443 --mig_oid_port=443 \
726-
--ext_oid_port=443 --sid_port=443 \
788+
--ext_oid_port=443 --ext_oidc_port=443 --sid_port=443 \
727789
--mig_oid_provider=https://ext.erda.dk/openid/ \
728790
--ext_oid_provider=https://openid.ku.dk/ \
791+
--ext_oidc_provider_meta_url=https://id.ku.dk/nidp/oauth/nam/.well-known/openid-configuration \
792+
--ext_oidc_scope=AS_SIF-ERDA \
793+
--ext_oidc_client_name=erda \
794+
--ext_oidc_remote_user_claim=upn \
729795
--enable_openid=True --enable_sftp_subsys=True \
730796
--enable_davs=True --enable_ftps=True \
731797
--enable_duplicati=True --enable_seafile=True \
@@ -747,8 +813,8 @@ local OpenID login and added Jupyter+cloud integration for data analysis:
747813
--daemon_keycert=~/certs/combined.pem \
748814
--daemon_pubkey=~/certs/combined.pub \
749815
--daemon_pubkey_from_dns=True \
750-
--signup_methods="extoid migoid extcert" \
751-
--login_methods="extoid migoid extcert" \
816+
--signup_methods="extoid migoid extcert extoidc" \
817+
--login_methods="extoid migoid extcert extoidc" \
752818
--distro=centos --skin=erda-ucph-science \
753819
--vgrid_label=Workgroup --apache_worker_procs=2048 \
754820
--davs_port=8020 --openid_port=8001 \
@@ -766,7 +832,10 @@ local OpenID login and added Jupyter+cloud integration for data analysis:
766832
--short_title="UCPH ERDA" \
767833
--external_doc=https://erda.ku.dk \
768834
--mig_oid_title="Non-KU/UCPH" --ext_oid_title="KU/UCPH" \
769-
--auto_add_oid_user=True --auto_add_cert_user=True \
835+
--ext_oidc_title="KU/UCPH" \
836+
--auto_add_oid_user=True --auto_add_oidc_user=True \
837+
--auto_add_cert_user=True \
838+
--auto_add_user_permit='email:.+@([a-z0-9]+\.|)(ku|kb)\.dk$' \
770839
--auto_add_filter_fields=full_name --auto_add_filter_method=skip \
771840
--permanent_freeze="freeze phd backup" --freeze_to_tape="4w" \
772841
--io_account_expire=True \

mig/install/MiGserver-template.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,10 @@ enable_freeze = __ENABLE_FREEZE__
680680
# Which frozen archive flavors can be deleted (True for all, False or empty for
681681
# none and a space-separated list of flavors for individual control.
682682
permanent_freeze = __PERMANENT_FREEZE__
683+
# The Distinguished Name of freeze administrators who can always delete their
684+
# archives no matter what permanent_freeze says, useful after testing.
685+
# (comma-separated list with optional leading and trailing spaces)
686+
#freeze_admins = __ADMIN_LIST__
683687
# Delay before frozen archives are expected to hit tape (e.g. 5m, 4d or 2w).
684688
# Leave unset or empty if no tape archiving is available.
685689
freeze_to_tape = __FREEZE_TO_TAPE__

0 commit comments

Comments
 (0)