Professional Documents
Culture Documents
1
32-bit to 64-bit Cross Platform Migration
for Linux
[Type the abstract of the document here. The abstract is typically a short summary of
the contents of the document. Type the abstract of the document here. The abstract is
typically a short summary of the contents of the document.]
Copyright
Copyright © 1997-2010. Blackboard, the Blackboard logo, BbWorld, Blackboard Learn, Blackboard
Transact, Blackboard Connect, the Blackboard Outcomes System, Behind the Blackboard, and Connect-
ED are trademarks or registered trademarks of Blackboard Inc. or its subsidiaries in the United States and
other countries. U.S. Patent Numbers: 6,988,138; 7,493,396; 6,816,878.
Sun™, Java™, JDK™, JVM™, JDBC™, Solaris™, Microsoft®, Windows®, Windows Server®, Windows Vista®,
SQL Server®, Internet Explorer®, Oracle®, Red Hat®, Enterprise Linux®, Apple®, Mac OS®, Tiger®,
Leopard®, Snow Leopard®, Safari®, Apache Tomcat™, Tomcat™, Mozilla®, Firefox®, JAWS for Windows®,
VMware®, Xen™, Wimba Pronto™, Acxiom Identify-X™ are trademarks or registered trademarks of their
respective owners.
Other product and company names mentioned herein may be the trademarks of their respective owners.
No part of the contents of this manual may be reproduced or transmitted in any form or by any means
without the written permission of the publisher, Blackboard Inc.
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 2
©2010 Blackboard Inc. Proprietary and Confidential
Contents
Contents
Contents ................................................................................................................................... 3
32-bit to 64-bit Cross-Platform Migration for Linux ................................................................ 5
Using this Document ............................................................................................................................... 5
Scenarios ................................................................................................................................................. 5
Scenario 1: One Server to One Server ................................................................................... 6
Nomenclature ......................................................................................................................................... 6
Source Server Assumptions ................................................................................................................... 6
Destination Server Assumptions ............................................................................................................ 7
Prepare the Source Server ..................................................................................................................... 8
Direct Upgrade Path ................................................................................................................................ 8
Indirect Upgrade path ............................................................................................................................. 8
Prepare the Destination Server .............................................................................................................. 8
Create Directory for Blackboard Learn Application and Database Backup Files ...................... 8
Create the Blackboard Application User............................................................................................. 9
Preparing to Transfer the Source Server Application and Database .............................................. 10
Create a Blackboard Learn Application and Database Backup ................................................ 10
Restoring the Blackboard Application and Database to the Destination Server.......................... 14
Scenario 2: One Server to Two Servers ................................................................................. 18
Nomenclature ....................................................................................................................................... 18
Source Server Assumptions ................................................................................................................. 18
Destination Application Server Assumptions ..................................................................................... 19
Destination Database Server Assumptions ........................................................................................ 19
Prepare the Source Server ................................................................................................................... 20
Direct Upgrade Path .............................................................................................................................. 20
Indirect Upgrade path ........................................................................................................................... 20
Prepare the Destination Application Server ...................................................................................... 21
Create Directory for Blackboard Learn Application Backup Files ................................................ 21
Create the Blackboard Application User........................................................................................... 21
Create NFS Share Mount Point Mappings ......................................................................................... 21
Prepare the Destination Database Server .......................................................................................... 22
Create Directory for Blackboard Learn Database Backup Files ................................................... 22
Create the Blackboard Application User........................................................................................... 22
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 3
©2010 Blackboard Inc. Proprietary and Confidential
Contents
Create the Shared Content Directory Structure and NFS Shares .................................................. 22
Preparing to Transfer the Source Server Application and Database .............................................. 23
Create a Blackboard Learn Application and Database Backup ................................................ 23
Restoring the Blackboard Content and Database to the Destination Database Server .............. 27
Restoring the Blackboard Learn Application to the Destination Application Server .................... 29
Scenario 3: Two Servers to Two Servers ................................................................................ 32
Nomenclature ....................................................................................................................................... 32
Source Application Server Assumptions ............................................................................................ 32
Source Database Server Assumptions ............................................................................................... 33
Destination Application Server Assumptions ..................................................................................... 33
Destination Database Server Assumptions ........................................................................................ 34
Prepare the Source Server ................................................................................................................... 35
Direct Upgrade Path .............................................................................................................................. 35
Indirect Upgrade path ........................................................................................................................... 35
Prepare the Destination Application Server ...................................................................................... 36
Create Directory for Blackboard Learn Application Backup Files ................................................ 36
Create the Blackboard Application User........................................................................................... 36
Create NFS Share Mount Point Mappings ......................................................................................... 36
Prepare the Destination Database Server .......................................................................................... 37
Create Directory for Blackboard Learn Database Backup Files ................................................... 37
Create the Blackboard Application User........................................................................................... 37
Create the Shared Content Directory Structure and NFS Shares .................................................. 37
Preparing to Transfer the Source Server Application ........................................................................ 38
Create a Blackboard Learn Application Backup ............................................................................ 38
Preparing to Transfer the Source Server Database ........................................................................... 39
Create a Blackboard Learn Database Backup ............................................................................... 39
Restoring the Blackboard Content and Database to the Destination Database Server .............. 42
Restoring the Blackboard Learn Application to the Destination Application Server .................... 44
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 4
©2010 Blackboard Inc. Proprietary and Confidential
32-bit to 64-bit Cross Platform Migration
All instructions in this document are based on migration to new hardware. Upgrading
Blackboard Academic Suite 8.0 or Blackboard Learn 9.0 on existing hardware to
Blackboard Learn 9.1 must occur before migration. Database restore to a 64-bit
machine must be completed before running the application server upgrade.
Scenarios
Three separate scenarios for making a cross platform migration are included in the
documentation. The steps are detailed and every effort has been made to recreate
instructions in the order a migration would logically be made. As with any major
change to an enterprise system, backup your data before you made any changes.
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 5
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
Nomenclature
The source server refers to the original server running your production stand-alone
Blackboard instance on a Red Hat Linux 5 32-bit operating system.
The destination server refers to the new server which is intended as the stand-alone
migration target of this process and it is running a Red Hat Linux 5 64-bit operating
system.
• You are running Blackboard Learn 8.0 SP6 (8.0.475.0) at a minimum and you are
planning to upgrade to Blackboard Learn 9.1 HF1 (9.1.407.9).
• You are running the latest version of JDK 1.6 32-bit at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
• You are running the Blackboard appserver on port 8009 and the webserver on
port 80.
• You are running Oracle 10g Release 2 (10.2.0.4) and you know the instance
name (ENG10R2 is used in this example).
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 6
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
• Your collaboration server is running on TCP port 8010 and HTTP port 8011.
• You are running Oracle 11g Release 1 (11.1.0.7) on port 1521/TCP and you know
the instance name (ENG11R1 in this example).
• You have the following Oracle 11g patches installed: p7112447, p7272646,
p7524366.
• You have the latest version of JDK 1.6 64-bit installed at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 7
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
• Test this upgrade process before performing these actions on your production
system.
• This work needs to be done as a user which has been granted sudo or root
permissions.
1. Run the Blackboard Learn 9.1 (9.1.407.2) installer to upgrade the instance.
2. Run the Blackboard Learn 9.1 HF1 (9.1.407.9) installer to upgrade the instance
1. Run the Blackboard Learn 9.0 SP1 (9.0.440.0) installer to upgrade the instance.
2. Run the Blackboard Learn 9.0 SP2 (9.0.505.0) installer to upgrade the instance.
3. Run the Blackboard Learn 9.0 SP3 (9.0.539.0) installer to upgrade the instance.
4. Run the Blackboard Learn 9.1 (9.1.407.2) installer to upgrade the instance.
5. Run the Blackboard Learn 9.1 HF1 (9.1.407.9) installer to upgrade the instance.
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 8
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
passwd bbuser
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 9
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
/usr/local/blackboard/tools/admin/ServiceController.sh services.stop
1. Create a directory to store the database backup and make sure that the oracle
user has write access to the directory.
mkdir /usr/local/sql_backup
2. Export the database data for the Blackboard application, where $PASSWORD is
the Oracle system user password.
su - oracle
export EXPORT_DIR=/usr/local/sql_backup
$ORACLE_HOME/bin/exp system/$PASSWORD \
file=$EXPORT_DIR/bb_export.dmp \
log=$EXPORT_DIR/bb_export.log \
cms_files_users\) buffer=2048000
Warning: If your export is greater than 2GB in size, then you may need to follow
instructions on using a split named pipe as described by Jeff Hunter at Oracle DBA Tips.
3. Backup the tablespace definitions, users and privileges for Blackboard Learn by
creating the /usr/local/sql_backup/backup-database.sql script.
set echo off
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 10
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
spool $EXPORT_DIR/recreate_bb_database.sql
from dba_users
from dba_role_privs
where grantee in
(select username
from dba_users
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 11
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
);
from dba_sys_privs
where grantee in
(select username
from dba_users
);
spool off
quit
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 12
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 13
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
export EXPORT_DIR=/usr/local/bb_backup/sql_backup
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 14
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
exit
4. Reconfigure Blackboard Property Files. There are 28 properties across three (3)
files that must be updated or verified.
Property Purpose
• File /usr/local/blackboard/config/bb-config.properties
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 15
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
Property Purpose
fault=$DST_HOSTNAME.$DOMAIN hostname, fully qualified
bbconfig.database.datadir=/usr/local/ Check the database data
blackboard/oracle/data directory
bbconfig.database.datadir.win=\\usr\\ Check the database data
local\\blackboard\\oracle\\data directory. Double back slashes
required.
bbconfig.database.server.name=$DST_HO Set the database server
STNAME hostname, unqualified
bbconfig.database.server.fullhostname Set the database server
=$DST_HOSTNAME.$DOMAIN hostname, fully qualified
bbconfig.database.server.instancename Set the database server
=$DB_INSTANCE instance name
bbconfig.database.stats.server.name=$ Set the database stats server
DST_HOSTNAME.$DOMAIN hostname, fully qualified
bbconfig.database.logdir.mssql=\\usr\ Check the database log
\local\\blackboard\\oracle\\data directory. Double back slashes
required.
bbconfig.database.indexdir.oracle=/us Check the database index
r/local/blackboard/oracle/data directory
bbconfig.platform.64bit=true Enable 64bit binaries
bbconfig.platform.libdir=lib64 Enable 64bit libraries
bbconfig.cs.external.data.courses=/us Check the courses shared
r/local/blackboard/content/storage/co content location
urses
bbconfig.cs.external.data.inst=/usr/l Check the institution share
ocal/blackboard/content/storage/insti content location
tution
bbconfig.cs.external.data.library=/us Check the library shared
r/local/blackboard/content/storage/li content location
brary
bbconfig.cs.external.data.orgs=/usr/l Check the orgs shared content
ocal/blackboard/content/storage/orgs location
bbconfig.cs.external.data.users=/usr/ Check the users shared
local/blackboard/content/storage/user content location
s
bbconfig.cs.external.storage.location Check the storage shared
=/usr/local/blackboard/content/storag content location
e
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 16
©2010 Blackboard Inc. Proprietary and Confidential
Scenario1: One Server to One Server
• File /usr/local/blackboard/tools/admin/PushConfigUpdates.sh
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 17
©2010 Blackboard Inc. Proprietary and Confidential
32-bit to 64-bit Cross Platform Migration
Nomenclature
The source server refers to the original server running your production stand-alone
Blackboard instance on a Red Hat Enterprise Linux 5 32-bit operating system.
The destination application server refers to the new server which is intended as the
application instance migration target of this process and it is running a Red Hat
Enterprise Linux 5 64-bit operating system.
The destination database server refers to the new server which is intended as the
database instance migration target of this process and it is running a Red Hat Enterprise
Linux 5 64-bit operating system.
• You are running Blackboard Learn 8.0 SP6 (8.0.475.0) at a minimum and you are
planning to upgrade to Blackboard Learn 9.1 HF1 (9.1.407.9).
• You are running the latest version of JDK 1.6 32-bit at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
• You are running the Blackboard appserver on port 8009 and the webserver on
port 80.
• You are running Oracle 10g Release 2 (10.2.0.4) and you know the instance
name (ENG10R2 is used in this example).
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 18
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
• Your collaboration server is running on TCP port 8010 and HTTP port 8011.
• You have the latest version of JDK 1.6 64-bit installed at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
• You are running Oracle 11g Release 1 (11.1.0.7) on port 1521/TCP and you know
the instance name (ENG11R1 in this example).
• You have the following Oracle 11g patches installed: p7112447, p7272646,
p7524366.
• You have the latest version of JDK 1.6 64-bit installed at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 19
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
• Test this upgrade process before performing these actions on your production
system.
• This work needs to be done as a user which has been granted sudo or root
permissions.
1. Run the Blackboard Learn 9.1 (9.1.407.2) installer to upgrade the instance.
2. Run the Blackboard Learn 9.1 HF1 (9.1.407.9) installer to upgrade the instance
1. Run the Blackboard Learn 9.0 SP1 (9.0.440.0) installer to upgrade the instance.
2. Run the Blackboard Learn 9.0 SP2 (9.0.505.0) installer to upgrade the instance.
3. Run the Blackboard Learn 9.0 SP3 (9.0.539.0) installer to upgrade the instance.
4. Run the Blackboard Learn 9.1 (9.1.407.2) installer to upgrade the instance.
5. Run the Blackboard Learn 9.1 HF1 (9.1.407.9) installer to upgrade the instance.
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 20
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
$DST_DB_HOSTNAME.$DOMAIN:/usr/local/bb_share/content
/usr/local/blackboard/content
nfs auto,rw,soft,timeo=60,intr,nolock,rsize=8192,wsize=8192 0 0
:wq
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 21
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
vi /etc/exports
/usr/local/bb_share/content
$DST_APP_HOSTNAME.$DOMAIN(rw,anonuid=550,anongid=550)
:wq
exportfs -r
exportfs -v
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 22
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
/usr/local/blackboard/tools/admin/ServiceController.sh services.stop
1. Create a directory to store the database backup and make sure that the oracle
user has write access to the directory.
mkdir /usr/local/sql_backup
2. Export the database data for the Blackboard application, where $PASSWORD is
the Oracle system user password.
su - oracle
export EXPORT_DIR=/usr/local/sql_backup
$ORACLE_HOME/bin/exp system/$PASSWORD \
file=$EXPORT_DIR/bb_export.dmp \
log=$EXPORT_DIR/bb_export.log \
cms_files_users\) buffer=2048000
Warning: If your export is greater than 2GB in size, then you may need to follow
instructions on using a split named pipe as described by Jeff Hunter at Oracle DBA Tips.
3. Backup the tablespace definitions, users and privileges for Blackboard Learn by
creating the /usr/local/sql_backup/backup-database.sql script.
set echo off
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 23
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
spool $EXPORT_DIR/recreate_bb_database.sql
from dba_users
from dba_role_privs
where grantee in
(select username
from dba_users
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 24
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
);
from dba_sys_privs
where grantee in
(select username
from dba_users
);
spool off
quit
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 25
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
cd /usr/local
rsync -avz --exclude=blackboard/oracle \
--exclude=blackboard/content blackboard \
$DST_APP_HOSTNAME:/usr/local/bb_backup
6. Copy the Blackboard Learn Content and Database instance to the destination
Database server. Type the following commands where $DST_DB_HOSTNAME is the
destination Database server.
cd /usr/local
rsync -avz blackboard/content $DST_DB_HOSTNAME:/usr/local/bb_backup
rsync -avz sql_backup $DST_DB_HOSTNAME:/usr/local/bb_backup
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 26
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
export EXPORT_DIR=/usr/local/bb_backup/sql_backup
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 27
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
Exit
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 28
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
mount /usr/local/blackboard/content
2. Reconfigure Blackboard Property Files. There are 28 properties across three (3)
files that must be updated or verified.
Property Purpose
• File /usr/local/blackboard/config/bb-config.properties
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 29
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
Property Purpose
APP_HOSTNAME.$DOMAIN fully qualified
bbconfig.appserver.fullhostname=$DST_ Set the appserver hostname,
APP_HOSTNAME.$DOMAIN fully qualified
bbconfig.appserver.machinename=$DST_A Set the appserver machine
PP_HOSTNAME name, unqualified
bbconfig.appserver.domainname=$DOMAIN Set the appserver domain
name
bbconfig.smtpserver.hostname=$SMTP_HO Update the SMTP server, if
STNAME.$DOMAIN necessary, fully qualified
bbconfig.collabserver.fullhostname.de Set the collaboration server
fault=$DST_APP_HOSTNAME.$DOMAIN hostname, fully qualified
bbconfig.database.datadir=/usr/local/ Check the database data
blackboard/oracle/data directory
bbconfig.database.datadir.win=\\usr\\ Check the database data
local\\blackboard\\oracle\\data directory. Double back slashes
required.
bbconfig.database.server.name=$DST_DB Set the database server
_HOSTNAME hostname, unqualified
bbconfig.database.server.fullhostname Set the database server
=$DST_DB_HOSTNAME.$DOMAIN hostname, fully qualified
bbconfig.database.server.instancename Set the database server
=$DB_INSTANCE instance name
bbconfig.database.stats.server.name=$ Set the database stats server
DST_DB_HOSTNAME.$DOMAIN hostname, fully qualified
bbconfig.database.logdir.mssql=\\usr\ Check the database log
\local\\blackboard\\oracle\\data directory. Double back slashes
required.
bbconfig.database.indexdir.oracle=/us Check the database index
r/local/blackboard/oracle/data directory
bbconfig.platform.64bit=true Enable 64bit binaries
bbconfig.platform.libdir=lib64 Enable 64bit libraries
bbconfig.cs.external.data.courses=/us Check the courses shared
r/local/blackboard/content/storage/co content location
urses
bbconfig.cs.external.data.inst=/usr/l Check the institution share
ocal/blackboard/content/storage/insti content location
tution
bbconfig.cs.external.data.library=/us Check the library shared
r/local/blackboard/content/storage/li content location
brary
bbconfig.cs.external.data.orgs=/usr/l Check the orgs shared content
ocal/blackboard/content/storage/orgs location
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 30
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: One Server to Two Servers
Property Purpose
File /usr/local/blackboard/tools/admin/PushConfigUpdates.sh
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 31
©2010 Blackboard Inc. Proprietary and Confidential
32-bit to 64-bit Cross Platform Migration
Nomenclature
The source application server refers to the original application server running your
production Blackboard application instance and it is running a Red Hat Enterprise Linux
5 32-bit operating system.
The source database server refers to the original database server running your
production Blackboard database instance and it is running a Red Hat Enterprise Linux 5
32-bit operating system.
The destination application server refers to the new server which is intended as the
application instance migration target of this process and it is running a Red Hat
Enterprise Linux 5 64-bit operating system.
The destination database server refers to the new server which is intended as the
database instance migration target of this process and it is running a Red Hat Enterprise
Linux 5 64-bit operating system.
• You are running Blackboard Learn 8.0 SP6 (8.0.475.0) at a minimum and you are
planning to upgrade to Blackboard Learn 9.1 HF1 (9.1.407.9).
• You are running the latest version of JDK 1.6 32-bit at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
• You are running the Blackboard appserver on port 8009 and the webserver on
port 80.
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 32
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
• Your collaboration server is running on TCP port 8010 and HTTP port 8011.
• You are running Oracle 10g Release 2 (10.2.0.4) and you know the instance
name (ENG10R2 is used in this example).
• You have the latest version of JDK 1.6 64-bit installed at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 33
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
• You are running Oracle 11g Release 1 (11.1.0.7) on port 1521/TCP and you know
the instance name (ENG11R1 in this example).
• You have the following Oracle 11g patches installed: p7112447, p7272646,
p7524366.
• You have the latest version of JDK 1.6 64-bit installed at /usr/local/jdk1.6.0_18
(update 18 was used as of this writing; update 20 is now available).
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 34
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
• Test this upgrade process before performing these actions on your production
system.
• This work needs to be done as a user which has been granted sudo or root
permissions.
1. Run the Blackboard Learn 9.1 (9.1.407.2) installer to upgrade the instance.
2. Run the Blackboard Learn 9.1 HF1 (9.1.407.9) installer to upgrade the instance
1. Run the Blackboard Learn 9.0 SP1 (9.0.440.0) installer to upgrade the instance.
2. Run the Blackboard Learn 9.0 SP2 (9.0.505.0) installer to upgrade the instance.
3. Run the Blackboard Learn 9.0 SP3 (9.0.539.0) installer to upgrade the instance.
4. Run the Blackboard Learn 9.1 (9.1.407.2) installer to upgrade the instance.
5. Run the Blackboard Learn 9.1 HF1 (9.1.407.9) installer to upgrade the instance.
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 35
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
$DST_DB_HOSTNAME.$DOMAIN:/usr/local/bb_share/content
/usr/local/blackboard/content
nfs auto,rw,soft,timeo=60,intr,nolock,rsize=8192,wsize=8192 0 0
:wq
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 36
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
vi /etc/exports
/usr/local/bb_share/content
$DST_APP_HOSTNAME.$DOMAIN(rw,anonuid=550,anongid=550)
:wq
exportfs -r
exportfs -v
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 37
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
/usr/local/blackboard/tools/admin/ServiceController.sh services.stop
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 38
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
1. Create a directory to store the database backup and make sure that the oracle
user has write access to the directory.
mkdir /usr/local/sql_backup
2. Export the database data for the Blackboard application, where $PASSWORD is
the Oracle system user password.
su - oracle
export EXPORT_DIR=/usr/local/sql_backup
$ORACLE_HOME/bin/exp system/$PASSWORD \
file=$EXPORT_DIR/bb_export.dmp \
log=$EXPORT_DIR/bb_export.log \
cms_files_users\) buffer=2048000
Warning: If your export is greater than 2GB in size, then you may need to follow
instructions on using a split named pipe as described by Jeff Hunter at Oracle DBA Tips.
3. Backup the tablespace definitions, users and privileges for Blackboard Learn by
creating the /usr/local/sql_backup/backup-database.sql script.
set echo off
spool $EXPORT_DIR/recreate_bb_database.sql
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 39
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
from dba_users
from dba_role_privs
where grantee in
(select username
from dba_users
);
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 40
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
from dba_sys_privs
where grantee in
(select username
from dba_users
);
spool off
quit
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 41
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
export EXPORT_DIR=/usr/local/bb_backup/sql_backup
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 42
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
Exit
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 43
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
mount /usr/local/blackboard/content
2. Reconfigure Blackboard Property Files. There are 28 properties across three (3)
files that must be updated or verified.
Property Purpose
• File /usr/local/blackboard/config/bb-config.properties
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 44
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 45
©2010 Blackboard Inc. Proprietary and Confidential
Scenario 2: Two Servers to Two Servers
Property Purpose
local/blackboard/content/storage/user content location
s
bbconfig.cs.external.storage.location Check the storage shared
=/usr/local/blackboard/content/storag content location
e
• File
Property Purpose
32-bit to 64-bit Cross Platform Migration for Blackboard Learn 9.1 on Windows Page 46
©2010 Blackboard Inc. Proprietary and Confidential