Monday, April 25, 2016

Veeam Backup and Replication Error: Failed to open VDDK Error Message


PROBLEM:

   Certain VMs are unable to being backed up due to error message Error: Failed to open VDDK disk datstore_name_VM_Name.vmdk] ( is read-only mode - [true] ) Failed to open virtual disk disk datstore_name_VM_Name.vmdk (flags: 4) Logon attempt with parameters [VC/ESX: [vcenter_server];Port: 443;Login: [account_name];VMX Spec: [moref=vm-56235];Snapshot mor: [snapshot-68079];Transports: [nbd];Read Only: [true]] failed because of the following errors: Failed to open disk for read. Failed to upload disk.

CAUSE:

This issue is related to connection between Backup Proxy and ESXi Host via Management Agent.

RESOLUTION:

Identify the VMs being affected, then see if they are all belong to the same host, then proceed to the following steps:

1. Log in to SSH or Local console as root on the host in question.

2. Run these commands:

     /etc/init.d/hostd restart
    /etc/init.d/vpxa restart

3. Run this command to verify if hostd is running:

    /etc/init.d/hostd status

4. If the ESXi Host is manage by a vCenter Server, run the following command to verify if the vpxa  is running:

    /etc/init.d/vpxa status

5. Re-Try the Backup Job.

    If the problem persist, ensure that the account you are using to run the job have full access to download files on the datastore by login in to vCenter with those credentials, then proceed to explorer the content on the datastore were the VMs affected resides, then open the VM folder and identify the file on the message. Try to download the file in question, if it fail with Access Denied or not have permissions, then the issue is related to permissions therefore, provide Administrator Role to the account on vCenter. Also, make sure you are using the right Transport Mode for your proxy or proxies, please refer to the Veeam Backup & Replication Documentation for more information pertaining Proxies and Transport Mode.


Hope this helps!



Update Manager 5.5 Stop working after Windows Server Updates

   
        A few weeks ago, I update my vCenter Server with the latest update from Microsoft. After installing the update and rebooted the server, update manager stopped working. I tried numerous things from reconnecting again the Server with the Database, rebooting the server and manually attempting to start the services but nothing seems to work.

        Well it is time to do some hardcore troubleshooting on this issue. First, I went to the event viewer under SYSTEM and nothing lead me to a particular error only an event id indicating that the service timeout after 1000 milliseconds. Then, I proceed to go on the vum-server-log4cpp.log and I found the following entry:

Failed to parse C:/Program Files (x86)/VMware/Infrastructure/Update Manager/jetty-vum-ssl.xml. Error: not well-formed (invalid token)

   Now we are making some progress, after I some research, I found an VMware KB indicating that the root cause was related to a file named jetty-vum-ssl.xml  got corrupted here is the Link for the KB Article https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2069750

So the two options you may have are:

1. Restore the File from a backup from a good state.
2. Uninstall and Re- Install Update Manager.

I recommend second option since the Restoring the file most of the time don't work. Re-Installing Update Manager it is fairly simple and quite fast. Hope this helps!

Wednesday, November 18, 2015

NFS Volume Max Out Error Message in vSphere 5.5

A few days ago, I tried mounting a NFS volume I created to my ESXi hosts and I get the following annoying error message:

Failed to mount to server xxx.xxx.xxxx.xxx mount point /mnt/nfs-share/subdir/subdir. NFS has reached the maximum number of supported volumes.

Gosh it is annoying! So I decide to share the solution on this quick post here. It is very simple and undisruptive ( no reboot to any of the ESXi host require) That is alwas good right?

From the vSphere Client:

  1. Select the ESXi host you want to mount the NFS volume
  2. Under the Configuration Tab, select Software Advanced Settings
  3. Select NFS, look for NFS.MaxVolumes You will notice the default value is 8
  1. Change the value to a number between the Min and Max Range, I normally select the Max
                 5. Click OK and that's it no reboot require or anything. Repeat all this steps to the rest of your hosts.

If you are a vSphere Web Client admin, here are the step I followed:

  1. Go to Host and Cluster
  2. Select the host I need to mount the NFS volume
  3. Under Manage Tab, Settings, Select Advanced System Settings
  1. Search for the NFS.MaxVolumes on the Filter field at the top right hand side or just simple scroll down until you find it
  1. Click on the Edit Pencil at the left hand side
  1. Enter the Value require, I personally enter the Max allowed:

  1. Click OK and you are done.

Sunday, November 15, 2015

NetApp SnapMirror Between 8.2 and 8.3 Gotcha!

Last week I attempt to create a snapmirror job between two NetApp running on different version and it was quite challenge to setup I decide to share them with everyone since they are quite difficult to troubleshoot them. Here are the two gotcha that you have to be aware and how to tackle them.


1. Unable to use GUI System Manager: The only way you are able to fully manage the Snapmirror will be via the CLI. The only action you will be to manage from the GUI are update, quiescence and abort, that's about it. The advantage, it get you more time on the CLI if you are like me that love the System Manager alot!

2. Language issue: Another gotcha I encounter was different language between SVMs. 8.3 does use different programing language than 8.2 which every volume will be set with the programming language set at the SVM level. So in order to make this work, I change the SVM programming language on my 8.3 to match the 8.2 SVM. So have you can do that? Here are the commands:

