Cisco Unified MeetingPlace Express, Release 2.x -- How to Reinstall Cisco Unified MeetingPlace Express
From DocWiki
Main page: Cisco Unified MeetingPlace Express, Release 2.x
Follow all of the steps in these sections to reinstall Cisco Unified MeetingPlace Express Release 2.x and save any existing data.
Contents |
Requirements
- You must restore the data to a server running the same Cisco Unified MeetingPlace Express version. Use the mpx_version command to check the version.
- We recommend upgrading your system to the latest release available.
Backing Up Data
Back up your data from the old server to a remote server. You do not need to back up the web conferencing database because that will be reinstalled in the process.
Creating a New Folder
First, create a folder to hold the backed up data by following these steps:
Procedure
- From the terminal, switch to the root user by entering su-.
- Navigate to the /partB folder by entering cd /partB.
- Give the root user full permission to write to the /partB folder by entering chmod 777 /partB.
- Create a new folder by entering mkdir mpe-backup-all.
- Ensure that the new folder has full read and write permissions by entering chmod 777 mpe-backup-all.
Exporting the Data
Export the database from the old server by following these steps:
Procedure
- Copy the export script to the /partB directory by entering the following:
- cp $MP_ROOT/database/db-maintenance/database_export.sh .
- Note: Be sure to enter the . at the very end.
- Ensure that the file is executable by entering chmod +wx database_export.sh.
- Stop all the services by entering mpx_sys stop.
- Start the database service only by entering /sbin/service mpx_db start.
- Run the script to export the database by entering sh ./database_export.sh meetingplacedb /partB/mpeExportFolder.
Verifying the Database Export
After the export is finished, the export folder specified should be created. Under the export directory, there should be one file called dbexport.out and one subdirectory called meetingplacedb.exp.
$ ls -l /partB/mpeExportFolder/ total 136 -rw-r--r-- 1 informix informix 130486 Nov 2 06:05 dbexport.out drwxr-xr-x 2 informix informix 4096 Nov 2 06:05 meetingplacedb.exp
Under the meetingplacedb.exp subdirectory, there are lot of .unl files and one meetingplacedb.sql file:
$ ls /partB/mpeExportFolder/meetingplacedb.exp/ axlur00158.unl cscon00109.unl csexl00115.unl csfmo00121.unl csmtg00131.unl cspeg00141.unl csrsc00146.unl cstim00162.unl csvsr00168.unl tftps00155.unl csala00100.unl cscon00110.unl csfil00125.unl csfmp00122.unl csnet00132.unl cspom00138.unl cssch00149.unl csuni00163.unl datab00174.unl trigg00175.unl csapp00101.unl cscon00111.unl csfle00126.unl csfmr00123.unl csnet00133.unl cspom00139.unl cssch00150.unl csuse00164.unl diali00161.unl tzreg00172.unl csbil00102.unl cscrr00104.unl csfma00116.unl csfms00124.unl csnot00134.unl cspor00142.unl csscs00148.unl csuse00165.unl h323g00159.unl uifie00170.unl cscap00103.unl cscrr00105.unl csfmf00117.unl csgro00127.unl csopt00135.unl cspor00143.unl cssit00151.unl csuse00166.unl licen00173.unl uigro00169.unl cscom00106.unl csdid00112.unl csfmg00118.unl csgws00128.unl csout00136.unl cspro00144.unl csswc00152.unl csvid00156.unl local00171.unl cscon00107.unl csdid00113.unl csfmg00119.unl cshwc00129.unl csout00137.unl cspro00145.unl cssws00153.unl csvid00157.unl meetingplacedb.sql cscon00108.unl csexl00114.unl csfmh00120.unl cshws00130.unl cspar00140.unl csrem00147.unl cssys00154.unl csvsr00167.unl sippr00160.unl
Procedure
- Archive the mpeExportFolder folder by entering tar -cvf /partB/mpe-backup-all/mpeExportFolder.tar /partB/mpeExportFolder.
- Verify that the files are all there by entering ls –l /partB/mpe-backup-all/mpeExportFolder.tar.
Backing Up the Required Files
The files that you must back up are listed in $MP_ROOT/database/db-maintenance/ext_archive.files.
cat $MP_ROOT/database/db-maintenance/ext_archive.files $MP_ROOT/licenses $MP_ROOT/afs/custom /mpx-record /usr/local/enrollment
Procedure
- Back up the license files by entering the following:
- tar –cvf /partB/mpe-backup-all/licenses.tar $MP_ROOT/licenses
- Back up the afs custom files by entering the following:
- tar –cvf /partB/mpe-backup-all/afx-custom.tar $MP_ROOT/afs/custom
- Back up the mpx-record file by entering the following:
- tar –cvf /partB/mpe-backup-all/mpx-record.tar /mpx-record
- Back up the SSL files by entering the following:
- tar –cvf /partB/mpe-backup-all/enrollment.tar /usr/local/enrollment
Noting Microsoft Exchange Settings
The scripts do not export and import your Microsoft Exchange integration settings. We recommend that you take a screenshot of the Administration Center page on the old server that contains the Microsoft Exchange settings so that you can configure the same settings on the new server.
Procedure
- Sign in to the Administration Center.
- Select System Configuration > E-Mail Service Administration > SMTP Server Configuration.
- Take a screenshot and save it.
- Select System Configuration > E-Mail Service Administration > Exchange Server Configuration.
- Take a screenshot and save it.
Saving the Network Information
Copy the network information from the old server. You will need this information when you reinstall the Cisco Unified MeetingPlace Express software.
Procedure
1. Display the network information by using the net command. Enter net.
This is the MeetingPlace Express network configuration utility. Up to the point where you save changes, it is safe to hit ^C to get out at any time, in which case nothing will have changed. 1) List current configuration 2) Configure Ethernet port 1 3) Configure Ethernet port 2 4) Set host names 5) Set domain name 6) Configure DNS service 7) Configure NTP service 8) Done
2. Enter 1 to display the current configuration. The following is an example of the output:
Primary/audio host name: bounty5
HTTP host name: bounty5
RTMP host name: bounty5a
Domain name: cisco.com
Service bindings:
Audio: port 1 (eth0)
Web browsing (HTTP): port 1 (eth0)
Web conferencing (RTMP): port 2 (eth1)
Port 1 (device eth0):
IP Address: 10.194.102.60
Network mask: 255.255.254.0
Default gateway: 10.194.102.1
Link setting: autoneg on
Port 2 (device eth1):
IP Address: 10.194.102.61
Network mask: 255.255.254.0
Default gateway: 10.194.102.1
Link setting: autoneg on
DNS Servers:
171.70.168.183
171.68.226.120
NTP Servers:
171.68.10.80
3. Copy the information and paste it into a file.
Copying the Files to a Remote Server
Note: You can use your desktop as the remote machine to save all the backed up files.
Procedure
- Ensure that the files in the /partB/mpe-backup-all directory can be read by entering the following:
- chmod –R 777 /partB/mpe-backup-all
- Download the winscp utility, a utility to transfer files, by entering the following:
- http://winscp.net/eng/index.php
- Use the winscp utility to move the files from Cisco Unified MeetingPlace Express to your desktop.
- Verify that all the files in the /partB/mpe-backup-all directory are on your remote machine.
Reinstalling the Software
Install Cisco Unified MeetingPlace Express. Insert the DVD into the server and follow the GUI. The system will prompt you for system information. Use the values from Saving the Network Information.
For more information about installing Cisco Unified MeetingPlace Express, see Installing Cisco Unified MeetingPlace Express.
Restoring the Data
Creating a New Folder
First, create a folder to hold the backed up data by following these steps:
Procedure
- From the terminal, switch to the root user by entering su-.
- Navigate to the /partB folder by entering cd /partB.
- Give the root user full permission to write to the /partB folder by entering chmod 777 /partB.
- Create a new folder by entering mkdir mpe-backup-all.
- Ensure that the new folder has full read and write permissions by entering chmod 777 mpe-backup-all
Copying the Files from the Remote Server
Procedure
- Use the winscp utility to copy all of the files from the remote server to the /partB/mpe-backup-all directory.
- Sign in as root from the SSH console.
- Navigate to the /partB/mpe-backup-all directory.
- Give the root user full access to the files by entering chmod –R 777 /partB/mpe-backup-all.
Importing the Database from the Back Up
Procedure
- Copy the import script to the /partB directory by entering the following:
- cp $MP_ROOT/database/db-maintenance/database_import.sh .
- Note: Be sure to enter the . at the very end.
- Ensure that the file is executable by entering chmod +wx database_import.sh.
- Stop all the services by entering mpx_sys stop.
- Start the database service only by entering /sbin/service mpx_db start.
Saving the Web Conferencing User ID and Password
The web conferencing user ID and password are needed because the import process will overwrite the values.
1. Enter su -s /bin/bah mpxdb.
$dbaccess meetingplacedb - - <<-! select breezeuserid, breezepassword from “mpxdb”.cssystemconfig; !
Here is the example of the output:
Database selected. breezeuserid breeze_resrtu@cisco.com breezepassword ypglsrdc 1 row(s) retrieved. Data committed. Database closed.
2. Save the values for the breezeuserid and breezepassword parameters.
Continue to Import the Database
Procedure
- Change back to the root user by entering su -.
- Navigate to the the root directory by entering cd /.
- Extract the database files by entering the following:
- tar -xvf /partB/mpe-backup-all/mpeExportFolder.tar
- Verify the database extracted files by entering ls -l /partB/mpeExportFolder/.
The system displays the following:
total 136 -rw-r--r-- 1 informix informix 130486 Nov 2 06:05 dbexport.out drwxr-xr-x 2 informix informix 4096 Nov 2 06:05 meetingplacedb.exp
Under the subdirectory, there are lot of .unl files and one meetingplacedb.sql file:
$ ls /partB/mpeExportFolder/meetingplacedb.exp/ axlur00158.unl cscon00109.unl csexl00115.unl csfmo00121.unl csmtg00131.unl cspeg00141.unl csrsc00146.unl cstim00162.unl csvsr00168.unl tftps00155.unl csala00100.unl cscon00110.unl csfil00125.unl csfmp00122.unl csnet00132.unl cspom00138.unl cssch00149.unl csuni00163.unl datab00174.unl trigg00175.unl csapp00101.unl cscon00111.unl csfle00126.unl csfmr00123.unl csnet00133.unl cspom00139.unl cssch00150.unl csuse00164.unl diali00161.unl tzreg00172.unl csbil00102.unl cscrr00104.unl csfma00116.unl csfms00124.unl csnot00134.unl cspor00142.unl csscs00148.unl csuse00165.unl h323g00159.unl uifie00170.unl cscap00103.unl cscrr00105.unl csfmf00117.unl csgro00127.unl csopt00135.unl cspor00143.unl cssit00151.unl csuse00166.unl licen00173.unl uigro00169.unl cscom00106.unl csdid00112.unl csfmg00118.unl csgws00128.unl csout00136.unl cspro00144.unl csswc00152.unl csvid00156.unl local00171.unl cscon00107.unl csdid00113.unl csfmg00119.unl cshwc00129.unl csout00137.unl cspro00145.unl cssws00153.unl csvid00157.unl meetingplacedb.sql cscon00108.unl csexl00114.unl csfmh00120.unl cshws00130.unl cspar00140.unl csrem00147.unl cssys00154.unl csvsr00167.unl sippr00160.unl
Finishing the Import
Procedure
- Navigate back to the /partB directory by entering cd /partB.
- Set full permission on the /partB/mpeExportFolder directory by entering chmod –R 777 mpeExportFolder.
- Run the script to import the database on the /partB/mpeExportFolder directory by entering the following:
- sh ./database_import.sh meetingplacedb meetingplace_dbs
- /partB/mpeExportFolder /tmp
- Reset the specific fields in the cssystemconfig table using the values that you saved earlier. Enter the following:
- su -s /bin/bash mpxdb
$dbaccess meetingplacedb - - <<-! $ dbaccess meetingplacedb - - <<-! > update "mpxdb".cssystemconfig set breezeuserid =’breeze_resrtu@cisco.com’, breezepassword =‘ypglsrdc’; > !
NOTE: Enter your values for the breezeuserid and breezepassword parameters! The values above are placeholders and not actual values!
Here is an example of the output:
Database selected. 1 row(s) updated. Data committed. Database closed.
Restoring the Required Files
Procedure
- Enter su - to become the root user.
- Navigate to the root folder by entering cd /.
- Restore the license files by entering the following:
- tar –xvf /partB/mpe-backup-all/licenses.tar
- Restore the afs custom files by entering the following:
- tar –xvf /partB/mpe-backup-all/afx-custom.tar
- Restore the mpx-record by entering the following:
- tar –xvf /partB/mpe-backup-all/mpx-record.tar
- Restore the SSL files by entering the following:
- tar –xvf /partB/mpe-backup-all/enrollment.tar
Finishing the Reinstallation
Procedure
- Using the values you saved earlier, set the SMTP and Exchange Settings in the Administration Center.
- Reboot the new Cisco Unified MeetingPlace Express server.