service manager 7 beta - micro focus community€¦ · web view1. in the database folder where the...

23
Service Manager 7.00 Service Manager Installation Utilizing Oracle 10G HP ® Management Software — Service Management Installing Service Manager 7.00................................................2 Objectives...................................................................2 Prerequisites................................................................2 Step 1: Install Oracle 10G for use with HP Service Manager...................2 Step 2: Install and Configure Service Manager Server........................12 Step 3: Install Service Manager Client......................................14 Step 4: Verify Service Manager Temporary License............................15 Step 5: Start the HP Service Manager Service and Test your Connection.......15 Step 6: Install Java JDK....................................................16 Step 7: Install Jakarta Tomcat..............................................17 Step 8: Configure Environmental Variable....................................18 Step 9: Configure Tomcat Server.............................................18 Step 10: Install and Configure the Web Tier.................................19 Step 11: Test the Web Tier Installation and Configuration...................20 HP Confidential. Intended exclusively for the use of HP employees who are assigned to the HP Management Software organization, either in IT Service Management (ITSM), IT Asset Management (ITAM), Customer Support, Professional Services, Sales, and to approved HP Management Software Partners. Neither this document nor its contents may be distributed outside ITSM, ITAM, Customer Support, Professional Services, Sales, nor outside of approved HP Management Software Partners, under any circumstances.

Upload: others

Post on 08-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

Service Manager 7.00 Service Manager Installation Utilizing Oracle 10G

HP® Management Software — Service Management

Installing Service Manager 7.00...................................................................................................2Objectives.................................................................................................................................2Prerequisites.............................................................................................................................2Step 1: Install Oracle 10G for use with HP Service Manager.....................................................2Step 2: Install and Configure Service Manager Server............................................................12Step 3: Install Service Manager Client....................................................................................14Step 4: Verify Service Manager Temporary License...............................................................15Step 5: Start the HP Service Manager Service and Test your Connection..............................15Step 6: Install Java JDK............................................................................................................16Step 7: Install Jakarta Tomcat.................................................................................................17Step 8: Configure Environmental Variable..............................................................................18Step 9: Configure Tomcat Server............................................................................................18Step 10: Install and Configure the Web Tier...........................................................................19Step 11: Test the Web Tier Installation and Configuration.....................................................20

HP Confidential. Intended exclusively for the use of HP employees who are assigned to the HP Management Software organization, either in IT Service Management (ITSM), IT Asset Management (ITAM), Customer Support, Professional Services, Sales, and to approved HP Management Software Partners. Neither this document nor its contents may be

distributed outside ITSM, ITAM, Customer Support, Professional Services, Sales, nor outside of approved HP Management Software Partners, under any circumstances.

Page 2: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

Installing Service Manager 7.00You can install HP Service Manager on a Windows or Unix server. This section contains information about installation requirements and how to install the Oracle database, Service Manager server and client, the Java JDK, Apache Tomcat and web tier. For more information refer to the Service Manager installation guide or the on-line Help.

Objectives Install and configure Oracle as the database Install and configure Service Manager 7.00 server and client Install and configure Java JDK and Apache Tomcat Install and configure the web tier

Prerequisites:As a best practice, the RDBMS database should be setup prior to installing ServiceManager 7. You can install SM7 first. However, you will only be able to install the binary. Uploading the unloads will need the RDBMS already setup.

Step1: Install Oracle 10G for use with HP Service Manager This following section describes the basic installation steps for a Windows Platform. The following steps provide a summary of the installation process. Log on to your computer as a member of the administrative group that is authorized to install Oracle software and to create and run the database. If you do not have the Oracle 10G installation files, you can pull them down from the following link:

http://www.oracle.com/technology/software/index.html

NOTE: Be sure to select the download for the appropriate operating system. Extract the files from within the zip:

1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle Universal Installer.

2. The Oracle Universal Installer Select Installation window appears.

HP Confidential 2

Page 3: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

3. Select Basic Installation -- This option quickly installs Oracle Database 10g. This method requires minimal user input. It installs the software and optionally creates a general-purpose database based on the information you provide.

-- For “Basic Installation”, specify the following:

