Print Download PDF Send Feedback

Previous

Next

Changing the Leading Interface on Multi-Domain Server or Multi-Domain Log Server

This procedure lets you change the current Leading Interface on a Multi-Domain Server or Multi-Domain Log Server.

Note - In environments with multiple Multi-Domain Servers or Multi-Domain Log Servers, perform the procedure for each applicable Multi-Domain Server or Multi-Domain Log Server.

Workflow:

  1. Back up the current R80.20 Multi-Domain Server
  2. Connect to the command line on the Multi-Domain Server
  3. Log in to the Expert mode
  4. Stop the Multi-Domain Server
  5. Modify the $MDSDIR/conf/LeadingIP file
  6. Modify the $MDSDIR/conf/mdsdb/mdss.C file
  7. Install a new license on the target Multi-Domain Server issued for the new Multi-Domain Server IP address
  8. Modify the $MDSDIR/conf/external.if file
  9. Start the Multi-Domain Server

Step 1 of 9: Back up the current R80.20 Multi-Domain Server

See Backing Up and Restoring.

Step 2 of 9: Connect to the command line on the Multi-Domain Server

Connect over SSH, or serial console.

Step 3 of 9: Log in to the Expert mode

Step

Description

1

Log in with the superuser credentials.

2

Log in to the Expert mode.

Step 4 of 9: Stop the Multi-Domain Server

[Expert@MDS:0]# mdsstop

Step 5 of 9: Modify the $MDSDIR/conf/LeadingIP file

Step

Description

1

Back up the current file:

[Expert@MDS:0]# cp -v $MDSDIR/conf/LeadingIP{,_BKP}

2

Edit the current file:

[Expert@MDS:0]# vi $MDSDIR/conf/LeadingIP

3

Change the current IP address to the new IP address.

4

Save the changes and exit the Vi editor.

Step 6 of 9: Modify the $MDSDIR/conf/mdsdb/mdss.C file

Step

Description

1

Back up the current file:

[Expert@MDS:0]# cp -v $MDSDIR/conf/mdsdb/mdss.C{,_BKP}

2

Edit the current file:

[Expert@MDS:0]# vi $MDSDIR/conf/mdsdb/mdss.C

3

Find the object of your Multi-Domain Server or Multi-Domain Log Server that has the current IP address.

4

Change the object's IP address to the new IP address.

5

Do not change the object's name.

6

Save the changes and exit the Vi editor.

Step 7 of 9: Install a new license on the target Multi-Domain Server issued for the new Multi-Domain Server IP address

Step

Description

1

Connect to your User Center account.

2

Issue a new license for your Multi-Domain Server or Multi-Domain Log Server for the new Multi-Domain Server IP address.

3

Get the new license and Support Contract.

4

Install the new license and Support Contract on your Multi-Domain Server or Multi-Domain Log Server.

Step 8 of 9: Modify the $MDSDIR/conf/external.if file

This step applies if you migrated the entire management database from a source Multi-Domain Server or Multi-Domain Log Server to a target Multi-Domain Server or Multi-Domain Log Server, and the target server uses a different external interface (for example, eth0 on the source server and eth1 on the target server).

Step

Description

1

Back up the current $MDSDIR/conf/external.if file:

[Expert@MDS:0]# cp -v $MDSDIR/conf/external.if{,_BKP}

2

Edit the current $MDSDIR/conf/external.if file:

[Expert@MDS:0]# vi $MDSDIR/conf/external.if

3

Change the current interface name to the name of the applicable main interface.

This is the interface, on which you configured the main IPv4 address of your Multi-Domain Server or Multi-Domain Log Server.

4

Save the changes and exit the Vi editor.

5

Go to the context of each existing Domain Management Server:

[Expert@MDS:0]# mdsenv <IP Address or Name of Domain Management Server>

6

Back up the current $FWDIR/conf/vip_index.conf file:

[Expert@MDS:0]# cp -v $FWDIR/conf/vip_index.conf{,_BKP}

7

Edit the current $FWDIR/conf/vip_index.conf file:

[Expert@MDS:0]# vi $FWDIR/conf/vip_index.conf

8

Change the current interface name to the name of the applicable main interface.

This is the interface, on which you configured the main IPv4 address of your Multi-Domain Server or Multi-Domain Log Server.

9

Save the changes and exit the Vi editor.

Step 9 of 9: Start the Multi-Domain Server

[Expert@MDS:0]# mdsstart