<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Saif,<div><br></div><div>I've just created a couple of domains for local schools, and have a bunch of high</div><div>schools on the ohiouk12 server. Here's what I do. Hopefully Stuart can fill in the</div><div>gaps or make any corrections.</div><div><br></div><div>You need to add entries for the extra domain library servers in domain.tab and</div><div>hosts.tab. Make sure they show up before the main domain for that server.</div><div><br></div><div>Let Gerd and/or Stuart know the specifics on the domain and servers. Things</div><div>will eventually make it into the dns_domain.tab and dns_hosts.tab.</div><div>Once that finally gets propagated, you need to remove the entries in the server-</div><div>specific files.</div><div><br></div><div>Once you have included the domains in the local tables, restart LON-CAPA, then</div><div>run make_domain_coordinator.pl to create the domain coordinator account.</div><div><br></div><div>That's it as far as I know.</div><div><br></div><div>The one shortcoming of the multiple domains is that any accounts with authoring</div><div>privileges share the same namespace (they all receive directories under /home).</div><div>So my initial inclination was to allow all these domains and then create physicslib</div><div>accounts under each. I've had to make sure the accounts are unique: PHSCphysicslib,</div><div>AthensPhysicslib, ...).  User name space for non-author users is separated.</div><div><br></div><div>So here are the details on the example: wellston is the new domain. Note that it </div><div>appears before ohiouk12 in all these files.</div><div><br></div><div>domain.tab:</div><div><div># domain:Domain Name:auth mechanism:auth parameters:Language:City:Geo1:Geo2:main library</div><div>wellston:Wellston School District:::en-US:Wellston, OH:-82.5:39.120:wellstonl1</div><div>ohiouk12:Ohio University - K12:::en-US:Athens, OH:-82.1:39.329:ohiouk12l1</div></div><div><br></div><div>hosts.tab:</div><div><div>^s10.lite.msu.edu</div><div>^dalton.chem.sfu.ca</div><div>^library1.lon-capa.uiuc.edu</div><div>wellstonl1:wellston:library:capa4.phy.ohiou.edu:http:ohiou.edu</div><div>ohiouk12l1:ohiouk12:library:capa4.phy.ohiou.edu:http:ohiou.edu</div></div><div><br></div><div>Stop and start:</div><div>/etc/init.d/httpd stop</div><div>/etc/init.d/loncontrol stop</div><div><div>/etc/init.d/loncontrol start</div></div><div><div>/etc/init.d/httpd start</div></div><div><br></div><div>cd /root/loncapa-2.10.0/loncom/build</div><div>(or wherever you unpacked the files)</div><div><br></div><div>perl make_domain_coordinator.pl wellstondc wellston</div><div><br></div><div>Log in to domain coordinator user and start creating courses and users.</div><div><br></div><div>In my experience, the machine itself is already trusted by others in the cluster,</div><div>so other servers in the cluster don't need to know about the new domain for instructors to start</div><div>pulling in resources from elsewhere.   Users from the new domain cannot log in via other servers</div><div>until information about the domain has been propagated.</div><div><br></div><div>I have also had our local DNS czar create aliases for the different domains:</div><div><br></div><div><a href="http://capa4.phy.ohiou.edu">capa4.phy.ohiou.edu</a> has the aliases:</div><div><a href="http://athens.phy.ohiou.edu">athens.phy.ohiou.edu</a></div><div><a href="http://wellston.phy.ohiou.edu">wellston.phy.ohiou.edu</a></div><div><a href="http://pickerington.phy.ohiou.edu">pickerington.phy.ohiou.edu</a></div><div>etc....</div><div><br></div><div>Students using these aliases will find that the domain textbox will be filled in appropriately.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Mark</div><div><br></div><div><br></div><div><div><div>On Jun 21, 2011, at 6:54 PM, Saif Rayyan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear all,<br><br>I am trying to look for instructions on how to setup another domain on the same<br>library server that we have at MIT for a collaborator at a small college. I<br>found a couple of threads here that discuss the topic,<br><br><a href="http://mail.lon-capa.org/pipermail/lon-capa-admin/2005-January/000835.html">http://mail.lon-capa.org/pipermail/lon-capa-admin/2005-January/000835.html</a><br>http://mail.lon-capa.org/pipermail/lon-capa-admin/2008-June/001992.html<br><br>However, I need more direction on where to start. Does anyone have a list of<br>instruction on what needs to be done?<br><br>Thank you!<br><br>Saif Rayyan<br>Postdoctoral Associate<br>MIT<br>_______________________________________________<br>LON-CAPA-admin mailing list<br>LON-CAPA-admin@mail.lon-capa.org<br>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin<br></div></blockquote></div><br><div>
<div>-- <br>Mark Lucas<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">                                                                </span>email: <a href="mailto:lucasm@ohiou.edu">lucasm@ohiou.edu</a><br>252D Clippinger Lab<span class="Apple-tab-span" style="white-space: pre; ">                                            </span>phone: (740)597-2984<br>Department of Physics and Astronomy<span class="Apple-tab-span" style="white-space: pre; ">                </span>fax: (740)593-0433<br>Ohio University<br>Athens, OH 45701</div>
</div>
<br></div></body></html>