HP Cloud Service Automation

For the Windows ® and Linux operating systems

Software Version: 4.50

Customized output from:

Installation Guide

Document Release Date: July 2015

Software Release Date: July 2015

HP logo

Legal Notices

Warranty

The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

The information contained herein is subject to change without notice.

Restricted Rights Legend

Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.

Copyright Notice

© Copyright 2010-2015 Hewlett-Packard Development Company, L.P.

Trademark Notices

Adobe™ is a trademark of Adobe Systems Incorporated.

Microsoft® and Windows® are U.S. registered trademarks of Microsoft Corporation.

The OpenStack® Word Mark and the Square O Design, together or apart, are trademarks or registered trademarks marks of OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission.

Oracle and Java are registered trademarks of Oracle and/or its affiliates.

RED HAT READY™ Logo and RED HAT CERTIFIED PARTNER™ Logo are trademarks of Red Hat, Inc.

This product includes an interface of the 'zlib' general purpose compression library, which is Copyright © 1995-2002 Jean-loup Gailly and Mark Adler.

 
 
 
 

Installation Guide

Installation Overview

The HP Cloud Service Automation Installation Guide for 4.50 is an interactive document that provides the information necessary to install the HP Cloud Service Automation (HP CSA) application, based on the information you provide.

Select from the options below and click View or Print to create a customized installation document. In this document, when available, detailed tasks are provided to complete the installation. In other cases, you may need to refer to the manufacturer's documentation to complete the steps.

Note: If a selection is disabled (it cannot be selected), it is not a supported selection based on the other options you have selected. If a disabled selection is selected, choose an enabled selection instead. In some cases, there may be only one selection that can be enabled in a section.

For general information about HP Cloud Service Automation, see the HP Cloud Service Automation Concepts Guide.

For information about the supported components and versions, see the HP Cloud Service Automation System and Software Support Matrix.

If you want to upgrade to HP CSA version 4.50, see the HP Cloud Service Automation Upgrade Guide.

Select an Operating System

Windows
Linux, Red Hat Enterprise
Linux, Ubuntu
Select the operating system of the server on which HP CSA is going to be installed.

Select a database

Oracle
Microsoft SQL Server
PostgreSQL
This is the database used for resource management by HP CSA. Other providers may also have database requirements and they should be met by following the manufacturer's recommendations.

Select the HP CSA components

Install the full HP CSA product
Install a remote instance of the Marketplace Portal
Select to install the full HP CSA product (includes the Cloud Service Management Console and Marketplace Portal) or only the Marketplace Portal.

Select the HP Operations Orchestration instance

External HP Operations Orchestration 10.21.0001
Embedded HP Operations Orchestration
Select the instance of HP Operations Orchestration with which HP CSA is going to be integrated. HP Operations Orchestration is used to create workflows that are integrated with HP CSA.

An embedded HP Operations Orchestration can be installed with HP CSA. Or, you may install an external instance of HP Operations Orchestration. You must install an external instance of HP Operations Orchestration if you are installing HP CSA in a clustered environment.

View or Print

Click view or print.

Version: 4.50
Document Release Date: July 2015
Software Release Date: July 2015

Check your selections

The following steps are customized according to your selections. Check that your selections are correct.

 

If any selections are not correct, click Change.

Installation Overview

Based on your selections on the previous page, perform the following steps. It is recommended that you perform each step in the following order:

  1. Configure a group and user.
  2. Install and initially configure Oracle.
  3. Install and initially configure Microsoft SQL Server.
  4. Install and configure PostgreSQL.
  5. Install HP Operations Orchestration.
  6. Install HP Cloud Service Automation.
  7. Secure the Marketplace Portal.
  8. Update and redeploy the HP Service Manager base content pack.
  9. What's next?
  1. Copy the HP CSA certificate to the remote system.
  2. Configure a group and user.
  3. Install HP Cloud Service Automation.
  4. What's next?

This guide provides information for installing the HP Cloud Service Automation application. Successful implementation of the application requires knowledge of the integrated products, as well as the HP Cloud Service Automation solution. Information in this guide augments information provided in the integrated products documentation but is not intended to replace that documentation. Primary product documentation contains the most up-to-date information. Cross references are provided to those documents where appropriate.

For information about how these parts fit together, see the HP Cloud Service Automation Concepts Guide.

You should review the HP Cloud Service Automation System and Software Support Matrix for version requirements.

Both documents are available from the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

Configure a Group and User for HP CSA

Configure a group and user for HP CSA:

  1. Log in to the system as the root user.
  2. Create a group called csagrp. Enter the following:

    groupadd csagrp

  3. Create a user called csauser and assign this user to the csagrp. Enter the following:

    useradd -g csagrp -m csauser (Ubuntu) or
    useradd -g csagrp -m csauser -s /bin/bash (RHEL)

  4. Assign a password to the csauser. Enter the following:

    passwd csauser

    When prompted, enter the password.

Install Oracle Database and JDBC Drivers

Install the Oracle Database (Required)

For a list of supported database versions, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

Install the database according to the manufacturer’s documentation. Database installation is typically done in partnership with a database administrator.

Download Oracle JDBC Drivers (Required)

For a list of supported JDBC driver versions, refer to the HP Cloud Service Automation System and Software Support Matrix (available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport)).

Download a supported version of the JDBC .jar file(s) and save them on the system on which HP CSA will be installed. Note the location where you save the file(s) as this information must be provided when HP CSA is installed.

Configure Oracle

These tasks must be completed before HP CSA is installed.

Create Database Instances for HP CSA

Separate database instances are required for HP CSA and the components it uses. You must create a separate database instance for:

  • Embedded HP Operations Orchestration
  • Identity Management component
  • HP CSA

Work with the database administrator to create a database that is used by the embedded HP Operations Orchestration, HP CSA (if it has not already been created), and the Identity Management component. Refer to the HP Operations Orchestration Database Guide for more information about database requirements for HP Operations Orchestration.

You must provide the service name (global database name) of these databases when prompted for the database information during the installation of HP CSA. For example, when prompted for the HP CSA database information, provide the service of the HP CSA database. When prompted for the Identity Management component database information, provide the service name of the Identity Management component database. When prompted for the embedded HP Operations Orchestration database information, provide the service name of the embedded HP Operations Orchestration database.

Configure Oracle User and Schema for the Embedded HP Operations Orchestration (Required)

A database user, used by the embedded HP Operations Orchestration, is needed when installing HP CSA. Work with the database administrator to do the following (or refer to the manufacturer’s documentation for more information):

Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

  1. Create a schema for the embedded HP Operations Orchestration by creating a database user (for example, csaoodbuser).
  2. Grant the following privileges to the user:
    • CONNECT
    • CREATE VIEW
    • CREATE SEQUENCE
    • CREATE TABLE
    • CREATE PROCEDURE

For example, run the following commands to create the csaoodbuser user:

Create user csaoodbuser identified by csaoodbuser default tablespace system temporary tablespace temp quota unlimited on system account unlock;
Grant CONNECT to csaoodbuser;
Grant CREATE VIEW, CREATE SEQUENCE, CREATE TABLE, CREATE PROCEDURE to csaoodbuser;
Commit;

You must provide this database username and password when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

Create an HP Operations Orchestration database user (for example, csaoodbuser). The HP Operations Orchestration database user, used by the embedded HP Operations Orchestration, is required. This user should inherit rights from parent roles and have superuser privileges.

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

From the psql prompt, enter the following:

create role csaoodbuser login password '<csaoodbuser_password>' superuser inherit;

This is the user to whom you will grant access to the HP Operations Orchestration database when you create this database.

Configure Oracle User and Role for the Identity Management Component (Required)

A database user is needed when installing the Identity Management component for HP CSA. Work with the database administrator to do the following (or refer to the manufacturer’s documentation for more information):

Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

  1. Create a schema for the Identity Management component by creating a database user (for example, csaidmdbuser).
  2. Create a role for this HP CSA database user (for example, csaidmdbrole) and grant the following privileges to the role:
    • CREATE SESSION
    • CREATE TABLE
    • CREATE VIEW
    • CREATE SEQUENCE
    • CREATE ANY SYNONYM
  3. Grant the role to the database user.
  4. Alter the database user by setting this role as the user's default role.

For example, run the following commands to create the csaidmdbrole role and csaidmdbuser user:

Create user csaidmdbuser identified by csaidmdbuser;
Create role csaidmdbrole;
Grant CREATE SESSION, CREATE TABLE, CREATE VIEW, CREATE SEQUENCE, CREATE ANY SYNONYM to csaidmdbuser;
Grant csaidmdbrole to csaidmdbuser;
Alter user csaidmdbuser default role csaidmdbrole;

You must provide this user's username and password when prompted for the Identity Management component database information during the installation of HP CSA.

Configure Oracle User and Role for HP CSA (Required)

A database user is needed when installing HP CSA. Work with the database administrator to do the following (or refer to the manufacturer’s documentation for more information):

Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

  1. Create a schema for HP CSA by creating a database user (for example, csadbuser).
  2. Create a role for this HP CSA database user (for example, csadbrole) and grant the following privileges to the role:
    • CREATE SESSION
    • CREATE TABLE
    • CREATE VIEW
    • CREATE SEQUENCE
    • CREATE ANY SYNONYM
  3. Grant the role to the HP CSA database user.
  4. Alter the HP CSA database user by setting this role as the user's default role.

For example, run the following commands to create the csadbrole role and csadbuser user:

Create user csadbuser identified by csadbuser;
Create role csadbrole;
Grant CREATE SESSION, CREATE TABLE, CREATE VIEW, CREATE SEQUENCE, CREATE ANY SYNONYM to csadbuser;
Grant csadbrole to csadbuser;
Alter user csadbuser default role csadbrole;

You must provide this user's username and password when prompted for the HP CSA database information during the installation of HP CSA.

Configure a Reporting Role and Read-Only User for HP CSA (Required for Reporting)

A reporting database role and read-only user are needed only if you want to use the reporting capabilities of HP CSA. Work with the database administrator to create a role and read-only user to do the following (or refer to the manufacturer’s documentation for more information):

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

  1. Create a database user (for example, CSAReportingDBUser).
  2. Create a role for this HP CSA database user (for example, CSAReportingDBRole) and grant the following privilege to the role:
    • CREATE SESSION
  3. Grant the role to the HP CSA database user.
  4. Alter the HP CSA database user by setting this role as the user's default role.

For example, run the following commands to create the CSAReportingDBRole role and CSAReportingDBUser read-only user:

Create user CSAReportingDBUser identified by CSAReportingDBUser;
Create role CSAReportingDBRole;
Grant CREATE SESSION to CSAReportingDBUser;
Grant CSAReportingDBRole to CSAReportingDBUser;
Alter user CSAReportingDBUser default role CSAReportingDBRole;

A reporting database user is needed only if you want to use the reporting capabilities of HP CSA.

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

Add a reporting database user to the HP CSA database with no roles.

For example, run the following commands to create the CSAReportingDBUser read-only user:

CREATE LOGIN CSAReportingDBUser WITH PASSWORD = '<csareportingdbuser_password>';
CREATE USER CSAReportingDBUser FOR LOGIN CSAReportingDBUser WITH DEFAULT_SCHEMA = csadb;

Optionally, create a reporting database user for HP CSA (for example, CSAReportingDBUser). A reporting database user is needed only if you want to use the reporting capabilities of HP CSA. This user should have read-only rights.

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

From the psql prompt, enter the following:

create role CSAReportingDBUser login password '<CSAReportingDBUser_password>' nosuperuser nocreatedb nocreaterole inherit;

If you configure this user, you must provide this user's username and password when prompted for the HP CSA reporting database user during the installation of HP CSA.

Configure Oracle for Localization (Required for Localization)

To support localization, the Oracle database instance must support UTF-8 character encoding and multi-byte characters. Work with the database administrator to set the following parameters to the specified values (or refer to the manufacturer’s documentation for more information):

  • NLS_CHARACTERSET = AL32UTF8
  • NLS_LENGTH_SEMANTICS = CHAR

Create a Tablespace for HP CSA (Recommended)

For performance reasons, HP recommends that you create a new tablespace which stores LOBs for the CSA_DOCUMENT table. Work with the database administrator to create a tablespace to be used by HP CSA (or refer to the manufacturer’s documentation for more information). HP recommends that the initial tablespace size should be at least 3 GB.

The tablespace must be created before installing HP CSA and then must be configured immediately after HP CSA is installed.

Install Microsoft SQL Server

Refer to HP Cloud Service Automation System and Software Support Matrix for a list of supported database versions, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

Database installation is typically done in partnership with a database administrator. Microsoft SQL Server must be installed with Mixed Mode authentication. During the installation of Microsoft SQL Server, from the Database Engine Configuration dialog, for Authentication Mode, select Mixed Mode (SQL Server authentication and Windows authentication).

Configure Microsoft SQL Server

These tasks must be completed before HP CSA is installed. Work with the database administrator to complete the following tasks (or refer to the manufacturer’s documentation for more information).

Enable TCP/IP (Required)

TCP/IP must be enabled on the Microsoft SQL Server in order for HP CSA to log in to the database. By default, TCP/IP may be disabled on the Microsoft SQL Server. Verify the TCP/IP configuration.

From the SQL Server Configuration Manager:

  1. Select SQL Server Network Configuration > Protocols for <instance_name>.
  2. Double-Click TCP/IP to open the TCP/IP Properties dialog.
  3. From the TCP/IP Properties dialog, select the IP Addresses tab.
  4. Verify TCP/IP is active and enabled, and verify the TCP port is set to 1433. Update any properties that are not set correctly.

Configure a Microsoft SQL Server User for HP CSA (Required)

An HP CSA database user is needed when installing HP CSA.

Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

To create a database user for HP CSA, do the following:

  1. Create a new database for HP CSA (for example, csadb).

    Caution: Use the default database option Collation value of SQL_Latin1_General_CP1_Cl_AS.

    Do NOT use the collation value SQL_Latin1_General_CP1_CS_AS. HP CSA does not work with a database configured with this collation value.

  2. Add an HP CSA database user (for example, csadbuser) with the following roles:
    • db_datareader
    • db_datawriter
    • db_owner

    For example, run the following commands to create the csadbuser user with the specified roles:

    Microsoft SQL Server 2008 R2

    CREATE LOGIN csadbuser WITH PASSWORD = '<csadbuser_password>';
    CREATE USER csadbuser FOR LOGIN csadbuser WITH DEFAULT_SCHEMA = csadb;
    EXEC sp_addrolemember 'db_datareader', 'csadbuser';
    EXEC sp_addrolemember 'db_datawriter', 'csadbuser';
    EXEC sp_addrolemember 'db_owner', 'csadbuser';

    Microsoft SQL Server 2012

    CREATE LOGIN csadbuser WITH PASSWORD = '<csadbuser_password>';
    CREATE USER csadbuser FOR LOGIN csadbuser WITH DEFAULT_SCHEMA = csadb;
    ALTER ROLE db_datareader ADD MEMBER csadbuser;
    ALTER ROLE db_datawriter ADD MEMBER csadbuser;
    ALTER ROLE db_owner ADD MEMBER csadbuser;

You must provide this database name, database username, and user's password when prompted for the HP CSA database information during the installation of HP CSA.

Configure a Reporting Database User for HP CSA (Required for Reporting)

