Topic
  • 2 replies
  • Latest Post - ‏2013-05-14T07:03:38Z by Unix_ITI
Unix_ITI
Unix_ITI
4 Posts

Pinned topic The discovery process will not find a new system

‏2013-04-25T03:01:51Z |

I have discovered server with IP. The discovery process will not find as a NEW system , but it's conflict with existing hostname(PREVIOUS).

The server are not cloned and running in different Power frames , SSH deamon restarted and tried to re-discovered , still the discovered IP is holding by the PREVIOUS server.

Any suggestions to check in client side ?

 

 

  • gcorneau
    gcorneau
    234 Posts

    Re: The discovery process will not find a new system

    ‏2013-04-25T13:32:19Z  

    A likely problem is that this OS has the same SSH host key as the existing system.  There's lots of entries in this forum and even an article in the IBM Systems Director InfoCenter on discovering cloned systems.

    Once you've discovered cloned systems, the only clean way to recover is to remove it (or them), fix the duplicate key problem, then re-discover both separately.

  • Unix_ITI
    Unix_ITI
    4 Posts

    Re: The discovery process will not find a new system

    ‏2013-05-14T07:03:38Z  
    • gcorneau
    • ‏2013-04-25T13:32:19Z

    A likely problem is that this OS has the same SSH host key as the existing system.  There's lots of entries in this forum and even an article in the IBM Systems Director InfoCenter on discovering cloned systems.

    Once you've discovered cloned systems, the only clean way to recover is to remove it (or them), fix the duplicate key problem, then re-discover both separately.

    System Discover duplicate IP and hostname conflict resolved. The duplicate key problem resolved as follows.

     

    Servers with Openssh communication:

    # cp -p /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.May2013
    # cp -p /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.May2013
    # cp -p /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.May2013
    # ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa
    # ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
    # ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
    Restart the ssh service for each machine.

     

    Servers with CAS, CIM, SSH protocols communication:

    # cd /etc/ssh
    # mkdir oldkey
    # cp -p  ssh_host_key  ssh_host_rsa_key ssh_host_dsa_key oldkey
    # reset_diragent_keys