XINFO - PowerPoint

Document Sample
XINFO - PowerPoint Powered By Docstoc
					XINFO                        The IT Information System




                            How to install XINFO
                            Distributed Systems



                                Garmischer Str. 8
HORIZONT                        D- 80339 München
                                Tel ++49(0)89 / 540 162 - 0
Software for Datacenters1
HORIZONT                                   ®
                                www.horizont-it.com
                                     XINFO
            XINFO DS Workshop
During this meeting, we'll install XINFO DS
(Distributed Systems) in a simple example
configuration (without z/OS, one Windows System)
  • Live
  • You can go through the workshop with your
    computer. Prerequisites are:
     – Windows 2000 or XP and CD drive
     – Oracle Database up and running
     – .NET 1.1 and MDAC 2.6 (or later) installed
  • Feel free to repeat this installation in your
    environment

                                                            ®
HORIZONT                        2                   XINFO
    Installation Steps / Configuration
Windows
                        XINFO Database                 Oracle Database
                     (Scripts and Configuration)
                                                       XXR32_DATA + INDEX
   PC Client              XINFO Server
                  (ROTCSHD=>XXRIXNT.EXE)                    ODBC


                                                    XINFO Collector Server
  Administrator              Job-Config            (XXRNSRV.EXE+ROTCSHC)
    Dialog                      XML


                                                       XINFO Collector
                                                    (ROTCSHD/P+XXRCDIF)



    .DAT Files                    .DAT Files               .DAT Files

   Process-Scanner                Space-Scanner           Inventory-Scanner


                                                                ®
  HORIZONT                                3             XINFO
  Installation of XINFO ODBC Server
Windows
                     XINFO Database             Oracle Database
                  (Scripts and Configuration)
                                                 XXR32_DATA + INDEX
                       XINFO Server
                 (ROTCSHD=>XXRIXNT.EXE)                 ODBC

   • See Oracle Installation Guide:
     cd\products\xinfo\V3R2\docu\english\xxrdaple.pdf
   • Check if Oracle is ok, define ODBC Connection
   • Copy and execute
     cd\products\xinfo\V3R2\server_odbc\setup.exe
   • Run Installation Script install_win.bat
   • Create Oracle User and Tables (creuser_oracle.bat and
     creobjs.bat)
   • Start the “Server”: ROTCSHD.BAT

                                                          ®
  HORIZONT                             4          XINFO
           Check Oracle


                                    Oracle Database




                    Service “started”,
                    Listener started, too




                                            ®
HORIZONT        5                   XINFO
                   Check Oracle




Oracle TNS Name, used in ODBC . Defined with Oracle
Net Configuration Assistant, stored in
(\oracle\ora90\network\admin\tnsnames.ora)


                                                       ®
HORIZONT                       6               XINFO
                          Define ODBC
Names must be
different in Oracle 8.x




                                   Test with a different user, or
                                   test it later, because it will be
                                   created during installation.

                                                     ®
   HORIZONT                    7             XINFO
 Execute server_odbc\setup.exe
             Create XINFO-Folder, copy
             and execute setup.exe



                     Specify following Parameters:
                     • Complete (Database + Server)
                     • Install Path: e.g. c:\xinfo32
                     • Database: Oracle
                     • DBNAME: Oracle Database-Name
                     • User/pwd: e.g. xinfo32
                     • Do not change File-Name, optional the
                     XINFO Path can be good
                     • MVS: N
                     • Scanner: Inventory, Volume/File,
                     Process
                     • Port for ROTCSHD / PC-Client
                     (xinfo.tcp): 20000
                     • XINFO Listener as Service: No, start
                     manual


                                              ®
HORIZONT         8                    XINFO
    Run Installation Script install_win.bat




It generates Scripts, SQL- and
Config-Files etc.

                                             ®
   HORIZONT                      9   XINFO
    Create XINFO-User and Tables




                 Edit creuser_oracle.bat and change
                 the DBA-User/pwd if needed


                Run creuser_oracle.bat and, if ok, run
                creobjs.bat to create the Tables




                                           ®
HORIZONT           10              XINFO
           XINFO Oracle Tables




                  XINFO Tablespaces and Tables




                                            ®
HORIZONT             11             XINFO
           XINFO “Server”

                       Edit ROTCSHD.INI and
                       change the DBNAME
                       (ODBC Source-Name)
                       if needed

                       XINFO32 is the
                       “MEMBER-Name” in
                       xinfo.tcp for the PC-
                       Client


                      Start rotcshd.bat




                                    ®
