Community
 
 
 

CloudPlatform 3.x

343 followers
 
Avatar
Pankaj Paliwal

how to find VM by IP address

Avatar

how to find VM by IP address

Hi,

 

There is a column of search under instance, we can only find the VM with given name but not with ip address.

 

I want to find the VM with ip address, when i add ip address in search column it does not display the vm on which that ip is assigned,

 

Any chances in cloudstack where we can search the VM by enterring ip address ?

 

cloudstack.png


Ameet Nathani MEMBERS
1 comment
0

Please sign in to leave a comment.

 
 

Previous 1 comment

Avatar
Pankaj Paliwal
Avatar

how to find VM by IP address

Unfortunately there isn't. You could get that information directly from the DB using the following SQL query,

select * from vm_instance where id in (select instance_id from nics where removed is null and ip4_address='<IP_ADDRESS>');

 

Hope that helps.


Somesh Naidu CITRIX EMPLOYEES
Comment actions Permalink

Top Contributors