[LON-CAPA-admin] Multi-domain
Stuart Raeburn
raeburn at msu.edu
Thu Jun 12 16:05:12 EDT 2008
Hon Kie,
/etc/cron.d/loncapa runs searchcat.pl every other day.
10 1 * * 2,4,6 www /home/httpd/perl/searchcat.pl
This script rebuilds the allusers table in the MySQL database (amongst
other things).
This same script is also run when LON-CAPA is installed or updated
(via ./UPDATE) - (UPDATE contains make run_searchcat, and
run_searchcat target causes the following to execute:
cat $(SOURCE)/doc/loncapafiles/run_searchcat.piml)
Stuart Raeburn
MSU LON-CAPA group
Quoting "H.K. Ng" <hkng at fsu.edu>:
> This is a follow up regarding multi-domain configuration. When is the
> allusers table generated under mysql? I have re-install loncapa but the
> fsuK12 users are not populated in the table.
>
> Thanks,
> -hk
>
>
>
> At 12:55 PM 6/11/2008, you wrote:
>> I found a partial solution. I have two servers that were re-configured.
>>
>> fsuk12l1 (k12-1.fsu.edu) is now part of fsul1
>> and
>> fsuk12a1 (k12.fsu.edu) is now part of fsua0
>>
>> When I added the auth field to the domain.tab on fsul1
>>
>> fsuK12:Florida State University - K12:internal::en-US:Tallahassee,
>> FL:-84.28:30.438:fsuk12l1
>> fsu:Florida State University:local::en-US:Tallahassee,
>> FL:-84.28:30.438:fsul1
>>
>> By adding the auth field, it seems to solve the problem for the
>> library server. But doing the same thing to the access server does
>> not do anything. Question: What are the acceptable values for the
>> auth field? I thought it is local, internal and unix. The fsu and
>> the fsuK12 use different auth method so I modified the index.html
>> file to point to index.shmtl so that if a user types
>> loncapa.fsu.edu it uses the cas otherwise it goes to the /adm/login
>> screen. When I tested this on the development server, it seems to
>> work fine.
>>
>> -hk
>>
>> At 10:48 AM 6/11/2008, you wrote:
>>> At 10:42 AM 6/11/2008, you wrote:
>>>> Hi,
>>>>
>>>> On Jun 11, 2008, at 9:08 AM, H.K. Ng wrote:
>>>>
>>>>>
>>>>> Yesterday, I re-configured the fsuK12 servers so that they are now
>>>>> part of the fsu domain. I followed the instructions as per e-mail
>>>>> on lon-capa-admin posted Jan 10 2005 by Guy. Since I am merging an
>>>>> existing library server (fsuk12l1) into another library server
>>>>> (fsul1), I copied all the files under
>>>>> /home/httpd/lonUsers/fsuK12 on the fsuK12 domain to the fsu domain.
>>>>
>>>> Under the fsu domain!? It needs to stay in its own tree!
>>>>
>>>> You need to have
>>>>
>>>> /home/httpd/lonUsers/fsu
>>>> /home/httpd/lonUsers/fsuK12
>>>>
>>>> as well as
>>>>
>>>> /home/httpd/html/res/fsu
>>>> /home/httpd/html/res/fsuK12
>>>>
>>>>
>>>> Is that the case?
>>>
>>>
>>> Yes, the files that were in fsuK12 users were copied to
>>> /home/httpd/lonUsers/fsuK12, and the resources go to
>>> /home/httpd/html/html/res/fsuK12.
>>>
>>> -hk
>>> _______________________________________________
>>> LON-CAPA-admin mailing list
>>> LON-CAPA-admin at mail.lon-capa.org
>>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>
>> _______________________________________________
>> LON-CAPA-admin mailing list
>> LON-CAPA-admin at mail.lon-capa.org
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
More information about the LON-CAPA-admin
mailing list