Difference between revisions of "RCUG 2 Installing RootCause"

From OC Systems Wiki!
Jump to: navigation, search
m
m
Line 8: Line 8:
 
<!--  </div>  -->
 
<!--  </div>  -->
  
= Installing RootCause =
 
  
 
----
 
----
 
<!--  </div><div><div>  -->
 
 
<!-- header -->      {{FULLPAGENAME}}
 
 
 
rcc-5
 
rcc-5
  
<!--
+
<div id="LINK-02install_rc.fm-firstpage"></DIV>
<DIV>
+
<div id=HEADING5-0></DIV>
<A NAME=HEADING5></A>
+
<div id="UID-02install_rc.fm-864080"></DIV>
  
<DIV>
+
= Installing RootCause =
<P>
 
<A HREF=rcc-6.html>[Next]</A>
 
<A HREF=rcc-4.html>[Previous]</A>
 
<A HREF=rcc-1.html>[Top]</A>
 
<A HREF=rcc-3.html>[Contents]</A>
 
<A HREF=rcc-14.html>[Index]</A>
 
</P>  -->
 
<P>RootCause</P>
 
  
<!--  </DIV>  -->
 
<A NAME="LINK-02install_rc.fm-firstpage"></A>
 
<A NAME=HEADING5-0></A>
 
<A NAME="UID-02install_rc.fm-864080"></A>
 
<!--  <H1>  <A NAME=MARKER-9-205></A> Installing RootCause</H1>  -->
 
<HR>
 
 
----
 
----
  
 
<P> The RootCause product consists of two major components: the  
 
<P> The RootCause product consists of two major components: the  
<A NAME=MARKER-2-206></A>
+
<div id=MARKER-2-206></DIV>
 
RootCause Console and the  
 
RootCause Console and the  
<A NAME=MARKER-2-207></A>
+
<div id=MARKER-2-207></DIV>
 
RootCause Agent. The RootCause Console component allows you to create probes and examine the trace data generated by the probes. The RootCause Agent is the component that performs the actual runtime tracing and generates the trace data.</P>
 
RootCause Agent. The RootCause Console component allows you to create probes and examine the trace data generated by the probes. The RootCause Agent is the component that performs the actual runtime tracing and generates the trace data.</P>
  
Line 49: Line 29:
  
 
<P> The RootCause Agent may then be installed on all  
 
<P> The RootCause Agent may then be installed on all  
<A NAME=MARKER-2-208></A>
+
<div id=MARKER-2-208></DIV>
 
remote computers where RootCause will be deployed (i.e. where remote applications are to be traced by the RootCause product). Note that you may also install the RootCause Console component on any and all remote computers if you wish to develop probes and view their trace data  
 
remote computers where RootCause will be deployed (i.e. where remote applications are to be traced by the RootCause product). Note that you may also install the RootCause Console component on any and all remote computers if you wish to develop probes and view their trace data  
<A NAME=MARKER-2-209></A>
+
<div id=MARKER-2-209></DIV>
 
locally on the remote computers. </P>
 
locally on the remote computers. </P>
<A NAME=HEADING5-4></A>
+
<div id=HEADING5-4></DIV>
<A NAME="UID-02install_rc.fm-950100"></A>
+
<div id="UID-02install_rc.fm-950100"></DIV>
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-10-210></A>
+
<div id=MARKER-10-210></DIV>
<A NAME=MARKER-9-211></A>
+
<div id=MARKER-9-211></DIV>
 
Getting Help</H2>  -->
 
Getting Help</H2>  -->
 
== Getting Help ==
 
== Getting Help ==
Line 64: Line 44:
 
<CODE>
 
<CODE>
 
[mailto:support@ocsystems.com support@ocsystems.com]
 
