3.5.3 Procedure 13 INITIAL NETWORK CONFIGURATION

Table 3-17 Procedure 13 INITIAL NETWORK CONFIGURATION

STEP # This procedure configures the network interfaces and makes the APPD servers accessible to the network. Note: Estimated time of completion is 10 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.

☐

MPS A:

Login to serial console as root.

login: root

Password: <root_password>

2.

☐

MPS A:

Switch user to elapconfig.

# su - elapconfig

3.

☐

MPS A:

The ELAP Configuration Menu is displayed. Select choice 2, Configure 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 

4. ☐

MPS A: Configure Network Interfaces Menu is displayed. Select choice 1, Configure Provisioning Network Menu.

/-----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 

5.

☐

MPS A: Enter the IP addresses, subnet mask, default gateway and Virtual IP.

Verifying connectivity with mate... 
ELAP A provisioning network IP Address [192.168.61.104]:  
ELAP B provisioning network IP Address [192.168.61.105]:  
ELAP provisioning network netmask [255.255.255.0]:  
ELAP provisioning network default router:  
ELAP local provisioning Virtual IP Address [192.168.61.100]:  
 Please Wait, this may take a while... 

Note: Below 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

6.

☐

MPS A:

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 

7.

☐

MPS A: Select option e to completely exit the 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: e 
*Note if this menu is not exited properly root will not be disabled 

8.

☐

MPS A: Note down the timestamp in log.

Run the following command :

$ date

9.

☐

MPS A: Check that drbd syncing is complete. If not, then wait for drbd to sync

Note: If DRBD is still syncing, run the DRBD status command periodically to check until both ELAPs get synced.

Run the following command to display DRBD status.:


# drbdadm status all 
Expected status:  
Role: Primary/Secondary 
Disk: UpToDate/UpToDate  

Example:

$ drbdadm status all drbd0 role:Primary   disk:UpToDate 
  Devloan04 role:Secondary     peer-disk:UpToDate 

If drbd is still syncing, you will see some output in percentage which shows that drbd is getting synced. Wait until it syncs completely till 100% and comes as Primary/UpToDate and Secondary/UpToDate.


# drbdadm status all drbd0 role:Primary   disk:UpToDate 
  Devloan04 role:Secondary 
    replication:SyncSource peer-disk:Inconsistent 

done:66.44

10.

☐

MPS A and MPS B: Check

the hastatus on both the nodes.

Check the hastatus on both the nodes. MPS A should be ACTIVE.
# hastatus 
ACTIVE 

MPS B should be STANDBY.

# hastatus 
STANDBY 

If hastatus for MPS B shows as “UNINITIALIZED "INHIBITED"”, then run the below command to make it STANDBY.

 # /usr/TKLC/plat/sbin/hafailover --noinhibit 

Example:

 
[root@Crete-B ~]# /usr/TKLC/plat/sbin/hafailover -noinhibit 
[root@Crete-B ~]# hastatus UNINITIALIZED 
[root@Crete-B ~]# hastatus 
STANDBY 
[root@Crete-B ~]#  

11.

☐

MPS A: Run the following command.

# chronyc ntpdata 
Remote address  : 10.75.124.27 (0A4B7C1B) 
Remote port     : 123 
Local address   : 10.75.141.11 (0A4B8D0B) 
Leap status     : Normal 
Version         : 4 
Mode            : Server 
Stratum         : 4 
Poll interval   : 10 (1024 seconds) 
Precision       : -19 (0.000001907 seconds) 
Root delay      : 0.045807 seconds 
Root dispersion : 0.016266 seconds 
Reference ID    : 0A4B7CF6 () 
Reference time  : Tue Jan 02 10:39:12 2024 
Offset          : -0.000049386 seconds 
Peer delay      : 0.000802394 seconds 
Peer dispersion : 0.000001940 seconds Response time   : 0.000062915 seconds 
Jitter asymmetry: -0.50 
NTP tests       : 111 111 1111 
Interleaved     : No 
Authenticated   : No 
TX timestamping : Kernel 
RX timestamping : Kernel Total TX        : 4193 
Total RX        : 4193 
Total valid RX    : 4193 

Make sure that delay and offset is zero. If delay and offset is not zero, run the below commands else skip the below commands.

# systemctl stop chronyd 
# systemctl start chronyd
# systemctl enable chronyd
# chronyc makestep

Run the below command to note the current timestamp on the server:

# date

12.

☐

MPS A and MPS B:

Reboot both MPS A and MPS B servers once after drbd is synced.

Reboot both MPS A and MPS B servers using below command.:

# reboot

13.

☐

MPS A and MPS B: If any core files were formed during the upgrade MTC window, delete them.

Delete the core files that were formed during the upgrade maintenance window using below command. These core files are one time.

# rm /var/TKLC/core/<core file name>

For example:

# rm /var/TKLC/core/core.gs.10084* 
rm: remove regular file '/var/TKLC/core/core.gs.10084'? Y 
rm: remove regular file '/var/TKLC/core/core.gs.10084.bt'? Y 

This procedure is complete!