Operating System - HP-UX
1838026 Members
5012 Online
110124 Solutions
New Discussion

Re: Installing PerfView on other than /opt.

 
Gulam Mohiuddin
Regular Advisor

Installing PerfView on other than /opt.

I will be installing PerfView and I guess it will be by default installed on /opt mount point. I also don't want to increase it.

But I don't have enough free space in /opt, could I install PerfView on any other mount point which has enough free space.

Thanks,

Gulam.
Everyday Learning.
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: Installing PerfView on other than /opt.

Unfortunately perfview doesn't go anywhere other than /opt/perf and /var/opt/perf as far as my knowledge goes.

The best way is to create a seperate file system in a different volume group and link it from here. Here is what I would do

1) Mount a new file system say /perfview from any of the volume groups.

2) create two subdirectories called optperf and varoptperf inside it

#mkdir /perfview/optperf
#mkdir /perfview/varoptperf

3) Link them from /opt and /var/opt

#ln -s /perfview/optperf /opt/perf
#ln -s /perfview/varoptperf /var/opt/perf

You can also create two different file systems for /opt/perf and /var/opt/perf and mount them. But We don't want to create a seperate file system for /opt/perf which is being very small.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Michael Tully
Honored Contributor

Re: Installing PerfView on other than /opt.

Hi,

There are two ways that this can achieved,
that is either via the command line, choose
the option for 'target'. See the man page
on 'swinstall' for more information, or what
is probably much easier and that is to run
'swinstall' interactively. Once the program
starts and after you choose what your going
to install, From the actions menu, select
change target and specify where you would
the installation to occur.

HTH
-Michael
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: Installing PerfView on other than /opt.

I am a bit cautious about installing this software by changing the target in the swinstall session. This is because some of the scripts like /opt/perf/bin/mwa are hardcoded with the path names including the startup scripts in /sbin/init.d directory. You may have to work little harder to make them work along with /var/opt/perf that will consume disk space over a period of time.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Tully
Honored Contributor

Re: Installing PerfView on other than /opt.

On thinking about it perhaps a linked
mount point would be better. In fact I
used one on my OmniBack Cell Server so
I should have thought of it as well :-(
You could if it is necessary to also
create a new mount point for the data
as well to /var/opt/perf although once
the data is has been collected over a
period of time the file sizes should
remain stagnant unless you wish to keep
certain things.

Options are yours....

-Michael
Anyone for a Mutiny ?
Santosh Nair_1
Honored Contributor

Re: Installing PerfView on other than /opt.

Instead of a linke mount point, why not just create new filesystems under /opt/perf and /var/opt/perf. This way, you don't need to increase /opt and you also don't need to worry about /var getting filled with data from PerfView.


-Santosh
Life is what's happening while you're busy making other plans