Forum Discussion

H_A_N_B_U's avatar
H_A_N_B_U
Level 3
7 years ago

Unable to change IP Address of Primary RLINK

Hi Guys,

I'm having issues on changing Primary RLINK IP Address. The Secondary RLINK was successful. Please see error below

vxrds -g (diskgroup) changeip (rvg_name) (sec_host) newpri=192..x.x.x.x

Error occurred on host hostname.

Error V-106-58644-543: The secondary host is invalid.

OS: Windows 2008 R2, InfoScale Enterprise 7.0.1.

Thanks

Paul 

  • Hi Frank,

    The case have been solved. I just change the primary host using Veritas Enterprise Administration (VEA). I did the following steps below:

    1. Log-on to VEA console.

    2. Go to Replication Settings

    3. Right-click Secondary host > Change Replication settings.

    4. Entered the new Primary Hostname.

    5. Ran vradmin printrvg and vxprint -g <diskgrup> -lVP

    I just wondering why the command vradmin changeip is not working.

    Thanks anyway! Cheers!

    Paul

4 Replies

  • Hello Paul,

    Can you please run the commands below on the primary and post the output?

    1. uname -a

    2. rpm -aq | grep -i vxvm

    3. ping <secondary hostname>      (from primary)

    4 ping <primary host name> from secondary

    5. vradmin -g dg printrvg

    6. vxprint -lPV

    7. check hosts files on each system to make sure the hostname-IP mappings are correct/updated

    8. run the copmmand below on each system

    vxstart_vvr

    on primary, run

    vradmin -g <dg> changeip rvg <secondary host name>

    Good luck

    Regards,

    Frank

    • H_A_N_B_U's avatar
      H_A_N_B_U
      Level 3

      Hi Frank,

      The case have been solved. I just change the primary host using Veritas Enterprise Administration (VEA). I did the following steps below:

      1. Log-on to VEA console.

      2. Go to Replication Settings

      3. Right-click Secondary host > Change Replication settings.

      4. Entered the new Primary Hostname.

      5. Ran vradmin printrvg and vxprint -g <diskgrup> -lVP

      I just wondering why the command vradmin changeip is not working.

      Thanks anyway! Cheers!

      Paul

      • frankgfan's avatar
        frankgfan
        Moderator

        Hello Paul,

        vradmin changeip is to change the IP of an existing secondary host.

        Since you mentioned "4. Entered the new Primary Hostname.", I guess you changed bpth hostname and the IP.

        VEA is just a GUI.  The commands run behind are vx* and vr* commands.  To find out the reason for vradmin changeip did not work, check the vradmind log in /var/vx/vras/log.

        Since VEA is for old versions of VxVM/VVR,  you must use a very old version. Upgrade to 6.x/7.x is free.  If possible, you shouild upgrade your Veritas software.

        Kind regards,

        Frank