SunMC Perfomance Reporting Manager installation question

During installation of PFM it requests three directories to store it's db files. After that an error window is poping up indicating that chosen directories must be on a local file system. What does it mean?

SunMC was installed in the ZFS pool, so I want that those directories be on the same file system. Does this problem is somehow connected with ZFS?

[367 byte] By [Andrey.Afanasiev.ru] at [2007-11-26 11:33:59]
# 1

Hi Andrey,

> During installation of PFM it requests three

> directories to store it's db files. After that an

> error window is poping up indicating that chosen

> directories must be on a local file system. What does

> it mean?

> SunMC was installed in the ZFS pool, so I want that

> those directories be on the same file system. Does

> this problem is somehow connected with ZFS?

The current version of SunMC (3.6.1) has an internal check for the PRM and SCM addons to make sure they're installed on "ufs" or "vxfs" filesystems. Historically that was to prevent you from trying to stick the Oracle database on an NFS mount.... but these days with Solaris 10 it's also preventing you from using zfs, or lofs (i.e. filesystems mounted loopback into a Zone).

I can't remember the names of the scripts those checks are baked into, but they're under /opt/SUNWsymon/addons/<PRM or SCM>. Grep for the error message or "ufs"/"vxfs" and you'll find them.

What you'll want to do is complete the install (es-inst) portion of your Server install first, and say "no" when it asks if you "want to run setup now?". Then make the changes to the PRM/SCM scripts... then run setup manually (/opt/SUNWsymon/sbin/es-setup). That will get everything up and running fine.

Regards,

Mike.Kirk@HalcyonInc.com

http://www.HalcyonInc.com

Aronek at 2007-7-7 3:49:50 > top of Java-index,Administration Tools,Sun Management Center...
# 2

Hi

the installation script for DB set checks if it ufs of vxfs. Here's a work around.

If File system is ZFS, then edit DB setup.

>> vi /opt/SUNWsymon/addons/PRM/sbin/db-setup.sh

find the line

if [ $? -ne 0 -o \( "$fstype" != "ufs" -a "$fstype" != "vxfs" \) ]; then

change ufs to zfs

if [ $? -ne 0 -o \( "$fstype" != "zfs" -a "$fstype" != "vxfs" \) ]; then

we haven't had any problems running SMC on a zfs maschine. At least that could be traced back to zfs.

aloha

Dan

kona_kunst at 2007-7-7 3:49:50 > top of Java-index,Administration Tools,Sun Management Center...
# 3
Thank you for your advise. It really works.
AndreyAfanasievru at 2007-7-7 3:49:50 > top of Java-index,Administration Tools,Sun Management Center...