1. link Database data to /calls partition, create eware Database, reuse the original oid path to new eware database, CRS can correct connect to eware Database and working fine, recording data which pending in ACR jobqueue can also upload to CRS.
a. link database data to /calls partition:
• Logon as root
1. cd /calls
2. mkdir pgsql
3. chown postgres pgsql
4. chgrp postgres pgsql
• Ensure the DB and CSCM are stopped
1. service cscm stop
2. service rhdb stop or service postgresql stop
• tar the contents of the /var/lib/pgsql/data folder to a tar file in /calls/pgsql
1. cd /var/lib/pgsql
2. tar -cvf /calls/pgsql/tempfile.tar data
• untar it back to /calls/pgsql/data
1. cd /calls/pgsql
2. tar -xvf /calls/pgsql/tempfile.tar
• Rename the /var/lib/pgsql/data folder to olddata
1. cd /var/lib/pgsql
2. mv data olddata
• Create a symbolic link from /calls/pgsql/data to /var/lib/pgsql/data
1. ln -s /calls/pgsql/data /var/lib/pgsql/data
b. create eware database: createdb eware
c. after eware created, there will be a new oid path generated in ../data/base, change the new oid path with another name, change the old oid path (for eware, 16384) name to the new oid path name. Then start postgres, start ACR service, system will working fine and old data can be get back.
2. Suggest user extend CRS /var partition and move Database data back to /var partition.