All pastes #542654 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-05 21:51 UTC
rendered paste body
(xen1:~) # mount -t ocfs2 /dev/sdd /mnt/Xen_Systems/
(xen1:~) # brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.00145eda74a4       no              eth0
(xen1:~) # xm create /mnt/Xen_Systems/Testing/DB_64.conf
Using config file "/mnt/Xen_Systems/Testing/DB_64.conf".
ifconfig
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
crichardson has logged on pts/2 from 10.0.3.3.
(xen1:~) # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:5E:DA:74:A4  
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1059 errors:0 dropped:0 overruns:0 frame:0
          TX packets:529 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:127256 (124.2 Kb)  TX bytes:72798 (71.0 Kb)
          Interrupt:20 Memory:da000000-da011100 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr 00:14:5E:DA:74:A4  
          inet addr:10.0.6.1  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1032 errors:0 dropped:0 overruns:0 frame:0
          TX packets:531 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:105463 (102.9 Kb)  TX bytes:72210 (70.5 Kb)

(xen1:~) # 

# general
name    = "DB_64";
memory  = 1028;

# booting
kernel  = "/boot/vmlinuz-2.6.16.49-xenU";
builder = "linux";

# virtual harddisk
disk = [ 'file:/mnt/Xen_Systems/Testing/DB_64.img,xvda,w', 'phy:/dev/sde,xvdb,w' ];
root = "/dev/xvda1 ro";

# virtual network
vif = [ 'mac=aa:00:5b:a4:fe:34' ];
dhcp = "dhcp";



xend.log

[2007-06-05 17:39:47 xend 6281] DEBUG (__init__:1072) Adding Domain: 1
[2007-06-05 17:39:47 xend.XendDomainInfo 6281] DEBUG (__init__:1072) Storing domain details: {'console/ring-ref': '1102542', 'console/port': '2', 'name': 'DB_64', 'console/limit': '1048576', 'vm': '/vm/d5327b2a-503a-ec66-8abe-4b5a700c5ba2', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '1052672', 'store/ring-ref': '1102543', 'store/port': '1'}
[2007-06-05 17:39:47 xend.XendDomainInfo 6281] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch
[2007-06-05 17:39:47 xend 6281] DEBUG (__init__:1072) Waiting for devices vif.
[2007-06-05 17:39:47 xend 6281] DEBUG (__init__:1072) Waiting for 0.
[2007-06-05 17:39:47 xend 6281] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2007-06-05 17:41:27 xend.XendDomainInfo 6281] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=1
[2007-06-05 17:41:27 xend.XendDomainInfo 6281] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(1)


xend-hotplug.log 
Nothing to flush.