Re: [ovirt-users] Storage domain for Engine does not appear

2016-11-19 Thread Joop
On 19-11-2016 2:00, Oscar Segarra wrote:
> Hi, 
>
> I have created a 3 node gluster (replica 3) and I have made a fresh
> install of the ovirt engine (4.0.5.5-1). The install process has
> finishes successfuly but when I connect the ovirt engine the storage
> domain where Engine lives does not appear.
>
> If I try to import it, I'm able to make it appear but i cannot attach
> it to a Data Center.
>
You need to create a storage domain first and then the storage domain
will automatically be imported into the Data Center.
That even holds true when you already have an previous storage domain.
You can't import it, you'll need to create a small dummy domain first
and then you can import an old one.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-19 Thread Joop
On 18-11-2016 23:47, Mark Steckel wrote:
> Hi folks,
>
> I'm a complete OVirt newbie trying to set up a self hosted, single server and 
> looking for some pointers to get going... (While new to OVirt, I'm long time 
> sysadmin so not totally clueless.)
>
> The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB 
> SSDs set up with RAID 1 and running CentOS 7.2. (I do not have physical 
> access to the server but can get KVM access when required.)
>
> The goal is to set up this server as a self hosted, single server OVirt 
> platform. Nothing mission critical, just want to be able to spin up VMs when 
> needed and destroy them afterwards.
>
> Trying to use OVirt 4.0.4 (now 4.0.5).
>
> I've read some docs for setting this up including those just below as well as 
> a bunch of googling and reading through the list archive.
>
>http://www.ovirt.org/documentation/how-to/hosted-engine/
>http://www.ovirt.org/develop/release-management/features/heapplianceflow/
>
> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
>
> Every time I execute "hosted-engine --deploy" the process "hangs" when it 
> migrates the public IP address to a virtual nic interface. And in this case, 
> by "hang" I mean that I lose the connection to the server. I have no idea if 
> the process finishes or errors out.
>
> So obviously I'm doing something wrong.
>
> I suspect that I need to take care of some network requirement before 
> starting. However, I can't find anything in the docs of how to prep the 
> server network environment before running "hosted-engine --deploy". 
>
> Should probably also mention that some, if not all of the VMs will need a 
> public IP address. The physical server has a /29 to get started.
>
I have never setup such a server but if you create the ovirtmgmt bridge
first then the deploy will leave it alone and you won't lose network
connectivity.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt 4.0.5 and SHE console from gui

2016-11-19 Thread Gianluca Cecchi
Hello,
In a clean environment configured in 4.0.5 I used VNC for hosted engine VM
console during setup.
In web admin gui I see that the graphics protocol for the Hosted Engine VM
is indeed VNC and Video Type VGA.

I have verified that if I configure a VM with VNC graphics (video type both
cirrus and vga tried) I'm able to connect to it with remote-viewer from
Linux client and with virt-viewer in a W2012 client.
A part from the usual command
 hosted-engine --add-console-password
and related vmcviewer one from console, can I connect  to the VNC engine
console also from web admin gui?
Both from Windows and Linux I get error

Unable to connect to the graphic server
C:\Users\Admini~1\Appdata\Local\Temp\console-12.vv

Unable to connect to the graphic server /tmp/mozilla_g.cecchi0/console.vv

Can I setup console to spice after install? And in case can I connect to
its console from webadmin gui then?

Thanks,

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multiple Data Storage Domains

2016-11-19 Thread Gary Pedretty
Solved:

Changing the second storage domain to a glusterfs Distributed Replicate with 
sharding turned on, works great.   Thanks for the solution.


Gary



Gary Pedrettyg...@ravnalaska.net 

Systems Manager  www.flyravn.com 

Ravn Alaska   /\907-450-7251
5245 Airport Industrial Road /  \/\ 907-450-7238 fax
Fairbanks, Alaska  99709/\  /\ \ Second greatest commandment
Serving All of Alaska  /  \/  /\  \ \/\   “Love your neighbor as
Really loving the record green up date! Summmer!!   yourself” Matt 22:39













> On Nov 7, 2016, at 2:10 AM, Sahina Bose  wrote:
> 
> 
> 
> On Mon, Nov 7, 2016 at 3:27 PM, Gary Pedretty  > wrote:
> [root@fai-kvm-1-gfs admin]# gluster volume status data2
> Status of volume: data2
> Gluster process TCP Port  RDMA Port  Online  Pid
> --
> Brick fai-kvm-1-vmn.ravnalaska.net 
> :/kvm2/gl
> uster/data2/brick   49156 0  Y   3484
> Brick fai-kvm-2-vmn.ravnalaska.net 
> :/kvm2/gl
> uster/data2/brick   49156 0  Y   34791
> Brick fai-kvm-3-vmn.ravnalaska.net 
> :/kvm2/gl
> uster/data2/brick   49156 0  Y   
> 177340
> Brick fai-kvm-4-vmn.ravnalaska.net 
> :/kvm2/gl
> uster/data2/brick   49152 0  Y   
> 146038
> NFS Server on localhost 2049  0  Y   40844
> Self-heal Daemon on localhost   N/A   N/AY   40865
> NFS Server on fai-kvm-2-gfs.ravnalaska.net 
>   2049  0  Y   99905
> Self-heal Daemon on fai-kvm-2-gfs.ravnalask
> a.net    N/A   N/A 
>Y   99915
> NFS Server on fai-kvm-4-gfs.ravnalaska.net 
>   2049  0  Y   176305
> Self-heal Daemon on fai-kvm-4-gfs.ravnalask
> a.net    N/A   N/A 
>Y   176326
> NFS Server on fai-kvm-3-gfs.ravnalaska.net 
>   2049  0  Y   226271
> Self-heal Daemon on fai-kvm-3-gfs.ravnalask
> a.net    N/A   N/A 
>Y   226287
> 
> Task Status of Volume data2
> --
> There are no active volume tasks
> 
> 
> [root@fai-kvm-1-gfs admin]# gluster volume info data2
> 
> Volume Name: data2
> Type: Striped-Replicate
> Volume ID: 20f85c9a-541b-4df4-9dba-44c5179bbfb0
> Status: Started
> Number of Bricks: 1 x 2 x 2 = 4
> Transport-type: tcp
> Bricks:
> Brick1: fai-kvm-1-vmn.ravnalaska.net 
> :/kvm2/gluster/data2/brick
> Brick2: fai-kvm-2-vmn.ravnalaska.net 
> :/kvm2/gluster/data2/brick
> Brick3: fai-kvm-3-vmn.ravnalaska.net 
> :/kvm2/gluster/data2/brick
> Brick4: fai-kvm-4-vmn.ravnalaska.net 
> :/kvm2/gluster/data2/brick
> Options Reconfigured:
> performance.readdir-ahead: on
> performance.quick-read: off
> performance.read-ahead: off
> performance.io -cache: off
> performance.stat-prefetch: off
> cluster.eager-lock: enable
> network.remote-dio: enable
> cluster.quorum-type: auto
> cluster.server-quorum-type: server
> storage.owner-uid: 36
> storage.owner-gid: 36
> 
> 
> See attached file for the mount log.
> 
> 
> Striped-Replicate is no longer supported in GlusterFS upstream. Instead, you 
> should be using a Distribute-Replicate with sharding enabled. Also when using 
> a gluster volume as storage domain, it is recommended to use replica 3.
> 
> From the mount logs, there is no indication as to why the volume is unmounted 
> frequently. Could you try again with a replica 3 volume that has sharding 
> enabled?
>  
> 
> Gary
> 
> 
> 
> Gary Pedrettyg...@ravnalaska.net 
> 
> Systems Manager  www.flyravn.com 
> 
> Ravn Alaska   /\

Re: [ovirt-users] Storage domain for Engine does not appear

2016-11-19 Thread Oscar Segarra
Hi,

I don't understand why, but after creating a new storage pool, I have been
able to attach the engine to the datacenter.

Thanks a lot.



2016-11-19 21:57 GMT+01:00 Joop :

> On 19-11-2016 18:03, Oscar Segarra wrote:
>
> Hi,
>
> I have realized that at system level I'm able to see the "Engine" storage:
>
> [image: Imágenes integradas 1]
>
> But when I try to attach it to a DataCenter, i appears as "Locked" for one
> second and then it disappears and remains Unattached.
>
> I have tried to import a new gluster domain and I cannot attach it to the
> Data Center because it is not Initialized.
>
> You need to create a storage domain first and then it will import the
> hosted engine storage.
>
> Joop
>
> Thanks a lot.
>
> 2016-11-19 10:27 GMT+01:00 Joop :
>
>> On 19-11-2016 2:00, Oscar Segarra wrote:
>> > Hi,
>> >
>> > I have created a 3 node gluster (replica 3) and I have made a fresh
>> > install of the ovirt engine (4.0.5.5-1). The install process has
>> > finishes successfuly but when I connect the ovirt engine the storage
>> > domain where Engine lives does not appear.
>> >
>> > If I try to import it, I'm able to make it appear but i cannot attach
>> > it to a Data Center.
>> >
>> You need to create a storage domain first and then the storage domain
>> will automatically be imported into the Data Center.
>> That even holds true when you already have an previous storage domain.
>> You can't import it, you'll need to create a small dummy domain first
>> and then you can import an old one.
>>
>> Joop
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hook to add firewall rules

2016-11-19 Thread Yedidyah Bar David
On Fri, Nov 18, 2016 at 1:42 AM, Claude Durocher
 wrote:
> I've implemented sucessfully a hook to edit the configuration of some of my
> nics on my ovirt hosts.
>
> Is there a way to add firewall rules (iptables) with vdsm hooks?

Please search for 'IPTablesConfigSiteCustom'. Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage domain for Engine does not appear

2016-11-19 Thread Oscar Segarra
Hi,

I have realized that at system level I'm able to see the "Engine" storage:

[image: Imágenes integradas 1]

But when I try to attach it to a DataCenter, i appears as "Locked" for one
second and then it disappears and remains Unattached.

I have tried to import a new gluster domain and I cannot attach it to the
Data Center because it is not Initialized.

Thanks a lot.

2016-11-19 10:27 GMT+01:00 Joop :

> On 19-11-2016 2:00, Oscar Segarra wrote:
> > Hi,
> >
> > I have created a 3 node gluster (replica 3) and I have made a fresh
> > install of the ovirt engine (4.0.5.5-1). The install process has
> > finishes successfuly but when I connect the ovirt engine the storage
> > domain where Engine lives does not appear.
> >
> > If I try to import it, I'm able to make it appear but i cannot attach
> > it to a Data Center.
> >
> You need to create a storage domain first and then the storage domain
> will automatically be imported into the Data Center.
> That even holds true when you already have an previous storage domain.
> You can't import it, you'll need to create a small dummy domain first
> and then you can import an old one.
>
> Joop
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users