How to change Login menu to show single (or multiple) Aleph instances
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Description:
1. Change a Login menu showing multiple instances (versions) of aleph (a21_1, a22_2, etc.) to select from, so that the user is directly logged into one particular instance.
2. Change the menu to show a different single instance. Or
3. When it is going directly to one particular instance (such as Production), change it so that it displays a menu with multiple Instances, both Test and Prod.
Resolution:
The file which controls this is /exlibris/aleph/def_aleph.dat . The following shows you what the def_aleph.dat which you are using:
> cd /exlibris/aleph
> view def_aleph.dat
If you are coming from an earlier version (such as aleph 20) which has a correct menu, then do this:
cp -p def_ aleph.dat def_aleph.dat.orig
and then ftp the /exlibris/aleph/def_aleph.dat from your old server to your new. And change it to be appropriate for the new version. If you are going from version 20 to version 23, this means changing each "20" to "23". Then log out of Aleph, and re-login.
1. The following def_aleph.dat will put the user into a single version:
set def=1
set list="1"
## ------ ------- ------- ---- ----- ------------------------------ #
## # # # # # #
# 1 a23_1 23 01 8991 #
set login1="/exlibris/aleph/a23_1"
Then log out of Aleph, and re-login.
2. In a situation where def_aleph.dat shows just a single instance, but it needs to show a different single instance....
> cp -p def_aleph.dat def_aleph.dat.previous
Then edit def_aleph.dat to include the values for the other instance, log out of Aleph, and re-login.
3. In a case where def_aleph.dat shows just a single instance and you want it to show multiple and your old version doesn't have a def_aleph.dat so configured, then use the following as a starting point:
set def='1'
set list='1 2'
## ------ ------- ------- ---- ----- ------------------------------ #
## # # # # # #
# 1 a23_1 23.00 00 8991 ** Production Version 23 #
# 2 a23_2 23.00 00 8992 ** Test Version 23 #
set login1="/exlibris/aleph/a23_1"
set login2='/exlibris/aleph/a23_2'
- Article last edited: 30-Aug-2017