Quick_Start.TXT 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. *****************************************************************************
  2. Collection Tool - Quick Start Guide
  3. *****************************************************************************
  4. The Collection Tool will search file systems looking for files or content specific to the Oracle products being measured.
  5. This information will be gathered together and placed into files in a given output directory.
  6. The output files should be returned to your assigned Oracle consultant.
  7. Requirements Summary and Documentation: Please see included Collection_Tool_User's_Instructions_(version).pdf for full requirements.
  8. *****************************************
  9. UNIX/Linux
  10. *****************************************
  11. a. Starting the program on a UNIX or Linux system
  12. 1. Copy the Collection_Tool.zip file to the target system, in the selected location.
  13. 2. Open a Terminal window.
  14. 3. Log into the target system as root. ***If you log on as another user the search may not pick up all of the necessary Oracle Software Files.***
  15. 4. Go to the directory where you placed the Collection_Tool.zip file and extract the files.
  16. $unzip Collection_Tool.zip.
  17. 5. Go to the Collection_Tool directory.
  18. $ cd Collection_Tool/Collection
  19. 6. It is mandatory to add read, write, and execute permission to for all the files and folders
  20. $ chmod -R 777 *
  21. 7. Go to the bin directory and type 'Collection.sh' with the proper options to run. If no options are specified, the script will prompt the user for product(s) to search for. Default values are used for all other options.
  22. $ cd bin
  23. $ ./Collection.sh <OPTIONS> ***See below for common examples***
  24. Product(s) to be searched Command(s) and Option(s) to use
  25. All products $ ./Collection.sh -d / -p all
  26. DB $ ./Collection.sh -d / -p DB
  27. EBS $ ./Collection.sh -d / -p EBS
  28. OAS $ ./Collection.sh -d / -p OAS
  29. WLS $ ./Collection.sh -d / -p WLS
  30. SOA $ ./Collection.sh -d / -p SOA
  31. OBI $ ./Collection.sh -d / -p OBI
  32. Webcenter $ ./Collection.sh -d / -p Webcenter
  33. Multiple Products $ ./Collection.sh -d "/opt/software, /home/software" -p WLS,SOA,OAS
  34. FMW $ ./Collection.sh -d / -p FMW
  35. Note: the syntax of all available command line options is as follows
  36. [-d search_dir] [-fsall true | false] [-o full_path_dir_name] [-follow true|false] [-debug true|false] [-m all|ip|user] [-L Y|y] [-p product] [-fastsearch] [-r remote_user@remote_machine|remotefilelist] [-tns]
  37. Refer to Table 9 in the Collection_Tool_User's_Instructions_(version).pdf documentation for instructions on the options available for you to use. Refer to Table 10 in the same document for specific examples.
  38. 8. Determining if the script is still running.
  39. The Collection Tool searches for several possible configuration, registry, and log files on the target file system. To verify that the Collection Tool is running, you will see a spinning “\” . In addition you can use the following UNIX commands:
  40. $ ps -ef | grep find
  41. $ tail -f /<output_dir>/CTfiles.*
  42. While the script is running you will see active updating of the CTfiles.* file
  43. 9. After the tool has finished running, an output directory and a .tar (.tar.bz2 or .tar.Z) file that contains Oracle Software related files will be created. This output directory can be found in the directory where the main Collection.sh script is run. For example, /tmp/CT/Collection/bin/output
  44. 10. Return the output file 'Collection-<HOST_NAME>.tar' (.tar.bz2 or .tar.Z), to your assigned consultant per the instructions that were provided to you.
  45. 11. Partitioned Servers - Processor Queries Scripts
  46. If server partitioning is in use, in addition to running the Collection Tool from within the partition on which the Oracle software is deployed, the Collection Tool needs to be run on the operating system of the underlying server hardware to collect the relevant CPU information. If using an embedded hypervisor, such as VMware, please consult with your assigned consultant for instructions.
  47. example of running the Processor Queries only.
  48. $ ./Collection.sh -p CPUQ
  49. *****************************************
  50. Windows
  51. *****************************************
  52. 1. Copy the Collection_Tool.zip file to the target system.
  53. 2. Log into the target Windows system as Administrator. ***If you log on as another user the search may not pick up all of the necessary Oracle Software Files.***
  54. 3. Unzip the Collection_Tool.zip file to the same directory that the file is located.
  55. 4. Open a command prompt window.
  56. Go to Windows 'Start' > 'Run' menu and type 'cmd'
  57. 5. Go to the Collection_Tool bin folder.
  58. c:\> cd Collection_Tool\Collection\bin
  59. 6. Type 'Collection.cmd' with the proper options to run. If no options are specified, the script will prompt the user for product(s) to search for. Default values are used for all other options.
  60. c:\>Collection.cmd <OPTIONS> ***See below for common examples***
  61. Product(s) to be searched Command(s) and Option(s) to use
  62. All Products c:\> Collection.cmd -p all -d c:\,d:\
  63. DB c:\> Collection.cmd -p DB -d c:\,d:\
  64. EBS c:\> Collection.cmd -p EBS -d c:\,d:\
  65. OAS c:\> Collection.cmd -p OAS -d c:\,d:\
  66. WLS c:\> Collection.cmd -p WLS -d c:\,d:\
  67. SOA c:\> Collection.cmd -p SOA -d c:\,d:\
  68. OBI c:\> Collection.cmd -p OBI -d c:\,d:\
  69. Webcenter c:\> Collection.cmd -p Webcenter -d c:\,d:\
  70. Multiple Products c:\> Collection.cmd -p WLS,SOA,OAS -d c:\,d:\
  71. FMW c:\> Collection.cmd -p FMW -d c:\,d:\
  72. Note: the syntax of all available command line options is as follows.
  73. [-d search_dir] [-p product] [-o full_path_dir_name] [-debug true|false] [-m all|ip|user] [-L Y|y][-fastsearch] [-tns]
  74. Refer to Table 11 in the Collection_Tool_User's_Instructions_(version).pdf documentation for instructions on the options available for you to use. Refer to Table 12 in the same document for specific examples.
  75. 7. Determining if the script is still running.
  76. The Collection Tool searches for several possible configuration, registry and log files on the target file system. To verify that Collection Tool is running, you can use the Windows Task Manager and look in the Applications tab for the cmd window with the Collection Tool.
  77. 8. After the tool has finished running the data collection, an output folder and a .zip file that contains Oracle Software related files will be created. This output directory can be found in the directory where the main Collection.sh script is run. For example, c:\CT\Collection\bin\output
  78. 9. Return the output file 'Collection-<HOST_NAME>.zip', to your assigned consultant per the instructions that were provided to you.
  79. 10. Partitioned Servers - Processor Queries Scripts
  80. If server partitioning is in use, in addition to running the Collection Tool from within the partition on which the Oracle software is deployed, the Collection Tool needs to be run on the operating system of the underlying server hardware to collect the relevant CPU information. If using an embedded hypervisor, such as VMware, please consult with your assigned consultant for instructions.
  81. example of running the Processor Queries only.
  82. c:\> Collection.cmd -p CPUQ
  83. *****************************************************
  84. Troubleshooting Information
  85. *****************************************************
  86. Information about troubleshooting the running of the script has been placed in the Collection_Tool_User's_Instructions_(version).pdf document. Please refer to section 3 & 4 of that document if there are any problems encountered. If you have further questions, please contact your Oracle assigned consultant.