HORIZONT         12         XINFO
     Installation of XINFO PC-Client
Windows
                       XINFO Database             Oracle Database
                  (Scripts and Configuration)
                                                   XXR32_DATA + INDEX
   PC Client            XINFO Server
                 (ROTCSHD=>XXRIXNT.EXE)                 ODBC

   • See PC-Client Installation Guide:
     cd\products\xinfo\V3R2\docu\english\xxrddoce.pdf
   • Create a new Folder (“Client”), copy and unzip
     cd\products\xinfo\V3R2\pc client\english\xxrinst.exe
   • Add licence key to xinfo.pwd
   • Edit xinfo.tcp:
        PORT=20000, IP_ADR=localhost, MEMBER=XINFO32
   • Start XINFO.EXE and Logon


                                                            ®
  HORIZONT                            13            XINFO
           XINFO PC-Client




               XINFO distributed selection panel,
               (no data at the moment).




                                              ®
HORIZONT             14               XINFO
Installation of XINFO Collector Server

   • See Distributed Scanners and Collector Server Inst. Guide:
     cd\products\xinfo\V3R2\docu\english\xxrdxdce.pdf




                                              XINFO Collector Server
 Administrator           Job-Config          (XXRNSRV.EXE+ROTCSHC)
   Dialog                   XML




   • Create a new Folder (“Collector_Server”), copy and execute
     cd\products\xinfo\V3R2\distributed\server\collector_server_win
     dows.msi (you have to have Administrator rights)
   • Specify the installation path



                                                           ®
 HORIZONT                             15           XINFO
Installation of XINFO Collector Server




There is a new service now.
Ensure that the service is started.
(you may change the startup type,
if needed)




                                                   ®
   HORIZONT                           16   XINFO
Start > All Programs > XINFO Collector Server > Administrator




       Start the Administration Dialog, select “Settings”
       and insert the licence key.
       You can start the “Collector Server Service” right
       after having saved the file (“File save”).




                                                                    ®
  HORIZONT                            17                    XINFO
             Configure Database Connection




Select “Settings”,
“Database and Server Settings”
and specify “Oracle” and the
parameters for the DB
connection.
In addition, you can set Server
Message level = 3




                                               ®
  HORIZONT                        18   XINFO
   Installation of XINFO Collector

 • See Distributed Scanners and Collector Server Inst. Guide:
   cd\products\xinfo\V3R2\docu\english\xxrdxdce.pdf
 • Create a new Folder (“Collector”), copy and execute
   cd\products\xinfo\V3R2\distributed\collector\collector_windows
   .exe
 • Specify the installation path


                                                XINFO Collector
                                             (ROTCSHD/P+XXRCDIF)




                                                         ®
HORIZONT                           19            XINFO
       Installation of XINFO Collector




Ensure that the new service is
started. You may change the
startup type.




                                              ®
   HORIZONT                      20   XINFO
      Installation of XINFO Collector
                                    Dir of collector after installation




Log of collector’s ROTCSHD. It’s waiting on Port 18900. You can change it in
rotcshd.ini and the Collector-Server-Admin-Dialog, if needed.
                                                                  ®
  HORIZONT                             21                 XINFO
  Installation of XINFO Collector




     Start the Administration Dialog,
     select “New > Create Collector” and specify a
     name, the DNS or IP-Address and the port.




                                                      ®
HORIZONT                     22               XINFO
 Installation of the Inventory Scanner
Windows
                        XINFO Database                 Oracle Database
                     (Scripts and Configuration)
                                                       XXR32_DATA + INDEX
   PC Client              XINFO Server
                   (ROTCSHD=>XXRIXNT.EXE)                   ODBC


                                                    XINFO Collector Server
  Administrator              Job-Config            (XXRNSRV.EXE+ROTCSHC)
    Dialog                      XML


                                                       XINFO Collector
         Our current Installation                   (ROTCSHD/P+XXRCDIF)



                                                           .DAT Files
    Next Step is to install a Scanner:
                                                          Inventory-Scanner


                                                                ®
  HORIZONT                                23            XINFO
Installation of the Inventory Scanner



                       unzip
                       cd\products\xinfo\V3R2\
                       distributed\scanner\
                       inventory_windows.zip
                       to the Collector directory
                       (Files xxrcinv*)




                                       ®
HORIZONT          24           XINFO
Installation of the Inventory Scanner
                  Edit xxrcinv.pwd and insert licence key




                          Edit xxrcinv.ini.sample,
                          Set DATABASE=ORACLE
                          and save as xxrcinv.ini




                                             ®