A reporting database role and read-only user are needed only if you want to use the reporting capabilities of HP CSA. Work with the database administrator to create a role and read-only user to do the following (or refer to the manufacturer’s documentation for more information):

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

  1. Create a database user (for example, CSAReportingDBUser).
  2. Create a role for this HP CSA database user (for example, CSAReportingDBRole) and grant the following privilege to the role:
    • CREATE SESSION
  3. Grant the role to the HP CSA database user.
  4. Alter the HP CSA database user by setting this role as the user's default role.

For example, run the following commands to create the CSAReportingDBRole role and CSAReportingDBUser read-only user:

Create user CSAReportingDBUser identified by CSAReportingDBUser;
Create role CSAReportingDBRole;
Grant CREATE SESSION to CSAReportingDBUser;
Grant CSAReportingDBRole to CSAReportingDBUser;
Alter user CSAReportingDBUser default role CSAReportingDBRole;

A reporting database user is needed only if you want to use the reporting capabilities of HP CSA.

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

Add a reporting database user to the HP CSA database with no roles.

For example, run the following commands to create the CSAReportingDBUser read-only user:

CREATE LOGIN CSAReportingDBUser WITH PASSWORD = '<csareportingdbuser_password>';
CREATE USER CSAReportingDBUser FOR LOGIN CSAReportingDBUser WITH DEFAULT_SCHEMA = csadb;

Optionally, create a reporting database user for HP CSA (for example, CSAReportingDBUser). A reporting database user is needed only if you want to use the reporting capabilities of HP CSA. This user should have read-only rights.

Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

From the psql prompt, enter the following:

create role CSAReportingDBUser login password '<CSAReportingDBUser_password>' nosuperuser nocreatedb nocreaterole inherit;

If you configure this user, you must provide this user's username and password when prompted for the HP CSA reporting database user during the installation of HP CSA.

Configure a Microsoft SQL Server User for the Identity Management Component (Required)

An Identity Management component database user is needed when installing HP CSA.

Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

  1. Create a new database for the Identity Management component (for example, csaidmdb).

    Caution: Use the default database option Collation value of SQL_Latin1_General_CP1_Cl_AS.

    Do NOT use the collation value SQL_Latin1_General_CP1_CS_AS. HP CSA does not work with a database configured with this collation value.

  2. Create a new user for the Identity Management component database (for example, csaidmdbuser) with the following roles. You can use the existing database login you created for the HP CSA database (for example, csadbuser) or you may create a new database login for the Identity Management component database (for example, csaidmdbuser).

    • db_datareader
    • db_datawriter
    • db_owner

    For example, run the following commands to create the csaidmdbuser login and user with the specified roles:

    Microsoft SQL Server 2008 R2

    CREATE LOGIN csaidmdbuser WITH PASSWORD = '<csaidmdbuser_password>';
    CREATE USER csaidmdbuser FOR LOGIN csaidmdbuser WITH DEFAULT_SCHEMA = csaidmdb;
    EXEC sp_addrolemember 'db_datareader', 'csaidmdbuser';
    EXEC sp_addrolemember 'db_datawriter', 'csaidmdbuser';
    EXEC sp_addrolemember 'db_owner', 'csaidmdbuser';

    Microsoft SQL Server 2012

    CREATE LOGIN csaidmdbuser WITH PASSWORD = '<csaidmdbuser_password>';
    CREATE USER csaidmdbuser FOR LOGIN csaidmdbuser WITH DEFAULT_SCHEMA = csaidmdb;
    ALTER ROLE db_datareader ADD MEMBER csaidmdbuser;
    ALTER ROLE db_datawriter ADD MEMBER csaidmdbuser;
    ALTER ROLE db_owner ADD MEMBER csaidmdbuser;

You must provide this database name, database username and, user's password when prompted for the Identity Management component database information during the installation of HP CSA.

Create a new database for the Identity Management component. Grant the Identity Management component database user (if you configured this user) or HP CSA database user all rights to this database.

Caution: The database name cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

For example, to create a database named csaidmdb granting access to the Identity Management component database user named csaidmdbuser, from the psql prompt, enter the following commands:

create database csaidmdb with owner=csaidmdbuser connection limit=-1;
grant all on database csaidmdb to csaidmdbuser;

If you did NOT create an Identity Management component database user named csaidmdbuser, create a database named csaidmdb and grant access to this database to the HP CSA database user named csadbuser. From the psql prompt, enter the following commands:

create database csaidmdb with owner=csadbuser connection limit=-1;
grant all on database csaidmdb to csadbuser;

You must provide this database name, database username and, user's password when prompted for the Identity Management component database information during the installation of HP CSA.

Configure a Microsoft SQL Server User for HP Operations Orchestration (Required)

An HP Operations Orchestration database user, used by the embedded HP Operations Orchestration, is needed when installing HP CSA.

Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

To create an HP Operations Orchestration database user for HP CSA, do the following:

Work with the database administrator to create a database that is used by the embedded HP Operations Orchestration. Refer to the HP Operations Orchestration Database Guide for more information about database requirements for HP Operations Orchestration.

You must provide the service (global database) name of this database when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

  1. Create a new database for HP Operations Orchestration (for example, csaoodb).

    As of the release date of the HP CSA software (listed at the top of this guide), the mandatory database options for the Microsoft SQL Server for HP Operations Orchestration are:

    • Allow Snapshot Isolation: True
    • Is Read Committed Snapshot On: True
    • Auto Shrink: False
    • Auto Create Statistics: True

    Caution: You should verify the latest mandatory options and follow the instructions in the HP Operations Orchestration Database Guide when creating the HP Operations Orchestration database.

    Note: HP Operations Orchestration recommends using the database option Collation value of SQL_Latin1_General_CP1_CS_AS. When creating the database used by HP Operations Orchestration, this collation value is valid.

  2. Create a new user for the HP Operations Orchestration database (for example, csaoodbuser) with the following roles. You can use the existing database login you created for the HP CSA database (for example, csadbuser) or you may create a new database login for the HP Operations Orchestration database (for example, csaoodbuser).

    • db_datareader
    • db_datawriter
    • db_owner

    For example, run the following commands to create the csaoodbuser login and user with the specified roles:

    Microsoft SQL Server 2008 R2

    CREATE LOGIN csaoodbuser WITH PASSWORD = '<csaoodbuser_password>';
    CREATE USER csaoodbuser FOR LOGIN csaoodbuser WITH DEFAULT_SCHEMA = csaoodb;
    EXEC sp_addrolemember 'db_datareader', 'csaoodbuser';
    EXEC sp_addrolemember 'db_datawriter', 'csaoodbuser';
    EXEC sp_addrolemember 'db_owner', 'csaoodbuser';

    Microsoft SQL Server 2012

    CREATE LOGIN csaoodbuser WITH PASSWORD = '<csaoodbuser_password>';
    CREATE USER csaoodbuser FOR LOGIN csaoodbuser WITH DEFAULT_SCHEMA = csaoodb;
    ALTER ROLE db_datareader ADD MEMBER csaoodbuser;
    ALTER ROLE db_datawriter ADD MEMBER csaoodbuser;
    ALTER ROLE db_owner ADD MEMBER csaoodbuser;

Create a new database for HP Operations Orchestration. Grant the HP Operations Orchestration database user all rights to this database. Refer to the HP Operations Orchestration Database Guide for more information about database requirements for HP Operations Orchestration.

Caution: The database name cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

For example, if you create a database named csaoodb and an HP Operations Orchestration user named csaoodbuser, from the psql prompt, enter the following commands:

create database csaoodb with owner=csaoodbuser connection limit=-1;
grant all on database csaoodb to csaoodbuser;

You must provide this database name, database username and, user's password when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

You must provide this database name, database username, and user's password when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

Create a Filegroup (Recommended)

For performance reasons, HP recommends that you associate a new filegroup with the CSA_DOCUMENT table. Work with the database administrator to configure a filegroup to be used by HP CSA (or refer to the manufacturer’s documentation for more information). HP recommends that the initial filegroup size should be at least 3 GB.

The filegroup is configured after HP CSA is installed.

Install PostgreSQL

Refer to HP Cloud Service Automation System and Software Support Matrix for a list of supported database versions, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

Install the database according to the manufacturer’s documentation. Database installation is typically done in partnership with a database administrator.

Configure PostgreSQL

These tasks must be completed before HP CSA is installed. Work with the database administrator to complete the following tasks (or refer to the manufacturer’s documentation for more information).

Configure PostgreSQL Users and Database (Required)

  1. On the system hosting the database, install postgresql-clientpostgres-client.rpm if it is not already installed. As the root user, enter the following:

    apt-get install postgresql-clientrpm -ivh postgres-client.rpm

  2. Set the shared library path to include the PostgreSQL libraries (<postgresql_installation>/lib). For example, if you installed PostgreSQL in /opt/PostgreSQL/9.2/, run the following command:

    export LD_LIBRARY_PATH=/opt/PostgreSQL/9.2/lib:$LD_LIBRARY_PATH

  3. Log in to psql as the postgres user. Enter the following:

    psql -h localhost -U postgres -d template1

    When prompted, enter the password for the postgres user.

  4. Create an HP CSA database user (for example, csadbuser). The HP CSA database user is required. This user should inherit rights from parent roles and be a superuser.

    Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    From the psql prompt, enter the following:

    create role csadbuser login password '<csadbuser_password>' superuser inherit;

    This is the user to whom you will grant access to the HP CSA database when you create this database.

  5. Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    1. Create a schema for the embedded HP Operations Orchestration by creating a database user (for example, csaoodbuser).
    2. Grant the following privileges to the user:
      • CONNECT
      • CREATE VIEW
      • CREATE SEQUENCE
      • CREATE TABLE
      • CREATE PROCEDURE

    For example, run the following commands to create the csaoodbuser user:

    Create user csaoodbuser identified by csaoodbuser default tablespace system temporary tablespace temp quota unlimited on system account unlock;
    Grant CONNECT to csaoodbuser;
    Grant CREATE VIEW, CREATE SEQUENCE, CREATE TABLE, CREATE PROCEDURE to csaoodbuser;
    Commit;

    You must provide this database username and password when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

    Create an HP Operations Orchestration database user (for example, csaoodbuser). The HP Operations Orchestration database user, used by the embedded HP Operations Orchestration, is required. This user should inherit rights from parent roles and have superuser privileges.

    Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    From the psql prompt, enter the following:

    create role csaoodbuser login password '<csaoodbuser_password>' superuser inherit;

    This is the user to whom you will grant access to the HP Operations Orchestration database when you create this database.

  6. Optionally, create an Identity Management component database user (for example, csaidmdbuser). This user should inherit rights from parent roles and be a superuser.

    Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    From the psql prompt, enter the following:

    create role csaidmdbuser login password '<csaidmdbuser_password>' superuser inherit;

    This is the user to whom you will grant access to the Identity Management component database when you create this database. If you do not create this user, you can use the HP CSA database user (for example, csadbuser) instead.

  7. A reporting database role and read-only user are needed only if you want to use the reporting capabilities of HP CSA. Work with the database administrator to create a role and read-only user to do the following (or refer to the manufacturer’s documentation for more information):

    Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    1. Create a database user (for example, CSAReportingDBUser).
    2. Create a role for this HP CSA database user (for example, CSAReportingDBRole) and grant the following privilege to the role:
      • CREATE SESSION
    3. Grant the role to the HP CSA database user.
    4. Alter the HP CSA database user by setting this role as the user's default role.

    For example, run the following commands to create the CSAReportingDBRole role and CSAReportingDBUser read-only user:

    Create user CSAReportingDBUser identified by CSAReportingDBUser;
    Create role CSAReportingDBRole;
    Grant CREATE SESSION to CSAReportingDBUser;
    Grant CSAReportingDBRole to CSAReportingDBUser;
    Alter user CSAReportingDBUser default role CSAReportingDBRole;

    A reporting database user is needed only if you want to use the reporting capabilities of HP CSA.

    Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    Add a reporting database user to the HP CSA database with no roles.

    For example, run the following commands to create the CSAReportingDBUser read-only user:

    CREATE LOGIN CSAReportingDBUser WITH PASSWORD = '<csareportingdbuser_password>';
    CREATE USER CSAReportingDBUser FOR LOGIN CSAReportingDBUser WITH DEFAULT_SCHEMA = csadb;

    Optionally, create a reporting database user for HP CSA (for example, CSAReportingDBUser). A reporting database user is needed only if you want to use the reporting capabilities of HP CSA. This user should have read-only rights.

    Caution: The username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    From the psql prompt, enter the following:

    create role CSAReportingDBUser login password '<CSAReportingDBUser_password>' nosuperuser nocreatedb nocreaterole inherit;

    If you configure this user, you must provide this user's username and password when prompted for the HP CSA reporting database user during the installation of HP CSA.

  8. Create a new database for HP CSA. Grant the HP CSA database user all rights to this database and grant the reporting database user read-only access to this database.

    Caution: The database name cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    For example, if you create a database named csadb, an HP CSA user named csadbuser, and a reporting database user CSAReportingDBUser, from the psql prompt, enter the following commands:

    create database csadb with owner=csadbuser connection limit=-1;
    grant all on database csadb to csadbuser;
    grant connect on database csadb to CSAReportingDBUser;

    You must provide this database name, database username and, user's password when prompted for the HP CSA database information during the installation of HP CSA.

  9. Work with the database administrator to create a database that is used by the embedded HP Operations Orchestration. Refer to the HP Operations Orchestration Database Guide for more information about database requirements for HP Operations Orchestration.

    You must provide the service (global database) name of this database when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

    1. Create a new database for HP Operations Orchestration (for example, csaoodb).

      As of the release date of the HP CSA software (listed at the top of this guide), the mandatory database options for the Microsoft SQL Server for HP Operations Orchestration are:

      • Allow Snapshot Isolation: True
      • Is Read Committed Snapshot On: True
      • Auto Shrink: False
      • Auto Create Statistics: True

      Caution: You should verify the latest mandatory options and follow the instructions in the HP Operations Orchestration Database Guide when creating the HP Operations Orchestration database.

      Note: HP Operations Orchestration recommends using the database option Collation value of SQL_Latin1_General_CP1_CS_AS. When creating the database used by HP Operations Orchestration, this collation value is valid.

    2. Create a new user for the HP Operations Orchestration database (for example, csaoodbuser) with the following roles. You can use the existing database login you created for the HP CSA database (for example, csadbuser) or you may create a new database login for the HP Operations Orchestration database (for example, csaoodbuser).

      • db_datareader
      • db_datawriter
      • db_owner

      For example, run the following commands to create the csaoodbuser login and user with the specified roles:

      Microsoft SQL Server 2008 R2

      CREATE LOGIN csaoodbuser WITH PASSWORD = '<csaoodbuser_password>';
      CREATE USER csaoodbuser FOR LOGIN csaoodbuser WITH DEFAULT_SCHEMA = csaoodb;
      EXEC sp_addrolemember 'db_datareader', 'csaoodbuser';
      EXEC sp_addrolemember 'db_datawriter', 'csaoodbuser';
      EXEC sp_addrolemember 'db_owner', 'csaoodbuser';

      Microsoft SQL Server 2012

      CREATE LOGIN csaoodbuser WITH PASSWORD = '<csaoodbuser_password>';
      CREATE USER csaoodbuser FOR LOGIN csaoodbuser WITH DEFAULT_SCHEMA = csaoodb;
      ALTER ROLE db_datareader ADD MEMBER csaoodbuser;
      ALTER ROLE db_datawriter ADD MEMBER csaoodbuser;
      ALTER ROLE db_owner ADD MEMBER csaoodbuser;

    Create a new database for HP Operations Orchestration. Grant the HP Operations Orchestration database user all rights to this database. Refer to the HP Operations Orchestration Database Guide for more information about database requirements for HP Operations Orchestration.

    Caution: The database name cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    For example, if you create a database named csaoodb and an HP Operations Orchestration user named csaoodbuser, from the psql prompt, enter the following commands:

    create database csaoodb with owner=csaoodbuser connection limit=-1;
    grant all on database csaoodb to csaoodbuser;

    You must provide this database name, database username and, user's password when prompted for the HP Operations Orchestration database information during the installation of HP CSA.

  10. An Identity Management component database user is needed when installing HP CSA.

    Caution: The database name and username cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    1. Create a new database for the Identity Management component (for example, csaidmdb).

      Caution: Use the default database option Collation value of SQL_Latin1_General_CP1_Cl_AS.

      Do NOT use the collation value SQL_Latin1_General_CP1_CS_AS. HP CSA does not work with a database configured with this collation value.

    2. Create a new user for the Identity Management component database (for example, csaidmdbuser) with the following roles. You can use the existing database login you created for the HP CSA database (for example, csadbuser) or you may create a new database login for the Identity Management component database (for example, csaidmdbuser).

      • db_datareader
      • db_datawriter
      • db_owner

      For example, run the following commands to create the csaidmdbuser login and user with the specified roles:

      Microsoft SQL Server 2008 R2

      CREATE LOGIN csaidmdbuser WITH PASSWORD = '<csaidmdbuser_password>';
      CREATE USER csaidmdbuser FOR LOGIN csaidmdbuser WITH DEFAULT_SCHEMA = csaidmdb;
      EXEC sp_addrolemember 'db_datareader', 'csaidmdbuser';
      EXEC sp_addrolemember 'db_datawriter', 'csaidmdbuser';
      EXEC sp_addrolemember 'db_owner', 'csaidmdbuser';

      Microsoft SQL Server 2012

      CREATE LOGIN csaidmdbuser WITH PASSWORD = '<csaidmdbuser_password>';
      CREATE USER csaidmdbuser FOR LOGIN csaidmdbuser WITH DEFAULT_SCHEMA = csaidmdb;
      ALTER ROLE db_datareader ADD MEMBER csaidmdbuser;
      ALTER ROLE db_datawriter ADD MEMBER csaidmdbuser;
      ALTER ROLE db_owner ADD MEMBER csaidmdbuser;

    You must provide this database name, database username and, user's password when prompted for the Identity Management component database information during the installation of HP CSA.

    Create a new database for the Identity Management component. Grant the Identity Management component database user (if you configured this user) or HP CSA database user all rights to this database.

    Caution: The database name cannot contain more than one dollar sign symbol ($). For example, c$adb is a valid name but c$$adb and c$ad$b are not valid names.

    For example, to create a database named csaidmdb granting access to the Identity Management component database user named csaidmdbuser, from the psql prompt, enter the following commands:

    create database csaidmdb with owner=csaidmdbuser connection limit=-1;
    grant all on database csaidmdb to csaidmdbuser;

    If you did NOT create an Identity Management component database user named csaidmdbuser, create a database named csaidmdb and grant access to this database to the HP CSA database user named csadbuser. From the psql prompt, enter the following commands:

    create database csaidmdb with owner=csadbuser connection limit=-1;
    grant all on database csaidmdb to csadbuser;

    You must provide this database name, database username and, user's password when prompted for the Identity Management component database information during the installation of HP CSA.

  11. Exit psql. From the psql prompt, enter the following:

    \q

Install HP Operations Orchestration

Install HP Operations Orchestration to the correct version and patch level. See HP Cloud Service Automation System and Software Support Matrix for version requirements, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

If you are using an existing installation of HP Operations Orchestration, you should verify that the correct versions of patches and updates have been applied.

Caution: If you are using an earlier version of HP Operations Orchestration:

YOU MUST UPGRADE HP OPERATIONS ORCHESTRATION TO VERSION 10.21.0001 BEFORE INSTALLING HP CSA.

After upgrading to HP Operations Orchestration 10.21.0001, update it by following the instructions below.

Update HP Operations Orchestration Version 10.21.0001 (Required)

Update HP Operations Orchestration version 10.21.0001 by installing hotfix HF_27629.

For your convenience, the hotfix is delivered with the HP CSA installation media. Locate the readme file for this hotfix and follow the instructions on how to upgrade HP Operations Orchestration.

Alternatively, you can download the hotfix from https://patch-central.corp.hp.com/crypt-web/protected/viewContent.do?patchId=HF_27629.

Configure an Internal User (Required)

This internal user is used to configure HP Operations Orchestration for HP CSA. This step is required if you are going to integrate HP Operations Orchestration with HP CSA using the installer (remember this username and password as you will be prompted for them when running the installer).

  1. Log in to HP Operations Orchestration Central.
  2. Click the System Configuration button.
  3. Select Security > Internal Users.
  4. Click the + (Add) icon.

  5. Enter the following information:

    Field Recommended Value
    User Name admin
    Password cloud
    Roles ADMINISTRATOR, SYSTEM_ADMIN

    The admin user is also used with HP Single Sign-On (HP SSO). When HP Operations Orchestration is launched from the Cloud Service Management Console, this user allows access to HP Operations Orchestration without having to log in.

  6. Click Save.
  7. If not enabled, enable authentication by selecting the Enable Authentication check box.
  8. Select OK in the confirmation dialog.

Export HP Operations Orchestration's Root Certificate (Required)

Export HP Operations Orchestration's certificate from HP Operations Orchestration's truststore and, if HP Operations Orchestration and HP CSA are not installed on the same system, copy the certificate to the HP CSA system. This certificate will be imported into HP CSA's truststore by the HP CSA installer. TLS must be configured between HP CSA and HP Operations Orchestration.

For example, do the following:

  1. On the system running HP Operations Orchestration, open a command prompt and change to the directory where HP Operations Orchestration is installed.
  2. Run the following command:

    Windows
    .\java\bin\keytool -export -alias tomcat -file C:\oo.crt -keystore .\Central\var\security\key.store -storepass changeit

    Linux
    ./java/bin/keytool -export -alias tomcat -file /tmp/oo.crt -keystore ./Central/var/security/key.store -storepass changeit

    where C:\oo.crt and /tmp/oo.crt are examples of filenames and locations used to store the exported root certificate (you can choose a different filename and location).

  3. If HP Operations Orchestration is not running on the same system as HP Cloud Service Automation, copy oo.crt from the HP Operations Orchestration system to the system running HP Cloud Service Automation.

Install HP Cloud Service Automation

Note: Installation log files are written to the %CSA_HOME%\_CSA_4_50_0_installation\Logs\ directory.

To install HP Cloud Service Automation (HP CSA), complete the following steps.

  1. Close all instances of Windows Explorer and command prompts and exit all programs that are running on the system.
  2. Unzip the setup.zip file. Go to the directory to which the files have been extracted and run the setup.bat installation file. A command window (which will display until the script has completed) and a dialog that shows the progress of installation preparation are displayed. Do not close either window. The installation preparation progress dialog will disappear when installation preparation has completed.

  3. On the Introduction screen, read the information and click Next.

  4. Read the license agreement and select I accept the terms of the License Agreement. Click Next to continue with the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory %CSA_HOME% does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the C:\Program Files\Zero G Registry\.com.zerog.registry.xml file (you may need to show hidden files), make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  5. Select HP CSA and Marketplace Portal and click Next.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you only want to install the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install both the HP CSA and Marketplace Portal are different from the tasks to install only the Marketplace Portal.

  6. Choose a location in which to install HP CSA and click Next (%CSA_HOME%$CSA_HOME is set to this location).

    The default location is C:\Program Files\Hewlett-Packard\CSA.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  7. Select the JRE that will be used by HP CSA.

    In this documentation, the directory in which the JRE is installed will be referred to as <csa_jre>.

    For a list of supported JREs, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

    OpenJDK JRE

    The OpenJDK JRE is bundled with HP CSA. If you want to use the OpenJDK JRE, select Open JRE and click Next.

    The default location in which the OpenJDK JRE is installed is C:\Program Files\Hewlett-Packard\CSA\openjre.

    Oracle JRE

    If you have installed a supported version of Oracle JRE to be used by HP CSA, select Oracle JRE, choose the location in which you installed this JRE, and click Next.

    The default location displayed for the Oracle JRE Home is either a supported JRE that is configured in the system registry or a supported JRE in a path that is defined in the system path variable. If this is not the JRE that should be used by HP CSA, click Choose and select the location in which you installed the JRE that will be used by HP CSA.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  8. Install HP CSA database components onto the database instance to create the HP CSA database schema, if it does not exist.

    Click Yes to install HP CSA database components and create the HP CSA database schema. When you select this option, the HP CSA service automatically starts when you exit the installer.

    Click No if you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version 4.50. When you select this option, you cannot use the installer to deploy sample content and the HP CSA service does not start when you exit the installer. Refer to the end of this section for information on how to start and stop the HP CSA service.

  9. Select the type of database installed (Microsoft SQL Server)(Oracle)(PostgreSQL) and click Next.

    For an Oracle database, you must also enter the JDBC Driver Directory. This is the absolute directory path to the location of the JDBC drivers (these are the JDBC drivers you downloaded onto the HP CSA system). For a list of supported JDBC driver versions, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport). Click Choose to select the directory.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  10. Define the database instance on which the HP CSA database components should be installed or where the HP CSA database schema already exists. Enter the following database information and click Next.

    Field Name Description
    Database Host The hostname or IP address of the server where the database is located. When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1].
    Database Port The database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).

    Database NameOracle service name

    The service or global database name of the database instance on which the HP CSA database schema will be installed (for example, csadb). If you are creating a new HP CSA database schema, this is the service name of the database instance on which the HP CSA database components will be installed. If you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version HP 4.50, this is the service name of the database instance on which the HP CSA database schema exists.
    Database Username The username of the database user you configured for HP CSA in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, csadbuser).
    Database Password The password for the database user.

    If you created a reporting database role and read-only userreporting database user when you configured the database, select the Reporting User checkbox and enter the following information:

    Field Name Description
    CSA Reporting Database Username The username of the database user you configured for reporting purposes for HP CSA in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, CSAReportingDBUser).
    CSA Reporting Database Password The password for the CSA reporting database user.
  11. Enter the database information for the database used by the Identity Management component and click Next. The database used by the Identity Management component must be the same type of database used by HP CSA (Microsoft SQL ServerOraclePostgreSQL).

    Field Name Description
    MSSQLOraclePostgreSQL Database Host The hostname or IP address of the server where the Identity Management component database is located.
    MSSQLOraclePostgreSQL Database Port The Identity Management component database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).

    HP IDM Database NameHP IDM Oracle service name

    The service or global database name of the database instance used by the Identity Management component (for example, csaidmdb).
    HP IDM Database Username The username of the database user you configured for the Identity Management component database in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, csaidmdbuser or csadbuser).
    HP IDM Database Password The password for the Identity Management component database user.
  12. From the hostname configuration screen, enter the fully-qualified domain name of the system on which you are installing HP CSA. This name is used to generate the self-signed certificate and configure HP CSA, the Marketplace Portal, and the Identity Management component.

    The self-signed certificate is used when https browser requests are issued for the Cloud Service Management Console. Marketplace Portal. This self-signed certificate expires 120 days after HP CSA is installed.

    Caution: If you enter an IP address, after installation completes, you must manually generate a self-signed certificate using the fully-qualified domain name of the system on which you installed HP CSA and manually reconfigure HP CSA and the Marketplace Portal to use this certificate. For more information, refer to the HP Cloud Service Automation Configuration Guide.

  13. By default, HP Single Sign-On (HP SSO) is included with HP CSA and is enabled. The HP SSO that is included with HP CSA can only be used when launching an application, such as HP Operations Orchestration or HP IT Business Analytics, from the Cloud Service Management Console. Refer to the HP Cloud Service Automation Configuration Guide and HP SSO documentation for more information on integrating HP SSO with an application.

    If you do not want to use HP SSO, you can disable it.

    You MUST disable HP Single Sign-On if you are installing HP CSA in a FIPS 140-2 compliant environment.

    If enabled, enter the domain name of the network to which the server on which you are installing HP CSA belongs and click Next.

    Note: You must enter the full domain name of the server. For example, if you are installing HP CSA on a system whose fully-qualified domain name is machine1.marketing.xyz.com, you must enter marketing.xyz.com. If you enter only xyz.com, you will not be able to log in to the Cloud Service Management Console.

    Applications launched from the Cloud Service Management Console with which you want to use HP SSO must be installed on systems that belong to this domain.

  14. Specify if you want to install the embedded (new) HP Operations Orchestration instance with HP CSA or if you are integrating with an external (existing) instance of HP Operations Orchestration.

    Select Use external OO and click Next1 and select Enter to integrate with an external (existing) instance of HP Operations Orchestration.Select Install embedded OO and click Next2 and select Enter to install the embedded HP Operations Orchestration.

  15. Define the HP Operations Orchestration instance with which HP CSA is to be integrated. Enter the following information and click Next.

    Field Name Description
    HP OO Hostname The fully-qualified domain name or IP address of the server where HP Operations Orchestration is located. Specify the hostname that was used to generate HP Operations Orchestration's certificate. The hostname is used for TLS validation and to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration (for example, in the subscription event overview section of the Operations area in the Cloud Service Management Console, selecting the Process ID opens HP Operations Orchestration to the detailed page of the selected process when these properties are configured).

    When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1].
    HP OO Port The port number used to communicate with HP Operations Orchestration, such as 8443. The port number is used to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration. By default, HP Operations Orchestration uses this port and port 8080. Applications running on the system on which HP Operations Orchestration is installed should not be using these ports.
    HP OO User

    The name of the user who logs in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, this is the admin user.

    HP OO Password The password used by the HP OO user to log in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, use the password cloud.
    HP OO Certificate File The filename and location of HP Operations Orchestration's certificate from HP Operations Orchestration's truststore on the HP CSA system. If you have not already done so, export HP Operations Orchestration's certificate and copy it to the HP CSA system (see the Install HP Operations Orchestration section in this guide for more information).

    This information is used to set the HP Operations Orchestration properties in the csa.properties file and import HP Operations Orchestration's certificate into HP CSA's truststore. Refer to the HP Cloud Service Automation Configuration Guide for more information about these properties.

  16. Choose a location in which to install the embedded HP Operations Orchestration and click Next.

  17. Configure an internal HP Operations Orchestration user and click Next. This user is used for provisioning topology designs.

    Field Name Description
    HP OO User Name The name of the user used for provisioning topology designs. This user is given the ADMINISTRATOR and SYSTEM_ADMIN roles. The recommended username is admin.
    HP OO User Password The password used by HP Operations Orchestration for the user who provisions topology designs. The recommended password is cloud.
    HP OO Port The embedded HP Operations Orchestration port number, such as 8445, used to access HP Operations Orchestration Central. By default, HP Operations Orchestration uses this port and port 8080. The embedded HP Operations Orchestration should not use the same port as other applications running on the system.
  18. Enter the database information for the database used by the embedded HP Operations Orchestration and click Next. The database used by the embedded HP Operations Orchestration must be the same type of database used by HP CSA (Microsoft SQL ServerOraclePostgreSQL).

    Field Name Description
    MSSQLOraclePostgreSQL Database Host The hostname or IP address of the server where the embedded HP Operations Orchestration database is located.
    MSSQLOraclePostgreSQL Database Port The embedded HP Operations Orchestration database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).

    HP OO Database NameOracle HP Operations Orchestration service name

    The service or global database name of the database instance used by the embedded HP Operations Orchestration (for example, csaoodb).
    HP OO Database Username The username of the database user you configured for the HP Operations Orchestration database in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, csaoodbuser).
    HP OO Database Password The password for the HP Operations Orchestration database user.
  19. By default, sample content (service designs and the components and HP Operations Orchestration flows required by the designs) are installed with HP CSA. You can choose to deploy this content during installation (making the sample service designs available in the Designs area of the Cloud Service Management Console) or deploy the content at a later time (refer to the HP Cloud Service Automation Content Pack User's Guide or HP Cloud Service Automation Configuration Guide for more information).

    To deploy the sample content during the HP CSA installation process, select Install additional provider integration service designs, components and content and click Next.

    To deploy the sample content at a later time, select Skip content installation and click Next.

    If you choose to skip content installation, you can install the content at a later time by running the HP Cloud Content Capsule Installer. Refer to the HP Cloud Service Automation Content Pack User's Guide or HP Cloud Service Automation Configuration Guide for more information.

    Note: If you chose not to install the database components, this dialog will not display.

  20. Review your selections and click Install to complete the installation.

  21. In some instances, you may be asked to restart your system.

    Click Yes, restart my system to restart your system when you exit the installer.

    Click No, I will restart my system myself to restart your system at a more convenient time.

  22. Click Done to exit the installer.

  23. Verify that the HP Cloud Service Automation, Elasticsearch 1.5.2, HP Search Service, and Marketplace Portal, and HP Operations Orchestration Central services have started by navigating to Start > Administrative Tools > Services. It can take up to five minutes for the HP Cloud Service Automation to start. If one or more services have not started, right-click on the service and select Start.

    The installer creates the HP Cloud Service Automation and Marketplace Portal services. If you opted to install the HP Cloud Service Automation database components, the installer starts these services. The HP Cloud Service Automation service must be running in order to access the Cloud Service Management Console, and the Marketplace Portal service must be running in order to access the Marketplace Portal, and the HP Operations Orchestration Central service must be running in order to access HP Operations Orchestration Central.

To start, stop, and restart the HP Cloud Service Automation, Elasticsearch 1.5.2, HP Search Service, and Marketplace Portal, and HP Operations Orchestration Central services, navigate to Start > Administrative Tools > Services, right-click on a service, and select the desired action.

Note: Installation log files are written to the $CSA_HOME/_CSA_4_50_0_installation/Logs/ directory and are named csa_*.txt.

To install HP Cloud Service Automation (HP CSA), complete the following steps.

  1. Log in to the system as the root user.
  2. Install the unzip utility if it is not already installed. Enter the following:

    apt-get install unzip

  3. Create an installation directory for HP CSA (this document assumes that you will install the product in /usr/local/hp/csa and all examples used in this document are based on this assumption). Enter the following:

    mkdir -p /usr/local/hp/csa

  4. For the installation directory, set the owner to csauser and the group to csagrp. Enter the following:

    chown -R csauser:csagrp /usr/local/hp/csa

  5. Log out as the root user and log in as csauser.
  6. Copy the HP CSA installation file (setup.bin) to the system and go to the directory in which it has been copied.
  7. Verify that setup.bin is owned by csauser and csauser has full permissions to the file. If necessary, do the following:

    1. Log in as the root user
    2. Enter one or both of the following commands:

      chown csauser setup.bin
      chmod u+rwx setup.bin

    3. Log out as the root user and log in as csauser.
  8. Check the values of the CSA_HOME, PS1, and TITLEBAR environment variables. If they are set, verify that they do not contain any escape sequences. If any of these variables contain an escape sequence, the variable will cause the installer to fail. The variable must either be reset to a value that does not contain an escape sequence or must be unset.

  9. Run the setup.bin installation file (as the csauser).

    Note: You must run setup.bin as the csauser. If you install HP CSA as another user, you may not be able to run HP CSA.

    As the csauser, enter the following:

    ./setup.bin

  10. Read the Introduction and click enter to continue with the installation.

  11. Read the license agreement. Click enter to scroll through the entire agreement.
  12. Select Y and enter to accept the license agreement and continue with the installation. Select N and enter to exit the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory $CSA_HOME does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the $HOME/.com.zerog.registry.xml file (for example, /home/csauser/.com.zerog.registry.xml), make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  13. Select HP CSA and Marketplace Portal and click Enter.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you only want to install the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install both the HP CSA and Marketplace Portal are different from the tasks to install only the Marketplace Portal.

  14. Enter a location in which to install HP CSA (enter the absolute path to the location) and select enter. Or, select enter to accept the default location.

    The default location is /usr/local/hp/csa.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    If prompted, verify the installation folder. If the folder is correct, select Y and enter to continue with the installation. If the folder is not correct, select N and enter to re-enter the installation folder.

  15. Select the JRE that will be used by HP CSA.

    In this documentation, the directory in which the JRE is installed will be referred to as $CSA_JRE_HOME.

    For a list of supported JREs, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

    OpenJDK JRE

    The OpenJDK JRE is bundled with HP CSA. If you want to use the OpenJDK JRE, type 1 and select Enter.

    The default location in which the OpenJDK JRE is installed is /usr/local/hp/csa/openjre.

    Oracle JRE

    If you have installed a supported version of Oracle JRE to be used by HP CSA, type 2 and select Enter. Type the location in which you installed this JRE and select Enter.

    The default location displayed for the Oracle JRE Home is either a supported JRE that is configured in the system registry or a supported JRE in a path that is defined in the system path variable. If this is not the JRE that should be used by HP CSA, type in the location in which you installed the JRE that will be used by HP CSA and select Enter.

  16. Install HP CSA database components onto the database instance to create the HP CSA database schema, if it does not already exist.

    Type yes to install HP CSA database components and create the HP CSA database schema. When you select this option, the HP CSA process automatically starts when you exit the installer.

    Type no if you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version 4.50. When you select this option, you cannot use the installer to deploy sample content and the HP CSA process does not start when you exit the installer. Refer to the end of this section for information on how to start and stop the HP CSA service.

  17. Define the database instance on which the HP CSA database components should be installed. Enter the following database information (select Enter after each entry).

    1. Enter the type of database you have installed: MSSql (Microsoft SQL Server)OraclePostgres (PostgreSQL).

      For an Oracle database, you must also enter the JDBC Driver Directory. This is the absolute directory path to the location of the JDBC drivers (these are the JDBC drivers you downloaded onto the HP CSA system). For a list of supported JDBC driver versions, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

    2. Enter the database hostname. This is the hostname or IP address of the server where the database is located. When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1]. The default value is the IP address of the localhost (127.0.0.1).
    3. Enter the database port. This is the database port number, such as 1433 (Microsoft SQL Server)1521 (Oracle)5432 (PostgreSQL).

    4. Enter the Oracle service namedatabase name. This is the service or global database name of the database instance on which the HP CSA database schema will be installed. If you are creating a new HP CSA database schema, this is the service name of the database instance on which the HP CSA database components will be installed). If you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version HP 4.50, this is the service name of the database instance on which the HP CSA database schema already exists.

      If you followed the examples in this document, enter csadb.

    5. Enter the CSA database user name. This is the user name of the database user you configured for HP Cloud Service Automation in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide.

      If you followed the examples in this document, enter csadbuser.

    6. Enter the CSA database password. This is the password for the CSA database user.
    7. Enter the CSA reporting database username (optional). This is the username of the database user you configured for reporting purposes for HP CSA in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide.

      If you followed the examples in this document, enter CSAReportingDBUser.

    8. Enter the CSA reporting database password. This is the password for the CSA reporting database user.
  18. Provide the database instance used by the Identity Management component. Enter the following database information (select Enter after each entry).

    1. Enter the database hostname. This is the hostname or IP address of the server where the database is located. When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1]. The default value is the IP address of the localhost (127.0.0.1).
    2. Enter the database port. This is the database port number, such as 1433 (Microsoft SQL Server)1521 (Oracle)5432 (PostgreSQL).

    3. Enter the Oracle servicedatabase name. This is the service or global database name of the database instance used by the Identity Management component.

      If you followed the examples in this document, enter csaidmdb.

    4. Enter the Identity Management component database user name. This is the user name of the database user you configured for the Identity Management component database in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide.

      If you followed the examples in this document, enter csaidmdbuser or csadbuser.

    5. Enter the CSA database password. This is the password for the Identity Management component database user.
  19. Enter the HP CSA server hostname. This is the fully-qualified domain name of the system on which you are installing HP CSA. This name is used to generate the self-signed certificate and configure HP CSA, the Marketplace Portal, and the Identity Management component.

    The self-signed certificate is used when https browser requests are issued for the Cloud Service Management Console. Marketplace Portal. This self-signed certificate expires 120 days after HP CSA is installed.

    Caution: If you enter an IP address, after installation completes, you must manually generate a self-signed certificate using the fully-qualified domain name of the system on which you installed HP CSA and manually reconfigure HP CSA and the Marketplace Portal to use this certificate. For more information, refer to the HP Cloud Service Automation Configuration Guide.

  20. By default, HP Single Sign-On (HP SSO) is included with HP CSA and is enabled. The HP SSO that is included with HP CSA can only be used when launching an application, such as HP Operations Orchestration or HP IT Business Analytics, from the Cloud Service Management Console. Refer to the HP Cloud Service Automation Configuration Guide and HP SSO documentation for more information on integrating HP SSO with an application.

    If you do not want to use HP SSO, you can disable it. Type 2 and select Enter.

    To enable HP SSO, type 1 and select Enter. Enter the Domain name of the network to which the server belongs (the server on which you are installing HP CSA) and select Enter.

    Note: You must enter the full domain name of the server. For example, if you are installing HP CSA on a system whose fully-qualified domain name is machine1.marketing.xyz.com, you must enter marketing.xyz.com. If you enter only xyz.com, you will not be able to log in to the Cloud Service Management Console.

    Applications launched from the Cloud Service Management Console with which you want to use HP SSO must be installed on systems that belong to this domain.

  21. Specify if you want to install the embedded (new) HP Operations Orchestration instance with HP CSA or if you are integrating with an external (existing) instance of HP Operations Orchestration.

    Select Use external OO and click Next1 and select Enter to integrate with an external (existing) instance of HP Operations Orchestration.Select Install embedded OO and click Next2 and select Enter to install the embedded HP Operations Orchestration.

  22. Define the HP Operations Orchestration instance with which HP CSA is to be integrated. Enter the following information (select Enter after each entry).

    1. Enter the HP OO hostname. This is the fully-qualified domain name or IP address of the server where HP Operations Orchestration is located. Specify the hostname that was used to generate HP Operations Orchestration's certificate. The hostname is used for TLS validation and to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration (for example, in the subscription event overview section of the Operations area in the Cloud Service Management Console, selecting the Process ID opens HP Operations Orchestration to the detailed page of the selected process when these properties are configured).

      When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1].

    2. Enter the HP OO port. This is the port number used to communicate with HP Operations Orchestration, such as 8443. The port number is used to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration. By default, HP Operations Orchestration uses this port and port 8080. Applications running on the system on which HP Operations Orchestration is installed should not be using these ports.
    3. Enter the HP OO user. This is the name of the user who logs in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, this is the admin user.

    4. Enter the HP OO password. This is the password used by the HP OO user to log in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, use the password cloud.
    5. Re-enter the HP OO password.
    6. Enter the HP OO certificate file. This is the filename and location of HP Operations Orchestration's certificate from HP Operations Orchestration's truststore on the HP CSA system. If you have not already done so, export HP Operations Orchestration's certificate and copy it to the HP CSA system (see the Install HP Operations Orchestration section in this guide for more information).

    This information is used to set the HP Operations Orchestration properties in the csa.properties file and import HP Operations Orchestration's certificate into HP CSA's truststore. Refer to the HP Cloud Service Automation Configuration Guide for more information about these properties.

  23. Enter a location in which to install the embedded HP Operations Orchestration.

  24. Enter the database information for the database used by the embedded HP Operations Orchestration (select Enter after each entry). The database used by the embedded HP Operations Orchestration must be the same type of database used by HP CSA (Microsoft SQL ServerOraclePostgreSQL).

    1. Enter the database hostname. This is the hostname or IP address of the server where the embedded HP Operations Orchestration database is located.
    2. Enter the database port. This is the embedded HP Operations Orchestration database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).
    3. Enter the HP OO database Oracle HP OO service name. This is the name of the database instance used by the embedded HP Operations Orchestration.

      If you followed the examples in this document, enter csaoodb.
    4. Enter the database username. This is the username of the database user you configured for the HP Operations Orchestration database.

      If you followed the examples in this document, enter csaoodbuser.
    5. Enter the database password. This is the password for the HP Operations Orchestration database user.
    6. Enter the embedded HP Operations Orchestration port number, such as 8445. By default, HP Operations Orchestration uses this port and port 8080. The embedded HP Operations Orchestration should not use the same port as other applications running on the system.
  25. Configure an internal HP Operations Orchestration user (select Enter after each entry). This user is used for provisioning topology designs.

    1. Enter the HP OO username. This is the name of the user used for provisioning topology designs. This user is given the ADMINISTRATOR and SYSTEM_ADMIN roles. The recommended username is admin.
    2. Enter the HP OO password. This is the password used by HP Operations Orchestration for the user who provisions topology designs. The recommended password is cloud.
  26. By default, sample content (service designs and the components and HP Operations Orchestration flows required by the designs) are installed with HP CSA. You can choose to deploy this content during installation (making the sample service designs available in the Designs area of the Cloud Service Management Console) or deploy the content at a later time (refer to the HP Cloud Service Automation Content Pack User's Guide for more information).

    To deploy the sample content during the HP CSA installation process, type 1 (Install additional provider integration service designs, components and content) and select Enter.

    To deploy the sample content at a later time, type 2 (Skip content installation) and select Enter.

    If you choose to skip content installation, you can install the content at a later time by running the HP Cloud Content Capsule Installer. Refer to the HP Cloud Service Automation Content Pack User's Guide or HP Cloud Service Automation Configuration Guide for more information.

    Note: If you chose not to install the database components, this selection will not display.

  27. Review your selections and select Enter to complete the installation or Ctrl-c to exit the installation.

  28. When the installation completes, select enter to exit the installer.

  29. If you selected to use the OpenJDK JRE with HP CSA and installed HP CSA on a system running a headless Ubuntu Linux version 14, install the "Standard Java or Java-compatible Runtime" package. Enter the following:

    apt-get install default-jre

  30. Define the CSA_HOME and JAVA_HOME environment variables for the csauser user. Set CSA_HOME to the location where HP CSA is installed. In a startup script for the csauser user (for example, .profile (Ubuntu) or .bash_profile (Red Hat Enterprise Linux)), add the following:

    export CSA_HOME=/usr/local/hp/csa
    export JAVA_HOME=<csa_jre>$CSA_JRE_HOME

    where <csa_jre> $CSA_JRE_HOME is the directory in which the JRE that is used by HP CSA is installed.
  31. Source the startup file in which you set the CSA_HOME and JAVA_HOME environment variables. If you edited .bashrc (Ubuntu) or .bash_profile (Red Hat Enterprise Linux), enter the following:

    . ./.bashrc (Ubuntu)
    . ./.bash_profile (Red Hat Enterprise Linux)

  32. Create an HP CSA service and Marketplace Portal service to start and stop the HP CSA and Marketplace Portal processes.

    1. Log in as the root user.
    2. Go to the directory in which HP CSA is installed. For example:

      cd /usr/local/hp/csa

    3. Copy the csa and mpp scripts to the /etc/init.d directory. Enter the following:

      cp ./scripts/csa /etc/init.d
      cp ./scripts/mpp /etc/init.d

    4. Change permissions of the scripts. Enter the following:

      chmod 755 /etc/init.d/csa
      chmod 755 /etc/init.d/mpp

    5. Log out as the root user.
  33. Log in as csauser and start the HP CSA and Marketplace Portal services. Enter the following:

    service csa start
    service mpp start

  34. As csauser, restart the HP Operations Orchestration Central service. Enter the following:

    /usr/local/hp/csa/OO/central/bin/central stop
    /usr/local/hp/csa/OO/central/bin/central start

The HP Cloud Service Automation service must be running in order to access the Cloud Service Management Console. You can start this service by running the command service csa start. You can restart this service by running the command service csa restart. You can stop the service by running the command service csa stop. You can check the status of the service by running the command service csa status.

The Marketplace Portal service must be running in order to access the Marketplace Portal. You can start this service by running the command service mpp start. You can restart this service by running the command service mpp restart. You can stop the service by running the command service mpp stop. You can check the status of the service by running the command service mpp status.

The HP Operations Orchestration Central service must be running in order to access HP Operations Orchestration Central. you can start this service by running the command /usr/local/hp/csa/OO/central/bin/central start. you can stop this service by running the command /usr/local/hp/csa/OO/central/bin/central stop.

Note: Installation log files are written to the %CSA_HOME%\_CSA_4_50_0_installation\Logs\ directory.

To install a remote instance of the Marketplace Portal, complete the following steps.

  1. Close all instances of Windows Explorer and command prompts and exit all programs that are running on the system.
  2. Unzip the setup.zip file. Go to the directory to which the files have been extracted and run the setup.bat installation file. A command window (which will display until the script has completed) and a dialog that shows the progress of installation preparation are displayed. Do not close either window. The installation preparation progress dialog will disappear when installation preparation has completed.

  3. On the Introduction screen, read the information and click Next.

  4. Read the license agreement and select I accept the terms of the License Agreement. Click Next to continue with the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory %CSA_HOME% does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the C:\Program Files\Zero G Registry\.com.zerog.registry.xml file (you may need to show hidden files), make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  5. Select Marketplace Portal and click Next.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you want to install HP CSA and the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install only the Marketplace Portal are different from the tasks to install both HP CSA and the Marketplace Portal.

  6. Choose a location in which to install the Marketplace Portal and click Next (%CSA_HOME%$CSA_HOME is set to this location).

    The default location is C:\Program Files\Hewlett-Packard\CSA.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  7. Define the instance on which the HP CSA is installed and the location of the HP CSA certificate that was copied to the local system. Enter the following information and click Next.

    Field Name Description
    HP CSA Host The fully-qualified domain name of the system on which HP CSA is installed.
    HP CSA Port The port number used to communicate with HP CSA.
    HP CSA Certificate The name and location of the HP CSA certificate file that was copied from the HP CSA system to the local system.
  8. From the Hostname Configuration screen, enter the fully-qualified domain name of this system, the one on which you are installing the Marketplace Portal, and click Next.

  9. Review your selections and click Install to complete the installation.

  10. Click Done to exit the installer.

  11. Verify that the Marketplace Portal service has started by navigating to Control Panel > Administrative Tools > Services. If the service has not started, right-click on the service and select Start.

    The Marketplace Portal service must be running in order to access the Marketplace Portal.

To start, stop, and restart the Marketplace Portal service, navigate to Control Panel > Administrative Tools > Services, right-click on the Marketplace Portal service, and select the desired action.

Note: Installation log files are written to the $CSA_HOME/_CSA_4_50_0_installation/Logs/ directory and are named csa_*.txt.

To install HP Cloud Service Automation (HP CSA), complete the following steps.

  1. Log in to the system as the root user.
  2. Install the unzip utility if it is not already installed. Enter the following:

    apt-get install unzip

  3. Create an installation directory for HP CSA (this document assumes that you will install the product in /usr/local/hp/csa and all examples used in this document are based on this assumption). Enter the following:

    mkdir -p /usr/local/hp/csa

  4. For the installation directory, set the owner to csauser and the group to csagrp. Enter the following:

    chown -R csauser:csagrp /usr/local/hp/csa

  5. Log out as the root user and log in as csauser.
  6. Copy the HP CSA installation file (setup.bin) to the system and go to the directory in which it has been copied.
  7. Verify that setup.bin is owned by csauser and csauser has full permissions to the file. If necessary, do the following:

    1. Log in as the root user
    2. Enter the following commands:

      chown csauser setup.bin
      chmod u+rwx setup.bin

    3. Log out as the root user and log in as csauser.
  8. Run the setup.bin installation file (as the csauser).

    Note: You must run setup.bin as the csauser. If you install HP CSA as another user, you may not be able to run HP CSA.

    As the csauser, enter the following:

    ./setup.bin

  9. Read the Introduction and click enter to continue with the installation.

  10. Read the license agreement. Click enter to scroll through the entire agreement.
  11. Select Y and enter to accept the license agreement and continue with the installation. Select N and enter to exit the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory $CSA_HOME does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the $CSA_HOME/.com.zerog.registry.xml file, make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  12. Select Marketplace Portal and select Enter.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you want to install HP CSA and the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install only the Marketplace Portal are different from the tasks to install both HP CSA and the Marketplace Portal.

  13. Enter a location in which to install HP CSA (enter the absolute path to the location) and select enter. Or, select enter to accept the default location.

    The default location is /usr/local/hp/csa.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    If prompted, verify the installation folder. If the folder is correct, select Y and enter to continue with the installation. If the folder is not correct, select N and enter to re-enter the installation folder.

  14. Define the instance on which the HP CSA is installed and the location of the HP CSA certificate that was copied to the local system. Enter the following information and select Enter.

    Field Name Description
    HP CSA Host The fully-qualified domain name of the system on which HP CSA is installed.
    HP CSA Port The port number used to communicate with HP CSA.
    HP CSA Certificate The name and location of the HP CSA certificate file that was copied from the HP CSA system to the local system.
  15. From the Hostname Configuration screen, enter the fully-qualified domain name of this system, the one on which you are installing the Marketplace Portal, and click Install to complete the installation.

  16. Review your selections and select enter to complete the installation or ctrl-c to exit the installation.

  17. When the installation completes, select enter to exit the installer.

  18. Define the CSA_HOME and JAVA_HOME environment variables and add /sbin to the PATH variable for the csauser user. In a startup script for the csauser user (for example, .profile (Ubuntu) or .bash_profile (Red Hat Enterprise Linux)), add the following:

    export CSA_HOME=/usr/local/hp/csa
    export JAVA_HOME=<csa_jre>$CSA_JRE_HOME
    export PATH=$PATH:/sbin

  19. Source the startup file in which you set the CSA_HOME, JAVA_HOME, and PATH environment variables. If you edited .profile (Ubuntu) or .bash_profile (Red Hat Enterprise Linux), enter the following:

    . .profile (Ubuntu)
    . .bash_profile (Red Hat Enterprise Linux)

  20. Create the Marketplace Portal service to start and stop the Marketplace Portal process.

    1. Log in as the root user.
    2. Go to the directory in which the Marketplace Portal is installed. For example:

      cd /usr/local/hp/csa

    3. Copy the mpp script to the /etc/init.d directory. Enter the following:

      cp ./scripts/mpp /etc/init.d

    4. Change permissions of the script. Enter the following:

      chmod 755 /etc/init.d/mpp

    5. Log out as the root user.
  21. Log in as csauser and start the Marketplace Portal service. Enter the following:

    service mpp start

The Marketplace Portal service must be running in order to access the Marketplace Portal. You can start this service by running the command service mpp start. You can restart this service by running the command service mpp restart. You can stop the service by running the command service mpp stop. You can check the status of the service by running the command service mpp status.

Configure Oracle Tablespace

Configure the Oracle tablespace you created for HP Cloud Service Automation only if you are installing HP Cloud Service Automation for the first time and there is no data in the CSA_DOCUMENT table. The tablespace must have been created before HP Cloud Service Automation is installed and then must be configured immediately after HP Cloud Service Automation is installed.

Work with the database administrator to perform the following (or refer to the manufacturer’s documentation for more information):

Modify the CSA_DOCUMENT table such that LOB segments are stored in the tablespace. For example:

ALTER TABLE csa_document
MOVE LOB(content)
STORE AS (TABLESPACE <new_tablespace>);

Configure Microsoft SQL Server

These tasks must be completed after HP Cloud Service Automation is installed.

Configure Microsoft SQL Server Filegroup

Configure the Microsoft SQL server filegroup you created for HP Cloud Service Automation only if you are installing HP Cloud Service Automation for the first time and there is no data in the CSA_DOCUMENT table. The filegroup must have been created before HP Cloud Service Automation is installed and then must be configured immediately after HP Cloud Service Automation is installed.

Work with the database administrator to perform the following (or refer to the manufacturer’s documentation for more information):

  1. Drop all constraints from the CSA_DOCUMENT table.
  2. Drop the CSA_DOCUMENT table.
  3. Recreate the CSA_DOCUMENT table and associate it with the filegroup.
  4. Recreate the constraints for the CSA_DOCUMENT table.

Secure the Marketplace Portal

For security reasons, the Marketplace Portal file system must be protected by the operating system. Do the following:

  1. Open an elevated command prompt (a command prompt that is run as the administrator). For example, navigate to All Programs > Accessories. Right-click on Command Prompt and select Run as administrator.
  2. From the elevated command prompt, run the following command:

    attrib +s +h "%CSA_HOME%\portal" /S /D /L

    where %CSA_HOME%$CSA_HOME is the directory in which HP Cloud Service Automation is installed.

  3. Restart the HP Cloud Service Automation and Marketplace Portal services. For example, navigate to Start > Administrative Tools > Services. Right-click on the service and select Restart.
  1. Log in as the root user.
  2. Run the following commands:

    chown –R csauser:csagrp $CSA_HOME/portal
    chmod –R 700 $CSA_HOME/portal

    where csauser and csagrp are the user and group you configured for HP CSA when you installed HP CSA and %CSA_HOME%$CSA_HOME is the directory in which HP Cloud Service Automation is installed.

  3. Log out as root and log in as csauser.
  4. Restart the csa and mpp services by running the following commands:

    service csa restart
    service mpp restart

Update and Redeploy the HP Service Manager Base Content Pack

Update and redeploy the oo10-sm-cp-1.0.3.jar base content pack. If you deployed an earlier version of the HP Service Manager base content pack, you must do the following (if this is a fresh installation of HP Operations Orchestration and you did not deploy an earlier version of the HP Service Manager base content pack, you do not have to complete these steps):

  1. Stop the HP Operations Orchestration services:

    1. On the server that hosts HP Operations Orchestration, navigate to Start > Administrative Tools > Services.

    2. Right-click on the HP Operations Orchestration Central service and select Stop.

    3. If you installed the Remote Action Server (RAS), on all RAS systems (including localhost), navigate to Start > Administrative Tools > Services.

    4. Right-click on the HP Operations Orchestration RAS service and select Stop.

    1. On the server that hosts HP Operations Orchestration, run the following command: <HPOOinstallation>/central/bin/central stop

      For example, /usr/local/hp/csa/OO/central/bin/central stop

    2. If you installed the Remote Action Server (RAS), on all RAS systems (including localhost), run the following command: <HPOOinstallation>/ras/bin/ras stop.

      For example, /usr/local/hp/csa/OO/ras/bin/ras stop

  2. Clear the HP Operations Orchestration Central cache by deleting the following folder:

    <HPOOinstallation>\central\var\cache

    For example, C:\Program Files\Hewlett-Packard\HP Operations Orchestration\central\var\cache
    <HPOOinstallation>/central/var/cache

  3. If RAS is installed, clear the RAS artifact cache by deleting the following folder (on all RAS systems, including localhost):

    <HPOOinstallation>\ras/var\cache

    For example, C:\Program Files\Hewlett-Packard\HP Operations Orchestration\ras\var\cache
    <HPOOinstallation>/ras/var/cache

  4. Run the following SQL command against the HP Operations Orchestration database:

    DELETE from OO_ARTIFACTS where NAME = 'org/apache/ws/security/wss4j/1.5.7/wss4j-1.5.7.pom' or NAME = 'org/apache/ws/security/wss4j/1.5.7/wss4j-1.5.7.jar'

  5. Start the HP Operations Orchestration services:

    1. On the server that hosts HP Operations Orchestration, navigate to Start > Administrative Tools > Services.

    2. Right-click on the HP Operations Orchestration Central service and select Start.

    3. If you installed the Remote Action Server (RAS), on all RAS systems (including localhost), navigate to Start > Administrative Tools > Services.

    4. Right-click on the HP Operations Orchestration RAS service and select Start.

    1. On the server that hosts HP Operations Orchestration, run the following command: <HPOOinstallation>/central/bin/central start

      For example, /usr/local/hp/csa/OO/central/bin/central start

    2. If you installed the Remote Action Server (RAS), on all RAS systems (including localhost), run the following command: <HPOOinstallation>/ras/bin/ras start.

      For example, /usr/local/hp/csa/OO/ras/bin/ras start

  6. Redeploy the oo10-sm-cp-1.0.3.jar base content pack:

    1. Log in to HP Operations Orchestration Central and click Content Management.

    2. Click the Content Packs tab.
    3. Click the Deploy New Content icon.
    4. In the Deploy New Content dialog, in the upper left corner, click the + (Add files for deployment) icon.
    5. Navigate to the %CSA_HOME%\oo\ooContentPack$CSA_HOME/oo/ooContentPack directory and select oo10-sm-cp-1.0.3.jar.

    6. Click Deploy.

      The deployment may take a few minutes and the dialog will show a progress bar.

    7. Click Close.

What's Next?

You have completed the initial installation and configuration of HP CSA and can begin familiarizing yourself with the capabilities of HP CSA.

Launch the Cloud Service Management Console (type the following URL in a supported Web browser: https://<csahostname>:8444/csa) and log in using the out-of-the-box user (admin) and password (cloud). Launch the default Marketplace Portal (type the following URL in a supported Web browser: https://<csahostname>:8444/mpp) and log in using the out-of-the-box user (consumer) and password (cloud).

To complete the configuration of HP CSA, refer to the following documents:

  • HP Cloud Service Automation Configuration Guide: The configuration guide describes the process for preparing LDAP for the Cloud Service Management Console and for consumer organizations, requesting software licenses, configuring secure connections, customizing the Cloud Service Management Console, configuring HP CSA to be compliant with FIPS 140-2, and performing other HP CSA customizations. The configuration guide also describes the process of how to import the sample HP Operations Orchestration flows included with HP CSA.

  • Configuring an HP CSA Cluster for High Availability Using an Apache Web Server: The cluster configuration guide describes how to configure the nodes in your clustered environment if you are using an Apache Web server.

  • Configuring an HP CSA Cluster for High Availability Using a Load Balancer: The cluster configuration guide describes how to configure the nodes in your clustered environment if you are using a load balancer.

  • HP Cloud Service Automation Content Pack User's Guide: This guide describes how to install and configure resource providers (such as HP Matrix Operating Environment, VMware vCenter, HP SiteScope, HP Universal CMDB, and HP Server Automation), how to deploy the sample HP Operations Orchestration flows included with HP CSA, how to deploy the sample resource offerings and service designs included with HP CSA that target these resource providers, and includes additional documentation on each of the out-of-the-box resource offerings and service designs. If you installed the additional provider integration service designs, components, and content during installation, the sample HP Operations Orchestration flows, resource offerings, and service designs have been deployed.
  • HP Cloud Service Automation Service Design Guide: The service design guide describes how to use HP CSA to create automated, on-demand cloud services. The guide covers key concepts and steps for HP CSA service design, including sequenced and topology design models, the role of the service design, design layouts and components, service lifecycles, and service options.

You have completed the initial installation and configuration of the Marketplace Portal and can begin familiarizing yourself with the capabilities of the Marketplace Portal.

Launch the default Marketplace Portal (type the following URL in a supported Web browser: https://<csahostname>:8444/mpp) and log in using the out-of-the-box user (consumer) and password (cloud).

For more information about the Marketplace Portal, refer to the online help.

Installation Overview

Based on your selections on the previous page, perform the following steps. It is recommended that you perform each step in the following order:

  1. Configure a group and user.
  2. Install and initially configure Oracle.
  3. Install and initially configure Microsoft SQL Server.
  4. Install and configure PostgreSQL.
  5. Install HP Operations Orchestration.
  6. Install HP Cloud Service Automation.
  7. Secure the Marketplace Portal.
  8. Update and redeploy the HP Service Manager base content pack.
  9. What's next?
  1. Copy the HP CSA certificate to the remote system.
  2. Configure a group and user.
  3. Install HP Cloud Service Automation.
  4. What's next?

This guide provides information for installing the HP Cloud Service Automation application. Successful implementation of the application requires knowledge of the integrated products, as well as the HP Cloud Service Automation solution. Information in this guide augments information provided in the integrated products documentation but is not intended to replace that documentation. Primary product documentation contains the most up-to-date information. Cross references are provided to those documents where appropriate.

For information about how these parts fit together, see the HP Cloud Service Automation Concepts Guide.

You should review the HP Cloud Service Automation System and Software Support Matrix for version requirements.

Both documents are available from the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

Copy the HP CSA Certificate

From the system on which HP CSA is installed, copy the HP CSA certificate to the system on which the remote instance of the Marketplace Portal will be installed.

On the system on which HP CSA is installed, the HP CSA certificate is located in %CSA_HOME%\jboss-as\standalone\configuration\jboss.crt$CSA_HOME/jboss-as/standalone/configuration/jboss.crt. Copy this file to the system on which you are installing the remote instance of the Marketplace Portal. Remember the name and location to which you have copied this certificate as you will be asked for this information when you install the remote instance of the Marketplace Portal.

This file is needed for TLS verification which, by default, is enabled for the Marketplace Portal.

Configure a Group and User for HP CSA

Configure a group and user for HP CSA:

  1. Log in to the system as the root user.
  2. Create a group called csagrp. Enter the following:

    groupadd csagrp

  3. Create a user called csauser and assign this user to the csagrp. Enter the following:

    useradd -g csagrp -m csauser (Ubuntu) or
    useradd -g csagrp -m csauser -s /bin/bash (RHEL)

  4. Assign a password to the csauser. Enter the following:

    passwd csauser

    When prompted, enter the password.

Install an Instance of the Marketplace Portal on a Remote System

This section describes how to install the Marketplace Portal on a remote system, a system that is not the same system on which the Cloud Service Management Console is installed. The remote system must meet the same system requirements for HP Cloud Service Automation. See the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

Note: In the following instructions, %CSA_HOME%$CSA_HOME is the directory in which the Marketplace Portal is installed.

Install HP Cloud Service Automation

Note: Installation log files are written to the %CSA_HOME%\_CSA_4_50_0_installation\Logs\ directory.

To install HP Cloud Service Automation (HP CSA), complete the following steps.

  1. Close all instances of Windows Explorer and command prompts and exit all programs that are running on the system.
  2. Unzip the setup.zip file. Go to the directory to which the files have been extracted and run the setup.bat installation file. A command window (which will display until the script has completed) and a dialog that shows the progress of installation preparation are displayed. Do not close either window. The installation preparation progress dialog will disappear when installation preparation has completed.

  3. On the Introduction screen, read the information and click Next.

  4. Read the license agreement and select I accept the terms of the License Agreement. Click Next to continue with the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory %CSA_HOME% does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the C:\Program Files\Zero G Registry\.com.zerog.registry.xml file (you may need to show hidden files), make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  5. Select HP CSA and Marketplace Portal and click Next.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you only want to install the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install both the HP CSA and Marketplace Portal are different from the tasks to install only the Marketplace Portal.

  6. Choose a location in which to install HP CSA and click Next (%CSA_HOME%$CSA_HOME is set to this location).

    The default location is C:\Program Files\Hewlett-Packard\CSA.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  7. Select the JRE that will be used by HP CSA.

    In this documentation, the directory in which the JRE is installed will be referred to as <csa_jre>.

    For a list of supported JREs, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

    OpenJDK JRE

    The OpenJDK JRE is bundled with HP CSA. If you want to use the OpenJDK JRE, select Open JRE and click Next.

    The default location in which the OpenJDK JRE is installed is C:\Program Files\Hewlett-Packard\CSA\openjre.

    Oracle JRE

    If you have installed a supported version of Oracle JRE to be used by HP CSA, select Oracle JRE, choose the location in which you installed this JRE, and click Next.

    The default location displayed for the Oracle JRE Home is either a supported JRE that is configured in the system registry or a supported JRE in a path that is defined in the system path variable. If this is not the JRE that should be used by HP CSA, click Choose and select the location in which you installed the JRE that will be used by HP CSA.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  8. Install HP CSA database components onto the database instance to create the HP CSA database schema, if it does not exist.

    Click Yes to install HP CSA database components and create the HP CSA database schema. When you select this option, the HP CSA service automatically starts when you exit the installer.

    Click No if you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version 4.50. When you select this option, you cannot use the installer to deploy sample content and the HP CSA service does not start when you exit the installer. Refer to the end of this section for information on how to start and stop the HP CSA service.

  9. Select the type of database installed (Microsoft SQL Server)(Oracle)(PostgreSQL) and click Next.

    For an Oracle database, you must also enter the JDBC Driver Directory. This is the absolute directory path to the location of the JDBC drivers (these are the JDBC drivers you downloaded onto the HP CSA system). For a list of supported JDBC driver versions, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport). Click Choose to select the directory.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  10. Define the database instance on which the HP CSA database components should be installed or where the HP CSA database schema already exists. Enter the following database information and click Next.

    Field Name Description
    Database Host The hostname or IP address of the server where the database is located. When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1].
    Database Port The database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).

    Database NameOracle service name

    The service or global database name of the database instance on which the HP CSA database schema will be installed (for example, csadb). If you are creating a new HP CSA database schema, this is the service name of the database instance on which the HP CSA database components will be installed. If you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version HP 4.50, this is the service name of the database instance on which the HP CSA database schema exists.
    Database Username The username of the database user you configured for HP CSA in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, csadbuser).
    Database Password The password for the database user.

    If you created a reporting database role and read-only userreporting database user when you configured the database, select the Reporting User checkbox and enter the following information:

    Field Name Description
    CSA Reporting Database Username The username of the database user you configured for reporting purposes for HP CSA in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, CSAReportingDBUser).
    CSA Reporting Database Password The password for the CSA reporting database user.
  11. Enter the database information for the database used by the Identity Management component and click Next. The database used by the Identity Management component must be the same type of database used by HP CSA (Microsoft SQL ServerOraclePostgreSQL).

    Field Name Description
    MSSQLOraclePostgreSQL Database Host The hostname or IP address of the server where the Identity Management component database is located.
    MSSQLOraclePostgreSQL Database Port The Identity Management component database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).

    HP IDM Database NameHP IDM Oracle service name

    The service or global database name of the database instance used by the Identity Management component (for example, csaidmdb).
    HP IDM Database Username The username of the database user you configured for the Identity Management component database in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, csaidmdbuser or csadbuser).
    HP IDM Database Password The password for the Identity Management component database user.
  12. From the hostname configuration screen, enter the fully-qualified domain name of the system on which you are installing HP CSA. This name is used to generate the self-signed certificate and configure HP CSA, the Marketplace Portal, and the Identity Management component.

    The self-signed certificate is used when https browser requests are issued for the Cloud Service Management Console. Marketplace Portal. This self-signed certificate expires 120 days after HP CSA is installed.

    Caution: If you enter an IP address, after installation completes, you must manually generate a self-signed certificate using the fully-qualified domain name of the system on which you installed HP CSA and manually reconfigure HP CSA and the Marketplace Portal to use this certificate. For more information, refer to the HP Cloud Service Automation Configuration Guide.

  13. By default, HP Single Sign-On (HP SSO) is included with HP CSA and is enabled. The HP SSO that is included with HP CSA can only be used when launching an application, such as HP Operations Orchestration or HP IT Business Analytics, from the Cloud Service Management Console. Refer to the HP Cloud Service Automation Configuration Guide and HP SSO documentation for more information on integrating HP SSO with an application.

    If you do not want to use HP SSO, you can disable it.

    You MUST disable HP Single Sign-On if you are installing HP CSA in a FIPS 140-2 compliant environment.

    If enabled, enter the domain name of the network to which the server on which you are installing HP CSA belongs and click Next.

    Note: You must enter the full domain name of the server. For example, if you are installing HP CSA on a system whose fully-qualified domain name is machine1.marketing.xyz.com, you must enter marketing.xyz.com. If you enter only xyz.com, you will not be able to log in to the Cloud Service Management Console.

    Applications launched from the Cloud Service Management Console with which you want to use HP SSO must be installed on systems that belong to this domain.

  14. Specify if you want to install the embedded (new) HP Operations Orchestration instance with HP CSA or if you are integrating with an external (existing) instance of HP Operations Orchestration.

    Select Use external OO and click Next1 and select Enter to integrate with an external (existing) instance of HP Operations Orchestration.Select Install embedded OO and click Next2 and select Enter to install the embedded HP Operations Orchestration.

  15. Define the HP Operations Orchestration instance with which HP CSA is to be integrated. Enter the following information and click Next.

    Field Name Description
    HP OO Hostname The fully-qualified domain name or IP address of the server where HP Operations Orchestration is located. Specify the hostname that was used to generate HP Operations Orchestration's certificate. The hostname is used for TLS validation and to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration (for example, in the subscription event overview section of the Operations area in the Cloud Service Management Console, selecting the Process ID opens HP Operations Orchestration to the detailed page of the selected process when these properties are configured).

    When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1].
    HP OO Port The port number used to communicate with HP Operations Orchestration, such as 8443. The port number is used to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration. By default, HP Operations Orchestration uses this port and port 8080. Applications running on the system on which HP Operations Orchestration is installed should not be using these ports.
    HP OO User

    The name of the user who logs in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, this is the admin user.

    HP OO Password The password used by the HP OO user to log in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, use the password cloud.
    HP OO Certificate File The filename and location of HP Operations Orchestration's certificate from HP Operations Orchestration's truststore on the HP CSA system. If you have not already done so, export HP Operations Orchestration's certificate and copy it to the HP CSA system (see the Install HP Operations Orchestration section in this guide for more information).

    This information is used to set the HP Operations Orchestration properties in the csa.properties file and import HP Operations Orchestration's certificate into HP CSA's truststore. Refer to the HP Cloud Service Automation Configuration Guide for more information about these properties.

  16. Choose a location in which to install the embedded HP Operations Orchestration and click Next.

  17. Configure an internal HP Operations Orchestration user and click Next. This user is used for provisioning topology designs.

    Field Name Description
    HP OO User Name The name of the user used for provisioning topology designs. This user is given the ADMINISTRATOR and SYSTEM_ADMIN roles. The recommended username is admin.
    HP OO User Password The password used by HP Operations Orchestration for the user who provisions topology designs. The recommended password is cloud.
    HP OO Port The embedded HP Operations Orchestration port number, such as 8445, used to access HP Operations Orchestration Central. By default, HP Operations Orchestration uses this port and port 8080. The embedded HP Operations Orchestration should not use the same port as other applications running on the system.
  18. Enter the database information for the database used by the embedded HP Operations Orchestration and click Next. The database used by the embedded HP Operations Orchestration must be the same type of database used by HP CSA (Microsoft SQL ServerOraclePostgreSQL).

    Field Name Description
    MSSQLOraclePostgreSQL Database Host The hostname or IP address of the server where the embedded HP Operations Orchestration database is located.
    MSSQLOraclePostgreSQL Database Port The embedded HP Operations Orchestration database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).

    HP OO Database NameOracle HP Operations Orchestration service name

    The service or global database name of the database instance used by the embedded HP Operations Orchestration (for example, csaoodb).
    HP OO Database Username The username of the database user you configured for the HP Operations Orchestration database in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide (for example, csaoodbuser).
    HP OO Database Password The password for the HP Operations Orchestration database user.
  19. By default, sample content (service designs and the components and HP Operations Orchestration flows required by the designs) are installed with HP CSA. You can choose to deploy this content during installation (making the sample service designs available in the Designs area of the Cloud Service Management Console) or deploy the content at a later time (refer to the HP Cloud Service Automation Content Pack User's Guide or HP Cloud Service Automation Configuration Guide for more information).

    To deploy the sample content during the HP CSA installation process, select Install additional provider integration service designs, components and content and click Next.

    To deploy the sample content at a later time, select Skip content installation and click Next.

    If you choose to skip content installation, you can install the content at a later time by running the HP Cloud Content Capsule Installer. Refer to the HP Cloud Service Automation Content Pack User's Guide or HP Cloud Service Automation Configuration Guide for more information.

    Note: If you chose not to install the database components, this dialog will not display.

  20. Review your selections and click Install to complete the installation.

  21. In some instances, you may be asked to restart your system.

    Click Yes, restart my system to restart your system when you exit the installer.

    Click No, I will restart my system myself to restart your system at a more convenient time.

  22. Click Done to exit the installer.

  23. Verify that the HP Cloud Service Automation, Elasticsearch 1.5.2, HP Search Service, and Marketplace Portal, and HP Operations Orchestration Central services have started by navigating to Start > Administrative Tools > Services. It can take up to five minutes for the HP Cloud Service Automation to start. If one or more services have not started, right-click on the service and select Start.

    The installer creates the HP Cloud Service Automation and Marketplace Portal services. If you opted to install the HP Cloud Service Automation database components, the installer starts these services. The HP Cloud Service Automation service must be running in order to access the Cloud Service Management Console, and the Marketplace Portal service must be running in order to access the Marketplace Portal, and the HP Operations Orchestration Central service must be running in order to access HP Operations Orchestration Central.

To start, stop, and restart the HP Cloud Service Automation, Elasticsearch 1.5.2, HP Search Service, and Marketplace Portal, and HP Operations Orchestration Central services, navigate to Start > Administrative Tools > Services, right-click on a service, and select the desired action.

Note: Installation log files are written to the $CSA_HOME/_CSA_4_50_0_installation/Logs/ directory and are named csa_*.txt.

To install HP Cloud Service Automation (HP CSA), complete the following steps.

  1. Log in to the system as the root user.
  2. Install the unzip utility if it is not already installed. Enter the following:

    apt-get install unzip

  3. Create an installation directory for HP CSA (this document assumes that you will install the product in /usr/local/hp/csa and all examples used in this document are based on this assumption). Enter the following:

    mkdir -p /usr/local/hp/csa

  4. For the installation directory, set the owner to csauser and the group to csagrp. Enter the following:

    chown -R csauser:csagrp /usr/local/hp/csa

  5. Log out as the root user and log in as csauser.
  6. Copy the HP CSA installation file (setup.bin) to the system and go to the directory in which it has been copied.
  7. Verify that setup.bin is owned by csauser and csauser has full permissions to the file. If necessary, do the following:

    1. Log in as the root user
    2. Enter one or both of the following commands:

      chown csauser setup.bin
      chmod u+rwx setup.bin

    3. Log out as the root user and log in as csauser.
  8. Check the values of the CSA_HOME, PS1, and TITLEBAR environment variables. If they are set, verify that they do not contain any escape sequences. If any of these variables contain an escape sequence, the variable will cause the installer to fail. The variable must either be reset to a value that does not contain an escape sequence or must be unset.

  9. Run the setup.bin installation file (as the csauser).

    Note: You must run setup.bin as the csauser. If you install HP CSA as another user, you may not be able to run HP CSA.

    As the csauser, enter the following:

    ./setup.bin

  10. Read the Introduction and click enter to continue with the installation.

  11. Read the license agreement. Click enter to scroll through the entire agreement.
  12. Select Y and enter to accept the license agreement and continue with the installation. Select N and enter to exit the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory $CSA_HOME does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the $HOME/.com.zerog.registry.xml file (for example, /home/csauser/.com.zerog.registry.xml), make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  13. Select HP CSA and Marketplace Portal and click Enter.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you only want to install the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install both the HP CSA and Marketplace Portal are different from the tasks to install only the Marketplace Portal.

  14. Enter a location in which to install HP CSA (enter the absolute path to the location) and select enter. Or, select enter to accept the default location.

    The default location is /usr/local/hp/csa.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    If prompted, verify the installation folder. If the folder is correct, select Y and enter to continue with the installation. If the folder is not correct, select N and enter to re-enter the installation folder.

  15. Select the JRE that will be used by HP CSA.

    In this documentation, the directory in which the JRE is installed will be referred to as $CSA_JRE_HOME.

    For a list of supported JREs, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

    OpenJDK JRE

    The OpenJDK JRE is bundled with HP CSA. If you want to use the OpenJDK JRE, type 1 and select Enter.

    The default location in which the OpenJDK JRE is installed is /usr/local/hp/csa/openjre.

    Oracle JRE

    If you have installed a supported version of Oracle JRE to be used by HP CSA, type 2 and select Enter. Type the location in which you installed this JRE and select Enter.

    The default location displayed for the Oracle JRE Home is either a supported JRE that is configured in the system registry or a supported JRE in a path that is defined in the system path variable. If this is not the JRE that should be used by HP CSA, type in the location in which you installed the JRE that will be used by HP CSA and select Enter.

  16. Install HP CSA database components onto the database instance to create the HP CSA database schema, if it does not already exist.

    Type yes to install HP CSA database components and create the HP CSA database schema. When you select this option, the HP CSA process automatically starts when you exit the installer.

    Type no if you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version 4.50. When you select this option, you cannot use the installer to deploy sample content and the HP CSA process does not start when you exit the installer. Refer to the end of this section for information on how to start and stop the HP CSA service.

  17. Define the database instance on which the HP CSA database components should be installed. Enter the following database information (select Enter after each entry).

    1. Enter the type of database you have installed: MSSql (Microsoft SQL Server)OraclePostgres (PostgreSQL).

      For an Oracle database, you must also enter the JDBC Driver Directory. This is the absolute directory path to the location of the JDBC drivers (these are the JDBC drivers you downloaded onto the HP CSA system). For a list of supported JDBC driver versions, refer to the HP Cloud Service Automation System and Software Support Matrix, available on the HP Software Support Web site at http://h20230.www2.hp.com/selfsolve/manuals/ (this site requires that you register with HP Passport).

    2. Enter the database hostname. This is the hostname or IP address of the server where the database is located. When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1]. The default value is the IP address of the localhost (127.0.0.1).
    3. Enter the database port. This is the database port number, such as 1433 (Microsoft SQL Server)1521 (Oracle)5432 (PostgreSQL).

    4. Enter the Oracle service namedatabase name. This is the service or global database name of the database instance on which the HP CSA database schema will be installed. If you are creating a new HP CSA database schema, this is the service name of the database instance on which the HP CSA database components will be installed). If you are using an existing HP CSA database schema that was created as part of a prior successful installation of HP CSA version HP 4.50, this is the service name of the database instance on which the HP CSA database schema already exists.

      If you followed the examples in this document, enter csadb.

    5. Enter the CSA database user name. This is the user name of the database user you configured for HP Cloud Service Automation in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide.

      If you followed the examples in this document, enter csadbuser.

    6. Enter the CSA database password. This is the password for the CSA database user.
    7. Enter the CSA reporting database username (optional). This is the username of the database user you configured for reporting purposes for HP CSA in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide.

      If you followed the examples in this document, enter CSAReportingDBUser.

    8. Enter the CSA reporting database password. This is the password for the CSA reporting database user.
  18. Provide the database instance used by the Identity Management component. Enter the following database information (select Enter after each entry).

    1. Enter the database hostname. This is the hostname or IP address of the server where the database is located. When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1]. The default value is the IP address of the localhost (127.0.0.1).
    2. Enter the database port. This is the database port number, such as 1433 (Microsoft SQL Server)1521 (Oracle)5432 (PostgreSQL).

    3. Enter the Oracle servicedatabase name. This is the service or global database name of the database instance used by the Identity Management component.

      If you followed the examples in this document, enter csaidmdb.

    4. Enter the Identity Management component database user name. This is the user name of the database user you configured for the Identity Management component database in the Configure OracleMicrosoft SQL ServerPostgreSQL section of this guide.

      If you followed the examples in this document, enter csaidmdbuser or csadbuser.

    5. Enter the CSA database password. This is the password for the Identity Management component database user.
  19. Enter the HP CSA server hostname. This is the fully-qualified domain name of the system on which you are installing HP CSA. This name is used to generate the self-signed certificate and configure HP CSA, the Marketplace Portal, and the Identity Management component.

    The self-signed certificate is used when https browser requests are issued for the Cloud Service Management Console. Marketplace Portal. This self-signed certificate expires 120 days after HP CSA is installed.

    Caution: If you enter an IP address, after installation completes, you must manually generate a self-signed certificate using the fully-qualified domain name of the system on which you installed HP CSA and manually reconfigure HP CSA and the Marketplace Portal to use this certificate. For more information, refer to the HP Cloud Service Automation Configuration Guide.

  20. By default, HP Single Sign-On (HP SSO) is included with HP CSA and is enabled. The HP SSO that is included with HP CSA can only be used when launching an application, such as HP Operations Orchestration or HP IT Business Analytics, from the Cloud Service Management Console. Refer to the HP Cloud Service Automation Configuration Guide and HP SSO documentation for more information on integrating HP SSO with an application.

    If you do not want to use HP SSO, you can disable it. Type 2 and select Enter.

    To enable HP SSO, type 1 and select Enter. Enter the Domain name of the network to which the server belongs (the server on which you are installing HP CSA) and select Enter.

    Note: You must enter the full domain name of the server. For example, if you are installing HP CSA on a system whose fully-qualified domain name is machine1.marketing.xyz.com, you must enter marketing.xyz.com. If you enter only xyz.com, you will not be able to log in to the Cloud Service Management Console.

    Applications launched from the Cloud Service Management Console with which you want to use HP SSO must be installed on systems that belong to this domain.

  21. Specify if you want to install the embedded (new) HP Operations Orchestration instance with HP CSA or if you are integrating with an external (existing) instance of HP Operations Orchestration.

    Select Use external OO and click Next1 and select Enter to integrate with an external (existing) instance of HP Operations Orchestration.Select Install embedded OO and click Next2 and select Enter to install the embedded HP Operations Orchestration.

  22. Define the HP Operations Orchestration instance with which HP CSA is to be integrated. Enter the following information (select Enter after each entry).

    1. Enter the HP OO hostname. This is the fully-qualified domain name or IP address of the server where HP Operations Orchestration is located. Specify the hostname that was used to generate HP Operations Orchestration's certificate. The hostname is used for TLS validation and to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration (for example, in the subscription event overview section of the Operations area in the Cloud Service Management Console, selecting the Process ID opens HP Operations Orchestration to the detailed page of the selected process when these properties are configured).

      When specifying an IPv6 address, it must be enclosed in square brackets. For example, [f000:253c::9c10:b4b4] or [::1].

    2. Enter the HP OO port. This is the port number used to communicate with HP Operations Orchestration, such as 8443. The port number is used to build the URL that the Cloud Service Management Console uses to interact with HP Operations Orchestration. By default, HP Operations Orchestration uses this port and port 8080. Applications running on the system on which HP Operations Orchestration is installed should not be using these ports.
    3. Enter the HP OO user. This is the name of the user who logs in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, this is the admin user.

    4. Enter the HP OO password. This is the password used by the HP OO user to log in to HP Operations Orchestration Central. If you followed all the steps documented in the Install HP Operations Orchestration section of this guide, use the password cloud.
    5. Re-enter the HP OO password.
    6. Enter the HP OO certificate file. This is the filename and location of HP Operations Orchestration's certificate from HP Operations Orchestration's truststore on the HP CSA system. If you have not already done so, export HP Operations Orchestration's certificate and copy it to the HP CSA system (see the Install HP Operations Orchestration section in this guide for more information).

    This information is used to set the HP Operations Orchestration properties in the csa.properties file and import HP Operations Orchestration's certificate into HP CSA's truststore. Refer to the HP Cloud Service Automation Configuration Guide for more information about these properties.

  23. Enter a location in which to install the embedded HP Operations Orchestration.

  24. Enter the database information for the database used by the embedded HP Operations Orchestration (select Enter after each entry). The database used by the embedded HP Operations Orchestration must be the same type of database used by HP CSA (Microsoft SQL ServerOraclePostgreSQL).

    1. Enter the database hostname. This is the hostname or IP address of the server where the embedded HP Operations Orchestration database is located.
    2. Enter the database port. This is the embedded HP Operations Orchestration database port number, such as 1433 (Microsoft SQL Server).1521 (Oracle).5432 (PostgreSQL).
    3. Enter the HP OO database Oracle HP OO service name. This is the name of the database instance used by the embedded HP Operations Orchestration.

      If you followed the examples in this document, enter csaoodb.
    4. Enter the database username. This is the username of the database user you configured for the HP Operations Orchestration database.

      If you followed the examples in this document, enter csaoodbuser.
    5. Enter the database password. This is the password for the HP Operations Orchestration database user.
    6. Enter the embedded HP Operations Orchestration port number, such as 8445. By default, HP Operations Orchestration uses this port and port 8080. The embedded HP Operations Orchestration should not use the same port as other applications running on the system.
  25. Configure an internal HP Operations Orchestration user (select Enter after each entry). This user is used for provisioning topology designs.

    1. Enter the HP OO username. This is the name of the user used for provisioning topology designs. This user is given the ADMINISTRATOR and SYSTEM_ADMIN roles. The recommended username is admin.
    2. Enter the HP OO password. This is the password used by HP Operations Orchestration for the user who provisions topology designs. The recommended password is cloud.
  26. By default, sample content (service designs and the components and HP Operations Orchestration flows required by the designs) are installed with HP CSA. You can choose to deploy this content during installation (making the sample service designs available in the Designs area of the Cloud Service Management Console) or deploy the content at a later time (refer to the HP Cloud Service Automation Content Pack User's Guide for more information).

    To deploy the sample content during the HP CSA installation process, type 1 (Install additional provider integration service designs, components and content) and select Enter.

    To deploy the sample content at a later time, type 2 (Skip content installation) and select Enter.

    If you choose to skip content installation, you can install the content at a later time by running the HP Cloud Content Capsule Installer. Refer to the HP Cloud Service Automation Content Pack User's Guide or HP Cloud Service Automation Configuration Guide for more information.

    Note: If you chose not to install the database components, this selection will not display.

  27. Review your selections and select Enter to complete the installation or Ctrl-c to exit the installation.

  28. When the installation completes, select enter to exit the installer.

  29. If you selected to use the OpenJDK JRE with HP CSA and installed HP CSA on a system running a headless Ubuntu Linux version 14, install the "Standard Java or Java-compatible Runtime" package. Enter the following:

    apt-get install default-jre

  30. Define the CSA_HOME and JAVA_HOME environment variables for the csauser user. Set CSA_HOME to the location where HP CSA is installed. In a startup script for the csauser user (for example, .profile (Ubuntu) or .bash_profile (Red Hat Enterprise Linux)), add the following:

    export CSA_HOME=/usr/local/hp/csa
    export JAVA_HOME=<csa_jre>$CSA_JRE_HOME

    where <csa_jre> $CSA_JRE_HOME is the directory in which the JRE that is used by HP CSA is installed.
  31. Source the startup file in which you set the CSA_HOME and JAVA_HOME environment variables. If you edited .bashrc (Ubuntu) or .bash_profile (Red Hat Enterprise Linux), enter the following:

    . ./.bashrc (Ubuntu)
    . ./.bash_profile (Red Hat Enterprise Linux)

  32. Create an HP CSA service and Marketplace Portal service to start and stop the HP CSA and Marketplace Portal processes.

    1. Log in as the root user.
    2. Go to the directory in which HP CSA is installed. For example:

      cd /usr/local/hp/csa

    3. Copy the csa and mpp scripts to the /etc/init.d directory. Enter the following:

      cp ./scripts/csa /etc/init.d
      cp ./scripts/mpp /etc/init.d

    4. Change permissions of the scripts. Enter the following:

      chmod 755 /etc/init.d/csa
      chmod 755 /etc/init.d/mpp

    5. Log out as the root user.
  33. Log in as csauser and start the HP CSA and Marketplace Portal services. Enter the following:

    service csa start
    service mpp start

  34. As csauser, restart the HP Operations Orchestration Central service. Enter the following:

    /usr/local/hp/csa/OO/central/bin/central stop
    /usr/local/hp/csa/OO/central/bin/central start

The HP Cloud Service Automation service must be running in order to access the Cloud Service Management Console. You can start this service by running the command service csa start. You can restart this service by running the command service csa restart. You can stop the service by running the command service csa stop. You can check the status of the service by running the command service csa status.

The Marketplace Portal service must be running in order to access the Marketplace Portal. You can start this service by running the command service mpp start. You can restart this service by running the command service mpp restart. You can stop the service by running the command service mpp stop. You can check the status of the service by running the command service mpp status.

The HP Operations Orchestration Central service must be running in order to access HP Operations Orchestration Central. you can start this service by running the command /usr/local/hp/csa/OO/central/bin/central start. you can stop this service by running the command /usr/local/hp/csa/OO/central/bin/central stop.

Note: Installation log files are written to the %CSA_HOME%\_CSA_4_50_0_installation\Logs\ directory.

To install a remote instance of the Marketplace Portal, complete the following steps.

  1. Close all instances of Windows Explorer and command prompts and exit all programs that are running on the system.
  2. Unzip the setup.zip file. Go to the directory to which the files have been extracted and run the setup.bat installation file. A command window (which will display until the script has completed) and a dialog that shows the progress of installation preparation are displayed. Do not close either window. The installation preparation progress dialog will disappear when installation preparation has completed.

  3. On the Introduction screen, read the information and click Next.

  4. Read the license agreement and select I accept the terms of the License Agreement. Click Next to continue with the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory %CSA_HOME% does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the C:\Program Files\Zero G Registry\.com.zerog.registry.xml file (you may need to show hidden files), make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  5. Select Marketplace Portal and click Next.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you want to install HP CSA and the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install only the Marketplace Portal are different from the tasks to install both HP CSA and the Marketplace Portal.

  6. Choose a location in which to install the Marketplace Portal and click Next (%CSA_HOME%$CSA_HOME is set to this location).

    The default location is C:\Program Files\Hewlett-Packard\CSA.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    Caution:

    The entire directory path cannot contain more than one dollar sign symbol ($). For example, C:\HP\C$A\Java and C:\HP\CSA\Java$ are valid paths. However C:\HP\C$A\Java$ and C:\HP\C$$A\Java are not valid paths.

  7. Define the instance on which the HP CSA is installed and the location of the HP CSA certificate that was copied to the local system. Enter the following information and click Next.

    Field Name Description
    HP CSA Host The fully-qualified domain name of the system on which HP CSA is installed.
    HP CSA Port The port number used to communicate with HP CSA.
    HP CSA Certificate The name and location of the HP CSA certificate file that was copied from the HP CSA system to the local system.
  8. From the Hostname Configuration screen, enter the fully-qualified domain name of this system, the one on which you are installing the Marketplace Portal, and click Next.

  9. Review your selections and click Install to complete the installation.

  10. Click Done to exit the installer.

  11. Verify that the Marketplace Portal service has started by navigating to Control Panel > Administrative Tools > Services. If the service has not started, right-click on the service and select Start.

    The Marketplace Portal service must be running in order to access the Marketplace Portal.

To start, stop, and restart the Marketplace Portal service, navigate to Control Panel > Administrative Tools > Services, right-click on the Marketplace Portal service, and select the desired action.

Note: Installation log files are written to the $CSA_HOME/_CSA_4_50_0_installation/Logs/ directory and are named csa_*.txt.

To install HP Cloud Service Automation (HP CSA), complete the following steps.

  1. Log in to the system as the root user.
  2. Install the unzip utility if it is not already installed. Enter the following:

    apt-get install unzip

  3. Create an installation directory for HP CSA (this document assumes that you will install the product in /usr/local/hp/csa and all examples used in this document are based on this assumption). Enter the following:

    mkdir -p /usr/local/hp/csa

  4. For the installation directory, set the owner to csauser and the group to csagrp. Enter the following:

    chown -R csauser:csagrp /usr/local/hp/csa

  5. Log out as the root user and log in as csauser.
  6. Copy the HP CSA installation file (setup.bin) to the system and go to the directory in which it has been copied.
  7. Verify that setup.bin is owned by csauser and csauser has full permissions to the file. If necessary, do the following:

    1. Log in as the root user
    2. Enter the following commands:

      chown csauser setup.bin
      chmod u+rwx setup.bin

    3. Log out as the root user and log in as csauser.
  8. Run the setup.bin installation file (as the csauser).

    Note: You must run setup.bin as the csauser. If you install HP CSA as another user, you may not be able to run HP CSA.

    As the csauser, enter the following:

    ./setup.bin

  9. Read the Introduction and click enter to continue with the installation.

  10. Read the license agreement. Click enter to scroll through the entire agreement.
  11. Select Y and enter to accept the license agreement and continue with the installation. Select N and enter to exit the installation.

    If the following error message displays:

    Another version of HP CSA is configured in the registry. However, HP CSA has been uninstalled (the HP CSA installation directory $CSA_HOME does not exist). You must exit the installer and delete the entry in the registry before installing HP CSA. Refer to the HP Cloud Service Automation Installation Guide for more information about deleting the registry entry.

    exit the installer. Locate the $CSA_HOME/.com.zerog.registry.xml file, make a backup copy, delete all HP CSA entries from the .com.zerog.registry.xml file, and restart the installer.

  12. Select Marketplace Portal and select Enter.

    Selecting HP CSA and Marketplace Portal installs the entire HP CSA application, including the Cloud Service Management Console, Identity Management component, and Marketplace Portal, on the system.

    Selecting Marketplace Portal installs only the Marketplace Portal on the system.

    If you want to install HP CSA and the Marketplace Portal, go to the top of this document and click Change to change the selections you made to create this document. The tasks to install only the Marketplace Portal are different from the tasks to install both HP CSA and the Marketplace Portal.

  13. Enter a location in which to install HP CSA (enter the absolute path to the location) and select enter. Or, select enter to accept the default location.

    The default location is /usr/local/hp/csa.

    Note: If the directory in which you choose to install HP CSA is not empty, existing content in the directory may be overwritten or deleted when HP CSA is installed, upgraded, or uninstalled.

    If prompted, verify the installation folder. If the folder is correct, select Y and enter to continue with the installation. If the folder is not correct, select N and enter to re-enter the installation folder.

  14. Define the instance on which the HP CSA is installed and the location of the HP CSA certificate that was copied to the local system. Enter the following information and select Enter.

    Field Name Description
    HP CSA Host The fully-qualified domain name of the system on which HP CSA is installed.
    HP CSA Port The port number used to communicate with HP CSA.
    HP CSA Certificate The name and location of the HP CSA certificate file that was copied from the HP CSA system to the local system.
  15. From the Hostname Configuration screen, enter the fully-qualified domain name of this system, the one on which you are installing the Marketplace Portal, and click Install to complete the installation.

  16. Review your selections and select enter to complete the installation or ctrl-c to exit the installation.

  17. When the installation completes, select enter to exit the installer.

  18. Define the CSA_HOME and JAVA_HOME environment variables and add /sbin to the PATH variable for the csauser user. In a startup script for the csauser user (for example, .profile (Ubuntu) or .bash_profile (Red Hat Enterprise Linux)), add the following:

    export CSA_HOME=/usr/local/hp/csa
    export JAVA_HOME=<csa_jre>$CSA_JRE_HOME
    export PATH=$PATH:/sbin

  19. Source the startup file in which you set the CSA_HOME, JAVA_HOME, and PATH environment variables. If you edited .profile (Ubuntu) or .bash_profile (Red Hat Enterprise Linux), enter the following:

    . .profile (Ubuntu)
    . .bash_profile (Red Hat Enterprise Linux)

  20. Create the Marketplace Portal service to start and stop the Marketplace Portal process.

    1. Log in as the root user.
    2. Go to the directory in which the Marketplace Portal is installed. For example:

      cd /usr/local/hp/csa

    3. Copy the mpp script to the /etc/init.d directory. Enter the following:

      cp ./scripts/mpp /etc/init.d

    4. Change permissions of the script. Enter the following:

      chmod 755 /etc/init.d/mpp

    5. Log out as the root user.
  21. Log in as csauser and start the Marketplace Portal service. Enter the following:

    service mpp start

The Marketplace Portal service must be running in order to access the Marketplace Portal. You can start this service by running the command service mpp start. You can restart this service by running the command service mpp restart. You can stop the service by running the command service mpp stop. You can check the status of the service by running the command service mpp status.

Secure the Marketplace Portal

For security reasons, the Marketplace Portal file system must be protected by the operating system. Do the following:

  1. Open an elevated command prompt (a command prompt that is run as the administrator). For example, navigate to All Programs > Accessories. Right-click on Command Prompt and select Run as administrator.
  2. From the elevated command prompt, run the following command:

    attrib +s +h "%CSA_HOME%\portal" /S /D /L

    where %CSA_HOME%$CSA_HOME is the directory in which HP Cloud Service Automation is installed.

  3. Restart the HP Cloud Service Automation and Marketplace Portal services. For example, navigate to Start > Administrative Tools > Services. Right-click on the service and select Restart.
  1. Log in as the root user.
  2. Run the following commands:

    chown –R csauser:csagrp $CSA_HOME/portal
    chmod –R 700 $CSA_HOME/portal

    where csauser and csagrp are the user and group you configured for HP CSA when you installed HP CSA and %CSA_HOME%$CSA_HOME is the directory in which HP Cloud Service Automation is installed.

  3. Log out as root and log in as csauser.
  4. Restart the csa and mpp services by running the following commands:

    service csa restart
    service mpp restart

Update the Marketplace Portal in the Cloud Service Management Console

The URL to launch the Marketplace Portal is displayed in the Cloud Service Management Console. Edit the csa.properties file to update this URL. Do the following:

  1. On the system on which HP CSA and the Cloud Service Management Console are installed, edit the %CSA_HOME%\jboss-as\standalone\deployments\csa.war\WEB-INF\classes\csa.properties$CSA_HOME/jboss-as/standalone/deployments/csa.war/WEB-INF/classes/csa.properties file.
  2. Update the csa.subscriber.portal.url property value. Set the hostname to the fully-qualified domain name or IP address of the system on which the Marketplace Portal is remotely installed.
  3. Save and exit the file.
  4. Restart HP CSA.

    To restart HP CSA:

    1. On the server that hosts HP CSA, navigate to Control Panel > Administrative Tools > Services.

    2. Right-click on the HP Cloud Service Automation service and select Restart.

    3. Right-click on the HP Marketplace Portal service and select Restart.

    To restart HP CSA, on the server that hosts HP CSA, type the following:

    service csa restart
    service mpp restart

Launch the Marketplace Portal

Launch the default remote instance of a Marketplace Portal

Launch the default remote instance of the Marketplace Portal by typing one of the following URLs in a supported Web browser:

  • https://<csahostname>:8444/mpp
  • https://<mpphostname>:8089

where:

  • <csahostname> is the fully-qualified domain name of the system on which HP CSA is installed and the URL in the %CSA_HOME%\jboss-as\standalone\deployments\mpp.war\index.html$CSA_HOME/jboss-as/standalone/deployments/mpp.war/index.html file (on the system on which HP CSA is installed) has been updated to https://<mpphostname>:8089.

  • <mpphostname> is the fully-qualified domain name of the system on which the Marketplace Portal instance resides.

Examples:

  • https://csa_system.abc.com:8444/mpp
  • https://mpp_system.abc.com:8089

The organization associated with the default Marketplace Portal is defined in the %CSA_HOME%\portal\conf\mpp.json$CSA_HOME/portal/conf/mpp.json file (on the system on which the Marketplace Portal instance resides). By default, this is the sample organization that is installed with HP CSA (CSA_CONSUMER). To modify the organization associated with the default Marketplace Portal, modify the defaultOrganizationName property value by setting it to the <organization_identifier> of the desired organization, where <organization_identifier> is the unique name that HP Cloud Service Automation assigns to the organization, based on the organization display name (the organization identifier can be found in the General Information section of the Organizations tile of the Cloud Service Management Console).

Launch an organization-specific remote instance of a Marketplace Portal

Launch an organization's remote instance of the Marketplace Portal by typing the following URL in a supported Web browser:

https://<mpphostname>:8089/org/<organization_identifier>

where:

  • <mpphostname> is the fully-qualified domain name of the system on which the Marketplace Portal instance resides.
  • <organization_identifier> is the unique name that HP Cloud Service Automation assigns to the organization, based on the organization display name (the organization identifier can be found in the General Information section of the Organizations tile of the Cloud Service Management Console)

Example:

https://mpp_system.xyz.com:8089/org/ORGANIZATION_A

Caution: Do not launch more than one organization-specific Marketplace Portal from the same browser session. For example, if you launch ORGANIZATION_A's Marketplace Portal in a browser, do not open a tab or another window from that browser and launch ORGANIZATION_B's Marketplace Portal. Otherwise, the user who has logged in to the Marketplace Portal launched for ORGANIZATION_A will start to see data for ORGANIZATION_B.

Instead, start a new browser session to launch another organization's Marketplace Portal.

Start, Stop, or Restart the Marketplace Portal Service on the Remote System

Use the following instructions to start, stop, or restart the Marketplace Portal service on the remote system.

To start the Marketplace Portal service, do the following:

  1. Navigate to the Services screen (Control Panel > Administrative Tools > Services).
  2. Right-click on the Marketplace Portal service and select Start.

To stop the Marketplace Portal service, do the following:

  1. Navigate to the Services screen (Control Panel > Administrative Tools > Services).
  2. Right-click on the Marketplace Portal service and select Stop.

To restart the Marketplace Portal service, do the following:

  1. Navigate to the Services screen (Control Panel > Administrative Tools > Services).
  2. Right-click on the Marketplace Portal service and select Restart.

To start Marketplace Portal, on the remote system, open a command prompt and type
service mpp start.

To stop Marketplace Portal, on the remote system, open a command prompt and type
service mpp stop.

To restart Marketplace Portal, on the remote system, open a command prompt and type
service mpp restart.

What's Next?

You have completed the initial installation and configuration of HP CSA and can begin familiarizing yourself with the capabilities of HP CSA.

Launch the Cloud Service Management Console (type the following URL in a supported Web browser: https://<csahostname>:8444/csa) and log in using the out-of-the-box user (admin) and password (cloud). Launch the default Marketplace Portal (type the following URL in a supported Web browser: https://<csahostname>:8444/mpp) and log in using the out-of-the-box user (consumer) and password (cloud).

To complete the configuration of HP CSA, refer to the following documents:

  • HP Cloud Service Automation Configuration Guide: The configuration guide describes the process for preparing LDAP for the Cloud Service Management Console and for consumer organizations, requesting software licenses, configuring secure connections, customizing the Cloud Service Management Console, configuring HP CSA to be compliant with FIPS 140-2, and performing other HP CSA customizations. The configuration guide also describes the process of how to import the sample HP Operations Orchestration flows included with HP CSA.

  • Configuring an HP CSA Cluster for High Availability Using an Apache Web Server: The cluster configuration guide describes how to configure the nodes in your clustered environment if you are using an Apache Web server.

  • Configuring an HP CSA Cluster for High Availability Using a Load Balancer: The cluster configuration guide describes how to configure the nodes in your clustered environment if you are using a load balancer.

  • HP Cloud Service Automation Content Pack User's Guide: This guide describes how to install and configure resource providers (such as HP Matrix Operating Environment, VMware vCenter, HP SiteScope, HP Universal CMDB, and HP Server Automation), how to deploy the sample HP Operations Orchestration flows included with HP CSA, how to deploy the sample resource offerings and service designs included with HP CSA that target these resource providers, and includes additional documentation on each of the out-of-the-box resource offerings and service designs. If you installed the additional provider integration service designs, components, and content during installation, the sample HP Operations Orchestration flows, resource offerings, and service designs have been deployed.
  • HP Cloud Service Automation Service Design Guide: The service design guide describes how to use HP CSA to create automated, on-demand cloud services. The guide covers key concepts and steps for HP CSA service design, including sequenced and topology design models, the role of the service design, design layouts and components, service lifecycles, and service options.

You have completed the initial installation and configuration of the Marketplace Portal and can begin familiarizing yourself with the capabilities of the Marketplace Portal.

Launch the default Marketplace Portal (type the following URL in a supported Web browser: https://<csahostname>:8444/mpp) and log in using the out-of-the-box user (consumer) and password (cloud).

For more information about the Marketplace Portal, refer to the online help.

© Copyright 2010-2015 Hewlett-Packard Development Company, L.P.