Tuesday, May 5, 2015

Cannot edit VM in vSphere client


1)      When tried to edit the VM you get this error message “You cannot use the vSphere Client to edit the settings of virtual machines of version 10 or higher.
Use the vSphere Web Client to edit the settings of this virtual machine.”




2) Download VMware vCenter Converter Standalone => Run it => Click Convert machine => Select VMware Infrastructure virtual machine => Type in your ESX server & credentials => Next => If Certificate Security Warnings pops up just “Ignore”

 
 
3) Select the VM you want to convert =>  Next


4) Type in ESX server & Credentials again => Next

5) Specify a new name => Next


6) Virtual machine version, MAKE SURE you use the version 8 => Next


7) Change any if require or just NEXT


8) Change destination datastore if required or NEXT


9) Job summary => FINISH


10) Job submitted with EAT.










Thursday, March 26, 2015

How to check when was the last time Windows server got rebooted

Windows: Determine the Last Reboot Date/Time of a Computer  Windows Server 2003 and Windows XP:
     Run the following at a command prompt:
        net statistics server
     The second line that is returned will look something like this:
           Statistics since 11/12/2013 1:23:45 PM
 

     which for the majority of cases* will be the server uptime.

     * The value is actually the uptime of the Server service.  Unless that service
     has been restarted since server boot-time, which is not a common action,
     it will be the same as the server uptime.

Windows Server 2008, Windows 7 and Windows 8:


     Start Task Manager by right-clicking the Taskbar, click the Performance tab
     and note the value for Uptime near the lower-right of the screen.

     - or -

     Run the following from a command prompt:
          systeminfo | find "Time:"
     The output will look something like this:
           System Boot Time: 11/12/2013, 1:23:45 AM

Friday, January 2, 2015

How to Install SNMP and Configure the Community String

How to Install SNMP and Configure the Community String
Plesk Servers > Dedicated Server
How to Install SNMP and Configure the Community String

Simple Network Management Protocol (SNMP) is used to by our monitoring system in order to collect detailed information about your server.  While configuring SNMP, you may find that certain values are already preconfigured for you.  This is by-design and allows us to ensure that your server is monitored properly. There are some settings that you will not be able to configure.
 
Configure an SNMP Agent and Community String in Windows 2012
  1. Log into your dedicated server using Remote Desktop
  2. Click on Windows Key > Administrative Tools > Server Manager.
  3. Click Manage >  Add Roles and Features.
  4. Click Next > Next > Next > Next. Verify SNMP Services are installed. Click Cancel. (If SNMP had not been installed, contact Support.)

    SNMP Service Installed

     
  5. Click on Windows Key > Administrative Tools > Services.
  6. Right click on SNMP Service and click on Properties.
  7. Click on the Security tab. 
  8. Type your randomized 8 - 10 character connection string. Be sure to make it Read Only, not Read Write.

    SNMP Service Configuration

     
  9. Click on Add.

Configure an SNMP Agent and Community String in Windows 2008 R2
  1. Log into your dedicated server using Remote Desktop.
  2. Click on Start > Administrative Tools > Server Manager.
  3. Click on Features > Add Features.
  4. Verify SNMP Services are installed.
  5. Click on Configuration > Services.
  6. Right click on SNMP Service and click on Properties.
  7. Click on the Security tab. 
  8. Type your connection string. Be sure to make it Read Only, not Read Write.
  9. Click on Add.

    SNMP Security Settings
Configure an SNMP Agent and Community String in Windows 2003
  1. Log into your dedicated serer using Remote Desktop.
  2. Click on Start > Control Panel > Administrative Tools > Computer Management.
  3. Expand Services and Applications, then click Services.
  4. Double click on SNMP Service.
  5. Click on the Security tab.
  6. Type your connection string. Be sure to make it Read only, not Read Write.
  7. Click on Add.











Source: https://support.managed.com/kb/a764/how-to-install-snmp-and-configure-the-community-string.aspx

Tuesday, October 7, 2014

Bat script to find out remote computer if running a 32-bit OS or a 64-bit OS.

This is a quick and easy way to verify if a remote computer is running a 32-bit OS or a 64-bit OS.
If you have trouble getting it to work, be sure you're using an admin command prompt (I've seen wmic not work from a regular command prompt)


1. Open notepad.


2. Copy and paste below and save as OSscript.bat  or whatever you want. Enjoy














:Start
cls
@echo off
Echo.
Echo Remote OS Info (Verifying 32-bit or 64-bit)
Echo.

Set /P Computer=Enter the Computer Name:
If  "%Computer%"==  "" goto BadName
pause

wmic /node:"%Computer%" os get osarchitecture
pause

Goto End