Oracle Home Location - Enter the directory in which to install the Oracle Database 10g software. You must specify a new Oracle home directory for each new installation of Oracle Database 10g.

Installation Type - Select Enterprise Edition, Standard Edition, or Personal Edition (Windows Only) are similar but have fewer features and are usually not the version our customers have installed.

Create Starter Database - Check this box to create a database during installation. Oracle recommends that you create a starter database for first-time installations. You must enter a Global Database Name and Database Password for the SYS, SYSTEM, SYSMAN, and DBSNMP administrator accounts. The Global Database Name must be less than 8 characters and should be a “descriptive" name.

*** Remember the password.

HP Confidential 3

Page 4: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

4. To start the basic installation, click Next. The Preparing to Install progress bar appears.

5. The Product-Specific Prerequisite Checks window appears. The Installer performs a number of environment checks and indicates success, warning, or failure. Details of the checks are provided. The installation can only proceed with check status of Succeeded or Warning.

If you have failed checks, you must resolve them manually.

6. After verifying that your system meets the minimum requirements for installing and configuring the chosen products, click Next.

*** If you receive an error about the network configuration and DHCP. You most likely need to install a LOOP BACK network adapter.

HP Confidential 4

Page 5: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

7. A summary screen appears showing information such as your global settings, space requirements and the new products to be installed. Click Install to start the installation. –

The Install window appears showing installation progress.

HP Confidential 5

Page 6: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

8. At the end of database creation, you are prompted to unlock user accounts to make the accounts accessible. The SYS and SYSTEM accounts are already unlocked. Click OK to bypass password management.

HP Confidential 6

Page 7: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

9. At the end of the installation phase, the Configuration Assistants window appears. This window lists the configuration assistants that are started automatically. If you are creating a database, then the Database Configuration Assistant starts automatically in a separate window.

HP Confidential 7

Page 8: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

10. Upon successful installation, you will receive of the location of the database Enterprise Manager Console location URL:

HP Confidential 8

Page 9: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

These should be saved or written down somewhere.

11. You should then confirm the service for the Oracle installation start correctly with no error messages. This can be viewed through Windows ‘Service’ console.

12. You should now be able to login to Oracles Enterprise Manager Console through the web URL. http://<computer_name>:1158/em - You will need to login as sys/<password> AS sysdba

Create an Oracle user1) From the command line, launch the Oracle text client, type: sqlplus <enter>2) Type in your admin username and password: system and the password:

(example)

HP Confidential 9

Page 10: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

3) Create a new user that you can use to login, test and communicate with Oracle 10G. You can create this user and control all aspects of that user from the sqlplus command prompt. Issue the following cmd:

(*NOTE** All SQL statements are terminated with a semi-colon (;). Pressing ENTER simply puts the cursor on the next line, but does not run the SQL.)

SQL> create user <USER-NAME> identified by <ACTUAL PASSWORD>;

(example)

You should receive a message that the user was created.

Alter Oracle User SettingsType the following SQL commands to set the users Oracle roles:

SQL> grant DBA to <USER-NAME> with admin option;SQL> grant CONNECT to <USER-NAME> with admin option;

(example)

HP Confidential10

Page 11: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

You should receive a ‘Grant Succeeded’ message after each line.

Create a tablespace to store the users Oracle data

This is simply a storage container to hold the tables, indexes….etc….1) Run the following command from the SQLPLUS prompt:

SQL> create smallfile tablespace <TABLESPACE-NAME>2 datafile ‘Fully qualified path’3 size 300m autoextend on next 20m max size unlimited no logging;

(example)

Now, we can edit the Oracle user and set the default tablespace to the newly created location.

SQL> alter user <USER-NAME>2 default tablespace <TABLESPACE-NAME>;

(Example)

Step 2: Install and Configure Service Manager Server

1. Using windows explorer, browse to C:\......SM7 Install Files\ServiceManager.2. Double-click on the ClickMe.html file.Note: If only a Service Manager installation CD is available, search and browse for the file ClickMe.html.3. Under the Installers tab, click the link called Install HP Service Manager Server

for Windows.4. From the File Download dialog window, click Run.Note: If prompted with a Security Warning dialog window, click Run again.

