Step 3
| Enter the
following command to display the multi-host configuration.
$ grape root display
Command output
similar to the following should appear.
ROOT PROPERTY VALUE
----------------------------------------------------------------------
4cbe3972-9872-4771-800d-08c89463f1eb hostname root-1
4cbe3972-9872-4771-800d-08c89463f1eb interfaces [{'interface': 'eth0', 'ip': '209.165.200.10', 'mac': '00:50:56:100:d2:14', 'netmask': '255.255.255.0'}, {'interface': 'eth1', 'ip': '209.165.200.10', 'mac': '00:50:56:95:5c:18', 'net mask': '255.255.255.0'}, {'interface': 'grape-br0', 'ip': '209.165.200.11', 'mac': 'ba:ed:c4:19:0d:77', 'netmask': '255.255.255.0'}]
4cbe3972-9872-4771-800d-08c89463f1eb is_alive True
4cbe3972-9872-4771-800d-08c89463f1eb last_heartbeat Wed Sep 09, 2015 11:02:52 PM (just now)
4cbe3972-9872-4771-800d-08c89463f1eb public_key ssh-rsa
c2EAAAADAQABAAABAQDYlyCfidke3MTjGkzsTAu73MtG+lynFFvxWZ4xVIkDkhGC7KCs6XMhORMaABb6
bU4EX/6osa4qyta4NYaijxjL6GL6kPkSBZiEKcUekHCmk1+H+Ypp5tc0wyvSpe5HtbLvPicLrXHHI/TS
...
V44t+VvtFaLurG9+FW/ngZwGrR/grapevine@grapevine-root
4cbe3972-9872-4771-800d-08c89463f1eb root_id 4cbe3972-9872-4771-800d-08c89463f1eb
4cbe3972-9872-4771-800d-08c89463f1eb root_index 0
4cbe3972-9872-4771-800d-08c89463f1eb root_version 0.3.0.958.dev140-gda6a16
4cbe3972-9872-4771-800d-08c89463f1eb vm_password ******
(grapevine)
#
ROOT PROPERTY VALUE
----------------------------------------------------------------------
4cbe3972-9872-4771-800d-08c89463f1eb hostname root-2
4cbe3972-9872-4771-800d-08c89463f1eb interfaces [{'interface': 'eth0', 'ip': '209.165.200.101, 'mac': '00:50:56:100:d2:14', 'netmask': '255.255.255.0'}, {'interface': 'eth1', 'ip': '209.165.200.11', 'mac': '00:50:56:95:5c:18', 'net mask': '255.255.255.0'}, {'interface': 'grape-br0', 'ip': '209.165.200.11', 'mac': 'ba:ed:c4:19:0d:77', 'netmask': '255.255.255.0'}]
4cbe3972-9872-4771-800d-08c89463f1eb is_alive True
4cbe3972-9872-4771-800d-08c89463f1eb last_heartbeat Wed Sep 09, 2015 11:02:52 PM (just now)
4cbe3972-9872-4771-800d-08c89463f1eb public_key ssh-rsa
c2EAAAADAQABAAABAQDYlyCfidke3MTjGkzsTAu73MtG+lynFFvxWZ4xVIkDkhGC7KCs6XMhORMaABb6
bU4EX/6osa4qyta4NYaijxjL6GL6kPkSBZiEKcUekHCmk1+H+Ypp5tc0wyvSpe5HtbLvPicLrXHHI/TS
...
V44t+VvtFaLurG9+FW/ngZwGrR/grapevine@grapevine-root
4cbe3972-9872-4771-800d-08c89463f1eb root_id 4cbe3972-9873-4771-800d-08c89463f1eb
4cbe3972-9872-4771-800d-08c89463f1eb root_index 0
4cbe3972-9872-4771-800d-08c89463f1eb root_version 0.3.0.958.dev140-gda6a16
4cbe3972-9872-4771-800d-08c89463f1eb vm_password ******
(grapevine)
The following
data is displayed by this command:
-
hostname—The
configured hostname.
-
interfaces—The
configured interface values, including Ethernet port, IP address, and netmask.
-
is_alive—Status of
the host.
True indicates a running host,
False indicates a host that has shut down.
-
last_heartbeat—Date and time of last heartbeat
message sent from the host.
-
public_key—Public
key used by host.
-
root_id—Individual
root identification number.
-
root_index—Individual root index number.
-
root_version—Software version of root.
-
vm_password—VMware
vSphere password that is masked.
|