Friday, 6 October 2017

How to rename the SAP HANA DB

Tags



You can rename an SAP HANA database system as described in this section.

Renaming a SAP HANA database system that is running with a permanent SAP license invalidates the license so that the instance is locked down.

You need to request a new license key with the new system ID and the new hardware key (generated by renaming) in order to unlock the renamed system.

This especially impacts renaming in batch mode: since the renamed instance is locked down, no other activities except license installation are then possible.

Before performing the rename, you need to meet these prerequisites:

  • You identify an existing SAP HANA database system, created by an installation or a file system
  • copy, that is to be renamed.
  • The target system ID (SID) must not exist.
  • The target instance number must not exist.
  • You are logged in as the root user.
  • If a mount point contains the system ID, you must first rename it manually before performing the rename of the SAP HANA database.

To rename the instances of a distributed system, you perform the rename for all hosts with a single call of hdbrename.

Renaming a System in Interactive Mode

Make sure that you meet the prerequisites in Renaming a SAP HANA Database System.

In interactive mode, the program queries all essential parameters that are not defined using command line options as well as parameters that have invalid values.

a. Open a root shell.

b. Via the local mount point, change to the following directory on the shared file system:

///global/hdb/install/bin

c. Call the hdbrename program by entering this command:

./hdbrename

d. Specify the required data.

The system is now renamed.


EmoticonEmoticon

Note: only a member of this blog may post a comment.