Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

CentOS and Active Directory 2008

0 Kommentare
This article is intended for those of you, who has read my old post about CentOS and the integration into Microsoft Active Directory. In my old post I referred to Microsoft Active Directory 2003. In cases, when you upgraded to MS AD 2008, you have to update some entries in configuration file /etc/nslcd.conf.

Yum's additional tools

0 Kommentare
I've learnt new helpful commands recently that belongs to yum tools (thank you MLLR). I'd like to say a few words about the usage of the commands.

Upgrade Microsoft Hyper-V Linux IC from 3.3 to 3.4

5 Kommentare
Recently I had to upgrade the integration components on a lot of CentOS virtual systems running on a Hyper-V failover cluster. During the upgrade procedure I faced a couple of things, which I'd like you to be aware of. The version on the guest VM is CentOS 6.3, the Hyper-V failover cluster is running under Windows Server 2008 R2 SP1 and consists of 6 nodes.

Below is the output of LVM related commands before starting the upgrade of Linux IC:

Extending a LVM partition in a Hyper-V guest VM running CentOS

0 Kommentare
Imagine a scenario like the following: you have a Hyper-V host and a CentOS 6.3 guest. The CentOS guest has Microsoft Integration Services for Linux 3.3 installed and running. A data file system on the guest is running out of the free space:

[root@myhost ~]# df -h /data/svn/
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/data-svn   99G   93G  964M  99% /data/svn


Although the partition is a part of LVM, but your entire disk is almost full. In the article I'd like to show how you can get rid of this without getting your services offline.

Script to inform about new updates in OpenSuSE

1 Kommentare
Some time ago I wrote a script that informs me via e-mail, when zypper finds new updates. Now I'd like to share the script (actually there are two scripts: a main Perl script and a Shell script as wrapper).

An advantage of my script is that it informs you only once, if there are new updates and not every time you start it. It is achieved due to the storing the last result in the file system. The next time you'll get an e-mail is, when the script finds a newer update as found before.

CentOS 6.2 and Active Directory

5 Kommentare

In this article I’ll show you how to connect your CentOS to the Active Driectory as user backend. I assume that MSFU 3.5 (Microsoft Services For Unix) feature is activated in your AD.

There are a couple of tasks you have to do, when you’re going to bring your CentOS box with Active Directory. First of all, the nslcd daemon (nss-pam-ldapd) must be installed and configured. After that step you should be able to see UNIX specific attributes of users from AD backend. The next step is to setup authentication against AD.

Massive Probleme von Novell SLES 11 SP1 VMs unter Hyper-V

2 Kommentare
Hallo,

ich würde jedem vom Einsatz von Novell SuSE Linux Enterprise Server 11 SP1 als virtuelle Maschinen unter Hyper-V abraten. Nach mehreren Monaten leidiger Erfahrungen kann ich mit Sicherheit sagen, dass die folgenden Enterprise-Feautures in SLES 11 SP1 große Probleme verursachen, für die es im Moment keine Lösung gibt:

  • Wenn das Netzwerkinterface in der VM als Synthetischer Adapter (synthetic adapter) zur Verfügung steht, kommt es sehr oft zur Unterbrechung der Netzwerkanbindung. Hierbei werden keine relevanten Meldungen in der VM sowie auf dem Hyper-V-Host protokolliert. Die VM wird von jetzt auf gleich nicht mehr erreichbar im LAN. Eine kurzfristige Lösung besteht darin, den Befehl
    rcnetwork restart
    in der VM auszufühen bzw. die VM neu zu starten. 
  • Wenn eine der Festplatten als SCSI-HDD zur Verfügung steht, kann es durch den Stand-By-Modus zum temporären Verlust der Partitionen führen, die auf der SCSI-Festplatte liegen. Das Phänomen tritt zu Tage, wenn die VM in den Modus "Save state" geschaltet wird. Dieser Modus wird u.a. benötigt während des Backup der ganzen VM auf der Hyper-V-Seite oder vor dem Umzug der VM auf einen anderen Hyper-V-Knoten.
Das Problem mit dem Netzwerkadapter kann man umgehen, indem die VM auf den emulierten Adapter (emulated NIC) umgestellt wird. Dieser läuft sehr stabil, allerdings ist die Performance wesentlich schlechter, es gibt außerdem vereinzelt Probleme nach dem Aufwachen aus "Save state".

Das zweite Problem ist schwerwiegender, weil IDE-Festplatten unter Hyper-V höchstens 128 Gbyte groß sein können. Größere Datenvolumen setzen also SCSI-Festplatten voraus.

Interessanterweise hatten wir keinerlei Problem beim Betrieb von SLES 11 OHNE SP1. In dem System werkelten die Linux Integration Tools v2.1 der Firma Microsoft. Seit dem SP1 für SLES 11 lassen sich die Linux Integration Tools v2.1 nicht mehr installieren: die Install-Routine läuft auf einen schwerwiegenden Fehler. Und die mitgelieferten Hyper-V Treiber sind offensichtlich die Wurzel des Übels und bereiten nur Probleme.