By user13377336 on Jun 14, 2008
Installing postgresql/mysql packages from IPS repository on OpenSolaris 2008.05 is very simple n easy and Jignesh has described the command line steps in his post in detail. I tried the same thing on a fresh install of OpenSolaris, but using the Package Manager GUI and It is as easy as it should get with GUI tools.
The idea behind this blog, is to simply clarify to users/developers that as soon as you install any PostgreSQL/MySQL version, the SMF registry is not going to be updated. This might look obvious to many of you, but I see on some reviews that people are expecting that the SMF service will be installed in the registry.
A subsequent reboot will automatically import necessary entries in the registry or it can be manually added before reboot if desired, as below,
# svccfg import /var/svc/manifest/application/database/postgresql.xml
(for Postgresql version 8.2)
This needs to be done only once and the registry is updated permanently.
Also, Note that registry entries are not cleaned up once you uninstall these packages. You can manually delete them as given below. There is no harm in keeping them in the registry, but they are not going to be useful for obvious reasons.
# svccfg delete svc:/application/database/postgresql