Wednesday, July 13, 2016

VM HDD Types Explained

VM Types Explained

One of the first decisions in SAN storage provisioning is making the LUN decision: determining what RAID level for the LUN based on the application I/O profile to provision a physical LUN to ESXi. This task is usually done based on prior experience with the application or some help from vendor’s best practice guide.
The next step is to choose a suitable virtual disk format for VM’s virtual disk. Here are three formats of virtual disks:


Thin: In thin provisioned disks, the size of the VMDK (at any point in time) is as much as the amount of data written out from the VM. So if you provision a 1 TB virtual drive and the VM only wrote 200GB then the size of the vmdk on disk is 200GB. The key thing to note is that the storage is zeroed on demand and data written out.


Lazy Zero Thick (aka Flat): In Flat or Lazy Zero Thick format, the VMDK is provisioned and whenever a guest issues a write it is zeroed first and then the data is written. The size of the VMDK on the datastore is same as the size of the virtual disk that was created.


Eager Zero Thick: With Eager Zero Thick, the VMDK is pre-zeroed and assigned to the guest during provisioning of the VMFS volume.

How to convert VMware virtual disks from thin to thick with the vSphere client

Have you ever provisioned a new virtual machine in vSphere, put it in production, and discovered belatedly that you mistakenly used “thin provisioned” virtual disks? This can often happen when deploying from a template which was thin provisioned since the default option is to use the same disk format as the source. Good news! It is quite easy to convert these to thick with the vSphere client and your mouse.


No command line required, as was the case with previous versions of VMware Infrastructure. The only downside is that the virtual machine must be shut down prior to inflating its disk(s).

1. Launch your vSphere client and log in to your vCenter server.

2. Select the virtual machine which has mistakenly been thin provisioned.

3. Select the option to “Shut Down Guest” under Commands. This is a necessary step. If your virtual machine is in production, you will have to schedule some downtime.

4. Right-click the virtual machine and select the Snapshot menu. If you see the option to “Revert to snapshot”, it means that you have at least one snapshot of this virtual machine. I highly recommend that you remove all snapshots by opening Snapshot Manager and selecting Delete All. Please keep in mind that this has its own implications so please understand them before continuing.

4. Look at the Datastore list on the right to see what Datastores your virtual machine is using. Note the free space listed – you must have enough free space to allow the disks to expand to their “provisioned” size or you will cause yourself quite a headache!

5. Now right-click the Datastore and select “Browse Datastore…”

6. Select the folder for your virtual machine on the left, and the contents will show on the right.

7. Look for the file(s) ending in the “.vmdk” extension. These will be labeled “Virtual Disk” under the “Type” header. Note the “Provisioned Size” header and make sure that you have enough free space in this datastore to support your virtual disk(s) growing to consume this space.

8. Finally, to inflate your virtual machine’s disk you simply right-click the .vmdk and select “Inflate”. Depending on the size of the disk and your underlying storage architecture, this may take quite some time.

9. If the virtual machine has more than one virtual disk that needs to be inflated simply repeat step 8.

10. When complete, the inflated virtual disk will be “eager zeroed thick”, which is the highest performing type of virtual disk in vSphere land.

Tuesday, July 05, 2016

Windows Server 2012 Windows Update hangs at every step

Resolution 1.
Try this at an elevated command-prompt:

netsh winhttp import proxy source=ie

Everything should now work and be nice and fast, as expected.

----------------------------------------------------
Resolution 2.

Open a Command Prompt. Click Start > Run and type “cmd” then hit “OK”
Type “net stop wuauserv”. This shuts down the windows update service so you can delete the files.
Still on the Command Prompt, type “cd /d %windir%”
Type “rd /s SoftwareDistribution”
Type “net start wuauserv” to restart the service then check for updates as normal


-----------------------------------------------------

