Skip to Content
author's profile photo Former Member
Former Member

How to change existing DB details in SMP Server

Dear Experts,

I have SMP3.0 with SP08 installed. I have tagged Oracle with SID as a DB during installation.

Now I need to change the DB server name, and need to change the SID to Service Name.

I dont need to change the password of the DB.

So I know where to change the server name (in connection.properies file)

Below is my connection.properies file.

-----------------------------------------------------------------------------------------------------------

javax.persistence.jdbc.driver=oracle.jdbc.OracleDriver

javax.persistence.jdbc.url=jdbc:oracle:thin:@dbserver.org.com:1521:SAPSMP

javax.persistence.jdbc.user=smp_own

javax.persistence.jdbc.password={enc}F1wXBScfPEaQkVitJWMk2TlIBUelLIqCvxgPxZ9yFqw=

eclipselink.target-database=Oracle

com.sap.persistence.jdbc.connection.pool.max_active=8

com.sap.persistence.jdbc.connection.pool.max_wait_millis=30000

com.sap.persistence.jdbc.connection.pool.min_evictable_idle_time_millis=90000

com.sap.persistence.jdbc.connection.pool.min_idle=1

eclipselink.cache.size.ApplicationConnectionInfo=5000

eclipselink.cache.size.APNSConfig=5000

eclipselink.cache.size.BBConfig=5000

eclipselink.cache.size.NotificationTargetConfig=5000

eclipselink.cache.size.GCMConfig=5000

eclipselink.cache.size.WNSConfig=5000

eclipselink.cache.size.Application=50

eclipselink.cache.size.EndpointConfiguration=50

eclipselink.cache.size.ApplicationsToBackendConnections=300

connectionTestRetryInterval=30000

connectionTestRetryCounter=5

connectionTestStatement=update SMP_CLUSTER_MEMBER set LAST_CONNECTED = (select sys_extract_utc(systimestamp) from dual) where HOSTNAME = ? and DIRECTORY = ?

-----------------------------------------------------------------------------------------------------------

dbserver.org.com:1521:SAPSMP

here SAPSMP is the SID name. now if i want to replace SID with Service name, is it the same way as above?

(dbserver.org.com:1521:ServiceName)

Please suggest.

Thanks

Aditya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 08, 2015 at 12:18 PM

    Aditya,

    This is not supported. Once the server is installed, you cannot migrate to a different database nor change the connection details. Although not supported, using servicename for Oracle syntax for JDBC is:

    jdbc:oracle:thin:@//HOSTNAME:PORT/SERVICENAME

    or try

    jdbc:oracle:thin:@dbserver.org.com:1521/SERVICENAME

    Mind you, this still isn't officially supported changing connection specs as this is stored multiple places. I am not sure if the / needs an escape character, but I don't think so.

    Regards,

    Kevin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.