To clear the WCG cache, complete the following steps.
Warning: The clear command deletes all data in the object store and the host database. Content Gateway does not prompt you to confirm the deletion.
. From the WCG command prompt, run:
.[root@r610-13-wcg WCG]# cd /opt/WCG/
. [root@r610-13-wcg WCG]#./WCGAdmin stop
.[root@r610-13-wcg WCG]# ./bin/content_gateway -Cclear
. ./WCGAdmin start
To clear the DNS hostdb only while keeping the other cache, run the following commands as shown:
[root@r610-13-wcg WCG]# ./WCGAdmin stop
[root@r610-13-wcg bin]# ./content_gateway -Cclear_hostdb
[root@r610-13-wcg WCG]# ./WCGAdmin start