3.6.2 Procedure 16 RESTORE EUIDB

Now that the Databases have been copied over, it’s time to restore the Databases and start the ELAP application.

Note:

HA status of ELAP servers should be Active and Standby . If HA status is not Active/Standby, contact the My Oracle Support by following the instructions in Appendix E.

Table 3-20 Procedure 16 RESTORE EUIDB

STEP # This procedure migrates the EuiDB database to the E5APPB. Note: Estimated time of completion is 15 minutes. Check off (√) each step as it is completed. Boxes have been provided for this purpose under each step number. Should this procedure fail, Contact Oracle technical services and ask for FULL UPGRADE ASSISTANCE.

1.

☐

Active ELAP:

Login as elapdev.

login: elapdev 
Password: <elapdev_password> 

2.

☐

Active ELAP:

Verify that the DB Backup file has been transferred over and its permissions are correct.

$ cd /var/TKLC/elap/free 

[elapdev@Natal-A free]$ ls -ltr /var/TKLC/elap/free/ 

-rw-r----- 1 elapdev elap 5195 Jan 25 05:36 
npdbBackup_NatalA_20210125053550.sql.gz 

NOTE: The ownership of file should be elapdev:elap. Check and provide the correct ownership of elapdev:elap, if not correct.

3.

☐

Active ELAP:

Restore Output is displayed.

$/usr/TKLC/elap/bin/Euidb_migration.pl <backup name>

Example:

$ /usr/TKLC/elap/bin/Euidb_migration.pl npdbBackup_Natal-A_20210125053550.sql.gz

Logs will be directed to

/usr/TKLC/appl/logs/Euidb_migration.log for more details.

INFO: This script is used to restore older 10.1 release EuiDB backup to current release. Please note that MySQL should be running for this process.

Are you sure, you want to restore this EuiDB backup?

(y/n) y

Restoring up the NPDB...

INFO: Backup restored successfully. Success.

For more details, see

"/usr/TKLC/elap/logs/Euidb_migration.log".

$uiEdit LNP_TN_QTY

Output: "LNP_TN_QTY" is set to "504000000"

If LNP_TN_QTY is set to any value other than 756000000, set the proper value:

$uiEdit LNP_TN_QTY 756000000

Output: "LNP_TN_QTY" is se“ to "756000000"

Check value of LNP_TN_QTY:

$uiEdit LNP_TN_QTY

Output: "LNP_TN_QTY" is set to "756000000"

4.

☐

Active ELAP: Reset IP Addresses. Login to elapconfig

Re-Set the IP addresses using elapconfig. (for Prov and NTP, if used).

$ sudo su – elapconfig

5.

☐

Active ELAP: The ELAP Configuration Menu is displayed.Select option 2 to enter the Network Interfaces Menu.

/-----ELAP Configuration Menu----------\ 
/----------------------------------------\ 
|  1 | Display Configuration             | 
|----|-----------------------------------| 
|  2 | Configure Network Interfaces Menu | 
|----|-----------------------------------| 
|  3 | Set Time Zone                     | 
|----|-----------------------------------| 
|  4 | Exchange Secure Shell Keys        | 
|----|-----------------------------------| 
|  5 | Change Password                   | 
|----|-----------------------------------| 
|  6 | Platform Menu                     | 
|----|-----------------------------------| 
|  7 | Configure NTP Server              | 
|----|-----------------------------------| 
|  8 | Mate Disaster Recovery            | 
|----|-----------------------------------| 
|  e | Exit                              | 
\----------------------------------------/ 
Enter Choice: 2 

6.

☐

Active ELAP:

The Configure Network Interfaces Menu is displayed.

Select option 1 to configure the provisioning network.

/-----Configure Network Interfaces Menu-\ 
/-----------------------------------------\ 
|  1 | Configure Provisioning Network     | 
|----|------------------------------------| 
|  2 | Configure DSM Network              | 
|----|------------------------------------| 
|  3 | Configure Forwarded Ports          | 
|----|------------------------------------| 
|  4 | Configure Static NAT Addresses     | 
|----|------------------------------------| 
|  e | Exit                               | 
\-----------------------------------------/ 
Enter Choice: 1 

7.

☐

Active ELAP:

Enter the IP addresses, subnet mask, default gateway and Virtual IP addres, subnet mask, default gateway and Virtual IP tering them again by just pressing enter key).

Verifying connectivity with mate... 
ELAP A provisioning network IP Address [192.168.61.104]: 
192.168.61.136 
ELAP B provisioning network IP Address [192.168.61.105]: 
192.168.61.137 
ELAP provisioning network netmask [255.255.255.0]: 
255.255.255.0 
ELAP provisioning network default router: 
192.168.61.250 
ELAP local provisioning Virtual IP Address [192.168.61.100]: 
192.168.61.166 

Please Wait, this may take a while... 

Note: The following drbd messages might be observed while configuring provisioning network. They are expected so we can ignore them.

[12989.770127] drbd drbd0: State change failed: Can not disconnect a StandAlone device

8.

☐

Active ELAP:

Select option e to exit.

  /-----Configure Network Interfaces Menu----\ 
/--------------------------------------------\ 
|  1 | Configure Provisioning Network        | 
|----|---------------------------------------| 
|  2 | Configure Sync Network                | 
|----|---------------------------------------| 
|  3 | Configure DSM Network                 | 
|----|---------------------------------------| 
|  4 | Configure Backup Provisioning Network | 
|----|---------------------------------------| 
|  5 | Configure Forwarded Ports             | 
|----|---------------------------------------| 
|  6 | Configure Static NAT Addresses        | 
|----|---------------------------------------| 
|  7 | Configure Provisioning VIP Addresses  | 
|----|---------------------------------------| 
|  e | Exit                                  | 
\--------------------------------------------/ 
Enter Choice: e 

9.

☐

Active ELAP:

If configured, change “Pretty Name” to change the name on the ELAP GUI.

$ uiEdi set to "ELAP_A_NAME" 
"ELAP_B_PRETTY_NAME" is set TTY_NAME Santos-B 
# uiEdit ELAP_A_PRETTY_NAME Santos-A 

$ uiEdit | grep -i PRETTY_NAME 
"ELAP_A_PRETTY_NAME" is set to "Santos-A" 
"ELAP_B_PRETTY_NAME" is set to "Santos-B" 

10.

☐

Active ELAP:

Switch user to elapconfig and verify the configurations.

Verify the configurations using the uiEdit command.

11.

☐

Active ELAP: Note down the timestamp in log.

Run the following command:

$ date

This procedure is complete!