140 likes | 260 Vues
SRB Admin Tool by Michael Wan, SDSC. SRB administration. Manage users and storage resources Two interfaces: commandline and JAVA GUI Still work in progress – a new person to improve usability. SRB Sys Admin Tool - JAVA. Java Based GUI and commandline utilities
E N D
SRB administration Manage users and storage resources Two interfaces: commandline and JAVA GUI Still work in progress – a new person to improve usability
SRB Sys Admin Tool - JAVA Java Based GUI and commandline utilities User/UserGroup admin – Add/modify user and UserGroup metaata. Resource admin – Add/configure Resource metadata. resource location, type, class, group, etc. Metadata control – add new user types, resource types
Starting java admin GUI User must have SRB admin privilege Must run on MCAT-enabled host Set env var CLASSPATH to : $(srbDir)/java/classes and $(srbDir)/MCAT/java/classes Set env var LD_LIBRARY_PATH to: $(srbDir)/java/lib Cd to MCAT/java/bin and type in “mcatAdmin” to run the admin GUI
Commandline admin tool User management – ingestUser, modifyUser, ingestUserIntoGroup, ingestUsergroup, deleteUser Resource management – ingestLocation, ingestResource, ingestLogicalResource, addLogicalResource, deletePhyRes
Commandline admin tools (cont1)ingestUser <UserName> <UserPassword> <UserDomain> <UserType> <UserAddress> <UserPhone> <UserEmail>Example:bin/ingestUser srbdmin SRBADMIN sdsc sysadmin '' '858-822-3219' 'asdv@ucsd.edu'
Commandline admin tools (cont2)ingestUsergroup <GroupName> <GroupPassword> <GroupType> <ContctAddress> <ContactPhone> <ContactEmail> GroupType = groupsingestUserIntoGroup <userName@domainName> <groupName>deleteUser <User>@<Domain>
Commandline admin tools (cont3)ingestResource <ResourceName> <ResourceType> <Location> <DefaultPath> <resourceClass> <maxObjSizeInResource>deletePhyRes <ResourceName>