Network of Virtual machine not working


 
Thread Tools Search this Thread
Operating Systems Solaris Network of Virtual machine not working
# 1  
Old 01-06-2015
Oracle Network of Virtual machine not working

Hello,

I have a problem.
I have a server SPARC T3-1 with solaris 11 on the base. The server is working well. And then i did a virtual machine using again Solaris 11 to do this, but now my notwork on my virtual machine is not working anymore. There says that the network that i have created is unknow, and anything work neither ping on my network. Should i declare something on my solaris base, or do something else on my virtual machine to do it work?

Can someone help me please?
# 2  
Old 01-06-2015
How did you create the virtual machine? We need exact steps.

Is it an LDOM or a zone or VirtualBox?
# 3  
Old 01-06-2015
Debian

im rly desapointed, i think has been 1 week trying to do that work... Please, someone help! If need more details just ask and i'll send...

---------- Post updated at 03:06 PM ---------- Previous update was at 03:02 PM ----------

So, i created a rpool on my server with zfs, and a partition where i installed my virtual machine separated... Ill show you exactally how it looks.

Code:
root@srvdth06:/# zfs list
NAME..........................................USED  AVAIL  REFER  MOUNTPOINT
rpool ...........................................235G  39,1G  75,5K  /rpool
rpool/ROOT...................................8,69G  39,1G    31K  legacy
rpool/ROOT/solaris.........................8,69G  39,1G  8,38G  /
rpool/ROOT/solaris/var....................315M  39,1G   311M  /var
rpool/VARSHARE............................2,57M  39,1G  2,47M  /var/share
rpool/VARSHARE/pkg.......................63K  39,1G    32K  /var/share/pkg
rpool/VARSHARE/pkg/repositories......31K  39,1G    31K  /var/share/pkg/repositories
rpool/VARSHARE/zones....................31K  39,1G    31K  /system/zones
rpool/dump..................................7,99G  39,3G  7,75G  -
rpool/export..................................63K  39,1G    32K  /export
rpool/export/home.........................31K  39,1G    31K  /export/home
rpool/swap..................................2,06G  39,1G  2,00G  -
rpool/vdisk..................................216G  39,1G    31K  /rpool/vdisk
rpool/vdisk/srvdth06-ldom1.hdd0....9,54G  39,1G  9,43G  -
rpool/vdisk/srvdth06-ldom1.hdd1....206G   245G    16K  -
root@srvdth06:/#

My virtual machine is installed on *.hdd0

Last edited by bartus11; 01-06-2015 at 02:47 PM.. Reason: Please use [code][/code] tags.
# 4  
Old 01-06-2015
You still didn't tell us in which virtualization technique did you use to create your virtual machine (Solaris supports many of them).

We also need to know the exact steps performed by you when creating/configuring the virtual machine.
# 5  
Old 01-07-2015
creating the virtual machine

Device validation can be disabled by setting the device_validation SMF property of the Logical Domain manager service to 0.
Code:
# svccfg -s ldmd setprop ldmd/device_validation=0
  # svcadm refresh ldmd
  # svcadm restart ldmd

ldm set-mau 0 primary
ldm set-vcpu 28 primary
ldm set-mem 4G primary
ldm add-vds primary-vds primary
ldm add-vdsdev primary-vds primary@primary-vds
ldm add-vswitch net-dev=igb0 vsw0-pub primary
ldm add-vconscon port-range=5000-5100 primary-vcc primary
ldm add-vnet `hostname`-igb0 vsw0-pub primary

echo "`hostname` netmask + broadcast + group ipmp_pub up" >> \
/etc/hostname.igb0

echo "addif `hostname`-ipmp_pub1 -failover deprecated up" >> \
/etc/hostname.net0

reboot

ldm add-domain `hostname`-ldom1
ldm set-vcpu 100 `hostname`-ldom1
ldm set-memory 11776m `hostname`-ldom1
ldm add-vnet `hostname`-igb0 vsw0-pub `hostname`-ldom1

# creating disk POOL.
zfs list # List pools
zfs create rpool/vdisk
zfs create -V 20G rpool/vdisk/`hostname`-ldom1.hdd0 # creating a partition
zfs create -V 200G rpool/vdisk/`hostname`-ldom1.hdd1 # creating a partition


ldm add-vdsdev rpool/vdisk/`hostname`-ldom1.hdd0 sol11.hdd0@primary-vds
ldm add-vdisk hdd0 sol11.hdd0@primary-vds `hostname`-ldom1
ldm set-variable auto-boot\?=false `hostname`-ldom1

