I'm really stuck here. I've created an LDOM on a SPARC T4-1 with Solaris 11.4 to run a copy of Linux for SPARC. I got the Linux ISO installed and Linux itself installed and booted OK. The only thing is is that there's no networking available in the Linux guest.
This question is basically the same as this one: LDOM Solaris 11 add Network vsw (Virtual switch) but I wasn't able to figure it out even after reading that. Can someone please help me with this particular case?
Here's the same info Wittman gave in his OP:
Code:
root@hemlock:/etc# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok -- --
lo0/v4 static ok -- 127.0.0.1/8
lo0/v6 static ok -- ::1/128
net0 ip ok -- --
net0/v4 static ok -- 192.168.0.183/24
net0/v6 addrconf ok -- fe80::210:e0ff:fe8a:1138/10
sp-phys0 ip ok -- --
sp-phys0/v4 static ok -- 169.254.182.77/24
root@hemlock:/etc#
And
Code:
root@hemlock:/etc# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net0 Ethernet up 100 full igb0
net1 Ethernet unknown 0 unknown igb1
net2 Ethernet unknown 0 unknown igb2
net3 Ethernet unknown 0 unknown igb3
net4 Ethernet up 100 full vsw0
sp-phys0 Ethernet up 10 full usbecm2
root@hemlock:/etc# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 8 40192M 11% 11% 6d 18h 14m
linux active -n---- 5000 8 4G 0.0% 0.0% 1h 29m
root@hemlock:/etc# dladm show-link
LINK CLASS MTU STATE OVER
ldoms-vsw0.vport0 vnic 1500 up net0
ldoms-vsw0.vport1 vnic 1500 up net0
net0 phys 1500 up --
net1 phys 1500 unknown --
net2 phys 1500 unknown --
net3 phys 1500 unknown --
net4 phys 1500 up --
sp-phys0 phys 1500 up --
root@hemlock:/etc#
Strange combination, sparc linux on Solaris ldom, to notice at first.
I do not think that is supported or condoned by Oracle, but since you installed / booted it lets take a look.
"Strange combination, sparc linux on Solaris ldom, to notice at first."
No doubt but I have a program that only runs in Linux. If I can get it to work here I won't need a separate machine just for that.
"I do not think that is supported or condoned by Oracle"
Definitely not. They say as much. Not that it matters since I'm just one person and don't have an Oracle support account.
"Can you show output of :"
Code:
root@hemlock:~# ldm list -l linux
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
linux active -n---- 5000 8 4G 0.0% 0.0% 22h 39m
SOFTSTATE
Linux running
UUID
3d88816c-12c6-48af-8e16-d6d05d281d5b
MAC
00:14:4f:fa:63:f2
HOSTID
0x84fa63f2
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
perf-counters=htstrand
boot-policy=warning
effective-max-pagesize=256MB
hardware-max-pagesize=2GB
DEPENDENCY
master=
CORE
CID CPUSET
1 (8, 9, 10, 11, 12, 13, 14, 15)
VCPU
VID PID CID UTIL NORM STRAND
0 8 1 0.0% 0.0% 100%
1 9 1 0.1% 0.1% 100%
2 10 1 0.0% 0.0% 100%
3 11 1 0.0% 0.0% 100%
4 12 1 0.0% 0.0% 100%
5 13 1 0.0% 0.0% 100%
6 14 1 0.0% 0.0% 100%
7 15 1 0.0% 0.0% 100%
MEMORY
RA PA SIZE
0x80000000 0x200000000 2G
0x440000000 0x3c0000000 512M
0x870000000 0x3f0000000 256M
0xc00000000 0x500000000 256M
0x1020000000 0x5a0000000 768M
0x1460000000 0x5e0000000 256M
CONSTRAINT
VARIABLES
auto-boot?=true
boot-device=vdisk1
NETWORK
NAME SERVICE MACADDRESS PVID|PVLAN|VIDs
---- ------- ---------- ---------------
net0 primary-vsw0@primary 00:14:4f:f8:1f:c0 1|--|--
NAME SERVICE MACADDRESS PVID|PVLAN|VIDs
---- ------- ---------- ---------------
vnet1 primary-vsw0@primary 00:14:4f:fa:58:2d 1|--|--
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
vdisk1 vol1@primary-vds0 0 disk@0 primary
vdiskiso voliso@primary-vds0 1 disk@1 primary
VCONS
NAME SERVICE PORT LOGGING
linux primary-vcc0@primary 5000 on
root@hemlock:~#
Looks fine.
As far as i could read online, it's some kind of Oracle Linux derivative which in turn is RHEL base.
Can we see inside the guest ..
Code:
ls -lrt /etc/sysconfig/network-scripts/ifcfg-e*
P.S I just saw you figured it out, so you can disregard this.
You still might want to check out those network files to configure onboot network and / or static IP
Looks fine.
As far as i could read online, it's some kind of Oracle Linux derivative which in turn is RHEL base.
Oh OK - thanks. That's good to know.
Quote:
Originally Posted by Peasant
Can we see inside the guest ..
Code:
ls -lrt /etc/sysconfig/network-scripts/ifcfg-e*
It says:
Code:
[root@localhost ~]# ls -lrt /etc/sysconfig/network-scripts/ifcfg-e*
-rw-r--r--. 1 root root 136 Nov 1 18:03 /etc/sysconfig/network-scripts/ifcfg-eth1
-rw-r--r--. 1 root root 136 Nov 1 18:03 /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~]#
Quote:
Originally Posted by Peasant
P.S I just saw you figured it out, so you can disregard this.
You still might want to check out those network files to configure onboot network and / or static IP
Great you have everything working.
Depending on the network topology and desired level of redundancy of network, one might configure it a bit more.
If you have one cable in physical machine connected to one switch then you can remove additional interface from linux LDOM.
Since they are connected to same VSW, there is little point in having an extra interface.
In case you have multiple network ports connected take a look at aggregating interfaces together followed by creation of VSW over that interface.
This is only one of many ways, selection depends on network topology etc.
If you have any questions or doubts feel free to post here.
We shall try to advise the best approach on redundancy of network or any other component in Solaris systems.
That's a good point. There's just one Ethernet cable connected to the T4 so I don't need the ETH1 interface in the guest at all.
Thanks again for your help My next project is to port a Solaris 10 installation from an M3000 onto the T4. My plan at the moment is to make a flar archive of the M3000 and then load that into a new zone on the T4. Does that sound reasonable?
hello to everyone. im new member here.
i have a problem with a guest ldom on solaris 11 sparc in a T8. I need to access to disk vds assigned to guest domain but from control domain.
I want to modify a parameter in inittab of the guest domain because start guest domain give me problems... (2 Replies)
hello, I have a problem when configuring the network at the LDOM level, on a SPARC-Enterprise-T5120 machine
The network goes through VLAN 503 (level, network tagget)
And I need to give network to the guest domain: madarrwebsol10
I hope someone can bring some light ....
Excuse my English ...
... (4 Replies)
Hi,
There is LDOM Guest where I need to expand /u02 file systems on it.
It is residing on a Solaris 11 Hypervisor (Primary Domain).
The storage is expanded on vdisk presented to Hypervisor.
I need steps to expand the /u02 on LDOM Guest. (2 Replies)
Hi!
I am not sure if this is the right place to post this question. What I did was to download vmware onto my laptop, them install a linux distro as a guest O.S., on VM network configuration I have used "bridge", them I used Virtual Network Editor to chose the network interface, but as I write... (4 Replies)
Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Hi Folks,
I am used to writing scripts to get info by running commands at local zones level from their respective global zone by using zlogin <localzone> "command>" while remaining at the global zone level.
Can the same be done with Guest LDoms while remaining at the control LDOM level?
... (4 Replies)
Howdy
I am using Fedora12 with KVM, with XP64pro as a guest. Everything seems to be working just fine, BUT I can't Save. When I do instruction KVM to save, I get a continuing Saving display, but it continues for a long time until I finally terminate it due to boredom :) I have let it run for... (0 Replies)
Hi,
Need help for the network configuration on Solaris 10 5/8.
My NIC's dirver was loaded after Solaris installation and is configured using static ip address for a local network: 172.16.1.12
I have configured set of files as: /etc/hosts :
172.16.1.12 ls12
/etc/hostname.iprb0:... (7 Replies)