Resolution3.
Disable your Antivirus security software / Firewall
To do this, right click on your antivirus program in taskbar
Click on Disable product protection or a similar looking button
Disabling non-Microsoft services temporarily

Press Windows Logo key + R to open run
Type msconfig
Go to the services tab
Click on Hide all Microsoft Services

Saturday, July 02, 2016

How To Block Google Chrome Using Group Policy

We can either use a new Group Policy Object or edit excising one.

In this case I’ll edit existing one, to start open the GPO -> User Configuration -> Windows Settings -> Security Settings -> Right Click on software Restriction Policy and Select Create new Software Restriction Policy.

Once created, Right Click on Additional Rules -> New Path Rule

Create  rules for each of the lines below.

chromesetup.exe

chrome.exe

gears-chrome-opt.msi

C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Program Files\Google\Chrome\Application

C:\Program Files (x86)\Google\Chrome\Application

When the user will try to use chrome they will get the message of Blocked.

Friday, July 01, 2016

How to Disable the “Firefox has blocked content that isn’t secure” Message

I do a lot of work with Firefox, as its developer tools outshine all the other browsers, hands down.  But recently I’ve been getting a lot of sites appearing without CSS.  As it turns out, there’s actually “mixed content” on the page, and the default security setting is to block that content.  Normally I agree with security settings in general, but I know what I’m doing, and this is just a massive annoyance.  There are ways around this though.

1) You can add the toggle mixed content add-on from here https://addons.mozilla.org/en-us/firefox/addon/toggle-mixed-active-content/

2) However, my preferred method is to disable the feature in the browser by doing the following.

Enter about:config into the Firefox address bar (confirm the info message in case it shows up) & search for the preference named security.mixed_content.block_active_content. Double-click it and change its value to false.

After this, you’ll be browsing without that annoying security blockage, and everything will feel back to normal.

Exchange 2013 brings a new admin UI, big architecture changes, and a better Webmail experience, among other updates