# Getting an image of the disk Solaris11
# I did the download from Oracle (sol-11_2-text-sparc.iso)

ldm add-vdsdev /opt/solaris11.iso iso@primary-vds
ldm add-vdisk iso iso@primary-vds `hostname`-ldom1
ldm bind-domain `hostname`-ldom1

# Enable the services from LDOMs

svcadm enable ldmd
svcadm enable ldoms/vntsd

And finally:

Code:
ldm start-domain `hostname`-ldom1

telnet localhost 5000

press "Enter"

{0} ok  devalias

Output:

Code:
iso        ****
vnet0    ****
vnet1    ***
hdd0    **** (ZFS rpool/vdisk)
disk    **** 

{0} ok boot iso - install

#installing normally following the procedures from the image

After all i just removed the vdisk and device that i had create.

Code:
ldm stop `hostname`-ldom1
ldm remove-vdisk iso `hostname`-ldom1
ldm remove-vdsdev iso@primary-vds
ldm set-variable auto-boot\?=true `hostname`-ldom1
ldm start `hostname`-ldom1

Reference:
https://blogs.oracle.com/vreality/entry/ldom_with_zfs

---------- Post updated at 04:20 PM ---------- Previous update was at 03:16 PM ----------

Do you need some more details?
Smilie

---------- Post updated 01-07-15 at 02:30 PM ---------- Previous update was 01-06-15 at 05:20 PM ----------

Some idea? Please? Smilie

Last edited by keziacp; 01-07-2015 at 08:09 AM.. Reason: Please use [code][/code] tags.
# 6  
Old 01-07-2015
You shouldn't use a 8 years old blog about Solaris 10 as a reference while you use Solaris 11.2.

One obvious issue is you seem to use the /etc/hostname.igb0 and /etc/hostname.net0 while these files are no more the way to set persistent networking configuration with the Solaris release you are installing.

Have a look to Managing Network Configuration - Transitioning From OracleŽ Solaris 10 to Oracle Solaris 11.2
# 7  
Old 01-08-2015
Oracle

Hi,

That was the configuration of the network on my base machine, and it is working well... the problem is in my network of my virtual machine which is solaris 11 aswell...

There i was just trying to create a ip to do it work, but i dont know why it doesn't...

i have set my netstat to Default and use ipadm to create a network in there, it should work, but it is like my virtual machine couldn't see the port of the network recognized. And i dont know how to solve this issue.

Do you have some ideia or a guess of why my virtual machine network doesn't work?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

2. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

3. UNIX for Advanced & Expert Users

Virtual machine

Can I please get some recommendations on virtual machine software? I am using Fedora. What do you think is the best software and why? I need a windows virtual machine to run some windows software. What do you think is the best Windows version to use and why (xp, vista, 7, 8, 8.1)? Is it hopefully... (2 Replies)
Discussion started by: cokedude
2 Replies

4. Red Hat

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool Hi, I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off VMWare player and I'm not sure whether it is a VMWare software issue or a problem with the RHEL6... (2 Replies)
Discussion started by: accipiter1
2 Replies

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

6. Red Hat

Virtual Machine

Hi All, In my Org we are using Xen Hypervisor on RHEL 5.Now now the biggest challenge for us is to take online snapshot of running VM Guests.But this feature is not available in Xen. So i am trying to figure it out with some of the blogs found on net,in one blog its saying to create... (0 Replies)
Discussion started by: ajaincv
0 Replies

7. UNIX for Dummies Questions & Answers

how to see network speed of virtual linux machine?

After installing PV (Para virtual drivers) drivers I m not able to check the network speed of my Ethernet port. Please check the output of mii-tool and ethtool. # mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Operation not supported # ethtool eth0 Settings for eth0: Link... (2 Replies)
Discussion started by: pinga123
2 Replies

8. UNIX for Dummies Questions & Answers

virtualising virtual machine

Hi, I'm virtualising ubuntu on a mac forum and I get the following error when I run my application... If I try ping localhost from guest OS, it works... thanks (0 Replies)
Discussion started by: aneuryzma
0 Replies

9. Solaris

Is there any Virtual data center as we have Virtual Machine?

Do we have any Virtual Data Center software as we have Virtual Machine? I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Discussion started by: karman0931
2 Replies

10. UNIX for Dummies Questions & Answers

Link type between working machine and server machine

There are two servers where my machine is connected. Is there any type of link formed between my machine and server machine? (1 Reply)
Discussion started by: palash2k
1 Replies
Login or Register to Ask a Question