Dear Supporter,
Can you help me solve this problem with LDOM. Thank you so much.
I can not install Solaris on Guest Domain using Jumpstart.
When I use command
# grep -i net /etc/path_to_inst
"/pci at 7c0/pci at 0/network at 4" 0 "bge"
"/pci at 7c0/pci at 0/network at 4,1" 1 "bge"
"/pci at 7c0/pci at 0/pci at 8/network at 1" 2 "bge"
"/pci at 7c0/pci at 0/pci at 8/network at 1,1" 3 "bge"
"/virtual-devices at 100/channel-devices at 200/virtual-network-switch at 0" 0
"vsw"
"/virtual-devices at 100/channel-devices at 200/network at 0" 0 "vnet
But I can not run command:
# ifconfig vsw0 plumb
ifconfig: plumb: vsw0: Invalid argument
Therefore, I think Control Domain can not communicate with the Guest Domain.
{0} ok show-nets
a) /virtual-devices at 100/channel-devices at 200/network at 0
q) NO SELECTION
Enter Selection, q to quit: a
/virtual-devices at 100/channel-devices at 200/network at 0 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for
/virtual-devices at 100/channel-devices at 200/network at 0
{0} ok nvalias vnet1 /virtual-devices at 100/channel-devices at 200/network at 0
{0} ok boot vnet1 - install
Boot device: /virtual-devices at 100/channel-devices at 200/network at 0 File
and
args: - install myldom1
Requesting Internet Address for 0:14:4f:f9:86:6b
Requesting Internet Address for 0:14:4f:f9:86:6b
Requesting Internet Address for 0:14:4f:f9:86:6b
Requesting Internet Address for 0:14:4f:f9:86:6b
Requesting Internet Address for 0:14:4f:f9:86:6b
...
bash-3.00# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 1G 0.1% 5m
myldom1 active -t--v 5000 12 512M 8.3% 17m
myldom2 active -t--- 5001 4 256M 25% 2h 6m
bash-3.00# ldm ls -l
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 1G 0.0% 3m
SOFTSTATE
Solaris running
VCPU
VID PID UTIL STRAND
0 4 0.0% 100%
1 5 0.0% 100%
2 6 0.0% 100%
3 7 0.0% 100%
MAU
CPUSET
(4, 5, 6, 7)
MEMORY
RA PA SIZE
0x8000000 0x8000000 1G
VARIABLES
diag-switch?=true
keyboard-layout=US-English
IO
DEVICE PSEUDONYM OPTIONS
pci at 780 bus_a
pci at 7c0 bus_b
VDS
NAME VOLUME OPTIONS DEVICE
primary-vds0 primary-vds0-vol0 /dev/dsk/c0t0d0s2
vol1 /images/myldom1.disk
VCC
NAME PORT-RANGE
primary-vcc0 5000-5032
VSW
NAME MAC NET-DEV DEVICE MODE
primary-vsw0 00:14:4f:9f:4f:34 e1000g0 switch at 0 prog,promisc
VCONS
NAME SERVICE PORT
SP
----------------------------------------------------------------------------
--
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
myldom1 active -t--v 5000 12 512M 0.0% 16m
SOFTSTATE
Openboot initializing
VCPU
VID PID UTIL STRAND
0 8 100% 100%
1 9 0.0% 100%
2 10 0.0% 100%
3 11 0.0% 100%
4 12 0.0% 100%
5 13 0.0% 100%
6 14 0.0% 100%
7 15 0.0% 100%
8 16 0.0% 100%
9 17 0.0% 100%
10 18 0.0% 100%
11 19 0.0% 100%
MEMORY
RA PA SIZE
0x8000000 0x48000000 512M
VARIABLES
auto-boot?=false
boot-device=/virtual-devices at 100/channel-devices at 200/ disk at 0
nvramrc=devalias vnet0
/virtual-devices at 100/channel-devices at 200/network at 0
use-nvramrc?=true
VSW
NAME MAC NET-DEV DEVICE MODE
vswitch 00:14:4f:9f:4f:77 network at 0 switch at 0 prog,promisc
NETWORK
NAME SERVICE DEVICE MAC
myldom1-network0 primary-vsw0 at primary network at 0
00:14:4f:f9:86:6b
DISK
NAME VOLUME TOUT DEVICE SERVER
myldom1-disk0 primary-vds0-vol0 at primary-vds0 disk at 0 primary
vdisk1 vol1 at primary-vds0 disk at 1 primary
VCONS
NAME SERVICE PORT
myldom1 primary-vcc0 at primary 5000
Best regards,
VU NGOC HA (Mr)
System Engineer
----------------------------------------------------------------------------
----------------------------------
SV TECHNOLOGIES JSC (SV TECH)
HANOI REPRESENTATIVE OFFICE
----------------------------------------------------------------------------
----------------------------------
Add.: R805, North Star Office Building, 04 Da Tuong Str., Hanoi, Vietnam
Website: <http://www.svtech.com.vn/> www.svtech.com.vn E-mail:
ha.vu at svtech.com.vn
========================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20080522/9e61a449/attachment.html>