The Calendar Server stores configuration files in the config directory. In an earlier release, the config directory was relocated. Its location is:
/etc/opt/SUNWics5/config/
Symbolic links to the old config directory are kept in the following directories:
/opt/SUNWics5/cal
/opt/SUNWics5/cal/lib
/opt/SUNWics5/cal/sbin
After running the Calendar Server configuration program, csconfigurator.sh, remove the symbolic link in each of the old directories and replace it with a link to the new directory as described in the procedures that follows. Note that these procedures preserve the settings from the original configuration files found in /etc/opt/SUNWics5/config.
Before you start, make sure the contents of the config directory are owned by icsuser and icsgroup (or your choices you specified for the runtime User ID and Group ID):
# ls -ld config ... icsuser icsgroup ... config/
Change to the /global/cal/opt/SUNWics5/cal directory, For example:
# cd /global/cal/opt/SUNWics5/cal/ |
where /global/cal/ is the file system mount point.
Check that config is a symbolic link to the new config directory. For example:
# ls -l config ... config -\> /etc/opt/SUNWics5/config/ |
In the /opt/SUNWics5/cal/ directory, remove the config symbolic link:
# cd /opt/SUNWics5/cal # rm config |
Copy the contents of the /etc/opt/SUNWics5/config directory into the new HA directory, preserving the ownership and permissions:
# cd /global/cal/opt/SUNWics5/cal # cp -pr /etc/opt/SUNWics5/config . |
In the /global/cal/opt/SUNWics5/cal/lib directory, check that config is a symbolic link to /etc/opt/SUNWics5/config.
# cd /global/cal/opt/SUNWics5/cal/lib # ls -l config ... config -\> /etc/opt/SUNWics5/config/ |
Remove the config symbolic link:
# rm config |
Create a new symbolic link to the new config location:
# ln -s ../config config |
Verify the new link:
# ls -l config ... config -\> ../config/ |
In the /global/cal/opt/SUNWics5/cal/sbin directory, check that config is a symbolic link to /etc/opt/SUNWics5/config.
# cd /global/cal/opt/SUNWics5/cal/sbin # ls -l config ... config -\> /etc/opt/SUNWics5/config/ |
Remove the config symbolic link:
# rm config |
Create a new symbolic link to the new config location:
# ln -s ../config config |
Verify the new link:
# ls -l config ... config -\> ../config/ |
If you need to uninstall Calendar Server, use the Java Enterprise System uninstaller, which removes the SUNWics5 and SUNWica5 packages.
For a Calendar Server HA configuration, however, you must first remove the relocated config directory and all of its contents before you run the uninstaller. For example:
# cd /global/cal/opt/SUNWics5/cal/ # rm -rf config |
If you do not remove the config directory, the uninstall operation fails for the SUNWics5 package.