Configuring Virtual Machine Tracker
This example shows how to create a new connection to VMware vCenter:
switch# configure terminal
switch(config)# vmtracker connection conn1
switch(config-vmt-conn)# remote ip address 20.1.1.1 port 80 vrf management
switch(config-vmt-conn)# username user1 password abc1234
switch(config-vmt-conn)# connect
Synchronizing Information with VMware vCenter
By default, VM Tracker tracks all asynchronous events from VMware vCenter and updates the switchport
configuration immediately. Optionally, you can also configure a synchronizing mechanism that synchronizes
all host, VM, and port group information automatically with VMware vCenter at a specified interval.
Command
[no] set interval find-new-host val
[no] set interval sync-full-info val
vmtracker connection connection-name refresh
This example shows how to set an interval for finding hosts that are newly connected to vCenter:
switch(config-vmt-conn)# set interval find-new-host 300
This example shows how to set an interval for synchronizing all host, VM, and port group information with
vCenter:
switch(config-vmt-conn)# set interval sync-full-info 120
This example shows how to immediately synchronize all host, VM, and port group information with vCenter:
switch(config-vmt-conn)# vmtracker connection conn1 refresh
Command or Action
Cisco Nexus 9000 Series NX-OS Virtual Machine Tracker Configuration Guide, Release 6.x
Synchronizing Information with VMware vCenter
Purpose
The no form of the command disconnects VM
Tracker from vCenter.
Purpose
Sets the interval, in seconds, for finding hosts that are
newly connected to vCenter. The no form of the
command disables the previously configured interval.
The default duration is 3600 seconds.
Sets the interval, in seconds, for synchronizing all
host, VM, and port group related information with
vCenter. The no form of the command disables the
previously configured interval.
The default duration is 3600 seconds.
Synchronizes all host, VM, and port group related
information with vCenter immediately for the
specified connection.
7