readme.txt 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. iTop - version 0.9.1 - 06-Apr-2010
  2. Readme file
  3. Content Of This File:
  4. 1. ABOUT THIS RELEASE
  5. 2. INSTALLATION
  6. 2.1. Requirements
  7. 2.2. Install procedure
  8. 2.3. Migration from version 0.8.1
  9. 3. LIMITATIONS OF THE CURRENT VERSION
  10. 3.1. Changes since 0.8.1
  11. 4. HOW TO
  12. 4.1. How to export data out of iTop
  13. 4.3. How to import data into iTop
  14. 1. ABOUT THIS RELEASE
  15. ==================
  16. Thank you for downloading the sixth packaged release of iTop. This version is a maintenance
  17. release providing a few bug fixes.
  18. Keep in mind that this version (0.9.1) is still not a final version (see the section "Limitations" below).
  19. With this release we also provide two user guides. These documents are available
  20. on our web site http://www.combodo.com, under the "Support" topic.
  21. iTop is released under the GPL (v3) license. (Check license.txt in this directory).
  22. The source code of iTop can be found on SourceForge: http://itop.sourceforge.net
  23. 2. INSTALLATION
  24. ============
  25. 2.1. Requirements
  26. ------------
  27. iTop is based on the AMP (Apache / MySQL / PHP) platform and requires PHP 5.2 and
  28. MySQL 5. The installation of iTop does not require any command line access to the
  29. server. The only operations required to install iTop are: copying the files to the
  30. server and browsing some web pages.
  31. Although iTop should work with most modern web browsers the application has been
  32. tested mostly on Firefox 3 and IE7/IE8.
  33. 2.2. Install procedure
  34. -----------------
  35. 1) Make sure that you have a properly configured instance of Apache/PHP running
  36. 2) Unpack the files contained in the zipped package in a directory served by your
  37. web server.
  38. 3) Point your web browser to the URL corresponding to the directory were the files
  39. have been unpackaged and follow the indications on the screen.
  40. Note:
  41. iTop uses MySQL with the InnoDB engine. If you are running on Linux and if the setup is
  42. very slow with the hard drive spinning a lot, try to set the following value in the my.cnf
  43. configuration file (usually located at /etc/mysql/my.cnf):
  44. innodb_flush_method = O_DSYNC
  45. On some systems you'll see a 5 to 10 times performance improvement for writing data into
  46. the MySQL database !
  47. 2.3. Migration from a previous version
  48. ---------------------------------
  49. The 0.9.1 data model IS FULLY COMPATIBLE with the former one (0.9).
  50. In order to upgrade from vesion 0.9, just overwrite the files in your iTop directory
  51. with the ones provided in the current version.
  52. In order to MIGRATE FROM AN OLDER VERSION, you have two options:
  53. - keep your current data model and give up all the benefits from the
  54. new data model (subnets, known errors, etc.).
  55. - export your data into CSV files and import them back after the installation
  56. of the new release.
  57. Preserving your previous data model
  58. -----------------------------------
  59. In case you want to keep a previous data model (i.e. from 0.8.1) just make sure
  60. that you don't overwrite the content of the "business" directory and its "template"
  61. subdirectory.
  62. Exporting & re-importing data
  63. -----------------------------
  64. If you choose this option, you have to use the export function for each type of
  65. object, in order to save your data in csv files.
  66. Once done, you can install new release 0.9 using a new database.
  67. Then, you can re-import you object using "csv import" functionality.
  68. Caution: you need to make sure that attributes for your objects are still valid,
  69. as per the new data model constraints.
  70. In particular, attributes defined as enumerated lists may have to be changed
  71. into the data files, to comply with to the new list of allowed values.
  72. Please refer to the chapter "viewing data model" chapter in the administrator
  73. guide.
  74. In case you encounter issues, do not hesitate to contact the support team:
  75. support@combodo.com
  76. 3. LIMITATIONS OF THE CURRENT VERSION
  77. ==================================
  78. Release 0.9.1 is not supporting:
  79. - Creation of new user profile from the iTop user interface.
  80. - "Delete All" action for a list of objects.
  81. - Cloning an existing device. This feature has been disabled for the moment
  82. as it was not working properly.
  83. - "Update All" for n/n relationships.
  84. - A lifecycle is not defined for all types of CIs. Only for incident tickets and change tickets.
  85. - Localized characters (like accentuated letters) are not supported for the moment in eMail notifications
  86. 3.1. Changes since 0.9
  87. -------------------
  88. Only bug fixes haven bee made since version 0.9, hence the increment of the minor revision number.
  89. Bugs fixed
  90. ----------
  91. All our bugs are tracked on sourceforge:
  92. http://sourceforge.net/apps/trac/itop/report/1.
  93. This release is closing 3 bugs or enhancement requests.
  94. #86 major defect Fixed bug on CSV import (was not working fine when exporting/importing fields with multiple lines)
  95. #87 major defect Strings containing only digits were treated as numbers instead of string (i.e leading zeroes were lost)
  96. #93 major defect Fixed issue within the setup data load (related to memory_limit)
  97. Comprehensive list of all other changes...
  98. ------------------------------------------
  99. - Fixed bug in DisplayBlock (group by - visible on the page "contacts overview")
  100. - Finalized the demo of impact computation (removed an ugly test message) and added few comments
  101. - Related objects computation:
  102. moved to OQL
  103. added capacity to set a default value based on the related objects (during the creation wizard)
  104. - Fixed issues with the consultant toolkit: upgrade an existing DB (add new class/attribute)
  105. - Developed core services to allow for demonstrating impact computation capability
  106. - Deprecated option operation=direct on page UI.php (not used anyway ?)
  107. 4. HOW TO
  108. ======
  109. 4.1. How to export data out of iTop
  110. ------------------------------
  111. A set of objects can be exported by the mean of a web service (could be scripted)
  112. Simply call /pages/export.php?format=xml&expression=OQL
  113. (format=csv is also available)
  114. Using wget, this would give the following command line:
  115. wget --header="Content-Type:application/x-www-form-urlencoded" --post-file=./login.txt -O "export.txt" http://<server>/webservices/export.php?format=csv&expression=...
  116. Use the wget option -O to store the result in the specified file, in our example: export.txt
  117. The format for the file login.txt should be:
  118. operation=login&auth_user=<your user>&auth_pwd=<your password>&foo=1
  119. The set of objects to be exported is defined by an OQL query.
  120. OQL stands for Object Query Language. The OQL syntax is very close to the SQL.
  121. The main differences between SQL and OQL are:
  122. * No FROM clause: an OQL query always return a set of objects of a given class
  123. and the user will never specify the expected columns, because the OQL
  124. interpreter retreives this information from the Data Model.
  125. * JOINS: simply specify "JOIN" and the interpreter will determine for you if an
  126. INNER JOIN or an OUTER JOIN should be performed, based on the definitions of
  127. the Data Model.
  128. OQL Examples:
  129. Get all the contacts
  130. SELECT bizContact
  131. Get all the persons (note that a person is contact also, but it has more
  132. attributes to be exported: first_name and employee_number)
  133. SELECT bizPerson
  134. Get the WAN circuits provided by "Foo Telecom"
  135. SELECT bizCircuit JOIN bizOrganization ON bizCircuit.provider_id = bizOrganization.id
  136. WHERE bizOrganization.name = 'Foo Telecom'
  137. Get the WAN circuits providers
  138. SELECT bizOrganization JOIN bizCircuit
  139. ON bizCircuit.provider_id = bizOrganization.id
  140. (In this example we have just inverted bizCircuit and bizOrganization ; yes the order matters, the first class specified is the expected class)
  141. 4.2. How to import data
  142. ------------------
  143. SOAP web service:
  144. This new SOAP web service enables the creation of incident tickets from an external application.
  145. Look at the iTop WSDL file (http://<your_server_and_port/webservices/itop.wsdl.php) for the full
  146. description of the API.
  147. Check the PHP client example, available with this release in /webservices/itop.soap.examples.php
  148. "CSV import" web service:
  149. This is the "POST web service" that was already existing in the previous version.
  150. A dedicated page allows you to write a script to enter new data, or refresh existing
  151. data. This can be helpful for the initial load or to schedule a daily synchronization
  152. of the data coming from an external data source - could be another application,
  153. an automated data collector, etc.
  154. /webservices/import.php?class=bizOrganization&csvdata=<multine-csv>[&separator=<char>]
  155. Note that this service emulates the functionality provided by the interactive
  156. bulk load: /pages/import.php
  157. csvdata must be posted, the first line will contain the codes of the attributes
  158. to load, the first column is always used as the reconciliation key
  159. - should be unique, as it determines if the object needs to be updated or created)
  160. If not specified, the separator defaults to ';'
  161. The answer is given in a simple html format, explaining what has been done for each row of data.
  162. Example:
  163. A script that creates a company called "Food and Drug Administration" (code FDA).
  164. wget --header="Content-Type:application/x-www-form-urlencoded" --post-file=data.txt http://<yourserver:port>/webservices/import.php?class=bizOrganization
  165. with: data.txt containing the following text
  166. auth_user=<username>&auth_pwd=<pwd>&loginop=login&csvdata=name;code
  167. Food and Drug Administration;FDA
  168. Combodo;CBD