Virtual Switch in Solaris LDOM


 
Thread Tools Search this Thread
Operating Systems Solaris Virtual Switch in Solaris LDOM
# 1  
Old 05-18-2016
Virtual Switch in Solaris LDOM

Hi,

Our existing environment is having primary domain and 3 guest domains are running over it. See the attached image.

Now we want to add a new primary virtual switch and move LDOM3 to be connected with new primary switch.

So, I am not sure how to achieve this because. If I remove the existing virtual switch then all the LDOM can not be accessed. Can someone help in this matter.
Virtual Switch in Solaris LDOM-1png
# 2  
Old 05-18-2016
Hi,

There is some excellent documentation on the Oracle site, I suspect that this article would be a good place to start.

Regards

Gull04
# 3  
Old 05-19-2016
I'm sure the picture is wrong.

You just need to add a vnet to a new ldom. You don't add vsw to ldoms.
Is your VSW an aggregation perhaps, created over an aggregated interface ?

If not, then you will not be redundant in case of NIC or switch failure.

Best regards
Peasant.
# 4  
Old 05-24-2016
Hi,

Actually the figure is related to our UAT environment where we are not running any redundancy.

UAT LDOM are standalone and they are not as cluster.
So, I am wondering if I can just add a new virtual switch and then attach one of the LDOM to work with that switch.
If yes, how to achieve this?
# 5  
Old 05-25-2016
Code:
ldm add-vnet vnet0 primary-vsw0 uatenv

You will now have net0 inside your ldom uatenv which is using primary-vsw.
Of course, you will still need to add disk devices.

In case of card/port failure or a switch failure, all the ldoms will lose network connectivity.

Hope that helps.
Best regards
Peasant.
This User Gave Thanks to Peasant For This Post:
# 6  
Old 05-25-2016
Lightbulb

Quote:
Originally Posted by Peasant
Code:
ldm add-vnet vnet0 primary-vsw0 uatenv

You will now have net0 inside your ldom uatenv which is using primary-vsw.
Of course, you will still need to add disk devices.

In case of card/port failure or a switch failure, all the ldoms will lose network connectivity.

Hope that helps.
Best regards
Peasant.
Thanks for your reply.
Eventually I figured out the solution.

Here it is..
1. Add a new virtual switch
2. Plumb the interface
3. Assign IP and up the interface
4. Modify the existing vnet so that it can listen the new virtual switch
ldm set-vnet vswitch= primary-vsw1 vnet0 ldom03

vnet0 is interface for old switch.

Later after doing tests, I will again set vnet0 to old switch.

I hope it should work.

Thanks for your help.
# 7  
Old 05-25-2016
I don't see a point in such setup not involving multiple network ports for bandwidth and failover.
Why would you have a server with multiple network ports and use one port for all your virtual machines ?

Aggregation is supported on vsw (vsw on top of aggr created interface).
With vlan tagging you could create multiple aggr interfaces with increased bandwidth and reliability hardware wise.

Also, a version of your operating system, ldom software and switch type would greatly help when initially asking help.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Solaris LDOM IP conflict

I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies

2. UNIX for Beginners Questions & Answers

How to create a virtual switch from 2x10g card to 4 Ldoms?

Hello Guys, Can some help me with a configuration from 2x10g cards to 4 Ldoms and a Vlan configuration, Solaris 11 dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE net0 Ethernet up 1000 full ixgbe0 net1 Ethernet ... (2 Replies)
Discussion started by: roly
2 Replies

3. Solaris

LDOM Solaris 11 add Network vsw (Virtual switch)

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)
Discussion started by: Wittman
4 Replies

4. Solaris

Virtual disks are not showing up in LDom

I have an Oracle VM set up with 1 virtual disk. I am trying to add 2 new disks to it. I was able to successfully add 1 (it appears when I run "format" in the VM) but when I add the second and third disks they do not appear in my VM. Here are the commands I ran: ldm add-vdsdev... (3 Replies)
Discussion started by: unblockable
3 Replies

5. Solaris

How can I install Solaris 10 on an LDom using an iso?

Hello, I am trying to install Solaris 10 on a newly created LDom. Here are the commands I ran to create the LDom: ldm add-domain ldg2 ldm add-vcpu 8 ldg2 ldm add-memory 2g ldg2 ldm add-vnet vnet2 primary-vsw0 ldg2 ldm add-vdsdev /dev/dsk/c0t5000CCA01535E20Cd0s0 vol2@primary-vds0 ldm... (8 Replies)
Discussion started by: bstring
8 Replies

6. Solaris

ZFS LDOM problem on Solaris 10

Apologies if this is the wrong forum.. I have some LDOMs running on a Sparc server. I copied the disk0 file from one chassis over to another, stopped the ldom on the source system and started it on the 2nd one. All fine. Shut it down and flipped back. We then did a fair bit of work on the... (4 Replies)
Discussion started by: tommyq
4 Replies

7. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

8. Solaris

Installing Solaris into LDom using DVD

Hi, I have issues installing Solaris into a LDom using a Solaris10u5/08 DVD. I have been troubleshooting for the past 2 days and I still cannot get it up. Here is the logs: root@eld-app2# ldm add-vdsdev /cdrom/sol_10_508_sparc/s0 cdrom0@primary-vds0 root@eld-app2# ldm add-vdisk cdrom0... (4 Replies)
Discussion started by: bolasutra
4 Replies
Login or Register to Ask a Question