cancel
Showing results for 
Search instead for 
Did you mean: 

Hostname change for Content Server 7.6

robertom
Participant
0 Kudos

Dears,

I have to change the hostname for an host where is running a Sap Content Server based on Maxdb 7.6.0.6, and I  need to make sure it continues to work.

No  changes  to the SID or to the software release, simply the host has to be renamed.

I have gone throught a lot of notes and posts, but  I have not found a clear answer about what should be done.


I would like to avoid to do an Homogeneous Systm Copy via backup-restore for this hostname change.

In your opinion what has to be done for the Apache We server ?

And what for the Maxdb users at operating system level ? Wich files are supposed to be changed ?

regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member188883
Active Contributor
0 Kudos

Hi Roberto,

As the Database is MaxDB you may need to change the hostname in the following areas as well in addition to what has been suggested in above response.

1) XUSER entires for ALL servers as well as for ALL sidadm/SAPServiceSID users

2) You need to maintain entries in db59 /DBCON to point to new host name

With these changes MaxDB should be running with new hostname.

Regards,

Deepak Kori

robertom
Participant
0 Kudos

Thanks to all.

but please I'm surprised that no actions are required at operating system level.

The os is Unix, I really expected to change something

former_member188883
Active Contributor
0 Kudos

Hi Roberto,

From OS side you may need to update the following

1) /etc/hosts

2) DNS entries

3) Apache configuration files to have updated hostname

Regards,

Deepak Kori

Answers (2)

Answers (2)

Reagan
Advisor
Advisor
0 Kudos

If there are old hostname entries in the cs.conf or ContentServer.ini file you will need to adapt them. As you are on Unix you will need to modify the environment variable files.

Eg: .dbenv_hostname.csh and .dbenv_hostname.sh for the MaxDB user.

robertom
Participant
0 Kudos

Thanks to all.

For the Apache webserver I think to check-change only the file httpd.conf

For Maxdb does not exist a file like the oracle tnsname.ora need to be adjusted?

regards

former_member188883
Active Contributor
0 Kudos

Hi Roberto,


For the Apache webserver I think to check-change only the file httpd.conf

yes correct. No other change required.


For Maxdb does not exist a file like the oracle tnsname.ora need to be adjusted?

You need to adjust XUSER entries as explained in my response above.

Regards,

Deepak Kori

robertom
Participant
0 Kudos

Thanks.

Unfortunately note  39439 that describe how to adjust the xuser entryes is not valid for my release 7.6.06.

And the DBMGUI link attached to the note does not works.

Any Idea how these entries should be adiusted with MaxDB 7.6.06 ?

regards

robertom
Participant
0 Kudos

Sorry the note should be valid from 7.5 and higher releases so seems to be ok.

But it seems to me there is an error when it says ;

.....

DBA user: SAP<SID> (SAP BASIS 6.10 or higher)

xuser -U DEFAULT -u SAP<SID>,<password> -d <database_name> -n <database_server> -S SAPR3 -t 0 -I 0 set

There should not be SAP<SID> in place of SAPR3 ?

regards

former_member188883
Active Contributor
0 Kudos

Hi Roberto,

SAP<SID> should be the schema for your database. Please use the right schema viz SAPSR3 or SAP<SID> as applicable.

Regards,

Deepak Kori

JPReyes
Active Contributor
0 Kudos

Hi Roberto,

Renaming the host mean you'll have to update all the config for OAC0 and CSADMIN including certificates. Other than that it should work fine.

I don't see any reason for you to have any trouble in the box itself or the need for a system copy.

Regards, Juan