- Log into the server. (rdp or other)
- Stop BSM.
- Create the file D:\HPBSM\conf\bsm-tnsnames.ora with content:
12345678910111213141516hpbsm_service =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = oraclerac-vip.example.com)
(PORT = 1521)
)
(LOAD_BALANCE = on)
(FAILOVER = on)
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = hpbsm_service)
)
)
- Edit D:\HPBSM\conf\jdbc.drivers.properties
- Comment out the line starting with: ddoracle.url=
- Add new line (literally): ddoracle.url=jdbc:mercury:oracle:TNSNamesFile=D:\\HPBSM\\conf\\bsm-tnsnames.ora;TNSServerName=${sid}
- Create the file D:\HPBSM\odb\conf\jdbc.properties:
(here you have to include the service name from the bsm-tnsnames.ora)12Oracle = ddoracle
cmdb.url = jdbc:mercury:oracle:TNSNamesFile=D:\\HPBSM\\conf\\bsm-tnsnames.ora;TNSServerName=hpbsm_service
- Run the "Configure HP Business Service Management" utility, and enter hpbsm_service in the SID field (it will be converted to a tnsnames.ora entry lookup by our hack above).
- Connect to hp_mgr with SQL Developer or TOAD (or whatever you like):
12345SELECT
SESSION_ID, SESSION_DB_SID
FROM
sessions
WHERE
SESSION_DB_NAME =
'profile_mgr'
;
-- Must be hpbsm_service. If not, update.
SELECT
SP_ID, SP_VALUE
FROM
setting_parameters
WHERE
SP_NAME
IN
(
'opr.db.connection.sid'
,
'dal.bpi.runtime.sid'
,
'dal.bpi.pr.repos.sid'
);
-- All must be hpbsm_service. If not, update.
UPDATE
SESSIONS
SET
SESSION_DB_SID =
'hpbsm_service'
WHERE
SESSION_ID
IN
(
SELECT
SESSION_ID
FROM
SESSIONS
WHERE
SESSION_DB_NAME =
'profile_mgr'
);
UPDATE
SETTING_PARAMETERS
SET
SP_VALUE =
'hpbsm_service'
WHERE
SP_ID
IN
(
SELECT
SP_ID
FROM
SETTING_PARAMETERS
WHERE
SP_NAME
IN
(
'opr.db.connection.sid'
,
'dal.bpi.runtime.sid'
,
'dal.bpi.pr.repos.sid'
));
- Start BSM.
- VALIDATE
According to The Directive 2009/24/EC of the European Parliament and of the Council, and Sec.103(f) of the DMCA (17 U.S.C. § 1201 (f)), the reverse engineering act committed to creating these blog posts is considered legal, as this is an original attempt to improve interoperability, and cannot be waived by license agreements.
The views expressed on this blog are my own and do not necessarily reflect the views of my past and present employers.
2013-09-10
HP BSM: Using Oracle Services instead of SID (useful if having a RAC)
This cannot be set on the wizard, this has to be done by hand. Origin of this information
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment