Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - maximilianobeltritti

Pages: [1]
1
Other modules / Re: Failover problem
« on: August 16, 2017, 04:16:47 am »
Solved!!! After a long research i do this:

Edit the file:

/usr/share/zentyal-network/failover-checker

At line 28 we change:

use TryCatch::Lite;

With this:

use TryCatch;

Save and exit. Done all works fine only have a warning that said:"my" variable $network masks earlier declaration in same scope at /usr/share/zentyal-network/failover-checker line 42.

2
Other modules / Failover problem
« on: July 27, 2017, 12:49:25 pm »
Hi, we have an issue with Zentyal 5, the failover isnt working. In the logs we can see that the check script run with cron each minute (/usr/share/zentyal-network/failover-checker) give us this error message:
 
Can't locate TryCatch/Lite.pm in @INC (you may need to install the TryCatch::Lite module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/zentyal-network/failover-checker line 28.
BEGIN failed--compilation aborted at /usr/share/zentyal-network/failover-checker line 28.

How can we resolve this problem? Maybe we can try to install the Perl module called TryCatch with cpan console?

Thanks in advance!

3
Spanish / Problema Failover-checker
« on: July 21, 2017, 12:31:57 pm »
Buenas estamos teniendo un problema con Zentyal 5 actualizado con todos los parches de seguridad, al momento de realizar el failover. Revisando un poco los logs pudimos encontrar que el script que se ejecuta cada 1 minuto con cron llamado:"/usr/share/zentyal-network/failover-checker" está devolviendo el siguiente error:
 
Can't locate TryCatch/Lite.pm in @INC (you may need to install the TryCatch::Lite module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/zentyal-network/failover-checker line 28.
BEGIN failed--compilation aborted at /usr/share/zentyal-network/failover-checker line 28.

Aparentemente parecería ser un problema con un módulo de Perl llamado TryCatch pero podrían indicarnos como configurarlo correctamente?

Gracias por adelantado!!

4
El siguiente post surgió de la necesidad de poder unir Zentyal a un ambiente que tenía como controlador primario a un servidor Windows 2012 para un cliente específico que deseaba migrar sus servidores a Zentyal por costos de licenciamiento. Al ver que Samba no soporta aún este tipo de DC, utilizando los laboratorios de Threecore encontramos la siguiente alternativa espero les sea de utilidad:

La única opción viable fue bajarle el nivel funcional a un servidor Windows 2012 de forma tal que podamos unir nuestro Zentyal al dominio, esta metodología es muy útil también, como comentábamos arriba, para migrar DC de Windows 2012 a Zentyal, ya lo hemos probado en laboratorios internos y funciona perfecto:

Paso 1

Abrir una consola PowerShell Active Directory

Paso 2

Ejecutar:
get-ADForest

Arroja los resultados de nombre d dominio en sus diferentes config.por EJ:

ApplicationPartitions : {DC=ForestDnsZones,DC=zentyal,DC=it,DC=com,
                        DC=DomainDnsZones,DC=zentyal,DC=it,DC=com}
CrossForestReferences : {}
DomainNamingMaster    : win2k12.zentyal.it.com
Domains               : {zentyal.it.com}
ForestMode            : Windows2012Forest
GlobalCatalogs        : {win2k12.zentyal.it.com}
Name                  : zentyal.it.com
PartitionsContainer   : CN=Partitions,CN=Configuration,DC=zentyal,DC=it,DC=com
RootDomain            : zentyal.it.com
SchemaMaster          : win2k12.zentyal.it.com
Sites                 : {Default-First-Site-Name}
SPNSuffixes           : {}
UPNSuffixes           : {}

Paso 3

Ejecutar:

Set-ADForestMode -Identity "tu.dominio.com" -
ForestMode Windows2008Forest

Aplicar Yes

Paso 4

Ejecutar:
Set-ADDomainMode -Identity "tu.dominio.com" -
DomainMode Windows2008Domain


Ejemplo de ambos comandos con sus salidas:

PS C:\Users\Administrator.WIN2K12> Set-ADForestMode -Identity "zentyal.it.com" -
ForestMode Windows2008Forest

Confirm
Are you sure you want to perform this action?
Performing operation "Set" on Target
"CN=Partitions,CN=Configuration,DC=zentyal,DC=it,DC=com".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  (S) Suspend  [?] Help
(default is "Y"):y


PS C:\Users\Administrator.WIN2K12> Set-ADDomainMode -Identity "zentyal.it.com" -
DomainMode Windows2008Domain

Confirm
Are you sure you want to perform this action?
Performing operation "Set" on Target "DC=zentyal,DC=it,DC=com".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  (S) Suspend  [?] Help
(default is "Y"):y


Eso es todo, ahora tenemos un servidor windows 2012 corriendo con un nivel funcional y nivel del forest en 2008, entonces ahora ya podemos unir nuestro Zentyal al dominio como un DC adicional, saludos!

5
Done! Sorry is my first post.

6
The following post came from the need to join Zentyal to a Windows 2012 server Domain Controller for an specific client that wanted to migrate their servers to Zentyal for licensing costs. Because Samba does not support this type of DC yet, we use the Threecore laboratories to test a workaround for this issue, we hope this will be useful for all we decide to post it here:

The workaround we found was to lower the functional level and the forest level from Windows 2012 to windows 2008 so that our Zentyal can join the domain, this approach is also very useful, as we mentioned above, to migrate from Windows 2012 DC to Zentyal, we've tested in laboratories internal and works perfect: 

Step 1

Open a PowerShell Active Directory console

Step 2

Run:
get-ADForest

We can see the domain name with the different configurations. For Example:

ApplicationPartitions : {DC=ForestDnsZones,DC=zentyal,DC=it,DC=com,
                        DC=DomainDnsZones,DC=zentyal,DC=it,DC=com}
CrossForestReferences : {}
DomainNamingMaster    : win2k12.zentyal.it.com
Domains               : {zentyal.it.com}
ForestMode            : Windows2012Forest
GlobalCatalogs        : {win2k12.zentyal.it.com}
Name                  : zentyal.it.com
PartitionsContainer   : CN=Partitions,CN=Configuration,DC=zentyal,DC=it,DC=com
RootDomain            : zentyal.it.com
SchemaMaster          : win2k12.zentyal.it.com
Sites                 : {Default-First-Site-Name}
SPNSuffixes           : {}
UPNSuffixes           : {}

Step 3

Run:

Set-ADForestMode -Identity "your.domain.com" -
ForestMode Windows2008Forest

Apply Yes

Step 4

Run:
Set-ADDomainMode -Identity "your.domain.com" -
DomainMode Windows2008Domain


Example for both commands:

PS C:\Users\Administrator.WIN2K12> Set-ADForestMode -Identity "zentyal.it.com" -
ForestMode Windows2008Forest

Confirm
Are you sure you want to perform this action?
Performing operation "Set" on Target
"CN=Partitions,CN=Configuration,DC=zentyal,DC=it,DC=com".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  (S) Suspend  [?] Help
(default is "Y"):y


PS C:\Users\Administrator.WIN2K12> Set-ADDomainMode -Identity "zentyal.it.com" -
DomainMode Windows2008Domain

Confirm
Are you sure you want to perform this action?
Performing operation "Set" on Target "DC=zentyal,DC=it,DC=com".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  (S) Suspend  [?] Help
(default is "Y"):y


That is all, now you have a windows 2012 server running with an 2008 functional level and forest level, so we can join Zentyal to the domain as an additional DC, cheers!

Pages: [1]