HORIZONT          25                 XINFO
           Define a Run Cycle




      Start the administration dialog,
      select “New > Create Run Cycle” and specify
      a name (“Test”) and a run day (current day).
      We will set the Start time later.



                                                       ®
HORIZONT                      26               XINFO
    Define the Inventory Scanner Job




select “New > Job templates”,
“Inventory Scanner / Windows”
Set Run cycle and assign the Collector
                                                 ®
   HORIZONT                         27   XINFO
      Run the Inventory Scanner




 Edit the Run cycle and set Start time to
 current + 1 minute. Save and
 “File save all definitions”
 (write to the xml file)



                                                    ®
HORIZONT                         28         XINFO
          Run the Inventory Scanner
                    XINFO Database                 Oracle Database
                 (Scripts and Configuration)
                                                   XXR32_DATA + INDEX
 PC Client            XINFO Server
                (ROTCSHD=>XXRIXNT.EXE)                  ODBC


                                                XINFO Collector Server
Administrator            Job-Config            (XXRNSRV.EXE+ROTCSHC)
  Dialog                    XML


                                                   XINFO Collector
The Collector Server                            (ROTCSHD/P+XXRCDIF)
• reads repeatedly config.xml and
  queues the jobs
• connects to the Collector(s) which                   .DAT Files
  starts the Scanner and send the data
  back to the Server                                  Inventory-Scanner
• updates the DB
                                                            ®
HORIZONT                              29            XINFO
 Check the Collector-Server Log
           …\Collector_Server\xxrnsrv.log




                   One Job to run




                                            ®
HORIZONT           30               XINFO
 Check the Collector-Server Log




                               ®
HORIZONT       31      XINFO
  Check the Inventory Scanner run
                       …\Collector\log\rotcshp_001.log




Check the Log of the
Collector (consider
the run number)




                                                         ®
HORIZONT                       32               XINFO
Use the XINFO-Dialog and Check the Data




                                   ®
  HORIZONT         33      XINFO
Use the XINFO-Dialog and Check the Data




                   OK!




                                   ®
  HORIZONT         34      XINFO
Installation of the Space Scanner



                           unzip
                           cd\products\xinfo\V3R2\
                           distributed\scanner\
                           space_windows.zip
                           to the Collector directory
                           (Files xxrcspc*)




               Edit xxrcspc.pwd and insert licence key



                                           ®
HORIZONT        35                 XINFO
Installation of the Space Scanner

                     Edit xxrcspc.ini.sample,
                     Set DATABASE=ORACLE
                     and save as xxrcspc.ini

                     Change Include/Exclude
                     Rules for the File-Scan.
                     Scan important Directories
                     only.




                                      ®
HORIZONT        36            XINFO
      Define the Space Scanner Job




select “New > Job templates”,
“Space Scanner(incremental) / Windows”
Set Run cycle and assign the Collector
                                                 ®
   HORIZONT                       37     XINFO
         Run the Space Scanner
                                            If you want to run the
                                            Space Scanner
                                            without Inventory, do
                                            not forget to remove
                                            the Run Cycle of the
                                            Inventory Job!




 Edit the Run cycle and set Start time to
 current + 1 minute. Save and
 “File save all definitions”
 (write to the xml file)



                                                     ®
HORIZONT                         38          XINFO
 Check the Collector-Server Log




     One Job to run




                                   ®
HORIZONT              39   XINFO
  Check the Space Scanner run
           …\Collector\log\rotcshp_002.log




                                             ®
HORIZONT           40               XINFO
Use the XINFO-Dialog and Check the Data




                                   ®
  HORIZONT         41      XINFO
Use the XINFO-Dialog and Check the Data




                                   ®
  HORIZONT         42      XINFO
Installation of the Process Scanner
                            unzip
                            cd\products\xinfo\V3R2\
                            distributed\scanner\
                            process_windows.zip
                            to the Collector directory
                            (Files xxrcprc*)


                Edit xxrcspc.pwd and insert licence key




                                            ®
HORIZONT         43                 XINFO
Installation of the Process Scanner
                      Edit xxrcprc.ini.sample,
                      Set DATABASE=ORACLE
                      and save as xxrcprc.ini

                      Specify "Polling Interval" for
                      “active process check”.
                      During test, 10 seconds are
                      ok, later in production you
                      can increase, e.g. to 60
                      seconds.


                       Specify Polling Interval for
                       “cpu load check”.
                       During test, 60 seconds are
                       ok, later in production you
                       can increase, e.g. to 300
                       seconds.

                                         ®
