Skip to content
Snippets Groups Projects
Commit 5e2bb7e0 authored by dmadmin's avatar dmadmin
Browse files

Add info needing to provide username & password for dm when making

dmtest a station admin for TEST station.
parent 10f02af3
No related branches found
No related tags found
No related merge requests found
...@@ -66,12 +66,12 @@ For initial test purposes, it is necessary to shortcut some parts of the service ...@@ -66,12 +66,12 @@ For initial test purposes, it is necessary to shortcut some parts of the service
- Comment out the entry for principalAuthenticator2 which uses the LDAP authenticator - Comment out the entry for principalAuthenticator2 which uses the LDAP authenticator
* dm.daq-web-service.conf * dm.daq-web-service.conf
- Comment out the entry for principalAuthenticator2 which uses the LDAP authenticator - Comment out the entry for principalAuthenticator2 which uses the LDAP authenticator
* dm.daq-web-service.conf * dm.ds-web-service.conf
- Comment out the entry for principalAuthenticator2 which uses the LDAP authenticator - Comment out the entry for principalAuthenticator2 which uses the LDAP authenticator
- comment out the two lines for platformUtility which use LinuxUtility and LdapLinuxPlatformUtility - comment out the two lines for platformUtility which use LinuxUtility and LdapLinuxPlatformUtility
- Add a new platformUtility line in place of the other two - Add a new platformUtility line in place of the other two
* platformUtility=dm.common.utility.noopPlatformUtility.NoopPlatformUtility() * platformUtility=dm.common.utility.noopPlatformUtility.NoopPlatformUtility()
- Change value for `manageStoragePermissions` in ExpermentManager section to False
### Removing Test system ### Removing Test system
Often in the development of Data Management system components it will be necessary to remove/reload components of the system. The script _dm/_remove/_test/_test/_system.sh_ in the sbin directory of the 'dm' repository (/local/DataManagement/dev/sbin from the directory describe above) issues commands to clear out database & configurations to allow creating a clean installation of the system. Often in the development of Data Management system components it will be necessary to remove/reload components of the system. The script _dm/_remove/_test/_test/_system.sh_ in the sbin directory of the 'dm' repository (/local/DataManagement/dev/sbin from the directory describe above) issues commands to clear out database & configurations to allow creating a clean installation of the system.
...@@ -121,7 +121,7 @@ You should at this point have a directory installed which has both the _Data Man ...@@ -121,7 +121,7 @@ You should at this point have a directory installed which has both the _Data Man
- source etc/dm.setup.sh - source etc/dm.setup.sh
2. add a user __dmtest__ to the system which will assume the role of manage what is going on in the system. 2. add a user __dmtest__ to the system which will assume the role of manage what is going on in the system.
- dm-add-user --username dmtest --first-name DM --last-name Test --password dmtest - dm-add-user --username dmtest --first-name DM --last-name Test --password dmtest
3. add a system role to the created user __dmtest__ to make this a manager of the station TEST which is already defined in the system. 3. add a system role to the created user __dmtest__ to make this a manager of the station TEST which is already defined in the system. You will be asked to provide username & password. Use username __dm__ system account and the password given during setup above.
- dm-add-user-system-role --role Manager --station TEST --username dmtest - dm-add-user-system-role --role Manager --station TEST --username dmtest
4. create a file, _etc/.dmtest.system.login_, in the same directory as the dm.setup.sh). This will contain the username & password. 4. create a file, _etc/.dmtest.system.login_, in the same directory as the dm.setup.sh). This will contain the username & password.
- dmtest|dmtest (example contents) - dmtest|dmtest (example contents)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment