18 Nisan 2018 Çarşamba

VMware / upgrade the vSphere Replication appliance

Upgrade the vSphere Replication appliance by using a downloadable ISO image

Prerequisites
  • Upgrade the vCenter Server instance that vSphere Replication extends.
  • Download the  VMware-vSphere_Replication-6.5.x.x-build_number.iso image from the vSphere Downloads page. Copy the ISO image file to a datastore that is accessible from the vCenter Server instance that you use with vSphere Replication.
  • If the vSphere Replication version that you run is not supported for direct upgrade to vSphere Replication 6.5, upgrade your vSphere Replication instance to a supported version. For example, to upgrade vSphere Replication 5.5 to 6.5, you must first upgrade 5.5 to 5.8.0.2, and then upgrade 5.8.0.2 to 6.1. See the interoperability matrix at http://www.vmware.com/resources/compatibility/sim/interop_matrix.php for solution upgrade paths for vSphere Replication.
  • Shut down and power off the vSphere Replication virtual machine.
Procedure
  1. Right-click the vSphere Replication virtual machine and select Edit Settings.
  2. If you are upgrading a vSphere Replication Server appliance, reconfigure the virtual machine to increase its memory from 512 MB to 716 MB RAM.
  3. On the Virtual Hardware tab, select CD/DVD Drive > Datastore ISO File.
  4. Navigate to the ISO image in the datastore.
  5. For File Type, select ISO Image and click OK.
  6. Select the option to connect at power on and follow the prompts to add the CD/DVD drive to the vSphere Replication virtual machine.
  7. Power on the vSphere Replication virtual machine.
  8. In a Web browser, log in to the virtual appliance management interface (VAMI).
The URL for the VAMI is https://vr_appliance_address:5480.
  1. Click the Update tab.
  2. Click Settings, select Use CDROM Updates, and click Save Settings.
  3. Click Status and click Check Updates.
The appliance version appears in the list of available updates.
  1. Click Install Updates and click OK.















  1. After the updates install, click the System tab and click Reboot.
  2. After the appliance reboots, start the console of the vSphere Replication virtual machine to monitor the process.
The vSphere Replication appliance reboots two more times for the upgrade procedure to complete.
  1. After the vSphere Replication appliance reboots, log in to the VAMI and repeat the steps to register the vSphere Replication appliance with vCenter Single Sign-On.
This registers the vSphere Replication appliance in the Lookup Service and SSO or updates an existing vSphere Replication registration.
  1. Log out of the vSphere Web Client, clear the browser cache, and log in again to see the upgraded appliance.

VMware / reset root password of vSphere Replication

Reset the root password of vSphere Replication appliance 6.5 (2150038)

Reboot the vSphere Replication appliance.In the Grub screen, press e to edit the current kernel parameters.
Use arrow key to scroll down to this line:
linux /vmlinuz-3.12.62-60 ......... . . . . . . silent quiet showopts
Add this line at the end:   init=/bin/bashExample: linux /vmlinuz-3.12.62-60 ..... . . . . . . silent quiet showopts init=/bin/bash"




Press F10 to reboot and vSphere replication appliance will reboot at run level 1.
Mount root filesystem as read write by running this command: mount -o remount,rw /
Run this command to reset the root password: passwd rootAfter the password is reset, reboot the appliance.

Note: If you do not mount root (/) directory as read write (rw) you will receive this error:
passwd: Authentication token manipulation errorpasswd: password unchanged

16 Nisan 2018 Pazartesi

Hyper-V / Virtual Machine failed to start.

Virtual Machine ' failed to start.

Virtual Machine failed to initialize. (Virtual machine ID EC3DE3E5-F285-4E02-9E85-D325DC6E4212)

Cluster resource 'Virtual Machine ' of type 'Virtual Machine' in clustered role '' failed. The error code was '0x42b' ('The process terminated unexpectedly.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.



To disable this fix
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverride /t REG_DWORD /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverrideMask /t REG_DWORD /d 3 /f

Restart the server for the changes to take effect.

Then enable the fix
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverride /t REG_DWORD /d 0 /f

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverrideMask /t REG_DWORD /d 3 /f

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization" /v MinVmVersionForCpuBasedMitigations /t REG_SZ /d "1.0" /f

Restart the server for the changes to take effect.


6 Nisan 2018 Cuma

Windows / WSUS Failure configuring Windows updates

Failure configuring Windows updates Reverting changes










To alleviate this problem on Windows 8 and Windows Server 2012 based systems, please export and delete the following registry value, reboot your system and then re-attempt the update: 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{e7ef96be-969f-414f-97d7-3ddb7b558ccc}

https://social.technet.microsoft.com/Forums/windowsserver/en-US/70219bcb-36a8-466e-900b-cbf390db38d2/failure-configuring-windows-updates-reverting-changes-postreboot-status-0x800f0922?forum=winserver8gen

Windows Server IIS üzerinden hizmet veren bir FTP servisine erişmek istediğimizde;  Internet Explorer, FileZilla vb. uygulamalar ile erişim ...