:BadName
Cls
Echo.
Echo You have entered an incorrect name or left this field blank
Echo Please enter a valid Name or press Ctr-C to exit.
Echo.
Pause
Goto Start

:End










































Credit
http://community.spiceworks.com/scripts/show/2169-remote-os-info-verifying-32-bit-or-64-bit

Wednesday, August 27, 2014

HOWTO to remove SSH Shell warning triangle on WMware ESXi 5

How to remove SSH Shell warning triangle on WMware ESXi 5
    
After enabling SSH on VMware host version 5, yellow triangle with exclamation point will be added next to the host name.  "Alarms" tab will not display anything related to this.  In order to disable this warning, select host and go to "Configuration | Software | Advance Settings | UserVars.SuppressShellWarning" and change value from 0 to 1.




Friday, July 18, 2014

Microsoft VSS writer troubleshoot - retryable

Problem: Symantec backup exec 2012 run a backup job and failed with vss writer error message. Login Exchange server => Open CMD => vssadmin list writers => saw Microsoft Exchange VSS writer in retryable error stage. This need to be "No error" and State: Stable  in order for backup jobs tow ork.

When contact Symantec they said to restart the exchange server, yes it will temporarily solve it. BUT IT IS NOT THE ANSWER!!! and if you contact Microsoft they will point finger back and forth.

Solution: With many Google searches below are the possible links to fix your VSS problems without Exchange reboot but here is the solution that solved mines.

1) Make sure you ONLY have 1 exchange job running, another exchange job running will cause the VSS error.

2) Restart the Exchange Replication Service



Here are list of links that may solve your VSS error if the top solution didn't do it for you.
http://kb.macrium.com/KnowledgebaseArticle50010.aspx

http://telnet25.wordpress.com/2013/11/06/microsoft-exchange-vss-writer-is-in-a-failed-retryable-state/

http://careexchange.in/how-to-re-register-vss-volume-shadow-copy-service-in-windows-server-2008-r2/#comment-13369

https://exchangetimes.wordpress.com/tag/microsoft-exchange-replica-writer-showing-retryable-error/

Monday, June 9, 2014

SCCM 2012 SQL Server Backup Recommendations


In Configuration Manager 2012 SP1 and later, note that you have the ability to recover a site (secondary sites don’t count) using a standard, native SQL Server database backup.
From the following link: http://technet.microsoft.com/en-us/library/gg712697.aspx
“Configuration Manager can recover the site database from the Configuration Manager backup maintenance task or from a site database backup that you perform by using another process. For example, you can restore the site database from a backup that is performed as part of a Microsoft SQL Server maintenance plan.”
Why is this important?
The standard ConfigMgr backup task will simply copy all of the database data and log files to the backup folder location. During the SQL Backup task, you have the ability to specify compression for a database backup.
In a recent test on our Central CAS, a standard ConfigMgr backup task resulted in a SQL backup size of about 542 GB. The backup size using the native SQL backup, with compression was 59 GB in size! That is a huge savings in disk space. Given that a restore really only needs the database, using the native SQL backup task makes sense.
There have been a few questions on how to set this up, and what retention to use.
Here is a guide on setting up the back up task using the built in SQL Server Maintenance wizard.
Open Microsoft SQL Server Management Studio and connect to your ConfigMgr SQL Server instance.
clip_image001
Expand the Management node, right click Maintenance Plan. Choose New Maintenance Plan Wizard.
clip_image002
Click Next >
clip_image003
Change the name of the plan. To the right of schedule, click the Change button
clip_image005
Enable backups for at least every other day. Click OK. Then Next >
clip_image006
Choose the following three options, highlighted above, click Next >, then Next > again.
clip_image007
Since you will not want to use backups for recovery over 5 days old, change this setting to 1 week. Click Next >
clip_image009
Under Database(s) client the drop down
clip_image010
Select the database(s) you wish to backup. Got reportserver installed? Be sure to select those databases as well. Click OK
clip_image012
Change the backup folder location to an alternate folder or drive as applicable. Optionally, select the create a subfolder checkbox for each database. IMPORTANT: choose Set backup compression ‘Compress Backup’ to take advantage of compression. Click Next >
clip_image013
For the Define Maintenance Cleanup Task, you will select the folder that the backups are being written, file extension name, include first level folders and reduce the delete file settings to 1 week. Click Next>, click Next > again.
clip_image014
Click Finish to complete.
clip_image015
You should be rewarded with success. Time for a cold one.
After the next schedule run date/time Double check that the database backup was in fact created. And, it is always a good idea to periodically restore a backup to an alternate location as a way to test that this is a valid backup.



The article above is straight from Steve Thompson
http://stevethompsonmvp.wordpress.com/2013/06/07/sql-server-backup-recommendations-for-configuration-manager/