<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>shell on TRUE IT STORIES</title><link>https://neu.true-it-stories.com/tags/shell/</link><description>Recent content in shell on TRUE IT STORIES</description><generator>Hugo</generator><language>de-de</language><lastBuildDate>Tue, 12 Feb 2013 09:02:43 +0000</lastBuildDate><atom:link href="https://neu.true-it-stories.com/tags/shell/index.xml" rel="self" type="application/rss+xml"/><item><title>Informations about CPU- and RAM-HotPlug at VMs on VMware vSphere 5</title><link>https://neu.true-it-stories.com/informations-cpu-ram-hotplug/</link><pubDate>Tue, 12 Feb 2013 09:02:43 +0000</pubDate><guid>https://neu.true-it-stories.com/informations-cpu-ram-hotplug/</guid><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Enable CPU-Hot Plug and RAM-Hot Add at Virtual machines on VMware vCenter 5&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;&#10;Update 12.02.2013 / Gabrie post in the comments a important extra info about Hot-Add and post the link to the blog from &lt;a href="http://www.yellow-bricks.com/about/" title="http://www.yellow-bricks.com/about/"&gt;Duncan Epping&lt;/a&gt;: &lt;a href="http://www.yellow-bricks.com/2012/01/16/enabling-hot-add-by-default-cc-gabvirtualworld/" title="http://www.yellow-bricks.com/2012/01/16/enabling-hot-add-by-default-cc-gabvirtualworld/"&gt;http://www.yellow-bricks.com/2012/01/16/enabling-hot-add-by-default-cc-gabvirtualworld/&lt;/a&gt; &lt;strong&gt;it’s important to read this!!!&lt;/strong&gt;&lt;br&gt;&#10;&lt;a href="http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-virtual-machine-admin-guide.pdf#page=85"&gt;vSphere Virtual Machine Administration&lt;/a&gt;, Chapter 8 “Configuring Virtual Machines”, Section “Change CPU Hot Plug Settings in the … Client”, page 94.&lt;/p&gt;&#10;&lt;p&gt;Some conditions and requirements for CPU Hot Plug&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;If possible, use hardware version 8 virtual machines.&lt;/li&gt;&#10;&lt;li&gt;Hot-adding multicore virtual CPUs is supported only with hardware version 8 virtual machines.&lt;/li&gt;&#10;&lt;li&gt;Not all guest operating systems support CPU hot add.&lt;/li&gt;&#10;&lt;li&gt;To use the CPU hot-add feature with hardware version 7 virtual machines, set the Number of cores per socket to 1.&lt;/li&gt;&#10;&lt;li&gt;Adding CPU resources to a running virtual machine with CPU hot plug enabled disconnects and reconnects all USB passthrough devices connected to that virtual machine.&lt;/li&gt;&#10;&lt;li&gt;For Linux guest operating VMware Tools must be installed.&lt;/li&gt;&#10;&lt;li&gt;The virtual machine must powered off to configure he Hot CPU settings.&lt;/li&gt;&#10;&lt;li&gt;Hot remove of Memory is not supported.&lt;/li&gt;&#10;&lt;li&gt;Hot remove of CPU is not supported.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;To enable new CPU after adding a new CPU. You can use this script:&lt;br&gt;&#10;&lt;strong&gt;Hot add cpu to supported Linux guestOS&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Nagios-Plugin für Oracle Grid-Infrastructure und Oracle-Restart</title><link>https://neu.true-it-stories.com/nagios-plugin-fur-oracle-grid-infrastructure-und-oracle-restart/</link><pubDate>Sat, 19 Jan 2013 21:50:46 +0000</pubDate><guid>https://neu.true-it-stories.com/nagios-plugin-fur-oracle-grid-infrastructure-und-oracle-restart/</guid><description>&lt;p&gt;Hallo,&lt;br&gt;&#10;neben dem Thema Virtualisierung beschäftige ich mich noch viel mit Oracle Grid-Infrastructure und Nagios.&lt;br&gt;&#10;Ich habe mir heute mal die Zeit genommen und ein entsprechendes Plugin geschrieben.&lt;br&gt;&#10;Getestet habe ich das Skript mit Oracle Restart 11.2.0.3 und Grid-Infrastructure 11.2.0.3. Es wird mindestens die Version 11.2.0.1 benötigt, da mit der Grid-Infrastructure die Syntax von crsctl grundlegend geändert wurde.&lt;br&gt;&#10;Folgende Punkte werden im Plugin berücksichtigt:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Support für Oracle Restart und Grid-Infrastructure&lt;br&gt;&#10;wird automatisch erkannt&lt;/li&gt;&#10;&lt;li&gt;Anzahl Voting-Disks bei Grid-Infrastructure überwachen&lt;br&gt;&#10;verlorene Voting-Disk führt zur CRITICAL-Meldung&lt;br&gt;&#10;Überwachung der Voting-Disks nur bei Grid-Infrastructure&lt;/li&gt;&#10;&lt;li&gt;Resourcen im Status OFFLINE oder INTERMEDIATE die nicht im AUTO_START=never sind führen zum CRITICAL&lt;/li&gt;&#10;&lt;li&gt;ora.gsd und ora.ons werden bei der Statusauswertung ignoriert&lt;/li&gt;&#10;&lt;li&gt;sudo für Clusterbefehle erforderlich&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Im Kopfbereich des Plugins befindet sich ein Beispiel für die sudo-Konfiguration&lt;br&gt;&#10;Parallel habe ich das Plugin auf &lt;a href="http://exchange.nagios.org"&gt;http://exchange.nagios.org&lt;/a&gt; eingereicht, warte dort aber noch auf die Veröffentlichung.&lt;br&gt;&#10;Gruß&lt;br&gt;&#10;Thorsten&lt;br&gt;&#10;Update: 23.01.2012&lt;br&gt;&#10;Das Plugin steht nun auch auf Nagiosexchange zur Verfügung:&lt;br&gt;&#10;&lt;a href="http://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/Check-Oracle-Grid-2DInfrastructure-or-Oracle-Restart/details" title="Check Oracle Grid-Infrastructure or Oracle Restart"&gt;http://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/Check-Oracle-Grid-2DInfrastructure-or-Oracle-Restart/details&lt;/a&gt;&lt;/p&gt;</description></item><item><title>ESXi 5.x LSI MegaRAID SAS 9260-4i Raid-1 Rebuild</title><link>https://neu.true-it-stories.com/esxi-5-lsi-megaraid-sas-9260-raid-rebuild/</link><pubDate>Fri, 18 Jan 2013 08:34:00 +0000</pubDate><guid>https://neu.true-it-stories.com/esxi-5-lsi-megaraid-sas-9260-raid-rebuild/</guid><description>&lt;p&gt;In diesem Abschnitt dokumentieren wir den Testlauf für einen Fall, den man als Serverbetreiber am liebsten nie haben möchte: Ausfall einer Platte im RAID-1.&lt;br&gt;&#10;Alle Aktionen in diesem Abschnitt führen wir mit dem MegaCli auf der Shell des Hosts durch.&lt;/p&gt;&#10;&lt;h3 id="erkennung-eines-plattenausfalls"&gt;Erkennung eines Plattenausfalls&lt;/h3&gt;&#10;&lt;p&gt;Ein Plattenausfall äußert sich darin, daß das Virtual Drive 0 nicht mehr als “Optimal” angezeigt wird. Ersichtlich wird dies im vSphere-Client unter &lt;strong&gt;Configuration / Health Status&lt;/strong&gt;:&lt;/p&gt;&#10;&lt;p&gt;Außerdem läßt es sich in der Host-Shell mittels MegaCli abfragen:&lt;/p&gt;</description></item><item><title>VMware ESXi 5.0 auf 5.1 Updaten ohne KVM Zugriff</title><link>https://neu.true-it-stories.com/vmware-esxi-5-0-auf-5-1-updaten/</link><pubDate>Fri, 18 Jan 2013 07:42:13 +0000</pubDate><guid>https://neu.true-it-stories.com/vmware-esxi-5-0-auf-5-1-updaten/</guid><description>&lt;p&gt;Nach der Auslieferung des ESXi-Servers von Hetzner kann man Überlegen, ob man die Updates für 5.0 Update 1 Updates einspielt, oder wie hier jetzt dargestellt das Update auf ESXi 5.1.&lt;br&gt;&#10;Dabei ist zu bedenken, daß möglicherweise noch nicht alle Drittanbieter-Software, die Verwendung finden soll, (vollständig) mit ESXi 5.1 kompatibel ist. Als Beispiel sei die Backup-Software “Veeam Backup &amp;amp; Replication” genannt, bei der noch nicht alle Funktionen unter 5.1 korrekt laufen.&lt;br&gt;&#10;Viele Dritthersteller erhalten offenbar von VMware erst sehr spät, quasi gleichzeitig mit der Allgemeinheit, Zugriff auf neue Major Releases, so daß einige Zeit vergeht, bis diese ihre Produkte angepaßt haben.&lt;br&gt;&#10;Wir empfehlen daher, mit dem Update auf 5.1 zu warten, bis Kompatibilität hergestellt ist und die üblicherweise vorhandenen “Kinderkrankheiten” ausgeräumt sind.&lt;/p&gt;</description></item></channel></rss>