readme.txt 9.5 KB

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