testUpdateSearchPS631() Running this test case on PS6.3.x -->PS7.1 upgraded setup will verify that the updateSearch
is functioning correctly.
Steps to follow:
1.
Running this test case on PS6.3.x -->PS7.1 upgraded setup will verify that the updateSearch
is functioning correctly.
Steps to follow:
1. ln -s /var/opt/SUNWportal/searchservers/UpgradeSearch/conf/SearchLogConfig.properties /var/opt/SUNWps.bak/https-/portal/config
2. Index sample docs on old portal with
/var/opt/SUNWportal/searchservers/UpgradeSearch/run-cs-cli rdmgr -c /var/opt/SUNWps.bak/https-/portal/config/search.conf -y discussion /opt/SUNWps.bak/samples/discussions/discussions.soif
/var/opt/SUNWportal/searchservers/UpgradeSearch/run-cs-cli rdmgr -c /var/opt/SUNWps.bak/https-/portal/config/search.conf -y discussion /opt/SUNWps.bak/samples/search/ps-help.soif
At this point you should have content in the old portal
3. clean up the taxonomy and reindexing portal template taxonomy
cp /var/opt/SUNWportal/searchservers/UpgradedSearch/config/taxonomy.rdm /var/opt/SUNWportal/searchservers/UpgradedSearch/config/taxonomy.rdm.$$
/var/opt/SUNWps/searchservers/search1/run-cs-cli rdmgr -TI
4. clean up the existing DBs
For each DB $DBNAME(Exclude DB named "root")
/var/opt/SUNWps/searchservers/search1/run-cs-cli rdmgr -X -y $DBNAME
At this point upgraded search DBs should be empty.
Try the following for each DB (Exclude DB named "root")
/var/opt/SUNWps/searchservers/search1/run-cs-cli rdmgr -U -y $DBNAME
You shoud see nothing back.
/var/opt/SUNWps/searchservers/search1/run-cs-cli rdmgr -n -y $DBNAME
You should get 0 RDs
Finally Run this unit test from ps/fabric directory.
ant upgrade-test -lib /share/builds/components/junit/3.8.1/junit.jar:/share/builds/components/jdom/1.0/build/jdom.jar:../admin/lib/ps_util.jar
Repeat the content verification steps just above :
For ex: you should get 73 RDs for
/var/opt/SUNWps/searchservers/UpgradedSearch/run-cs-cli rdmgr -n -y default