Sponsored Content
Operating Systems Solaris Virtual Switch in Solaris LDOM Post 302974021 by praveensharma21 on Wednesday 25th of May 2016 03:05:36 AM
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.
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
STRUCT 
RIO_SWITCH(9) Internals STRUCT RIO_SWITCH(9) NAME
struct_rio_switch - RIO switch info SYNOPSIS
struct rio_switch { struct list_head node; u16 switchid; u8 * route_table; u32 port_ok; int (* add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port); int (* get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 *route_port); int (* clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table); int (* set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 sw_domain); int (* get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 *sw_domain); int (* em_init) (struct rio_dev *dev); int (* em_handle) (struct rio_dev *dev, u8 swport); int (* sw_sysfs) (struct rio_dev *dev, int create); struct rio_dev * nextdev[0]; }; MEMBERS
node Node in global list of switches switchid Switch ID that is unique across a network route_table Copy of switch routing table port_ok Status of each port (one bit per port) - OK=1 or UNINIT=0 add_entry Callback for switch-specific route add function get_entry Callback for switch-specific route get function clr_table Callback for switch-specific clear route table function set_domain Callback for switch-specific domain setting function get_domain Callback for switch-specific domain get function em_init Callback for switch-specific error management init function em_handle Callback for switch-specific error management handler function sw_sysfs Callback that initializes switch-specific sysfs attributes nextdev[0] Array of per-port pointers to the next attached device AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT RIO_SWITCH(9)
All times are GMT -4. The time now is 08:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy