I am bringing up a Storage VM on my XenServer that is running on My MAC. I
noticed that the Management Server IP Address is incorrect 192.168.56.1 versus
172.16.197.1. Checking if this is something others have seen? This address is
in the last boot record for the Storage VM. The IP Address 192.168.56.1 is not
valid on my MAC, at least not right now!
-Soheil
>> Storage VM
root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is 172.16.197.135
PING 172.16.197.135 (172.16.197.135): 56 data bytes
64 bytes from 172.16.197.135: icmp_seq=0 ttl=64 time=17.099 ms
64 bytes from 172.16.197.135: icmp_seq=1 ttl=64 time=0.783 ms
--- 172.16.197.135 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.783/8.941/17.099/8.158 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
================================================
Management server is 192.168.56.1. Checking connectivity.
ERROR: Cannot connect to 192.168.56.1 port 8250
2013/05/10 14:23:02 socat[9304] E connecting to AF=2 192.168.56.1:8250:
Connection timed out
root@s-1-VM:~# ifconfig
eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:02:74
inet addr:169.254.2.116 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::c00:a9ff:fefe:274/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:234 errors:0 dropped:0 overruns:0 frame:0
TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16832 (16.4 KiB) TX bytes:18684 (18.2 KiB)
Interrupt:8
eth1 Link encap:Ethernet HWaddr 06:ea:18:00:00:1d
inet addr:172.16.197.128 Bcast:172.16.197.255 Mask:255.255.255.0
inet6 addr: fe80::4ea:18ff:fe00:1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7660 errors:0 dropped:0 overruns:0 frame:0
TX packets:7263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:725043 (708.0 KiB) TX bytes:493022 (481.4 KiB)
Interrupt:9
eth2 Link encap:Ethernet HWaddr 06:e3:d0:00:00:34
inet addr:172.16.197.160 Bcast:172.16.197.255 Mask:255.255.255.0
inet6 addr: fe80::4e3:d0ff:fe00:34/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4460 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:576789 (563.2 KiB) TX bytes:408 (408.0 B)
Interrupt:10
eth3 Link encap:Ethernet HWaddr 06:b3:52:00:00:06
inet addr:172.16.197.105 Bcast:172.16.197.255 Mask:255.255.255.0
inet6 addr: fe80::4b3:52ff:fe00:6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4462 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:576893 (563.3 KiB) TX bytes:408 (408.0 B)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
>> Last Boot Record on XenServer for the Storage VM (Note
>> host=192.168.56.1%port=8250)
last-boot-record ( RO): '('struct' ('uuid'
'4d44e826-2830-29f1-6610-7d7b27ab7b1f') ('allowed_operations' ('array'
'changing_dynamic_range' 'pool_migrate' 'changing_VCPUs_live' 'suspend'
'hard_reboot' 'hard_shutdown' 'clean_reboot' 'clean_shutdown' 'pause'
'checkpoint' 'snapshot')) ('current_operations' ('struct')) ('power_state'
'Running') ('name_label' 's-1-VM') ('name_description' 'Template that allows VM
installation from Xen-aware Debian-based distros. To use this template from the
CLI, install your VM using vm-install, then set other-config-install-repository
to the path to your network repository, e.g. http://<server>/<path>
In order to install Debian Squeeze from CD/DVD the multi-arch ISO image is
required.') ('user_version' '1') ('is_a_template' ('boolean' '0'))
('suspend_VDI' 'OpaqueRef:NULL') ('resident_on'
'OpaqueRef:c74b3193-ee6e-1068-be81-6764bf33b391') ('affinity'
'OpaqueRef:c74b3193-ee6e-1068-be81-6764bf33b391') ('memory_overhead'
'101711872') ('memory_target' '104857600') ('memory_static_max' '8589934592')
('memory_dynamic_max' '104857600') ('memory_dynamic_min' '104857600')
('memory_static_min' '134217728') ('VCPUs_params' ('struct' ('weight' '11')
('cap' '0'))) ('VCPUs_max' '32') ('VCPUs_at_startup' '1')
('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart')
('actions_after_crash' 'destroy') ('consoles' ('array'
'OpaqueRef:c97a581a-f560-eb50-b058-6d524f0595dd'
'OpaqueRef:954c8857-0a8a-4468-7a4b-4774ddc27663')) ('VIFs' ('array'
'OpaqueRef:c4f600d3-208a-e9ba-7c10-17c9226d70a5'
'OpaqueRef:a0ba0be5-2bba-d367-7ed1-86c8f7a8a656'
'OpaqueRef:3a0c8644-44fb-ea25-d385-f78cea303dbc'
'OpaqueRef:4036a6cd-695a-472d-b78c-0ebbd955dbf3')) ('VBDs' ('array'
'OpaqueRef:169168c6-f590-eebd-2b0f-c8df641ff4ca'
'OpaqueRef:abec488b-2de7-0165-bf49-cdc07ba7ac8a')) ('crash_dumps' ('array'))
('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk'
'') ('PV_args' '-- quiet
console=hvc0%template=domP%type=secstorage%host=192.168.56.1%port=8250%name=s-1-VM%zone=1%pod=1%guid=s-1-VM%resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource%instance=SecStorage%sslcopy=true%role=templateProcessor%mtu=1500%eth2ip=172.16.197.160%eth2mask=255.255.255.0%gateway=172.16.197.2%eth0ip=169.254.2.116%eth0mask=255.255.0.0%eth1ip=172.16.197.128%eth1mask=255.255.255.0%mgmtcidr=192.168.56.0/24%localgw=172.16.197.2%private.network.device=eth1%eth3ip=172.16.197.105%eth3mask=255.255.255.0%storageip=172.16.197.105%storagenetmask=255.255.255.0%storagegateway=172.16.197.2%internaldns1=172.16.197.135%dns1=172.16.197.135')
('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' '')
('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier' ('double' '1'))
('platform' ('struct' ('viridian' 'true') ('acpi' 'true') ('apic' 'true')
('pae' 'true') ('nx' 'false'))) ('PCI_bus' '') ('other_config' ('struct'
('last_shutdown_time' '20130510T00:28:21Z') ('last_shutdown_action' 'Restart')
('last_shutdown_initiator' 'internal') ('last_shutdown_reason' 'rebooted')
('debian-release' 'squeeze') ('mac_seed'
'f4d95842-e2be-5d5f-9ddc-aae99116812d') ('install-methods' 'cdrom,http,ftp')
('install-distro' 'debianlike') ('install-arch' 'amd64') ('linux_template'
'true'))) ('domid' '7') ('domarch' 'x32') ('last_boot_CPU_flags' ('struct'
('features' '96ba222b-0fabfbff-00000001-28100800') ('vendor' 'GenuineIntel')))
('is_control_domain' ('boolean' '0')) ('metrics'
'OpaqueRef:32ccf88c-fb5e-fa34-40f5-7eb8e4d4d7ad') ('guest_metrics'
'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations'
'<restrictions><restriction field=\"memory-static-max\" max=\"34359738368\"
/><restriction field=\"vcpus-max\" max=\"16\" /><restriction
property=\"number-of-vbds\" max=\"7\" /><restriction
property=\"number-of-vifs\" max=\"7\" /></restrictions>') ('xenstore_data'
('struct')) ('ha_always_run' ('boolean' '0')) ('ha_restart_priority' '')
('is_a_snapshot' ('boolean' '0')) ('snapshot_of' 'OpaqueRef:NULL') ('snapshots'
('array')) ('snapshot_time' ('dateTime.iso8601' '19700101T00:00:00Z'))
('transportable_snapshot_id' '') ('blobs' ('struct')) ('tags' ('array'))
('blocked_operations' ('struct')) ('snapshot_info' ('struct'))
('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL') ('children' ('array'))
('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL')
('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL')
('start_delay' '0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array'))
('attached_PCIs' ('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0'))'