HORIZONT         44              XINFO
Installation of the Process Scanner




                      In addition, you can specify
                      Include-Rules, to watch for
                      specific processes only




                                         ®
HORIZONT         45              XINFO
     Define the Process Scanner Job




select “New > Job templates”,
“Process Scanner / Windows”
                                     It’s a good idea to use an
                                     extra Run Cycle to run
                                     scanners independently.


                                                       ®
   HORIZONT                     46             XINFO
 Define the Process Scanner Job




           Because we append data, we should
           specify a rule to delete old data




                                                ®
HORIZONT                 47             XINFO
       Run the Process Scanner




 Edit the Run cycle and set Start time to
 current + 1 minute. Save and
 “File save all definitions”
 (write to the xml file)



                                                    ®
HORIZONT                         48         XINFO
    Check the Process Scanner run



On the first run,
The watcher is
started and we
have no data




From now on, the watcher is collecting data. Therefore, we rerun our
other scanners and afterwards, we run the process scanner again


                                                             ®
  HORIZONT                         49                XINFO
   Check the Process Scanner run




Ok, now we have
data




                                 ®
HORIZONT          50     XINFO
Use the XINFO-Dialog and Check the Data




                                   ®
  HORIZONT         51      XINFO
Use the XINFO-Dialog and Check the Data




                        e.g., the run time,
                        duration, cpu time of the
                        Inventory Scanner


                                     ®
  HORIZONT         52        XINFO
                  Installation Finished
Windows
                        XINFO Database                 Oracle Database
                     (Scripts and Configuration)
                                                       XXR32_DATA + INDEX
   PC Client              XINFO Server
                  (ROTCSHD=>XXRIXNT.EXE)                    ODBC


                                                    XINFO Collector Server
  Administrator              Job-Config            (XXRNSRV.EXE+ROTCSHC)
    Dialog                      XML


                                                       XINFO Collector
                                                    (ROTCSHD/P+XXRCDIF)



    .DAT Files                    .DAT Files               .DAT Files

   Process-Scanner                Space-Scanner           Inventory-Scanner


                                                                ®
  HORIZONT                                53            XINFO
Components that must be installed on
    every scanned computer
 That is the “Collector-Part”, easy to
 install on every Production
 Windows/Unix-Server




                                                XINFO Collector
                                              (ROTCSHD/P+XXRCDIF)



  .DAT Files                  .DAT Files           .DAT Files

  Process-Scanner             Space-Scanner        Inventory-Scanner


                                                         ®
 HORIZONT                            54          XINFO
How to include Unix-Collector/Scanner
• Installation of the Collector is as easy as under Windows
  – See Dist. Scanners and Collector Server Inst. Guide:
    cd\products\xinfo\V3R2\docu\english\xxrdxdce.pdf
  – Logon as root
  – Create a new Folder, transfer binary and gunzip e.g.
    collector_aix.tar.gz
  – tar –xvf collector_aix.tar.gz
  – Execute install_collector.sh
  – To change the port, edit rotcshd.ini, if needed
  – Start the service: ./xinfo_ds.sh start
  – Stop the service: ./xinfo_ds.sh stop



                                                              ®
 HORIZONT                           55                XINFO
How to include Unix-Collector/Scanner




       Start the Administration Dialog,
       select “New > Create Collector” and specify a
       name, the DNS or IP-Address and the port.




                                                        ®
  HORIZONT                     56               XINFO
Install Inventory Scanner under AIX


Like on windows, copy,
transfer and unzip
inventory_aix.tar.gz
to the Collector directory,
Edit and prepare
xxrcinv.pwd and xxrcinv.ini




                                           ®
HORIZONT                      57   XINFO
  Install Inventory Scanner under AIX



Define a new job,
assign it to the the
AIX collector and
run the job




                                    ®
   HORIZONT            58   XINFO
Check the run in the Collector-Server Log



              Scanner log from PC26 (AIX)




                                               ®
 HORIZONT              59              XINFO
           Windows Firewall




                       If there is a Firewall active on
                       your Collector-Server-
                       System, you have to define a
                       Program-Exception for
                       “rotcshc.exe” to allow
                       connections from other
                       XINFO-Collector-Systems


                                          ®
HORIZONT          60              XINFO
XINFO                        The IT Information System




                            Many thanks for your
                                 attention




                                Garmischer Str. 8
HORIZONT                        D- 80339 München
                                Tel ++49(0)89 / 540 162 - 0
Software for Datacenters
HORIZONT               61
                                           ®
                                www.horizont-it.com
                                     XINFO