...
Having uploaded a new model, we have to tell Aida to update its database of the names of XAL modelled devices. We will teach first aidadev, then aidaprod databases. These are, respectively, the Oracle usernames (ie subschema) of the Aida directory services used on the aida development and production networks.
Log into an AFS Solaris machine like tersk02, and set up the cdsoft environment
Code Block |
---|
ssh -l<your-username> tersk09 |
...
tersk> source /afs/slac/g/cd/soft/dev/script/ENVS.csh |
Enter sqlplus for user AIDADEV on database SLACPROD (SLACPROD will be set by sourcing ENVS.csh above).
Code Block |
---|
sqlplus AIDADEV/<aidadevpassword>
|
Run the updating procedure. This will look in the ELEMENT_MODELS which was updated by the APX load above, and, for every row that has a match in LCLS_ELEMENTS, it will update Aida's directory service with a name composed of the EPICS name of the device + '//twiss' and '//R', and tell Aida that that device's model is to be acquired from the XAL Aida data provider (service id 202).
...