As an Exchange Administrator, I'm always excited by changes in Microsoft Exchange's architecture and capabilities. And there are plenty of changes in the forthcoming Exchange 2013 you may have missed, given all the attention on Windows 8, Office 2013, and Windows Server 2012. Power of PowerShell IFW Deep Dive promo The essential guide to PowerShell for Windows, Windows Server, and Exchange Make the most of Microsoft’s command line by mastering the nuances of the PowerShell language Read Now Here is what Exchange admins can expect from Exchange 2013, based on its preview version: [ Get the details on what's new in Windows Server 2012. | Stay abreast of key Microsoft technologies in our Technology: Microsoft newsletter. ] Exchange Administration Center: The EAC brings to mind the quote, "You're riding it, dude!" Yes, I cannot help but think of the line from "Finding Nemo" whenever I think of the new admin console for Exchange. But seriously, the GUI-based EMC (Exchange Management Console) and the Web-based ECP (Exchange Control Panel) are being replaced by a single Web-based UI that is, frankly, my least favorite of all the new Exchange 2013 features. I don't like Web-based consoles for administration; they always feel clunky and unfriendly. Plus, it has that Metro look, which leaves me cold. We'll see if I can get used to it. Exchange architecture revisions: Exchange 2007 and 2010 are broken into five server roles, mainly to address performance issues like CPU performance, which would suffer if Exchange were running as one monolothic application. But Microsoft has made progress on the performance side, so Exchange 2013 has just two roles: Client Access server role and Mailbox server role. The Mailbox server role includes all the typical server components (including unified messaging), and the Client Access server role handles all the authentication, redirection, and proxy services. You can deploy Exchange 2013 with an Exchange 2010 Edge Transport server role but a 2013 Edge role is planned post-RTM. A new managed store: The store service has been completely rewritten in managed code (C#). Although this change bodes well in terms of higher availability and resiliency, it doesn't mean the ESE (Extensible Storage Engine) database engine has been replaced with SQL, as many admins would like. Exchange 2013 continues to use ESE as the database engine. But now each database runs in its own dedicated worker process, so a hung process in one database will not cause problems in other databases. Fast Search (an add-on to SharePoint 2010) is also integrated into the managed store for improved search and indexing. Modern public folders: Rather than just getting rid of public folders (something promised for future releases), Microsoft has embraced them once again. They are no longer managed through the separate Public Folder Management Console; instead, they are managed via the EAC. That makes them public folder mailboxes, which means they use regular mailbox databases. In turn, this means they can be made part of a database availability group for disaster recovery. Lots o' PowerShell cmdlets: Although 13 cmdlets have been removed (many having to do with the old public folder management), Exchange 2013 brims with 187 new PowerShell cmdlets. That may not be the final tally when the final version ships next year, but it shows that command-line management tools are still growing. I wasn't kidding years back when I told everyone to learn PowerShell. It's not going away.



Exchange Administration Center: The EAC brings to mind the quote, "You're riding it, dude!" Yes, I cannot help but think of the line from "Finding Nemo" whenever I think of the new admin console for Exchange. But seriously, the GUI-based EMC (Exchange Management Console) and the Web-based ECP (Exchange Control Panel) are being replaced by a single Web-based UI that is, frankly, my least favorite of all the new Exchange 2013 features. I don't like Web-based consoles for administration; they always feel clunky and unfriendly. Plus, it has that Metro look, which leaves me cold. We'll see if I can get used to it.

Exchange architecture revisions: Exchange 2007 and 2010 are broken into five server roles, mainly to address performance issues like CPU performance, which would suffer if Exchange were running as one monolothic application. But Microsoft has made progress on the performance side, so Exchange 2013 has just two roles: Client Access server role and Mailbox server role. The Mailbox server role includes all the typical server components (including unified messaging), and the Client Access server role handles all the authentication, redirection, and proxy services. You can deploy Exchange 2013 with an Exchange 2010 Edge Transport server role but a 2013 Edge role is planned post-RTM.A new managed store: The store service has been completely rewritten in managed code (C#). Although this change bodes well in terms of higher availability and resiliency, it doesn't mean the ESE (Extensible Storage Engine) database engine has been replaced with SQL, as many admins would like. Exchange 2013 continues to use ESE as the database engine. But now each database runs in its own dedicated worker process, so a hung process in one database will not cause problems in other databases. Fast Search (an add-on to SharePoint 2010) is also integrated into the managed store for improved search and indexing.
Modern public folders: Rather than just getting rid of public folders (something promised for future releases), Microsoft has embraced them once again. They are no longer managed through the separate Public Folder Management Console; instead, they are managed via the EAC. That makes them public folder mailboxes, which means they use regular mailbox databases. In turn, this means they can be made part of a database availability group for disaster recovery.
Lots o' PowerShell cmdlets: Although 13 cmdlets have been removed (many having to do with the old public folder management), Exchange 2013 brims with 187 new PowerShell cmdlets. That may not be the final tally when the final version ships next year, but it shows that command-line management tools are still growing. I wasn't kidding years back when I told everyone to learn PowerShell. It's not going away. 

DLP (data loss prevention): DLP is new in Exchange 2013's transport rules, but it's also a continuation of Mail Tips in that it warns users when they may be violating policies meant to prevent disclosure of sensitive data. Such disclosures are usually inadvertent, so the use of DLP-fired reminders lets users be aware when they are putting something like a credit card number or Social Security number in an email. The built-in DLP policies are based on regulatory standards like PCI.
Outlook Web App enhancements: The whole of OWA is redesigned -- yay! One awesome feature is support for offline access, which lets users write messages in their browser when offline, then have the messages delivered when they connect to the Internet. OWA supports this feature in Microsoft's Internet Explorer 10, Apple's Safari 5, and Google's Chrome 16 (or later), all of which support the HTML5 local data storage feature. There's also a new set of UI layouts that users can choose from for desktop, tablet, and smartphone use -- a smart approach.
Built-in antimalware: Exchange has had antispam capabilities for quite some time; as of Exchange 2007 you could even choose whether to turn on antispam in the Edge role or in the Hub Transport role. Exchange 2013 extends antispam to a broader set of antimalware capabilities, such as to block phishing attempts.
In addition to these highly visible changes, Exchange 2013 will also show improvements in high availability and site resilience with DAG, as well as in its unified messaging capabilities, but no large overhauls are expected in those areas.
For Exchange admins who work with the GUI management console daily, the biggest challenge will be the new Web-based UI. But whatever your feelings are about Web-based consoles, I believe you'll like the overall changes in Exchange 2013, especially with enhanced integration with SharePoint and Lync 2013.

Exchange 2013 brings a new admin UI, big architecture changes, and a better Webmail experience, among other updates

As an Exchange Administrator, I'm always excited by changes in Microsoft Exchange's architecture and capabilities. And there are plenty of changes in the forthcoming Exchange 2013 you may have missed, given all the attention on Windows 8, Office 2013, and Windows Server 2012. Power of PowerShell IFW Deep Dive promo The essential guide to PowerShell for Windows, Windows Server, and Exchange Make the most of Microsoft’s command line by mastering the nuances of the PowerShell language Read Now Here is what Exchange admins can expect from Exchange 2013, based on its preview version: [ Get the details on what's new in Windows Server 2012. | Stay abreast of key Microsoft technologies in our Technology: Microsoft newsletter. ] Exchange Administration Center: The EAC brings to mind the quote, "You're riding it, dude!" Yes, I cannot help but think of the line from "Finding Nemo" whenever I think of the new admin console for Exchange. But seriously, the GUI-based EMC (Exchange Management Console) and the Web-based ECP (Exchange Control Panel) are being replaced by a single Web-based UI that is, frankly, my least favorite of all the new Exchange 2013 features. I don't like Web-based consoles for administration; they always feel clunky and unfriendly. Plus, it has that Metro look, which leaves me cold. We'll see if I can get used to it. Exchange architecture revisions: Exchange 2007 and 2010 are broken into five server roles, mainly to address performance issues like CPU performance, which would suffer if Exchange were running as one monolothic application. But Microsoft has made progress on the performance side, so Exchange 2013 has just two roles: Client Access server role and Mailbox server role. The Mailbox server role includes all the typical server components (including unified messaging), and the Client Access server role handles all the authentication, redirection, and proxy services. You can deploy Exchange 2013 with an Exchange 2010 Edge Transport server role but a 2013 Edge role is planned post-RTM. A new managed store: The store service has been completely rewritten in managed code (C#). Although this change bodes well in terms of higher availability and resiliency, it doesn't mean the ESE (Extensible Storage Engine) database engine has been replaced with SQL, as many admins would like. Exchange 2013 continues to use ESE as the database engine. But now each database runs in its own dedicated worker process, so a hung process in one database will not cause problems in other databases. Fast Search (an add-on to SharePoint 2010) is also integrated into the managed store for improved search and indexing. Modern public folders: Rather than just getting rid of public folders (something promised for future releases), Microsoft has embraced them once again. They are no longer managed through the separate Public Folder Management Console; instead, they are managed via the EAC. That makes them public folder mailboxes, which means they use regular mailbox databases. In turn, this means they can be made part of a database availability group for disaster recovery. Lots o' PowerShell cmdlets: Although 13 cmdlets have been removed (many having to do with the old public folder management), Exchange 2013 brims with 187 new PowerShell cmdlets. That may not be the final tally when the final version ships next year, but it shows that command-line management tools are still growing. I wasn't kidding years back when I told everyone to learn PowerShell. It's not going away.



Exchange Administration Center: The EAC brings to mind the quote, "You're riding it, dude!" Yes, I cannot help but think of the line from "Finding Nemo" whenever I think of the new admin console for Exchange. But seriously, the GUI-based EMC (Exchange Management Console) and the Web-based ECP (Exchange Control Panel) are being replaced by a single Web-based UI that is, frankly, my least favorite of all the new Exchange 2013 features. I don't like Web-based consoles for administration; they always feel clunky and unfriendly. Plus, it has that Metro look, which leaves me cold. We'll see if I can get used to it.

Exchange architecture revisions: Exchange 2007 and 2010 are broken into five server roles, mainly to address performance issues like CPU performance, which would suffer if Exchange were running as one monolothic application. But Microsoft has made progress on the performance side, so Exchange 2013 has just two roles: Client Access server role and Mailbox server role. The Mailbox server role includes all the typical server components (including unified messaging), and the Client Access server role handles all the authentication, redirection, and proxy services. You can deploy Exchange 2013 with an Exchange 2010 Edge Transport server role but a 2013 Edge role is planned post-RTM.A new managed store: The store service has been completely rewritten in managed code (C#). Although this change bodes well in terms of higher availability and resiliency, it doesn't mean the ESE (Extensible Storage Engine) database engine has been replaced with SQL, as many admins would like. Exchange 2013 continues to use ESE as the database engine. But now each database runs in its own dedicated worker process, so a hung process in one database will not cause problems in other databases. Fast Search (an add-on to SharePoint 2010) is also integrated into the managed store for improved search and indexing.
Modern public folders: Rather than just getting rid of public folders (something promised for future releases), Microsoft has embraced them once again. They are no longer managed through the separate Public Folder Management Console; instead, they are managed via the EAC. That makes them public folder mailboxes, which means they use regular mailbox databases. In turn, this means they can be made part of a database availability group for disaster recovery.
Lots o' PowerShell cmdlets: Although 13 cmdlets have been removed (many having to do with the old public folder management), Exchange 2013 brims with 187 new PowerShell cmdlets. That may not be the final tally when the final version ships next year, but it shows that command-line management tools are still growing. I wasn't kidding years back when I told everyone to learn PowerShell. It's not going away. 

DLP (data loss prevention): DLP is new in Exchange 2013's transport rules, but it's also a continuation of Mail Tips in that it warns users when they may be violating policies meant to prevent disclosure of sensitive data. Such disclosures are usually inadvertent, so the use of DLP-fired reminders lets users be aware when they are putting something like a credit card number or Social Security number in an email. The built-in DLP policies are based on regulatory standards like PCI.
Outlook Web App enhancements: The whole of OWA is redesigned -- yay! One awesome feature is support for offline access, which lets users write messages in their browser when offline, then have the messages delivered when they connect to the Internet. OWA supports this feature in Microsoft's Internet Explorer 10, Apple's Safari 5, and Google's Chrome 16 (or later), all of which support the HTML5 local data storage feature. There's also a new set of UI layouts that users can choose from for desktop, tablet, and smartphone use -- a smart approach.
Built-in antimalware: Exchange has had antispam capabilities for quite some time; as of Exchange 2007 you could even choose whether to turn on antispam in the Edge role or in the Hub Transport role. Exchange 2013 extends antispam to a broader set of antimalware capabilities, such as to block phishing attempts.
In addition to these highly visible changes, Exchange 2013 will also show improvements in high availability and site resilience with DAG, as well as in its unified messaging capabilities, but no large overhauls are expected in those areas.
For Exchange admins who work with the GUI management console daily, the biggest challenge will be the new Web-based UI. But whatever your feelings are about Web-based consoles, I believe you'll like the overall changes in Exchange 2013, especially with enhanced integration with SharePoint and Lync 2013.

Explaining DNS Concepts - DNS Servers-DNS Queries-DNS Records

3 types of DNS queries— recursive, iterative, and non-recursive 3 types of DNS servers— DNS Resolver, DNS Root Server and Authoritative Name...