Especially in virtual environments (VMware) booting SLES VMs can cause issues. By the usage of many VMDKs and an unforeseeable boot order, the name of the boot device can change and the server will not boot ! Initial the entry in /etc/fstab looks like this: /dev/sda1 /boot ext3 acl,user_xattr 1 2 On the problematic servers
A VM with SLES 11.4 (64bit) was installed a while ago, and is used as application server. Everything has been working properly for a while (~1 month), but as of a few days back, some filesystems (/ and /opt) have turned to read-only (!?). Pretty much every task fails, be it starting vi or even
Added menu stuff: http://stackoverflow.com/questions/1785474/get-index-of-current-item-in-powershell-loop http://blogs.technet.com/b/heyscriptingguy/archive/2008/06/02/hey-scripting-guy-how-can-i-use-leading-zeroes-when-displaying-a-value-in-windows-powershell.aspx https://www.novell.com/support/kb/doc.php?id=7002966 http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2006865 +++++++++++++ POWERCLI SCRIPT +++++++++++++++ # Autor: AA # Datum: 05.10.15 get-cluster | select Name | sort $CLName = Read-Host “Type the exact name of the Cluster to be checked/set for disk.enableUUID” $vms=get-cluster $CLName | get-vm | where {$_.Guest.OSFullName -match “Linux*” } | sort name $vmscount=($vms).count echo ” ====================================================
Here is a simple but handy PowerCLI one liner which can output the VM name and it’s IP address. Connect-VIServer <name> <credentials> Get-VM $VM | Select Name, @{N="IP Address";E={@($_.guest.IPAddress[0])}} or get-vmguest $VM | select VM,IPADDRESS VM IPAddress -- --------- vmname {192.168.1.35, <ipv6 address>}
This article includes supplemental information about configuring and using VMware Paravirtual SCSI (PVSCSI) adapters. PVSCSI adapters are high-performance storage adapters that can result in greater throughput and lower CPU utilization. PVSCSI adapters are best suited for environments, especially SAN environments, where hardware or applications drive a very high amount of I/O throughput.The VMware PVSCSI adapter