Instructions for downloading, installing and running
SMI++ on
UNIX
Warning: DIM
must be installed
SMI++ Latest version Release Notes
1. Download
-
get the file smixx.zip
-
extract it onto a "smixx" folder using:
- unzip -a (also -U if unzip version prior to
5.11, unzip -v to check )
2. Installation
-
cd smixx
-
(Please use tcsh for the following to work)
-
setenv OS <unix flavour>, where
<unix flavour> can be: HP-UX, AIX, Solaris, SunOS, OSF1,
Linux, LynxOS
-
setenv DIMDIR <path name>, where
<path name> is the path to the DIM directory
-
source .setup
-
gmake all
3. Running
-
If not done yet: setenv DIM_DNS_NODE <node name>,
<node name> is the complete name of the node where the
DIM Name Server (Dns) is running ex. hpplus.cern.ch
-
If not done yet start the DIM Name Server: Dns &
-
From then on you can start SMI++ proxies, State Managers
and User Interfaces (an example of a State Manager with two proxies is
available in smixx/src/examples/run_control) you can "make" and start them
by:
-
cd smixx/src/examples/run_control
-
source .setup
-
gmake all
-
Evt_builder &
-
Logger &
-
Run_con &
-
Run_con_ui &
4. Using the SMI TOOLS (refer to the SMI Tools,
SMIRTL and SMIUIRTL
for a complete description of the tools and libraries)
-
smiTrans - Translates the SMI CODE into an intermediate format
(.SOBJ)
-
smiGen - Generate proxy skelettons from SMI CODE
-
smiSM - Run a state manager for a particular domain
-
smiGUI - Start a generic User Interface for a particular
domain
-
The libraries: SMIRTL and SMIUIRTL are available in smixx/<OS-Type>/libsmi.a
and libsmiui.a (and the corresponding ".so" shareable versions)