Articles in this section

How to find the KVMID of the VPS using the VPS IP on KVM slave server?

Applicable to:

  • SolusVM

Question

 How to find the KVMID of the VPS using the VPS IP on KVM slave server?

Answer

  1. Connect to Slave KVM node via SSH
  2. Find the MAC address of the VPS using  the VPS IP:

    # arp -an | grep IP_Address

  3. Execute the following command in order to find the KVMID using the MAC address:

    # virsh list --name | while read n ; do  if( [[ ! -z $n ]] && virsh dumpxml $n | grep "MAC_Address" ); then echo $n; fi; done

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.