[mailto:support@ocsystems.com support@ocsystems.com]
<!--  <A HREF="mailto:support@ocsystems.com">support@ocsystems.com</A>  -->
+
<!--  [["mailto:support@ocsystems.com">support@ocsystems.com</A>  -->
 
</CODE>  
 
</CODE>  
 
or by telephone at (703)359-8160.</P>
 
or by telephone at (703)359-8160.</P>
<A NAME=HEADING5-6></A>
+
<div id=HEADING5-6></DIV>
<A NAME="UID-02install_rc.fm-949456"></A>
+
<div id="UID-02install_rc.fm-949456"></DIV>
 
<!--  <H2> On-line Documentation</H2>  -->
 
<!--  <H2> On-line Documentation</H2>  -->
 
== On-line Documentation ==
 
== On-line Documentation ==
Line 75: Line 55:
  
 
<P> The user guides for both RootCause and Aprobe are available in HTML format  
 
<P> The user guides for both RootCause and Aprobe are available in HTML format  
<A NAME=MARKER-10-214></A>
+
<div id=MARKER-10-214></DIV>
 
at <CODE>$APROBE/html/index.html
 
at <CODE>$APROBE/html/index.html
<A NAME=MARKER-10-215></A>
+
<div id=MARKER-10-215></DIV>
 
</CODE>, and on the web at  
 
</CODE>, and on the web at  
<BR><CODE><A HREF="http://www.ocsystems.com/sup_ug_index.html">http://www.ocsystems.com/sup_ug_index.html</A></CODE>.</P>
+
<BR><CODE>[["http://www.ocsystems.com/sup_ug_index.html">http://www.ocsystems.com/sup_ug_index.html</A></CODE>.</P>
  
 
<P> The RootCause user guide is available in  
 
<P> The RootCause user guide is available in  
<A NAME=MARKER-2-218></A>
+
<div id=MARKER-2-218></DIV>
 
PDF, in  
 
PDF, in  
 
<BR>$<CODE>APROBE/RootCauseCpp.pdf</CODE>
 
<BR>$<CODE>APROBE/RootCauseCpp.pdf</CODE>
<A NAME=MARKER-10-219></A>.</P>
+
<div id=MARKER-10-219></DIV>.</P>
<A NAME=HEADING5-10></A>
+
<div id=HEADING5-10></DIV>
<A NAME="UID-02install_rc.fm-953259"></A>
+
<div id="UID-02install_rc.fm-953259"></DIV>
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-9-220></A>
+
<div id=MARKER-9-220></DIV>
 
System Requirements</H2>  -->
 
System Requirements</H2>  -->
 
== System Requirements ==
 
== System Requirements ==
  
 
<P> RootCause interacts very closely with the hardware, the operating system and the compiler
 
<P> RootCause interacts very closely with the hardware, the operating system and the compiler
<A NAME=MARKER-10-221></A>  
+
<div id=MARKER-10-221></DIV>  
 
on your machine. Furthermore, RootCause itself requires a C compiler in order to generate probe actions. This section identifies the specific requirements in these areas. Read this carefully, and contact OC Systems if you have questions.</P>
 
on your machine. Furthermore, RootCause itself requires a C compiler in order to generate probe actions. This section identifies the specific requirements in these areas. Read this carefully, and contact OC Systems if you have questions.</P>
  
 
<P>  
 
<P>  
<A NAME=MARKER-10-222></A>
+
<div id=MARKER-10-222></DIV>
 
RootCause for Unix is currently supported on the AIX, Linux, and Solaris operating systems. On each operating system, specific compilers and Java versions are supported. Details are given below:</P>
 
RootCause for Unix is currently supported on the AIX, Linux, and Solaris operating systems. On each operating system, specific compilers and Java versions are supported. Details are given below:</P>
 
<!--  <H3>  
 
<!--  <H3>  
<A NAME=MARKER-2-223></A>
+
<div id=MARKER-2-223></DIV>
 
AIX</H3>  -->
 
AIX</H3>  -->
 
=== AIX ===
 
=== AIX ===
Line 125: Line 105:
 
<LI><P>AIX Version 5.1 or newer is required to run the RootCause Console Java GUI and any other tools that operate on a RootCause  
 
<LI><P>AIX Version 5.1 or newer is required to run the RootCause Console Java GUI and any other tools that operate on a RootCause  
 
[[RCUG_3_Terminology_and_Concepts|CHAPTER 3 - Terminology and Concepts]]
 
[[RCUG_3_Terminology_and_Concepts|CHAPTER 3 - Terminology and Concepts]]
[]<A HREF="rcc-6.html#MARKER-9-482">workspace</A>. </P>
+
[][["rcc-6.html#MARKER-9-482">workspace</A>. </P>
  
 
<LI><P>The underlying Aprobe command-line facility works on AIX versions 4.2 and newer. </P>
 
<LI><P>The underlying Aprobe command-line facility works on AIX versions 4.2 and newer. </P>
Line 147: Line 127:
  
 
<LI><P>IBM C,  
 
<LI><P>IBM C,  
<A NAME=MARKER-2-224></A>
+
<div id=MARKER-2-224></DIV>
 
C++ for AIX (xlc, xlC) version 3.1 or newer.</P>
 
C++ for AIX (xlc, xlC) version 3.1 or newer.</P>
  
 
<LI><P>
 
<LI><P>
<A NAME=MARKER-2-225></A>
+
<div id=MARKER-2-225></DIV>
 
EGCS GCC version 2.95.x or 2.96.</P>
 
EGCS GCC version 2.95.x or 2.96.</P>
  
 
<LI><P>
 
<LI><P>
<A NAME=MARKER-2-226></A>
+
<div id=MARKER-2-226></DIV>
 
GCC version 3.x is only <EM>partially</EM> supported. In particular:<BR>GCC must be configured to generate <EM>stab</EM> format debug information, or programs compiled with the <B>-gstabs</B> option, in order for RootCause and Aprobe to resolve source line and variable references.</P>
 
GCC version 3.x is only <EM>partially</EM> supported. In particular:<BR>GCC must be configured to generate <EM>stab</EM> format debug information, or programs compiled with the <B>-gstabs</B> option, in order for RootCause and Aprobe to resolve source line and variable references.</P>
 
</UL>
 
</UL>
Line 167: Line 147:
  
 
<!--  <H3>  
 
<!--  <H3>  
<A NAME=MARKER-10-227></A><A NAME=MARKER-2-228></A>
+
<div id=MARKER-10-227></DIV><div id=MARKER-2-228></DIV>
 
Linux</H3>  -->
 
Linux</H3>  -->
 
=== Linux ===
 
=== Linux ===
Line 188: Line 168:
  
 
<P>  
 
<P>  
<A NAME=MARKER-2-229></A>
+
<div id=MARKER-2-229></DIV>
 
Korn shell (/usr/bin/ksh
 
Korn shell (/usr/bin/ksh
<A NAME=MARKER-2-230></A>
+
<div id=MARKER-2-230></DIV>
 
) must be installed in order to install RootCause.</P>
 
) must be installed in order to install RootCause.</P>
  
Line 220: Line 200:
  
 
<!--  <H3>  
 
<!--  <H3>  
<A NAME=MARKER-10-231></A><A NAME=MARKER-2-232></A>
+
<div id=MARKER-10-231></DIV><div id=MARKER-2-232></DIV>
 
Solaris</H3>  -->
 
Solaris</H3>  -->
 
=== Solaris ===
 
=== Solaris ===
Line 249: Line 229:
 
<!--
 
<!--
 
<LI><P>For Solaris version 5.5.1, patch 103627-08 is required. Patches may be downloaded from  
 
<LI><P>For Solaris version 5.5.1, patch 103627-08 is required. Patches may be downloaded from  
<A HREF="http://sunsolve.sun.com/">http://sunsolve.sun.com/</A>.</P>
+
[["http://sunsolve.sun.com/">http://sunsolve.sun.com/</A>.</P>
 
-->
 
-->
 
</UL>
 
</UL>
Line 263: Line 243:
  
 
<LI><P>
 
<LI><P>
<A NAME=MARKER-2-235></A>
+
<div id=MARKER-2-235></DIV>
 
GCC version 2.8.1 or higher</P>
 
GCC version 2.8.1 or higher</P>
  
Line 274: Line 254:
  
 
<LI><P>Sun Workshop (Forte) C/
 
<LI><P>Sun Workshop (Forte) C/
<A NAME=MARKER-2-236></A>
+
<div id=MARKER-2-236></DIV>
 
C++, version 4.2 or newer.</P>
 
C++, version 4.2 or newer.</P>
  
 
<LI><P>
 
<LI><P>
<A NAME=MARKER-2-237></A>
+
<div id=MARKER-2-237></DIV>
 
EGCS GCC version 2.95.x or 2.96.</P>
 
EGCS GCC version 2.95.x or 2.96.</P>
  
Line 290: Line 270:
 
<LI><P>GNAT version 3.15 or newer.</P>
 
<LI><P>GNAT version 3.15 or newer.</P>
 
</UL>
 
</UL>
<A NAME=HEADING5-70></A>
+
<div id=HEADING5-70></DIV>
<A NAME="UID-02install_rc.fm-988492"></A>
+
<div id="UID-02install_rc.fm-988492"></DIV>
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-10-238></A>
+
<div id=MARKER-10-238></DIV>
<A NAME=MARKER-9-239></A>
+
<div id=MARKER-9-239></DIV>
 
Reading the CD</H2>  -->
 
Reading the CD</H2>  -->
 
== Reading the CD ==
 
== Reading the CD ==
  
 
<P> The  
 
<P> The  
<A NAME=MARKER-2-240></A>
+
<div id=MARKER-2-240></DIV>
 
CD-ROM is mounted as a file system, and once mounted is read just like a hard disk. Depending on the configuration of your system, you may need root (superuser) privileges to access or change your CD device. If you don't have access to a CD-ROM device, you can request a downloadable version from  
 
CD-ROM is mounted as a file system, and once mounted is read just like a hard disk. Depending on the configuration of your system, you may need root (superuser) privileges to access or change your CD device. If you don't have access to a CD-ROM device, you can request a downloadable version from  
<CODE><A HREF="mailto:support@ocsystems.com">support@ocsystems.com</A></CODE>.</P>
+
<CODE>[["mailto:support@ocsystems.com">support@ocsystems.com</A></CODE>.</P>
  
 
<!--  <H3> AIX</H3>  -->
 
<!--  <H3> AIX</H3>  -->
Line 320: Line 300:
  
 
<!--  <H3>  
 
<!--  <H3>  
<A NAME=MARKER-2-243></A>
+
<div id=MARKER-2-243></DIV>
 
Linux</H3>  -->
 
Linux</H3>  -->
 
=== Linux ===
 
=== Linux ===
Line 327: Line 307:
  
 
<!--  <H3>  
 
<!--  <H3>  
<A NAME=MARKER-2-244></A>
+
<div id=MARKER-2-244></DIV>
 
Solaris</H3>  -->
 
Solaris</H3>  -->
 
=== Solaris ===
 
=== Solaris ===
  
 
<P> Solaris should automatically mount the CD-ROM when you place it in the drive. You should see it at <CODE>/cdrom/cdrom</CODE>. If you have more than one CD drive in your system you will have <CODE>/cdrom/cdrom0</CODE>, <CODE>/cdrom/cdrom1</CODE>, etc. so just pick the correct one.</P>
 
<P> Solaris should automatically mount the CD-ROM when you place it in the drive. You should see it at <CODE>/cdrom/cdrom</CODE>. If you have more than one CD drive in your system you will have <CODE>/cdrom/cdrom0</CODE>, <CODE>/cdrom/cdrom1</CODE>, etc. so just pick the correct one.</P>
<A NAME=HEADING5-81></A>
+
<div id=HEADING5-81></DIV>
<A NAME="UID-02install_rc.fm-988509"></A>
+
<div id="UID-02install_rc.fm-988509"></DIV>
  
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-9-245></A>
+
<div id=MARKER-9-245></DIV>
 
Installing From A Compressed Tar File</H2>  -->
 
Installing From A Compressed Tar File</H2>  -->
 
== Installing From A Compressed Tar File ==
 
== Installing From A Compressed Tar File ==
Line 366: Line 346:
 
</OL>
 
</OL>
  
<A NAME=HEADING5-92></A>
+
<div id=HEADING5-92></DIV>
<A NAME="UID-02install_rc.fm-988520"></A>
+
<div id="UID-02install_rc.fm-988520"></DIV>
 
<!--  <H2> Preparing to Install</H2>  -->
 
<!--  <H2> Preparing to Install</H2>  -->
 
== Preparing to Install ==
 
== Preparing to Install ==
Line 386: Line 366:
  
 
<LI><P>
 
<LI><P>
<A NAME=MARKER-2-246></A>
+
<div id=MARKER-2-246></DIV>
 
RootCause should not be installed in place of an existing installation unless it is compatible (the first two digits of the version number match). Otherwise, existing probes and workspaces will need to be rebuilt.</P>
 
RootCause should not be installed in place of an existing installation unless it is compatible (the first two digits of the version number match). Otherwise, existing probes and workspaces will need to be rebuilt.</P>
 
</UL>
 
</UL>
  
 
<LI><P>Determine whether you're using RootCause for C++ or for Java. If you're reading this manual, you're probably using just C++
 
<LI><P>Determine whether you're using RootCause for C++ or for Java. If you're reading this manual, you're probably using just C++
<A NAME=MARKER-10-247></A>
+
<div id=MARKER-10-247></DIV>
 
</P>
 
</P>
  
Line 399: Line 379:
  
 
<LI><P>See  
 
<LI><P>See  
<A HREF="#MARKER-9-220">"System Requirements"</A>  
+
[["#MARKER-9-220">"System Requirements"</A>  
 
for a list of suitable compilers. A C compiler is required for building the probes that RootCause will create.</P>
 
for a list of suitable compilers. A C compiler is required for building the probes that RootCause will create.</P>
  
Line 410: Line 390:
  
 
<P>You can complete the RootCause installation process without a license key, but you'll have to install the key manually later (see  
 
<P>You can complete the RootCause installation process without a license key, but you'll have to install the key manually later (see  
<A HREF="#MARKER-9-263">"License Key Installation"</A>).</P>
+
[["#MARKER-9-263">"License Key Installation"</A>).</P>
 
</OL>
 
</OL>
  
 
<P> You are now ready to run the installation script and reply to its prompts about the installation directory, C compiler, and license key with the selections made above.</P>
 
<P> You are now ready to run the installation script and reply to its prompts about the installation directory, C compiler, and license key with the selections made above.</P>
  
<A NAME=HEADING5-107></A>
+
<div id=HEADING5-107></DIV>
<A NAME="UID-02install_rc.fm-988543"></A>
+
<div id="UID-02install_rc.fm-988543"></DIV>
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-9-248></A>
+
<div id=MARKER-9-248></DIV>
 
RootCause Console Installation</H2>  -->
 
RootCause Console Installation</H2>  -->
 
== RootCause Console Installation ==
 
== RootCause Console Installation ==
Line 428: Line 408:
  
 
<P> where /cd0 represents the CD-ROM directory described under  
 
<P> where /cd0 represents the CD-ROM directory described under  
<A HREF="#MARKER-9-239">&quot;Reading the CD&quot;</A>,  
+
[["#MARKER-9-239">&quot;Reading the CD&quot;</A>,  
 
or else </P>
 
or else </P>
 
<code>
 
<code>
Line 435: Line 415:
  
 
<P> as described in  
 
<P> as described in  
<A HREF="#MARKER-9-245">&quot;Installing From A Compressed Tar File&quot;</A></P>
+
[["#MARKER-9-245">&quot;Installing From A Compressed Tar File&quot;</A></P>
  
 
<P>  It will ask you to make a few choices, including the directory location where you wish to install RootCause. It also asks for the license that was supplied by OC Systems. If you do not have a license, contact  
 
<P>  It will ask you to make a few choices, including the directory location where you wish to install RootCause. It also asks for the license that was supplied by OC Systems. If you do not have a license, contact  
<CODE><A HREF="mailto:support@ocsystems.com">support@ocsystems.com</A></CODE>.</P>
+
<CODE>[["mailto:support@ocsystems.com">support@ocsystems.com</A></CODE>.</P>
  
 
<P> If you have problems with installing RootCause, you may want to read further in this section, otherwise, you are ready to run the  
 
<P> If you have problems with installing RootCause, you may want to read further in this section, otherwise, you are ready to run the  
 
[[RCUG_5_RootCause_Demo|&quot;RootCause Demo&quot;]]
 
[[RCUG_5_RootCause_Demo|&quot;RootCause Demo&quot;]]
[]<A HREF="rcc-8.html#MARKER-9-707">"RootCause Demo"</A>.</P>
+
[][["rcc-8.html#MARKER-9-707">"RootCause Demo"</A>.</P>
  
<A NAME=HEADING5-115></A>
+
<div id=HEADING5-115></DIV>
<A NAME="UID-02install_rc.fm-988563"></A>
+
<div id="UID-02install_rc.fm-988563"></DIV>
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-9-251></A>
+
<div id=MARKER-9-251></DIV>
 
RootCause Agent Installation</H2>  -->
 
RootCause Agent Installation</H2>  -->
 
== RootCause Agent Installation ==
 
== RootCause Agent Installation ==
  
 
<P> This section is only applicable if you want to install only the  
 
<P> This section is only applicable if you want to install only the  
<A NAME=MARKER-2-252></A>
+
<div id=MARKER-2-252></DIV>
 
RootCause Agent component without installing the RootCause Console. This means that you wish to  
 
RootCause Agent component without installing the RootCause Console. This means that you wish to  
<A NAME=MARKER-2-253></A>
+
<div id=MARKER-2-253></DIV>
 
deploy RootCause to a  
 
deploy RootCause to a  
<A NAME=MARKER-2-254></A>
+
<div id=MARKER-2-254></DIV>
 
remote computer, and will be creating probes for the remote computer and viewing the remotely collected probe data using the RootCause Console component located on a  
 
remote computer, and will be creating probes for the remote computer and viewing the remotely collected probe data using the RootCause Console component located on a  
<A NAME=MARKER-2-255></A>
+
<div id=MARKER-2-255></DIV>
 
local computer.</P>
 
local computer.</P>
  
Line 480: Line 460:
 
<P> Note that you will <EM>not</EM> be prompted for a license during installation. When you create a deployable workspace (a <CODE>.dply</CODE> file) using the RootCause Console, it should contain an agent license (provided you have purchased one or more from OC Systems) that allows you to run the RootCause Agent product on remote computers.</P>
 
<P> Note that you will <EM>not</EM> be prompted for a license during installation. When you create a deployable workspace (a <CODE>.dply</CODE> file) using the RootCause Console, it should contain an agent license (provided you have purchased one or more from OC Systems) that allows you to run the RootCause Agent product on remote computers.</P>
  
<A NAME=HEADING5-126></A>
+
<div id=HEADING5-126></DIV>
<A NAME="UID-02install_rc.fm-988578"></A>
+
<div id="UID-02install_rc.fm-988578"></DIV>
 
<!--  <H2> Uninstalling RootCause</H2>  -->
 
<!--  <H2> Uninstalling RootCause</H2>  -->
 
== Uninstalling RootCause ==
 
== Uninstalling RootCause ==
Line 489: Line 469:
 
<P> The <CODE>~/.rootcause</CODE>  (or <CODE>~/.rootcause_aix</CODE> or <CODE>~/.rootcause_linux</CODE>)  <CODE>d</CODE>irectory, and the individual workspace (<CODE>.aws</CODE>) directories, are considered to be user data, not part of the RootCause installation itself. If you delete the <CODE>~/.rootcause* </CODE>directory (or any directory referenced by the <CODE>
 
<P> The <CODE>~/.rootcause</CODE>  (or <CODE>~/.rootcause_aix</CODE> or <CODE>~/.rootcause_linux</CODE>)  <CODE>d</CODE>irectory, and the individual workspace (<CODE>.aws</CODE>) directories, are considered to be user data, not part of the RootCause installation itself. If you delete the <CODE>~/.rootcause* </CODE>directory (or any directory referenced by the <CODE>
  
<A NAME=MARKER-2-256></A>
+
<div id=MARKER-2-256></DIV>
 
$APROBE_HOME</CODE>, <CODE>
 
$APROBE_HOME</CODE>, <CODE>
<A NAME=MARKER-2-257></A>
+
<div id=MARKER-2-257></DIV>
 
$APROBE_LOG</CODE> or <CODE>
 
$APROBE_LOG</CODE> or <CODE>
<A NAME=MARKER-2-258></A>
+
<div id=MARKER-2-258></DIV>
 
$APROBE_REGISTRY</CODE> environment variables) you must re-run the &quot;setup&quot; scripts as described in  
 
$APROBE_REGISTRY</CODE> environment variables) you must re-run the &quot;setup&quot; scripts as described in  
 
[[RCUG_4_Getting_Started|Chapter 4, &quot;Getting Started&quot;]]
 
[[RCUG_4_Getting_Started|Chapter 4, &quot;Getting Started&quot;]]
[]<A HREF="rcc-7.html#MARKER-9-508">Chapter 4, &quot;Getting Started&quot;</A>.</P>
+
[][["rcc-7.html#MARKER-9-508">Chapter 4, &quot;Getting Started&quot;</A>.</P>
<A NAME=HEADING5-129></A>
+
<div id=HEADING5-129></DIV>
<A NAME="UID-02install_rc.fm-986794"></A>
+
<div id="UID-02install_rc.fm-986794"></DIV>
 
<!--  <H2>  
 
<!--  <H2>  
<A NAME=MARKER-9-259></A>
+
<div id=MARKER-9-259></DIV>
 
Licensing</H2>  -->
 
Licensing</H2>  -->
  
Line 506: Line 486:
  
 
<P> The accompanying  
 
<P> The accompanying  
<A NAME=MARKER-2-260></A>
+
<div id=MARKER-2-260></DIV>
 
license agreement describes the terms under which RootCause may be legally used. OC Systems protects its products from illegitimate use by implementing license agreement checks in its software. </P>
 
license agreement describes the terms under which RootCause may be legally used. OC Systems protects its products from illegitimate use by implementing license agreement checks in its software. </P>
  
 
<P> Licensed use of RootCause is checked by the software using the  
 
<P> Licensed use of RootCause is checked by the software using the  
<A NAME=MARKER-2-261></A>
+
<div id=MARKER-2-261></DIV>
 
FLEXlm licensing system from Globetrotter Software.</P>
 
FLEXlm licensing system from Globetrotter Software.</P>
  
 
<P> RootCause is packaged as <EM>RootCause for Java</EM> and <EM>RootCause for C++.</EM> This is the user's guide for the  
 
<P> RootCause is packaged as <EM>RootCause for Java</EM> and <EM>RootCause for C++.</EM> This is the user's guide for the  
<A NAME=MARKER-10-262></A>
+
<div id=MARKER-10-262></DIV>
 
<EM>C++</EM> version only. The differences in features between <EM>RootCause for Java</EM> and <EM>RootCause for C++</EM> are determined solely by the license key(s) you are issued by OC Systems.</P>
 
<EM>C++</EM> version only. The differences in features between <EM>RootCause for Java</EM> and <EM>RootCause for C++</EM> are determined solely by the license key(s) you are issued by OC Systems.</P>
 
<!--  <H3> Obtaining License Keys</H3>  -->
 
<!--  <H3> Obtaining License Keys</H3>  -->
Line 522: Line 502:
  
 
<!--  <H3>  
 
<!--  <H3>  
<A NAME=MARKER-9-263></A>
+
<div id=MARKER-9-263></DIV>
 
License Key Installation</H3>  -->
 
License Key Installation</H3>  -->
 
=== License Key Installation ===
 
=== License Key Installation ===
  
 
<P> License keys are shipped in either "decimal" or "text" format. The decimal license string can be supplied by the user when prompted during the RootCause product installation process (see  
 
<P> License keys are shipped in either "decimal" or "text" format. The decimal license string can be supplied by the user when prompted during the RootCause product installation process (see  
<A HREF="#MARKER-9-248">&quot;RootCause Console Installation&quot;</A>  
+
[["#MARKER-9-248">&quot;RootCause Console Installation&quot;</A>  
 
above).</P>
 
above).</P>
  
 
<P> Entering an empty license string will postpone the license installation, which will have to be done manually by editing the <CODE>
 
<P> Entering an empty license string will postpone the license installation, which will have to be done manually by editing the <CODE>
<A NAME=MARKER-10-264></A>
+
<div id=MARKER-10-264></DIV>
 
$APROBE/
 
$APROBE/
<A NAME=MARKER-10-265></A>
+
<div id=MARKER-10-265></DIV>
<A NAME=MARKER-10-266></A>
+
<div id=MARKER-10-266></DIV>
 
licenses/
 
licenses/
<A NAME=MARKER-10-267></A>
+
<div id=MARKER-10-267></DIV>
 
license.dat</CODE> file and entering either the decimal or human-readable form of the license key.</P>
 
license.dat</CODE> file and entering either the decimal or human-readable form of the license key.</P>
  
 
<P> For more information on the license key installation and license management refer to the FLEXlm End-User Manual that can be found in PDF or HTML format in <CODE>$APROBE/licenses
 
<P> For more information on the license key installation and license management refer to the FLEXlm End-User Manual that can be found in PDF or HTML format in <CODE>$APROBE/licenses
<A NAME=MARKER-10-268></A></CODE>  
+
<div id=MARKER-10-268></DIV></CODE>  
 
or contact OC Systems as described in  
 
or contact OC Systems as described in  
<A HREF="#MARKER-9-211">&quot;Getting Help&quot;</A>.</P>
+
[["#MARKER-9-211">&quot;Getting Help&quot;</A>.</P>
<A NAME="LINK-02install_rc.fm-lastpage"></A>
+
<div id="LINK-02install_rc.fm-lastpage"></DIV>
 
<!--  </DIV>  -->
 
<!--  </DIV>  -->
  
Line 550: Line 530:
 
<HR>
 
<HR>
 
<P>
 
<P>
<A HREF=rcc-6.html>[Next]</A>  
+
[[rcc-6.html>[Next]</A>  
<A HREF=rcc-4.html>[Previous]</A>  
+
[[rcc-4.html>[Previous]</A>  
<A HREF=rcc-1.html>[Top]</A>  
+
[[rcc-1.html>[Top]</A>  
<A HREF=rcc-3.html>[Contents]</A>  
+
[[rcc-3.html>[Contents]</A>  
<A HREF=rcc-14.html>[Index]</A>
+
[[rcc-14.html>[Index]</A>
 
</P>
 
</P>
 
<P></P>
 
<P></P>

Revision as of 04:40, 15 September 2017


Next Previous Index Top

RootCause User Guide



rcc-5

Installing RootCause


The RootCause product consists of two major components: the

RootCause Console and the

RootCause Agent. The RootCause Console component allows you to create probes and examine the trace data generated by the probes. The RootCause Agent is the component that performs the actual runtime tracing and generates the trace data.

Every user of RootCause will install the RootCause Console and the RootCause Agent on a local computer in order to be able to create probes and view probe data for the local computer as well as remote computers.

The RootCause Agent may then be installed on all

remote computers where RootCause will be deployed (i.e. where remote applications are to be traced by the RootCause product). Note that you may also install the RootCause Console component on any and all remote computers if you wish to develop probes and view their trace data

locally on the remote computers.

Getting Help

If something is missing, or you need a different media format, or you have any other installation or configuration problems, please contact OC Systems by internet at support@ocsystems.com or by telephone at (703)359-8160.

On-line Documentation

After you've installed RootCause, you can use your HTML browser and the Console's Help menu to view detailed information about use of the product.

The user guides for both RootCause and Aprobe are available in HTML format

at $APROBE/html/index.html

, and on the web at


[["http://www.ocsystems.com/sup_ug_index.html">http://www.ocsystems.com/sup_ug_index.html</A>.

The RootCause user guide is available in

PDF, in
$APROBE/RootCauseCpp.pdf

.

System Requirements

RootCause interacts very closely with the hardware, the operating system and the compiler

on your machine. Furthermore, RootCause itself requires a C compiler in order to generate probe actions. This section identifies the specific requirements in these areas. Read this carefully, and contact OC Systems if you have questions.

RootCause for Unix is currently supported on the AIX, Linux, and Solaris operating systems. On each operating system, specific compilers and Java versions are supported. Details are given below:

AIX

AIX Hardware requirements

  • a POWER or PowerPC architecture workstation

  • Approximately 120 megabytes of disk space for a RootCause Console installation; about 7 megabytes for the RootCause Agent alone.

  • At least 128 megabytes of RAM.

  • A display supporting 256 or more colors.

AIX Operating System Requirements

  • AIX Version 5.1 or newer is required to run the RootCause Console Java GUI and any other tools that operate on a RootCause CHAPTER 3 - Terminology and Concepts [][["rcc-6.html#MARKER-9-482">workspace</A>.

  • The underlying Aprobe command-line facility works on AIX versions 4.2 and newer.

AIX Compiler Requirements

A C compiler is required to build non-Java probes. This compiler is selected at installation time and may be one of the following:

  • IBM C for AIX (xlc) version 3.1 or newer.

  • GCC version 2.8.1 or higher

Probing of C/C++ applications is supported for applications compiled with any of the following compilers:

  • IBM C,

    C++ for AIX (xlc, xlC) version 3.1 or newer.

  • EGCS GCC version 2.95.x or 2.96.

  • GCC version 3.x is only partially supported. In particular:
    GCC must be configured to generate stab format debug information, or programs compiled with the -gstabs option, in order for RootCause and Aprobe to resolve source line and variable references.

Probing of Ada applications is supported for applications compiled with:

  • OC Systems PowerAda, version 5.0 or newer.

Linux

Linux Hardware requirements

Any modern Intel Pentium-based computer.

Approximately 120 megabytes of disk space for a RootCause Console installation; about 7 megabytes for the RootCause Agent alone.

At least 128 megabytes of RAM.

A display supporting 256 or more colors.

Linux Operating System Requirements

Red Hat Linux 7.1 or later, with a version 2.4 kernel or later.

Korn shell (/usr/bin/ksh

) must be installed in order to install RootCause.

Linux Compiler Requirements

A C compiler is required to build non-Java probes. This compiler is selected at installation time and may be one of the following:

  • GCC version 2.95.x or 2.96.

Probing of C/C++ applications is supported for applications compiled with any of the following compilers:

  • EGCS GCC version 2.95.x or 2.96.

  • GCC version 3.x (the default on Red Hat 8) is only partially supported.
    In particular: GCC must be configured to generate stab format debug information, or progrrams compiled with the -gstabs option, in order for RootCause and Aprobe to resolve source line and variable references.

Probing of Ada applications is supported for applications compiled with:

  • OC Systems PowerAda, version 5.0 or newer.

Solaris

Solaris Hardware requirements

  • Sparc & UltraSparc, by Sun Microsystems

  • Approximately 140 megabytes of disk space for a RootCause Console installation; about 7 megabytes for the RootCause Agent alone.

  • At least 128 megabytes of RAM.

  • A display supporting 256 or more colors.

Solaris Operating System Requirements

  • Solaris 2.5.1 / SunOS 5.5.1 or higher

  • We recommend Solaris 8 or newer since that supports the preferred Java interpreter used by the RootCause Console GUI.

Solaris Compiler Requirements

A C compiler is required to build non-Java probes. This compiler is selected at installation time and may be one of the following:

  • Sun Workshop C version 4.2 or higher; or

  • GCC version 2.8.1 or higher

  • NOTE: /usr/ucb/bin/cc may not be used.

Probing of C/C++ applications is supported for applications compiled with any of the following compilers:

  • Sun Workshop (Forte) C/

    C++, version 4.2 or newer.

  • EGCS GCC version 2.95.x or 2.96.

  • GCC version 3.x is only partially supported. In particular:
    GCC must be configured to generate stab format debug information, or programs compiled with the -gstabs option, in order for RootCause and Aprobe to resolve source line and variable references.

Probing of Ada applications is supported for applications compiled with:

  • GNAT version 3.15 or newer.

Reading the CD

The

CD-ROM is mounted as a file system, and once mounted is read just like a hard disk. Depending on the configuration of your system, you may need root (superuser) privileges to access or change your CD device. If you don't have access to a CD-ROM device, you can request a downloadable version from

[["mailto:support@ocsystems.com">support@ocsystems.com</A>.

AIX

On AIX, insert the Aprobe CD-ROM into the CD drive. Then, on the system containing the CD drive, mount the CD as a filesystem. If the mount is already defined (it probably is) then you can just remount it:

$ /etc/mount /cd0

Otherwise you'll have to create a directory and mount it there, which will require root privileges:

$ mkdir /cd0
$ /etc/mount -r -v cdrfs /dev/cd0 /cd0

Linux

Linux should automatically mount the CD-ROM when you place it in the drive. You should see it at /dev/cd.

Solaris

Solaris should automatically mount the CD-ROM when you place it in the drive. You should see it at /cdrom/cdrom. If you have more than one CD drive in your system you will have /cdrom/cdrom0, /cdrom/cdrom1, etc. so just pick the correct one.

Installing From A Compressed Tar File

If your CD-ROM drive is on a separate machine from where you want to install you may copy the file rootcause_install_image.tar.Z from the CD to disk, then ftp that to the desired machine.

Or, you may have downloaded RootCause from OC Systems directly, in a file such as RCSol205.tar.Z.

In either case, you may perform the following steps:

  1. Copy the .tar.Z file where you wish to install it.

  2. Execute the command:

    uncompress -c rootcause_install_image.tar.Z | tar -xvf -

  3. This will create a new directory, e.g., rootcause_install_image/.
    You may rename this if you prefer a different name.

  4. Follow the instructions below, except that you may install "in place", by

    • starting in the top directory (e.g., rootcause_install_image/), and

    • specifying "." as the installation directory.

Preparing to Install

Once you can read the CD-ROM, the next step is to decide where to install its contents on your hard disk:

  1. Examine the README file on the CD-ROM for updates to the installation process and the user guide.

  2. Determine where on disk you want to install RootCause.

    • Choose a new directory which will be visible to all potential users, and which has sufficient disk space. For the full installation you will need about 140 Megabytes of space.

    • You do not need to have root privileges to do the installation unless you need those privileges to write into the selected directory.

    • RootCause should not be installed in place of an existing installation unless it is compatible (the first two digits of the version number match). Otherwise, existing probes and workspaces will need to be rebuilt.

  3. Determine whether you're using RootCause for C++ or for Java. If you're reading this manual, you're probably using just C++

  4. Determine which C compiler will be used during the installation.

    • See [["#MARKER-9-220">"System Requirements"</A> for a list of suitable compilers. A C compiler is required for building the probes that RootCause will create.

    • The installation script will prompt you to state or verify the full path name of the C compiler to be used during installation. This need not be the same compiler you will use to build your application(s). Rather it will be used just to compile the APC source code that describes the generated probes.

    • If a suitable C compiler is in your executable PATH, the install script will offer it as the default compiler. The GCC compiler will be chosen only if no supported cc compiler is found.

  5. Have a RootCause license key ready. If possible, use your mouse to copy the key from another window on your screen so you can simply paste it at the prompt during installation.

    You can complete the RootCause installation process without a license key, but you'll have to install the key manually later (see [["#MARKER-9-263">"License Key Installation"</A>).

You are now ready to run the installation script and reply to its prompts about the installation directory, C compiler, and license key with the selections made above.

RootCause Console Installation

RootCause is shipped on CD-ROM. You install RootCause by loading the CD-ROM and running the install_rootcause script found on the CD-ROM, for example:

/cd0/install_rootcause

where /cd0 represents the CD-ROM directory described under [["#MARKER-9-239">"Reading the CD"</A>, or else

rootcause_install_image/install_rootcause

as described in [["#MARKER-9-245">"Installing From A Compressed Tar File"</A>

It will ask you to make a few choices, including the directory location where you wish to install RootCause. It also asks for the license that was supplied by OC Systems. If you do not have a license, contact [["mailto:support@ocsystems.com">support@ocsystems.com</A>.

If you have problems with installing RootCause, you may want to read further in this section, otherwise, you are ready to run the "RootCause Demo" [][["rcc-8.html#MARKER-9-707">"RootCause Demo"</A>.

RootCause Agent Installation

This section is only applicable if you want to install only the

RootCause Agent component without installing the RootCause Console. This means that you wish to

deploy RootCause to a

remote computer, and will be creating probes for the remote computer and viewing the remotely collected probe data using the RootCause Console component located on a

local computer.

The RootCause Agent installation package is contained in file
deploy/rootcause_agent.tar.Z located on the RootCause CD and also in a a RootCause Console installation.

To install the RootCause Agent on a remote computer, follow these steps:

  1. Transfer file rootcause_agent.tar.Z to the remote computer.

  2. Uncompress and un-tar the file, which will create the directory rootcause_agent:

    uncompress -c rootcause_agent.tar.Z | tar -xvf -

  3. Run the install_rootcause script:

    rootcause_agent/install_rootcause

During RootCause Agent installation, you will be prompted for a writable directory into which the product will be installed. You may choose to install the product in place (i.e., under the rootcause_agent directory you just created), or install it into an entirely different directory. We recommend that you install the product on a local disk.

Note that you will not be prompted for a license during installation. When you create a deployable workspace (a .dply file) using the RootCause Console, it should contain an agent license (provided you have purchased one or more from OC Systems) that allows you to run the RootCause Agent product on remote computers.

Uninstalling RootCause

To uninstall RootCause, simply delete the entire $APROBE directory. The RootCause installation itself does not write to any other locations.

The ~/.rootcause (or ~/.rootcause_aix or ~/.rootcause_linux) directory, and the individual workspace (.aws) directories, are considered to be user data, not part of the RootCause installation itself. If you delete the ~/.rootcause* directory (or any directory referenced by the

$APROBE_HOME,

$APROBE_LOG or

$APROBE_REGISTRY environment variables) you must re-run the "setup" scripts as described in Chapter 4, "Getting Started"

[][["rcc-7.html#MARKER-9-508">Chapter 4, "Getting Started"</A>.

Licensing

The accompanying

license agreement describes the terms under which RootCause may be legally used. OC Systems protects its products from illegitimate use by implementing license agreement checks in its software.

Licensed use of RootCause is checked by the software using the

FLEXlm licensing system from Globetrotter Software.

RootCause is packaged as RootCause for Java and RootCause for C++. This is the user's guide for the

C++ version only. The differences in features between RootCause for Java and RootCause for C++ are determined solely by the license key(s) you are issued by OC Systems.

Obtaining License Keys

An demonstration license is generally provided in a cover letter or e-mail message included with the software. When you purchase the product, OC Systems will request additional system-specific information, and send you license keys generated from this information.

License Key Installation

License keys are shipped in either "decimal" or "text" format. The decimal license string can be supplied by the user when prompted during the RootCause product installation process (see [["#MARKER-9-248">"RootCause Console Installation"</A> above).

Entering an empty license string will postpone the license installation, which will have to be done manually by editing the

$APROBE/

licenses/

license.dat file and entering either the decimal or human-readable form of the license key.

For more information on the license key installation and license management refer to the FLEXlm End-User Manual that can be found in PDF or HTML format in $APROBE/licenses

or contact OC Systems as described in

[["#MARKER-9-211">"Getting Help"</A>.




Copyright 2006-2017 OC Systems, Inc.

Next Previous Index Top