HP Confidential11

Page 12: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

5. From the Welcome window, click Next.6. From the License Agreement window, accept the terms of the license and click

Next.7. Accept the default Directory Name path for the installation and click Next.8. Read the summary information and click Install.9. After the installation of the SM 7.00 server is completed, check the box next to Run

the configuration program after install.10. Click on Finish.

The Welcome to HP Service Manager server configuration wizard screen is displayed

11. Click Next12. From the Listener Port window, accept the default ports and click Next.13. From the Database Type and Connection information window, modify the

entries as shown below.

HP Confidential12

Page 13: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

Note: Respect case for the DB Name, User and Password.

14. Click Next.15. Click the Verify Connection button. (verify connection succeeded)16. Click Next.17. From the HP Service Manager Application and Demo data upload window,

click the Upload Data button. (this may take a few minutes, please be patient)Note: If license verification fails, click upload data again. Load will fail but verification will succeed.Note: All application and demo data is being uploaded from a series of .unl files located by default in the …Program Files\HP\Service Manager 7.00\Server\data directory.

18. After the License verification was a success notification message is displayed, click Next.

HP Confidential13

Page 14: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

19. Click Finish.

Note: if your License verification shows up as ‘failed’, you will need to do the following:- Navigate to the RUN directory via a command prompt.- From the RUN directory launch the following command: sm –instantOn

Step 3: Install Service Manager Client 20. Toggle back to the ClickMe.html browser window.Note: If only a Service Manager installation CD is available, search and browse for the file ClickMe.html.

21. Under the Installers tab, click the link called Install HP Service Manager Client for Windows.

22. From the File Download dialog window, click Run.Note: If prompted with a Security Warning dialog window, click Run again.

23. From the Welcome window, click Next.24. From the License Agreement window, accept the terms of the license and click

Next.25. Accept the default Directory Name path for the installation and click Next.26. Accept the default features and click Next.27. Click Install.28. Click Finish.

HP Confidential14

Page 15: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

Step 4: Verify Service Manager Temporary License

Service Manager when installed comes with a 60 day trial license. Refer to the Service Manager installation guide for more information on how to renew or obtain a permanent license.

29. Click Start > Run.30. Enter cmd to open a command prompt.31. Navigate to the Service Manager RUN directory by typing cd C:\Program Files\

HP\Service Manager 7.00\Server\RUN. 32. Type sm –reportlic and hit enter to execute the command to view the license

information.

33. Close the command window.

Step 5: Start the HP Service Manager Service and Test your Connection 34. Click Start > Control Panel.35. Double-click Administrative Tools.36. Double-click Services.37. Select the HP Service Manager 7.00 Server.38. From the toolbar, click the Start Service button.Note: You can configure Service Manager to start automatically

39. Close the Services window.40. Click Start > All Programs > HP > Service Manager 7.00 > Service Manager

Client.41. From the Create, manage, and use connections window, right-click on the

Connection element and choose New.

HP Confidential15

Page 16: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

42. Complete the new connection configuration as defined below.

43. Click Apply.44. Click Connect.Note: If login is successful, the Service Manager 7.00 server and client are correctly installed and configured.

45. From the menu bar, click Help > Help Contents.Note: Service Manager 7.00 has extensive help readily available.

46. Close Help.47. From the menu bar, click File > Disconnect...

Step 6: Install Java JDK 48. Using Filezilla, Navigate to SUPSDDB02 /ethumann/SM7 MR Release/49. Pull the SM7-WebInstallationFiles.zip. file down to your local machine.50. Extract the contents of the zip to a folder of your choosing.51. Double-click on jdk-1_5_0_12-windows-i586-p.exeNote: to obtain this file from the web, goto sun.java.com and search for jdk 5 update12. Choose windows offline installation multi language.

52. Click Run. 53. From the License Agreement window, accept the terms.

HP Confidential16

Page 17: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

54. Click Next.55. From the Custom Setup window, click Next.56. Click Next.57. When the InstallShield Wizard Completed window appears, click Finish.

