About
Installation
Documentation
Database API's
Tools Page
Adding a New Probe
Moving IEPM-BW
Troubleshooting Hints
Results
Original PLM
|
Moving IEPM-BW to a New System
At some point, you may find the need to transfer an IEPM-BW monitoring sytem to a new machine
at a remote site. The following steps should ease
the migration from the current home for IEPM-BW to the new location.
To begin, you will need to update the NODES database entry for the machine to
reflect the new ipaddress of the machine that will house IEPM-BW. This
change will also need to be replicated to all other monitoring sites as well.
Preparing to Move IEPM-BW Monitoring
- Remove the crontab (crontab -r)
- Shutdown all the daemons and servers (kill-all-servers)
- Use mysqldump to make a backup of each individual table in the iepm data base. This will dump the create commands as well as the data in a form that can be loaded via 'mysql -u iepm -p < dumpfile'. You should do each table individually, not all in one dumpfile.
Performing the Move
- Install and configure the apache server with docroot=/var/www
- You must change the iepm home directory to be world executable and readable (NOT writeable).
- Find out where perl is loaded. If it is loaded in /usr/local/bin/perl and not in /usr/bin/perl, make a symbolic link to /usr/bin/perl. If the reverse is true, make the symbolic link the other way.
- You will need root to do the following:
- Install the mysql rpm for the machine (do not use glib). - do not use /etc/my.cnf
- Install the required perl mods - do not use /etc/my.cnf
- I recommend using cpan to install them…The list is documented in the old plm.
- If it asks you if you want to upgrade to the latest CPAN, do so. They are constantly improving it.
- Allocate the disk space for the mysql directory and all the subdirectories - remember the permissions must be set correctly for the master mysql directory and all subdirectories (documented in the old plm). Do not put the mysql directory in /var/lib. If there is only one disk, put it in /home/iepm/mysql
- Kill the mysql servers (mysqladmin...shutdown)
- You can now defined /etc/iepm.cnf and /etc/my.cnf (you can copy and modify the ones from the old machine)
- Restart the mysqld_safe after ensuring that /etc/my.cnf and /etc/iepm.cnf are correct
- Set the root password for the data base.
- You should not need root to do the following
- Set up the iepm account with the ssh keys
- Copy the .cshrc from the iepm account on the other machine
- Allocate the mysql accounts for iepm, the web server, yourself.
- Crate a tar file of the entire v3src directory from the old machine and move it to the new machine and detar it
- Reload the database as described above.
- Make sure the appropriate keepalives are defined (check was was defined before)
- Load the crontab and it should all start up automatically over the next 30 minutes.
|