First, needs to show the vserver or vservers language:
GEEK::> vserver show -fields language
vserver  language
-------- --------
GEEKCIFS C
GEEKDR   en_US
GEEKESX  en_US
GEEKHyperV
         en_US
GEEKNAS  en_US
GEEKSAN  en
GEEKDemo  en_US
blatz    C
peacemaker
         C
9 entries were displayed.

You can see in the above example, some of them are C and some en_US.  

To modify the destination vserver language, use the following command:  

vserver modify -vserver <vservername> -language C

Note: You can’t change the language of an already created volume, so you’ll likely have to recreate the destination volume once you’ve changed the language (the volume inherits the SVM language).

I always recommend to run snapmirror on same ONTAP version for numerous reason such support, data consistency, performance and many other reason so try alway to keep your NetApp Enviroment up to date as much as possible. Hope this gotchas helps.

Monday, June 22, 2015

HTTP Status 404 - /triton/pages/eipProductContainer.jsf on Triton Websense Security Appliance Portal



After Rebooting a Websense Triton Web Security Appliance, I was unable to access the web portal due to the following error:

HTTP Status 404 - /triton/pages/eipProductContainer.jsf

Very frustrating specially when your IT VP needs to get a site blocked right away! So after many trial and error, I found this great respond from the Websense Forum with someone else having the exact issue, here is the link:  http://community.websense.com/forums/t/32246.aspx 

I put together the steps I followed to get the portal back online:

 1. Stop TRITON Web Security Stop TRITON Unified Security Center Stop TRITON Web Server Stop TRITON Settings    Database

2. Start TRITON Settings Database Start TRITON Web Server Start TRITON Unified Security Center Start TRITON       Web Security Wait for the services to fully start.

3
. You should now be able to connect to TRITON.


NOTE: Please, start and stop each service in the same sequence mention on each steps.


 After I followed this steps, I was able to access the web portal no issues. If none of this steps resolved the issue, I suggest to visit the link I posted for other steps to follow since this steps once again, were able to resolved my current issue.

Thursday, June 18, 2015

How to Modify the Management Port IP Address on a NetApp FAS 8020

 I few weeks ago NetApp Support contact us asking if were having issues with the Auto Support on both of our DR controllers. First they ask us to create a connector on our Exchange with the Node Management IP Addresses with Anonymous Authentication, even to verify that the ports on the switch were the e0M ports were plug in are on the same VLAN as the IP Addresses.

 After doing some research around both controllers, the e0M ports have the wrong IP Addresses, how that I find that our, I ran the following command from the CLI network interface show -curr-port e0M
which display the E0M ports configuration with the IP Addresses of the Management Logical Interface:

GEEK-CLUST::> network interface show -curr-port e0M
            Logical    Status     Network            Current       Current Is
Server      Interface  Admin/Oper Address/Mask       Node          Port    Home
----------- ---------- ---------- ------------------ ------------- ------- ----
GEEK-NODE1
                 
mgmt1      up/up      192.168.164.58/24    GEEK-NODE1   e0M    true
GEEK-NODE2
mgmt1      up/up      192.168.164.59/24    GEEK-NODE2   e0M    true

2 entries were displayed.


So how we can Re-IP those Management Logical Interface? Here are the Steps:

1. SSH to the Cluster's CLI by using the Cluster's Management IP Address.

2. Once on the CLI, we need to set the Advance Options by typing set advance

Note: a warning alert will come up as shown below:

 These advanced commands are potentially dangerous; use them only when directed to do so by
         NetApp personnel.
Do you want to continue? {y|n}:


If you don't feel comfortable, please type n otherwise type y and hit enter.

3. Once the Advance Options are set, we can now proceed to change the Management Logical Interface IP Address by typing the following command:

network interface modify -vserver <node_name> -lif mgmt1 -home-node <node_name> -home-port e0M -address <ip_address> -netmask <netmask>

4. Now re run the network interface show -curr-port e0M to verify the IP Address has changed.

Once I did the changes, Auto Support start working no problem. So next time you are breaking your head on why no Auto Support can be send, verify the Management Logical Interface as well the e0M port are configure properly with the correct IP Address as well connected on the back of the controllers.

Warning: You can also use this same commands to configure any other Interface as well however, this post was only intended to the Management e0M port.

Tuesday, May 26, 2015

How to clear the Email Cache in Outlook 2010 & 2013


Details:
E-mail Address Auto-Complete Outlook 2010 & Outlook 2013 have a feature called "Email Address Auto Complete". This feature allows you to type an email address into the "TO:", "CC:", or "BCC" fields. Outlook will display a list of corresponding e-mail addresses from the auto-complete cache. For example, e-mail addresses that you have already used.
Solution:
To Clear the E-Mail Cache:

Solution 1:   Manually Delete    (For ALL Versions of Outlook)
1. Open Outlook.
2. Type the e-mail address you wish to clear from the cache.
3. Press the Down-Arrow button (on the keyboard) to select the e-mail address.
4. Press the Delete button (on the keyboard).
5. That e-mail entry is now removed from the Outlook Auto-complete cache.
Solution 2:  Empty Auto-Complete List Button    (ONLY for Outlook Versions 2010 & 2013)
1. Open Outlook.
2. Click File Options.
3. Click on the Mail tab on the right.
4. Scroll down to Send messages and click the Empty Auto-Complete List button.