Step 7: Install Jakarta Tomcat This includes the application and web-server, therefore it is not needed to install an additional web-server separately for demo purposes.58. Navigate to your SM7-WebInstallationFiles folder you created in step 48.59. Double-click on jakarta-tomcat-5.0.28.exe.60. From the Welcome to the Apache Tomcat Setup Wizard window, click Next.61. From the License Agreement window, click I Agree.62. From the Choose Components window, deselect the Examples checkbox.

63. Click Next.64. From the Choose Install Location window, click Next.Note: All configurations and paths will assume the following installation directory for Tomcat 5.0: C:\Program Files\Apache Software Foundation\Tomcat 5.065. From the Configuration window, click Next.66. From the Java Virtual Machine window, click Install.67. REMOVE the check boxes from:

Run Apache Tomcat Show Readme

68. Click Finish.

Step 8: Configure Environmental Variable 69. From the desktop, right-click My Computer.70. Select Properties.71. Click the Advanced tab.72. Click the Environmental Variables button.73. From the lower System variables pane, click New.74. Define the following settings as shown below.

HP Confidential17

Page 18: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

Important: Using windows explorer, it is strongly recommended to verify the path defined below and then to copy and paste the path from the windows explorer address field to the Variable value field in the Edit System Variable box to avoid any typos.

Note: Respect case sensitivity.

75. Click Ok.76. Click Ok.77. Click Ok.

Step 9: Configure Tomcat Server 78. Click Start > Programs > Apache Tomcat 5.0 > Configure Tomcat79. Click the Java tab.80. In the Java Classpath field append to the end of the string the following entries

(respect case sensitivity) C:\Program Files\Java\jdk1.5.0_12\lib\tools.jar

Note: Use a semi colon to separate the entries.Important: Using windows explorer, it is strongly recommended to verify the paths defined below and then to copy and paste the path from the windows explorer address field to the Java Virtual Machine and Java Classpath fields to avoid typos. The default Java Virtual Machine path will vary based on previous jre or jdk installations on the machine.

HP Confidential18

Page 19: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

81. Click OK.

Step 10: Install and Configure the Web Tier 82. Using windows explorer, navigate to c:\SM7 Install Files\ServiceManager\Webtier83. Copy webtier-7.00.war to the C:\Program Files\Apache Software

Foundation\Tomcat 5.0\webapps directory84. Rename the war file to sm7.war. (respect case sensitivity)

85. Using Filezilla, Navigate to SUPSDDB02 /ethumann/SM7 MR Release/Redistributables.zip.

86. Pull it down to your local machine. 87. Extract the zip to a folder of your choosing.88. Navigate to the folder you created in step 85 and access the \Java\Endorsed

folder.89. Copy the six .jar files to C:\Program Files\Apache Software Foundation\

Tomcat 5.0\common\endorsedNote: Depending on the web application server you use, you may need to installseveral endorsed JAR files to allow the Service Manager web tier to functionproperly. These files enable certain features such as SOAP over HTTP andFast Infoset encoding.

90. Goto Start > Control Panel > Administrative Tools > Services.91. Select Apache Tomcat.92. Click the Start Service button.Note: You can configure Tomcat to start automatically.

93. Using windows explorer, browse back to the C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps directory and verify a new sm7 directory was created.

HP Confidential19

Page 20: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

94. Using windows explorer, browse to the …\webapps\sm7\WEB-INF directory and verify the web.xml file is generated.

Note: The new directory is created from the deployment of the .war file when Tomcat was started. Additionally the directory name takes on the naming convention of the .war file. In this case sm7. Optionally, the web.xml file can be further configured based on settings clearly defined in the Service Manager 7.00 installation guide.

Step 11: Test the Web Tier Installation and Configuration Open a browser.95. In the address field type in http://localhost:8080/sm7/index.do. or

http://localhost:8080/sm7/ess.do.Note: URL is case sensitive96. In the Login field type in falcon and leave the password field blank.97. Click Login.

HP Confidential20

Page 21: Service Manager 7 Beta - Micro Focus Community€¦ · Web view1. In the database folder where the installation files are located run the setup.exe file. This will launch the Oracle

Note: Successful login verifies the web tier is correctly installed and configured.

98. Close the web browser after verifying a successful login.

HP Confidential21