How to update HBA BIOS Firmware and Driver (Qlogic)?

To obtain and install the new HBA BIOS Firmware and Driver , follow these steps:
1. Obtain the new BIOS. Locate the iSCSI BIOS on the QLogic Web site (support.qlogic.com) and click Download.
2. The File Download dialog box displays. Click Save. Specify a temporary location on the hard disk and download the file.
3. In the temporary directory, locate the BIOS file. Double-click the file to extract it to a specified directory.
4. Perform the following steps to update the BIOS:
5. In the SANsurfer iSCSI HBA Manager main window HBA tree, select the HBA port. Click on “Utilities” and then on “Update Flash”.
6. This will then ask for the “*.bin” file. Locate the file and click open. This is done.
7. Similarly, to update the HBA driver files, please click on “Update Driver”. Locate *.zip/*.inf/*.exe file and click open.
8. You will now required to reboot the server to view the new BIOS version.

How to find free desk space of the volume mounted on any existing drive?

I was quite confused on finding the free disk space for a volume that was mounted on the D Drive. It was not possible for me view the size in GUI. However, I was able to find the free disk space using the command “FSUTIL”.

For example:
C:\>fsutil volume diskfree c:
Total # of free bytes : 22047387648
Total # of bytes : 34365186048
Total # of avail free bytes : 22047387648

Similarly we can use the same command to find the free disk space on the volume that is already mounted.

C:\>fsutil volume disk free c:\windows\Backup

Its simple and easy. This will help you when you get automated tickets for the low disk space.

How to Resolve the “NTLDR is Missing” Error on Windows?

If the NTLDR becomes damaged, you may get an error message informing you that “NTLDR is missing” when you start your computer.

Here are some steps you can take to fix the problem:

1. Insert the Windows installation CD into the CD-ROM drive and restart.
2. When prompted “Press any key to boot from CD…”. Press a key.
3. On setup menu Press the “R” key to repair Windows.
4. When prompted, selecte your Windows installation. In most cases this is “1″. Press enter.
5. Enter the administrator password. If you don’t have a password set, just press enter.
6. Type the following commands, pressing enter after each line.

(*Replace “e:\” with the letter of your CD-ROM drive.)
copy e:\i386\ntldr c:\
copy e:\i386\ntdetect.com c:\
fixboot
fixmbr
bootcfg /rebuild

7. It will process the rebuilding of the boot file.

Most of the prompts should be self explanatory, but here are a few tips:
* The first prompt should ask you to confirm the operating system that was automatically detected. Make sure the detected OS is the operating system you have installed and then type “y” and press enter.
* You will also be prompted for a “load identifier”. This is the user friendly name that is displayed when selecting advanced startup options. You can type anything you want here, but it is best to type the full name of the operating system.

8. Eject the CD from your computer. Type “exit” and press enter.
9. Your computer will restart, and this time it should load without displaying an error.

Change Network Card MAC Address in Windows

Steps to change the MAC address in Windows operating system.

1. Open the Network Connection using the command “ncpa.cpl” from RUN prompt.
2. Right-click on the NIC you want to change the MAC address and select properties.
3. Under “General” tab, click on the “Configure” button
4. Click on “Advanced” tab
5. Under “Property section”, you should see an item called “Network Address” or “Locally Administered Address”, click on it.
6. On the right side, under “Value”, type in the New MAC address without “-“.
7. Go to command prompt and type in “net config rdr” to verify the changes.
8. Reboot your system to succesfully complete the task.

How to find the exact device available in the unknown device category in device manager?

We are bit confused on some occasions when we are unable to confirm whats the device shown in unknown device category in the Device Manager. Once we are sure we can then download the drive to fix the issue. But finding the exact device is quite guessing.

Now, It’s quite easy to find the exact device available in the unknown category in Device Manager.

1. Choose the device in unknown category and click on properties and then choose details.
2. Here you will find the Vendor ID and the device id.
3. Note the Vendor ID and Device ID and fill it in the website “pcidatabase.com”
4. Here it is now you can view the exact device name and the manufacturer.

Then you can download the respective device driver and fix the issue.

How to check the node names available in Veritas Cluster Services?

We can view the available node names on the Veritas Cluster Service in the command prompt of an server by excecuting the command “hasys -state

This will list the node names as shown below

#System Attribute Value
Node1 SysState Running
Node2 SysState Running

Sometimes you may get an error message stating the server is in stale_admin_wait state please use “hasys -force”.

STALE_ADMIN_WAIT states the the system has a stale configuration and there is no other node in a state of RUNNING to retrieve a configuration. Possible reasons include:

1. The High Availability Daemon (HAD) service has been stopped on all nodes without closing the configuration (i.e. using hastop -all -force).
2. All cluster nodes have been rebooted at the same time.
3. An invalid configuration file is present on all nodes.

If the administrator is confident that a valid configuration exists on a particular node, that node can be “forced” to read its own configuration file. It is recommended that the existing configurations on all nodes be backed up by using the hagetcf -conf command. Once a backup exists, execute the following command:

hasys -force node_name