Tags:
view all tags
<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups # * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup # * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup,Main.CMSAdminReaderGroup --> ---+ !!How to access, set up, and test your account %TOC% ---++ Preliminary steps All the documentation is maintained in the T3 twiki pages: https://wiki.chipp.ch/twiki/bin/view/CmsTier3/WebHome . Please take a look at it to explore T3's capabilities. Information about T3 mailing-lists: * *Please subscribe to the cms-tier3-users* list using [[https://lists.web.psi.ch/mailman/listinfo/cms-tier3-users][this web interface]] ([[https://lists.web.psi.ch/pipermail/cms-tier3-users/][list archives]]): =cms-tier3-users@lists.psi.ch=. This mailing-list is used to communicate information on Tier-3 matters (downtimes, etc.) or for discussions among users and admins. * To contact the CMS Tier-3 administrators alone, write to: =cms-tier3@lists.psi.ch= * *NOTE:* Both lists are read by the administrators and are archived. You can submit support requests to either of them. Mails to the user list have the added advantage that they can be read by everyone. Please also take a look at our policies about usages, quotas, etc.. Tier3Policies. ---++ T3 Linux Groups All the T3 users are partitioned in Linux groups; the former primary group %GREEN%cms%ENDCOLOR% is now a secondary group that still groups all the users and it's used for common files like the ones uploaded at T3 by [[https://cmsweb.cern.ch/phedex/][PhEDEx]]: | *ETHZ* | *UniZ* | *PSI* | | =%ORANGE%ethz-ecal%ENDCOLOR%= | =uniz-higgs= | =%TEAL%psi-bphys%ENDCOLOR%= | | =%BROWN%ethz-bphys%ENDCOLOR%= | =%BLUE%uniz-pixel%ENDCOLOR%= | =%PURPLE%psi-pixel%ENDCOLOR%= | | =%RED%ethz-ewk%ENDCOLOR%= | =%ORANGE%uniz-bphys%ENDCOLOR%= | | | =%BLUE%ethz-higgs%ENDCOLOR%= | | | | =%PURPLE%ethz-susy%ENDCOLOR%= | | | The Linux groups: * allows a faster and simpler understanding of the =/pnfs= space usage by leveraging on the =gid= setting: in the past having all the files assigned to the unique group =cms= prevented a simple group accounting in dCache. * allows to make accounting in the Sun Grid Engine batch system also according to the =gid= setting. * allowed the creation of a set of dedicated "group dirs" =/pnfs/psi.ch/cms/trivcat/store/t3groups/= where just the group members can write or delete. * also simplifies the =/shome=, =/pnfs=, =/scratch= or =/tmp= file/dirs accounting. Following an ETHZ user example with his primary and his secondary group: <pre> $ id auser uid=571(auser) gid=532(%BLUE%ethz-higgs%ENDCOLOR%) groups=532(%BLUE%ethz-higgs%ENDCOLOR%),500(%GREEN%cms%ENDCOLOR%) </pre> Following the users dirs =/pnfs/psi.ch/cms/trivcat/store/user/= : <pre> $ ls -l /pnfs/psi.ch/cms/trivcat/store/user | grep -v cms total 56 drwxr-xr-x 2 alschmid %ORANGE%uniz-bphys%ENDCOLOR% 512 Feb 21 2013 alschmid drwxr-xr-x 5 amarini %RED%ethz-ewk%ENDCOLOR% 512 Nov 7 15:37 amarini drwxr-xr-x 2 arizzi %BROWN%ethz-bphys%ENDCOLOR% 512 Sep 16 17:49 arizzi drwxr-xr-x 5 bean %TEAL%psi-bphys%ENDCOLOR% 512 Aug 24 2010 bean drwxr-xr-x 5 bianchi %BLUE%ethz-higgs%ENDCOLOR% 512 Sep 9 09:40 bianchi drwxr-xr-x 98 buchmann %PURPLE%ethz-susy%ENDCOLOR% 512 Nov 5 20:36 buchmann ... </pre> Following the dedicated "group dirs" =/pnfs/psi.ch/cms/trivcat/store/t3groups/= ; since they're "group dirs" they belong to =root= but the group has the =w= permission: <pre> $ ls -l /pnfs/psi.ch/cms/trivcat/store/t3groups/ total 5 drwxrwxr-x 2 root ethz-bphys 512 Nov 8 15:18 %BROWN%ethz-bphys%ENDCOLOR% drwxrwxr-x 2 root ethz-ecal 512 Nov 8 15:18 %ORANGE%ethz-ecal%ENDCOLOR% drwxrwxr-x 2 root ethz-ewk 512 Nov 8 15:18 %RED%ethz-ewk%ENDCOLOR% drwxrwxr-x 2 root ethz-higgs 512 Nov 8 15:18 %BLUE%ethz-higgs%ENDCOLOR% drwxrwxr-x 2 root ethz-susy 512 Nov 8 15:18 %PURPLE%ethz-susy%ENDCOLOR% drwxrwxr-x 2 root psi-bphys 512 Nov 8 15:18 %TEAL%psi-bphys%ENDCOLOR% drwxrwxr-x 2 root psi-pixel 512 Nov 8 15:18 %PURPLE%psi-pixel%ENDCOLOR% drwxrwxr-x 2 root uniz-bphys 512 Nov 8 15:18 %ORANGE%uniz-bphys%ENDCOLOR% drwxrwxr-x 2 root uniz-higgs 512 Nov 8 15:18 uniz-higgs drwxrwxr-x 2 root uniz-pixel 512 Nov 8 15:18 %BLUE%uniz-pixel%ENDCOLOR% </pre> ---++ Basic setup We offer the following user interfaces ( UIs ) assigned according to the following rules; generally speaking the very old *SL5* UIs will be stopped during 2014/2015 so your efforts should be addressed to the *SL6* UIs. %INCLUDE{"Tier3Policies" section="UisPerGroup"}% 1. Try to log into a =t3ui*= machine ; =-Y= or =-X= flag for working with X applications; you can also try to [[UserNxClientInstallation][connect by NX client]], which allows to work efficiently with graphical applications<pre> ssh -Y username@t3ui02.psi.ch </pre> 1. *If you are an external user and you don't have a standard PSI account, you'll have to change your initial password the first time you log in*; use the standard =passwd= utility. 1. Copy your grid credentials to the standard places, i.e. to =~/.globus/userkey.pem= and =~/.globus/usercert.pem= and make sure that both files permissions are set correctly: <pre> -rw-r--r-- 1 feichtinger cms 2961 Mar 17 2008 usercert.pem -r-------- 1 feichtinger cms 1917 Mar 17 2008 userkey.pem </pre> For details about how to extract those files from your CERN User Grid-Certificate please read [[https://gridca.cern.ch/gridca/Help/?kbid=024010]]. 1. source the grid environment associated to your login shell: <pre> source /swshare/psit3/etc/profile.d/cms_ui_env.sh # for bash source /swshare/psit3/etc/profile.d/cms_ui_env.csh # for tcsh </pre> 1. You have to complete the [[https://lcg-voms.cern.ch:8443/vo/cms/vomrs?path=/RootNode][CMS "Virtual Organization" subscription]] or the following command =voms-proxy-init -voms cms= won't work. [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideLcgAccess#How_to_register_in_the_CMS_VO][CERN details about that]], e.g. who is your representative. 1. Try to create a proxy certificate for CMS <pre> voms-proxy-init -voms cms </pre> %GREEN%If this fails, run the command with an additional =-debug= flag, and the error message will usually be sufficient for us to point out the problem.</br> 1. Test your access to the PSI Storage element with the =test-dCacheProtocols= command. You should see output like this (no failed tests): <pre> $ test-dCacheProtocols -n %BLUE%t3se01.psi.ch%ENDCOLOR% -p /pnfs/%BLUE%psi.ch%ENDCOLOR%/cms/testing -i "GSIDCAP-write SRMv1-adv-del SRMv1-adv-del1 SRMv1-write SRMv1-get-meta SRMv1-read SRMv1-adv-del2" Test directory: /tmp/dcachetest-20131118-1202-1970 TEST: GSIDCAP-write ...... [IGNORE] TEST: SRMv1-adv-del ...... [IGNORE] TEST: GFTP-write ...... [%GREEN%OK%ENDCOLOR%] TEST: GFTP-ls ...... [%GREEN%OK%ENDCOLOR%] TEST: GFTP-read ...... [%GREEN%OK%ENDCOLOR%] TEST: DCAP-read ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv1-adv-del1 ...... [IGNORE] TEST: SRMv1-write ...... [IGNORE] TEST: SRMv1-get-meta ...... [IGNORE] TEST: SRMv1-read ...... [IGNORE] TEST: SRMv1-adv-del2 ...... [IGNORE] TEST: SRMv2-write ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv2-ls ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv2-read ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv2-rm ...... [%GREEN%OK%ENDCOLOR%] </pre> 1. [[https://wiki.chipp.ch/twiki/bin/view/LCGTier2/CMSInfoPagesUsers][Be aware of the CSCS CMS User Page]] 1. The =test-dCacheProtocols= tool can also be used to test a *remote* element access (use the =-h= flag to get more info about it): e.g. to test CSCS:<pre> $ test-dCacheProtocols -n %BLUE%storage01.lcg.cscs.ch%ENDCOLOR% -p /pnfs/%BLUE%lcg.cscs.ch%ENDCOLOR%/cms/testing -i "GSIDCAP-write %BLUE%DCAP-read%ENDCOLOR% SRMv1-adv-del SRMv1-adv-del1 SRMv1-write SRMv1-get-meta SRMv1-read SRMv1-adv-del2" Test directory: /tmp/dcachetest-20131118-1201-1784 TEST: GSIDCAP-write ...... [IGNORE] TEST: SRMv1-adv-del ...... [IGNORE] TEST: GFTP-write ...... [%GREEN%OK%ENDCOLOR%] TEST: GFTP-ls ...... [%GREEN%OK%ENDCOLOR%] TEST: GFTP-read ...... [%GREEN%OK%ENDCOLOR%] TEST: DCAP-read ...... [IGNORE] TEST: SRMv1-adv-del1 ...... [IGNORE] TEST: SRMv1-write ...... [IGNORE] TEST: SRMv1-get-meta ...... [IGNORE] TEST: SRMv1-read ...... [IGNORE] TEST: SRMv1-adv-del2 ...... [IGNORE] TEST: SRMv2-write ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv2-ls ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv2-read ...... [%GREEN%OK%ENDCOLOR%] TEST: SRMv2-rm ...... [%GREEN%OK%ENDCOLOR%] </pre> ---+++ Changing your account details It's possible to get changed your login shell, e.g. from =bash= to =tcsh=, your group, also your account name ; often users requested to change their =Grid cert subject:=, e.g. because they were moving from a country to an other where they got a new certificate. ---++ AFS CERN Ticket You should use the following sequence of commands at T3: <pre> kinit ${Your_CERN_Username}@CERN.CH aklog cern.ch </pre> The first command gets you a kerberos ticket, the second command uses that ticket to obtain an authentication token from CERN's AFS service ---++ t3ui* SSH fingerprints %N% To improve the security of you account you have to register the =t3ui*= SSH fingerprints by these steps that must to be executed on each laptop/desktop/server you're going to use to connect at T3 : <pre> cp -p /$HOME/.ssh/known_hosts /$HOME/.ssh/known_hosts.`date +"%d-%m-%Y"` mkdir /tmp/t3ssh/ for X in 19 18 17 16 15 12 09 08 07 06 05 04 03 02 ; do TMPFILE=`mktemp /tmp/t3ssh/XXXXXX` && ssh-keyscan -t rsa t3ui$X.psi.ch,t3ui$X,`host t3ui$X.psi.ch| awk '{ print $4}'` | cat - /$HOME/.ssh/known_hosts | grep -v 'psi\.sh' > $TMPFILE && mv $TMPFILE /$HOME/.ssh/known_hosts ; done rm -rf /tmp/t3ssh for X in 02 03 04 05 06 07 08 09 12 15 16 17 18 19 ; do echo -n "# entries for t3ui$X = " ; grep -c t3ui$X /$HOME/.ssh/known_hosts ; grep -Hn --color t3ui$X /$HOME/.ssh/known_hosts ; echo ; done </pre> last step will show if there are more duplicated rows in =/$HOME/.ssh/known_hosts= for a =t3ui*= server ; if there are you're suppose to delete them, for instance by =sed -i= or by =vim=
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r80
|
r28
<
r27
<
r26
<
r25
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r26 - 2014-10-22
-
FabioMartinelli
CmsTier3
Log In
CmsTier3 Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
User Pages
Main Page
Policies
Monitoring Storage Space
Monitoring Slurm Usage
Physics Groups
Steering Board Meetings
Admin Pages
AdminArea
Cluster Specs
Home
Site map
CmsTier3 web
LCGTier2 web
PhaseC web
Main web
Sandbox web
TWiki web
CmsTier3 Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback