CSA 4.5 silent installation

Hi Experts,

I'm curious to know if there is a procedure to have the CSA version 4.5 installed silently without user intervention?

This method seems to be available for most HP Software products but I couldn't find any information for CSA on the installation guide.

Appreciate any feedback on this,

Thanks

Tags:

Parents
  • Following silent installation file is used to install CSA in our lab. Replace the parameters accordingly

    #flag that installation should run in silent mode
    TA_SILENT=true

    #Destination folder for this installation.
    INSTALLATION_FOLDER=@@CSA_INSTALLATION_FOLDER@@
    USER_INSTALL_DIR=@@CSA_INSTALLATION_FOLDER@@

    #You can install both CSA and MPP or just MPP.
    # mpp - install MPP only
    # all - install both CSA and MPP
    INSTALL_SET=all

    #Type of Java to be used by CSA.
    # openJRE - installs open JRE as a part of product installation
    # oracleJRE - use already installed Java
    # existingJRE - UPGRADE ONLY, it uses the same JRE as previous installation
    JRE=openJRE

    #JRE home has to be defined in case of JRE=oracleJRE.
    #JRE_HOME=C:\\Program Files\\Java\\jre7

    #UPGRADE ONLY - Select the environment in which HP CSA is running.
    # standalone
    # cluster
    #UPGRADE_ENVIRONMENT=standalone

    #upgrade allows to choose mode
    # standalone
    # cluster
    DEPLOYMENT_MODE=standalone

    ####################################### DB #######################################################
    #Database type used by CSA. Values are oracle/postgres/mysql/mssql
    DB_TYPE=postgres

    #For Oracle DB and MySQL DB, folder with JDBC drivers has to be specified. Example C:\\Users\\test
    #JDBC_DRIVER_FOLDER=@@CSA_JDBC_DRIVER_FOLDER@@

    #Database hostname, port, name, user, password.
    DB_HOSTNAME=localhost
    DB_PORT=5432
    DB_NAME=csadb
    DB_USERNAME=@@CSA_DB_USERNAME@@
    DB_PASSWORD=@@CSA_DB_PASSWORD@@

    # IDM DB Configuration
    # Needed for IDM1.6, it requires empty database when used first time otherwise CSA boot fails
    IDM_DB_HOSTNAME=localhost
    IDM_DB_PORT=5432
    IDM_DB_NAME=idmdb
    IDM_DB_USERNAME=@@CSA_DB_USERNAME@@
    IDM_DB_PASSWORD=@@CSA_DB_PASSWORD@@

    #Reporting user is optional (specify both properties or none)
    DB_REPORTING_USERNAME=
    DB_REPORTING_PASSWORD=

    #Do you want to install database components?
    # true - creates schema
    # false - existing schema is used
    INSTALL_DATABASE_COMPONENTS=true


    ###################################### Server #######################################################
    #Hostname used for the CSA server. Fully qualified domain name
    CSA_HOSTNAME=@@CSA_HOSTNAME@@

    #HP Single Sign-On (HP SSO) - true/false. When enabled, SSO is used when launching an application from the Cloud Service Management Console.
    ENABLE_SSO=false

    #hp mpp sso, in UI "HP Single Sign-On (HP SSO), when enabled, can be used when launching an application from the Market Place Portal"
    ENABLE_MPP_SSO=false

    #Domain name to which the server belongs
    SSO_DOMAIN=@@CSA_SSO_DOMAIN@@

    #Common Access Card on/off
    ENABLE_CAC=false
    #path for the CA certificate
    CAC_CERTIFICATE_FILE=
    #CAC certificate revocation
    CAC_CR=NO
    #path to the CAC Certificate Revocation List
    CAC_CRL_FILE=
    #Name of the X.509 certificate attribute from which the username will be extracted. Set this property to subjectDN/san/subjectDN,san
    CAC_X509_ATTRIBUTE=
    #The regular expression used to extract a username from the subjectDN X.509 attribute.
    CAC_REGEX=
    #The type of the subject alternative name. The allowed types are otherName and rfc822name.
    CAC_SAN_TYPE=

    ####################################### OO #######################################################
    #OO configuration. CSA connection to OO server.
    # external - use external standalone OO installation
    # embedded - install embedded OO together with CSA
    OO_INSTALLATION=embedded

    External OO in case of OO_INSTALLATION=external
    OO_HOSTNAME=@@OO_HOSTNAME@@
    OO_PORT=@@OO_PORT@@
    OO_USERNAME=admin
    OO_PASSWORD=cloud
    OO_CERTIFICATE_FILE=@@OO_CERT_FILE@@

    #Embedded OO in case of OO_INSTALLATION=embedded
    #OO_INSTALLATION_FOLDER=@@OO_INSTALLATION_FOLDER@@
    #OO_PORT=8443
    #OO_USERNAME=admin
    #OO_PASSWORD=cloud
    #OO_DB_HOSTNAME=$DB_HOSTNAME$
    #OO_DB_PORT=$DB_PORT$
    #OO_DB_NAME=oodb
    #OO_DB_USERNAME=$DB_USERNAME$
    #OO_DB_PASSWORD=$DB_PASSWORD$

    # Property for installation of OOTB content by CSL Installer during installation or upgrade (true means install OOTB content, false means skip installation
    INSTALL_DEMO_CONTENT=true


    SECRET_KEY_IDM_TOKEN=cloud
    SECRET_KEY_MPP_COOKIES=cloud

  • Also silent installation is not supported in CSA. 

     

    Thanks

    Kumar

Reply Children
  • Hello All,

    My CSA upgrade from 4.2 to 4.5 is failing with below message,However  database is empty,Could you please advise if somone faced same issue.

    HPCSA database is ms-sql  (existing database)

    IDM database is also on same server.(New database as per requirements is upgrade guide.

    ===========================================================================

    Database validation
    Database schema "csaidmdb" must be empty. Please empty the database schema and
    try again.

    ->1- OK
    2- Cancel

    ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
    DEFAULT:

    ====================================================================================

     

    Thanks & Regards,

    Sunil Yadav

     

  • Hello All,

    My CSA upgrade from 4.2 to 4.5 is failing with below message,However  database is empty,Could you please advise if somone faced same issue.

    HPCSA database is ms-sql  (existing database)

    IDM database is also on same server.(New database as per requirements is upgrade guide.

    ===========================================================================

    Database validation
    Database schema "csaidmdb" must be empty. Please empty the database schema and
    try again.

    ->1- OK
    2- Cancel

    ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
    DEFAULT:

    ====================================================================================

     

    Thanks & Regards,

    Sunil Yadav

     

  • Hello All,

    My CSA upgrade from 4.2 to 4.5 is failing with below message,However  database is empty,Could you please advise if somone faced same issue.

    HPCSA database is ms-sql  (existing database)

    IDM database is also on same server.(New database as per requirements is upgrade guide.

    ===========================================================================

    Database validation
    Database schema "csaidmdb" must be empty. Please empty the database schema and
    try again.

    ->1- OK
    2- Cancel

    ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
    DEFAULT:

    ====================================================================================

     

    Thanks & Regards,

    Sunil Yadav