[LON-CAPA-admin] 32bit -> 64bit morph

Guy Albertelli II guy at albertelli.com
Mon Oct 16 14:03:24 EDT 2006

Hi All,

This is more of an email documenting a process.

If you plan on upgrading your existing 32bit based server to a 64bit
based one the default set of gdbm modules can cause an issue.

The summary version is that on a 64bit system everything is compiled
to use 64bit sized file operations and file variables. 

I have written full conversion scripts and have successfully used them
on s10 this weekend. (and a different server last week.)

The process was
- bring up new machine

- copy all data to new machine

- install the conversion scripts (all in CVS in
    - db_copy.pl
    - compiled/dump_db_static_32
    - compiled/create_db_dynamic_64
  into /home/httpd/perl/debug

- as www run /home/httpd/perl/debug/db_copy.pl
  (it'll give status updates as the process proceeds including time
Status line is
#converted (#skipped) in #secs, togo #secs_expected,
   overall #secs+#secs_expected, #secs_per_db (each), #secs_perdb_for_last_100

- once done you can then startup loncontrol and httpd, login and see
  that everything is working

guy at albertelli.com   0-7-1-6-27,137

More information about the LON-CAPA-admin mailing list