Question

Media Agent goes offline after present LUNs with VMFS datastores

  • 23 April 2024
  • 2 replies
  • 103 views

Badge +1

Hello,
We want to make Hardware Refresh for Media Agent.
After install new Media Agent on new server with Windows Server 2019 Standard everything goes well. In CommServe MA is ready.
After add LUNs from disk storage for bakups still everything goes well.
But after add LUNs from other disk storage with VMFS datastores, MA goes offline in CommServe with offline reason:
"The MediaAgent if offline is initialising and refreshing the device information"

And this state cannot be repaired with:
- reboot system and services
- repair software
- delete LUNs with VMFS datastores and after that all of above

Only after deleteed LUNs with VMFS datastores, full delete MA and new installation, MA gone ready.
But if we again adding LUNs with VMFS datastores, MA goes offline again. (on that step we found where MA goes offline)

Adding LUNs VMFS datastores with rules described:
https://documentation.commvault.com/v11/expert/best_practices_for_virtual_server_agent_with_vmware.html
- automount disable
- LUNs present with RO accces
- LUNs are not initialized
- LUNs are not mounted

Old MA (Windows Server 2012 R2 Standard) works fine with that LUNs.

I see many errors in the CVMA logs after presentation VMFS LUNS like:

04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 0\Logical Unit Id 0, RegQueryValueEx get Type error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 0\Logical Unit Id 0, RegQueryValueEx get DeviceName error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 0\Logical Unit Id 1, RegOpenKeyEx error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 3\Logical Unit Id 0, RegQueryValueEx get Type error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 3\Logical Unit Id 0, RegQueryValueEx get DeviceName error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 3\Logical Unit Id 1, RegQueryValueEx get Type error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 3\Logical Unit Id 1, RegQueryValueEx get DeviceName error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 4\Logical Unit Id 0, RegQueryValueEx get Type error: The system cannot find the file specified.
04/23 10:16:11 --- CVMACScsi::GetScsiDeviceInfo(): Key = HARDWARE\DEVICEMAP\Scsi\Scsi Port 2\Scsi Bus 0\Target Id 4\Logical Unit Id 0, RegQueryValueEx get DeviceName error: The system cannot find the file specified.

but it's not clear what the problem is.
Could you please suggest a direction in solving the problem?


2 replies

Userlevel 7
Badge +23

Wow. thats strange.

 

Here is a troubleshooting trick - try change the san policy to offline to prevent windows from even trying to bring the disk online (different from auto mount which tries to assign a drive letter). That might help troubleshoot if its a window or some sort of driver issue.

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/san

You could try bring each disk online one at a time and see which one causes the issue.

There is a very cool tool that we have to help show which disk relates to which datastore you might find helpful:

 

You can use the VMFSSanInfo Tool to get information about the mapping between physical disks and datastores.

Badge +1

Hello @Damian Andre 

Thank you very much for the advice, they may help find the problem, we will run some tests and I will report the results.
Thanks again.

Reply