Visit Our UNIX and Linux User Community


Help setting up a bhyve branded zone


 
Thread Tools Search this Thread
Operating Systems Solaris Help setting up a bhyve branded zone
# 1  
Old 11-15-2018
Help setting up a bhyve branded zone

So I started with following the example on the omnios page for bhyve (sorry, I can't provide the link because I'm a post shy of the 5 to give a URL):


And found that in the end I was able to create a running bhyve zone, but accessing it via zlogin results in a blank console. I've tried Debian 9 and Ubuntu 18.04 so far. I've had both these OSes work successfully on FreeBSD 11.1 and 11.2 with bhyve so it should be possible here.


OS version - omnios-r151028-d3d0427bff


Configs:


Code:
zonename: ubuntu1804
zonepath: /zones/bhyve/ubuntu1804vm
brand: bhyve
autoboot: false
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: exclusive
hostid: 
fs-allowed: 
fs:
        dir: /home/stratacast/ubuntu-18.04-live-server-amd64.iso
        special: /home/stratacast/ubuntu-18.04-live-server-amd64.iso
        raw not specified
        type: lofs
        options: [ro,nodevices]
net:
        address not specified
        allowed-address: 192.168.10.57/26
        defrouter not specified
        global-nic not specified
        mac-addr not specified
        physical: buntu18040
        vlan-id not specified
device:
        match: /dev/zvol/rdsk/rpool/zones/bhyve/ubuntu1804
attr:
        name: bootdisk
        type: string
        value: rpool/zones/bhyve/ubuntu1804
attr:
        name: cdrom
        type: string
        value: /home/stratacast/ubuntu-18.04-live-server-amd64.iso

# 2  
Old 11-16-2018
Hi,

Did you have any output at all when you ran zlogin -C zonename or was it still just a blank screen?

Can you post the output of;

Code:
zoneadm list -cv

Code:
zoneadm list -p

Regards

Gull04
# 3  
Old 11-16-2018
Here is my output:


Code:
~  pfexec zoneadm list -cv                                                                                                  stratacast@omni
  ID NAME             STATUS     PATH                           BRAND    IP    
   0 global           running    /                              ipkg     shared
  10 nextcloud        running    /zones/normal/nextcloud        sparse   excl  
  13 ubuntu1804       running    /zones/bhyve/ubuntu1804vm      bhyve    excl


Code:
~  pfexec zoneadm list -p                                                                                                   stratacast@omni
0:global:running:/::ipkg:shared:0
10:nextcloud:running:/zones/normal/nextcloud:a75db76f-8d0d-ebdf-972e-99f9c5434e18:sparse:excl:6
13:ubuntu1804:running:/zones/bhyve/ubuntu1804vm:a7ce4eaf-14b2-4ad6-d776-800baef4d3f7:bhyve:excl:7


And
Code:
zlogin -c ubuntu1804

does in fact give just a blank screen. I've also tried with Debian 9.


Thanks
# 4  
Old 11-17-2018
It is capital 'C' in zlogin.
zlogin -C <zone>

Does that give you blank screen as well ?

Regards
Peasant.
# 5  
Old 11-17-2018
That was a typo, my bad. I used capital C which resulted in a blank screen
# 6  
Old 11-17-2018
You might try:
Code:
 vmadm console

This User Gave Thanks to jlliagre For This Post:
# 7  
Old 11-17-2018
vmadm doesn't seem to exist on OmniOS, I can't find it in the repos either

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

2. Solaris

Branded zone Solaris 9

Hi, I want to install branded zone sol 9 in sol 10. I keep getting same error. Please advice me. Thanks. (12 Replies)
Discussion started by: mzainal
12 Replies

3. Solaris

Solaris 10 branded zone with IPMP

All. I am trying to create a 10 branded zone on a Sol 11.1 T5. The Global is using IPMP...so aggregating is out of the question. Has anyone successfully created a branded zone with IPMP? If they have can you please show me the steps you took to get this to run. Thanks (4 Replies)
Discussion started by: aeroforce
4 Replies

4. Solaris

NFS server on Solaris 10 branded zone

I am trying to get a NFS share on a Solaris 10 branded zone. I have read that this is not possible...but I was hoping someone here could tell me different. share -F nfs -o ro,anon=0 /dir This would really surprise me that you cannot do this. Thanks (2 Replies)
Discussion started by: aeroforce
2 Replies

5. Solaris

Branded Solaris 10 zone no network

I am trying to create a branded 10 zone on a Solaris 11.1 control domain. I am using a flar image (cpio) from an existing LDOM. Here are the steps taken after flarcreate. #zonecfg -z <device> >create -b >set brand=solaris10 >set zonepath=/zonez/<device> >set ip-type=exclusive >add net... (1 Reply)
Discussion started by: aeroforce
1 Replies

6. Solaris

Solaris 9 branded zone on a Solaris 10 server

I have a T5220 running Solaris 10. I have a application that can only run on Solaris 9. I want to build a branded Solaris 9 zone for this application on the Solaris 10 Server. What steps would I need to accomplish this? (2 Replies)
Discussion started by: soupbone38
2 Replies

7. Solaris

Prerequisites for Solaris10 Branded Zone within Solaris 11 Express

Dear all, we are trying to install a Solaris10 Branded Zone on a Solaris 11 Express system getting this message: ***The image patch level is downrev for running in a solaris10 branded zone*** The Sparc Solaris 10 system is running Release 11/06 and Patch 119254-70 is installed. Does the... (0 Replies)
Discussion started by: xunil321
0 Replies

8. Solaris

Three questions - migrating to branded zone

1. i read that VxFS (3.x) installed on a solaris 8 will not work on a branded zone. fair enough, but what is the impact of having the packages installed when the flarcreate is done? will the container fail to boot with those packages installed? 2. NTP client and server doesnt work on branded... (11 Replies)
Discussion started by: frustin
11 Replies

9. Solaris

Postprocess issue installing Solaris 9 Branded Zone

Hello, I am attempting to install a newly configured Solaris 9 zone using the flash archive image provided on the sun website. Each time I run the install I get a failure during the Postprocess: Creating mount points. Following is the log: Log File: /var/tmp/s9-zone.install.25457.log... (0 Replies)
Discussion started by: brialt1
0 Replies

10. UNIX for Dummies Questions & Answers

Time zone setting

Tru64 (4.0D) How to change the time zone setting for the system? Sanjay (5 Replies)
Discussion started by: sanjay_g
5 Replies

Featured Tech Videos