Orcallator in solaris servers


 
Thread Tools Search this Thread
Operating Systems Solaris Orcallator in solaris servers
# 8  
Old 12-11-2008
Here are some notes that I made when I setup an orca server.
I done it a while ago, But it might still be of use to you.
I tried to make it a bit easier for you to read by using the code and quote tags....

I hope you find this info usefull.

Quote:
Set paths:
=======

Code:
PATH=/usr/xpg4/bin:/usr/sfw/bin:/usr/sfw/bin:/usr/perl5/bin:/usr/bin:/bin:/usr/sbin: \
     /sbin:/usr/ucb:/usr/local/bin:/usr/openwin/bin:/usr/dt/bin:/usr/apache/bin:     \
     /usr/sbin:/usr/local/bin:/usr/ccs/bin
LD_LIBRARY_PATH=/usr/sfw/gcc/lib:/usr/sfw/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib

Create link:
========

Code:
/usr/sfw/bin/cc -> ./gcc

Create the base directories:
====================

Code:
# mkdir /opt/orca
# mkdir -p /var/orca/rrd
# mkdir /var/orca/htdocs
# mkdir /var/orca/orcallator

Add the following pkg:
================

RICHPse

Configure Apache:
=============

copy the /etc/apache/httpd.conf-example to /etc/apache/httpd.conf
Change the following lines in this file:

Code:
Servername orcaserver                   # was 127.0.0.1
DocumentRoot “/var/orca/htdocs”		# was “/var/apache/htdocs”

# /etc/init.d/apache start


set up your NFS stuff. A sample:
========================

Code:
orcabox:/var/orca/htdocs     - /var/orca/htdocs     nfs - yes rw,bg,hard,intr,proto=udp
orcabox:/var/orca/rrd	     - /var/orca/rrd        nfs - yes rw,bg,hard,intr,proto=udp
orcabox:/var/orca/orcallator - /var/orca/orcallator nfs - yes rw,bg,hard,intr,proto=udp

These must be writable, so make sure you have space for N clients to store their data.

The first mount point is where the actual user-viewable stuff goes.
The second is where the orcallator output goes for rrd to work with.

Unroll the orca tarball (orca-0.27.tar.gz):
==============================

Assuming you've read all the docs that come with orca and laid everything out correctly,
copy and paste should work.

Code:
./configure --with-orcallator-dir=/var/orca/orcallator \
            --with-rrd-dir=/var/orca/rrd \
            --with-html-dir=/var/orca/htdocs \
            --prefix=/opt/orca

Edit the Makefiles:
=============

Changes in /var/orca/orca-0.27/packages/rrdtool-1.0.40/perl-shared/Makefile
---------------------------------------------------------------------------
Code:
CC = cc			TO	CC = gcc
CCCDLFLAGS = -KPIC	TO	CCCDLFLAGS = -fPIC
LD = cc			TO	LD = gcc

OPTIMIZE = -xO3 -xspace -xildoff	TO	OPTIMIZE = -O3
cc -E -c $(PASTHRU_INC) $(INC) \	TO	gcc -E -c $(PASTHRU_INC) $(INC) \


CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO
TO
CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8plus -D_TS_ERRNO


Changes in /var/orca/orca-0.27/packages/rrdtool-1.0.40/perl-piped/Makefile
-------------------------------------------------------------------------
Code:
CC = cc			TO	CC = gcc
LD = cc			TO	LD = gcc
CCCDLFLAGS = -KPIC	TO	CCCDLFLAGS = -fPIC

Run make:
=======

make test_modules install_modules install orcallator_run_at_boot

Edit /opt/orca/lib/orcallator.cfg:
=======================

Set the right path for find_files variable.

/var/orca/orcallator # was /opt/orca/var/orca/orcallator

Start orca:
========

Double-check your installation, looking over orcallator.cfg and start_orcallator.

If all looks well, ./start_orcallator in your $bindir.

This will get data written out to the NFS mount point you set up. Repeat this as
necessary across all the systems you want to orcallate.

On the hub machine, your orcabox in the vfstab entries above, you should now be
able to run orca:

# /opt/orca/bin/orca /opt/orca/lib/orcallator.cfg &

You can use the -v argument to get verbose output, if you like.

View the orca web page:
==================

http://orcaserver/orcallator

Some Links:
========

ORCA
[Orca-users] Installation procedure Orca server on Solaris 9
I have created solaris packages for the orca clients, so all I need to do for them is a pkgadd
Tornado
# 9  
Old 12-16-2008
Thanks for sending information.

I update all dependencies. Still we are getting same problem.
Am not understanding where it is error showing.
After complition of all dependencies above error has come.
For that what should i do?

Thanks in Adv.
# 10  
Old 12-17-2008
Nobody is going to understand what fails if you give no clue about which one(s) of the previous advices you followed and what errors still remains.
# 11  
Old 04-21-2009
I installed orcaware (including orcallator) onto a sun solaris system
(uname -a : SunOS xua0s058 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-15000 ) using the following packages:

orca-0.27.tar
podlators-2.2.2.tar
Pod-Simple-3.07.tar

These are the steps i followed:

1: unpack the orca-0.2.7.tar in a directory (/opt is a good option)
2: unpack the Pod-Simple-3.0.7.tar
3: unpack the podlators-2.2.2.tar
4: compile Pod-Simple-3.0.7 ( this will create the Simple module in perl)
5: compile podlators-2.2.2 (this wil create the pod2man, pod2html, pod2text etc.)
6: compile orca-0.2.7 using the following syntax: ./configure --prefix=/opt/ --with-html-dir=/opt/html/

This worked for me

Note: if you have problems with the make of orca using CC instead of gcc just create a soft link named cc to gcc.

Cheers,

Robby
# 12  
Old 04-21-2009
It's best to use the latest orca snapshot. It's also terribly difficult to compile Orca 0.27 under Solaris 10.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Ssh onto Solaris servers (which uses NIS)

Sys admin has provided me username and password and advised that solaris uses nis (and then I've been given hostnames). I've downloaded putty but it gives me authentication failure. Nothing special I have to do if its NIS authentication? (1 Reply)
Discussion started by: psychocandy
1 Replies

2. Solaris

Compare 2 Solaris 10 servers

Hi, I've two Solaris 10 installed with jumpstart about 3 month ago. Now, I need to compare the both servers to see if all the configurations, installed software and so on are identical. How to proceed? Should I check each file with diff or is it a quicker solution? Best regards, H. (2 Replies)
Discussion started by: hiddenshadow
2 Replies

3. IP Networking

Cant SSH Solaris servers

Hi all. Im working in a telco Environment and recently setup a new server. The other servers are a combination of Solaris + Linux machines. Using my new server , I can ping all other servers ( solaris + redhat linux ) but the issue lies where I try to ssh. I can only successfully ssh linux... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

4. Solaris

Backing up Solaris 10 servers

Got 5-6 Solaris 10 servers in remote location - power work being done. At the moment, we just back up the application database that these servers run with the idea that if it all goes wrong we can rebuild and then restore the application. However, requirement is to provide a complete backup... (3 Replies)
Discussion started by: paulfoel
3 Replies

5. UNIX for Dummies Questions & Answers

Is no LDAP unusual for 40+ solaris servers?

I am the new jr admin on a solaris team (2 people). We have over 40 solaris servers (v8 and v9) yet no LDAP to manage it all. Is this unusual? So, if we need to add a new user, we have to add him 40x. Thanks in advance ~R (1 Reply)
Discussion started by: abstractrick
1 Replies

6. Solaris

Audit in Solaris Servers.

Hi Friends I am a Solaries newbie and I am looking out for a software or command or config that can capture all commands run by all users on a server on a daily basis. I believe that this Audit is being done in almost all enterprises and would like to know how the same is done there. Any... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

7. Solaris

Windows AD for Sun Solaris Servers

Hi All I have a few sun servers(5.9) on xyz.com domain. I have to integrate these servers with the Windows AD of another domain,say abc.com. My sun servers should use the AD of abc.com for user authentication. I am thinking of implementing NIS. But not too sure whether it will work. Can... (3 Replies)
Discussion started by: efunds
3 Replies

8. Solaris

comparing 2 Solaris servers

hello has anyone built a script that compares 2 Solaris servers? CPU, memory, swap, memory variables in /etc/system, Solaris version Could you please advise on how to make such a comparaison? thanks (9 Replies)
Discussion started by: melanie_pfefer
9 Replies

9. Shell Programming and Scripting

compare 2 Solaris servers

hello I want to compare settings on 2 servers. 1] what is the command to ssh on servers and execute commands such as prtconf | grep Memory uname -a 2] Do you have a built-in script that executes this service? thanks. (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

10. UNIX for Dummies Questions & Answers

Print Servers compatible with Solaris

Does anyone have any advice on what print servers to use with Solaris I used to use intel but they dicontinued the model we used. I would just use lpadmin to set them up . Any advice on this would be very helpful. (2 Replies)
Discussion started by: xmildx
2 Replies
Login or Register to Ask a Question