> You can add +x to the shell scripts (the network scripts), which should
> produce
> output to the system logger (i.e syslog)
xen seems to know the correct parameters for the vif, from /var/log/xen/xend.log
[2008-09-01 22:30:21 17017] INFO (XendDomainInfo:1900) createDevice:
vif : {'bridge': 'eth0', 'mac': '00:16:3e:74:56:59', 'script':
'vif-bridge', 'uuid': '8b8b48a6-7590-75f6-0aeb-e5cd42c060bd',
'backend': '0'}
[2008-09-01 22:30:21 17017] DEBUG (DevController:122) DevController:
writing {'mac': '00:16:3e:74:56:59', 'handle': '0', 'protocol':
'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/16/0'} to /local/domain/16/device/vif/0.
[2008-09-01 22:30:21 17017] DEBUG (DevController:124) DevController:
writing {'bridge': 'eth0', 'domain': 'mysql', 'handle': '0', 'uuid':
'8b8b48a6-7590-75f6-0aeb-e5cd42c060bd', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:74:56:59',
'frontend-id': '16', 'state': '1', 'online': '1', 'frontend':
'/local/domain/16/device/vif/0'} to /local/domain/0/backend/vif/16/0.
[2008-09-01 22:30:21 17017] DEBUG (DevController:155) Waiting for devices vif.
[2008-09-01 22:30:21 17017] DEBUG (DevController:645)
hotplugStatusCallback /local/domain/0/backend/vif/16/0/hotplug-status.
[2008-09-01 22:32:01 17017] WARNING (XendDomain:1041) Failed to setup
devices for <domain id=16 name=mysql memory=536870912 state=paused>:
Device 0 (vif) could not be connected. Hotplug scripts not working.
[2008-09-01 22:32:01 17017] DEBUG (XendDomainInfo:1952) Removing vif/0
[2008-09-01 22:32:01 17017] DEBUG (XendDomainInfo:888)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
nothing else in /var/log/messages or other /var/log/xen files
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|