Tuesday, 7 November 2017

INET Issue - 61:12500

Error Message
 [Critical] From: BSM@Server.com "FS_Win_V2_Set10_Full"  Time: 7/20/2014 2:26:21 AM
[61:12500]      Cannot connect to inet for getting filesystem list
            on host"Server.com".
[Major] From: BSM@Server.com "FS_Win_V2_Set10_Full"  Time: 7/20/2014 2:26:21 AM
[61:2051] All mountpoints on host "Server.com" are excluded.
Nothing will be backed up.
           
Description
The error occurs because the Client may not have DP inet service started on it.

Troubleshooting steps
a.    Try pinging the server using #ping server.com
b.    If the server reached proceed trying telnet with the port 5555
c.     If able to do telnet try to RDP the server.
After taking RDP
d.    Go to Run and type->services.msc
Check if the services named “DataprotectorInet” is running.
If it’s not running, Right click on inet serviceà start.
Once done, try triggering backup for that server.
If we couldn’t able to ping, telnet & RDP the server, check the server is up or into the network, and ensure to bring the client online.

Note: For inet error you restarting the failed job won’t work, because INET error will be updated in the log, however it will not displayed under list view, hence we should recover the backup new backups.

Device Contention - [61:2015] Timeout waiting for the devices to get free

Error Message
[Critical] From: BSM@server.com "FS_SAP_SET08_FULL"  Time: 7/20/2014 2:15:35 AM

 [61:2015] Timeout waiting for the devices to get free.
The session will terminate.
[Critical] From: BSM@Server.com "FS_SAP_SET08_FULL"  Time: 7/20/2014 2:16:12 AM
            None of the Disk Agents completed successfully. Session has failed.   
Description

When the device is busy in some other backup, we will not be able to use that for any other backups, thus the session reached timeout and the backup will fail.
Sometime the device will locked virtually, due to that backup will fail with the same error.

Troubleshooting steps
You can schedule your backups in a way that they don't have to wait for device.
Start the backup after device get free from existing backup,

If we identify the device locked virtually it can be unlocked with following command and backups to be recommenced à omnidbutil –free_locked_devs “Device_Name”

[Critical] [12:1051] Client security violation

[Critical] [12:1051] Client security violation. Access denied.
Error:

[Warning] From: BSM@cellserver1.eu.pg.com "backup_spec_01"  Time: 1/28/2014 12:30:57 PM
            Cannot get the list of filesystems on host "winclient02.na.pg.com".
            Backup of this host will be retried at end of session.

[Critical] From: INET@winclient02.na.pg.com ""  Time: 1/28/2014 12:31:08 PM
[12:1051] Client security violation. Access denied.
[Normal] From: BSM@cellserver1.eu.pgxy.com "backup_spec_01"  Time: 1/28/2014 12:31:20 PM

Solution:

> Manually, edit the hosts file located under the path:

C:\WINNT\system32\drivers\etc\                  - Windows 2003
C:\Windows\system32\drivers\etc\                 - Later versions

Hosts File would look like the below, Add an entry in the file and save it. The client hosts file should contain the cell server/media server name/IP. This would let the BSM to start/end the DAs on the client machine with ease.

127.0.0.1           localhost
#178.11.4.38     abchpdp.ap.pg.com          abchpdp
#188.10.4.43     winclient01.eu.pgxy.com      winclient01
#199.19.4.24     winclient02.na.pgxy.com      winclient02

You may have to check the below hosts file for DP

/etc/opt/omni/client/allow_hosts

HP DP - IDB Maintenance

DataProtector IDB Maintenance

Step by Step procedure for IDB Maintenance

White Font à Steps
Green Font à Commands Used
Blue Font à Command O/P

*       Check for any running sessions and abort if required

*       Ensure no backup is running and take the IDB backup using DP.

*       Disable the backup schedules (/sbin/init.d/cron stop, omnitrig -stop)

*       Shutdown the DP with following command

/opt/omni/sbin/omnisv stop

*       Check the omni service (omnisv status)

*       Close the DP GUI & abort all DBSm Sessions

*       Purge DB with below commands.

a.    omnidb -strip

b.    omnidbutil -purge_failed_copies

c.     omnidbutil -purge -filenames -force

d.    omnidbutil -purge –dcbf

*       (If the purge has not finished, but you need to run backups simply stop the purge with omnidbutil -purge_stop and use DP as normal. )

*       Check for a mount point with sufficient space. Usually /var/adm/crash

*       Create two directories MMDB and CDB in /var/adm/crash

mkdir /var/adm/crash/MMDB /var/adm/crash/CDB

*       Start the DP with following command

/opt/omni/sbin/omnisv start

*       Create a copy of the existing sessions, medias, position information etc. with the following command

/omni/db40 # /opt/omni/sbin/omnidbutil -writedb -mmdb /var/adm/crash/MMDB -cdb /var/adm/crash/CDB -no_detail

*       Once the above command is successful without any errors the output will be as below:

/omni/db40 # /opt/omni/sbin/omnidbutil -writedb -mmdb /var/adm/crash/MMDB -cdb /var/adm/crash/CDB -no_detail

10/07/05 12:44:18 Exporting libraries ...

10/07/05 12:44:18 Exporting pools ...

10/07/05 12:44:18 Exporting devices ...

10/07/05 12:44:18 Exporting cartridges ...

10/07/05 12:44:18 Exporting compounds ...

10/07/05 12:44:18 Exporting media ...

10/07/05 12:44:18 Exporting sessions ...

10/07/05 12:44:19 Exporting objects and object versions ...

10/07/05 12:44:23 Exporting positions ...

Please make a copy of following Internal Database directories and

then press ENTER to return Internal Database to normal state:

"/var/opt/omni/db40/msg"

DONE!

*       After successful completion of writedb. Move folders /var/opt/omni/db40/dcbf* folders to /var/opt/omni/db40/dcbf*.old. Note that there can be more than one folder ex. dcbf, dcbf1, dcbf2 etc.

*       Compress the content of the moved folder. This is done just to create space and these folders (dcbf*.old) will be removed later once the maintenance is successful.

*       Restart the DP services using the below commands

/opt/omni/sbin/omnisv stop

/opt/omni/sbin/omnisv start

*       Perform DB Read (Reads and writes to the database) using omnidbutil.

/omni/db40 # /opt/omni/sbin/omnidbutil -readdb -mmdb /var/adm/crash/MMDB -cdb /var/adm/crash/CDB -no_detail

*       The above command will output messages similar to below:

*       /omni/db40 # /opt/omni/sbin/omnidbutil -readdb -mmdb /var/adm/crash/MMDB -cdb /var/adm/crash/CDB -no_detail

Database import will overwrite old database. All data will be lost!

Are you sure (y/n)?y

10/07/05 12:17:53 Importing libraries ...

10/07/05 12:17:53 Importing pools ...

10/07/05 12:17:53 Importing devices ...

10/07/05 12:17:53 Importing compounds ...

10/07/05 12:17:53 Importing cartridges ...

10/07/05 12:17:53 Importing media ...

10/07/05 12:17:53 Importing sessions ...

10/07/05 12:17:53 Importing objects and object versions ...

10/07/05 12:25:27 Importing positions ...

DONE!

*       Run following command omnidbutil -fixmpos

*       Once the above command is successful. Connect to DP through GUI and check the last run sessions.

*       enable the backup schedule (/sbin/init.d/cron start, omnitrig -start)

*       If everything looks fine. You can remove the dcbf*.old directories from /var/opt/omni/db40.

*       Note that once the DB maintenance is complete. All directory/file details will be removed from the database. Hence forth need to import the medias to browse files for any restore operation.



Batch script for " IDB Maintenance & Resolving the Velocis Error " for Windows Servers…

Solution : copy the below script and paste in notepad and save it as " IDB_velosis.bat" file and just click on the file ... 



Your Velocis error and IDB maintenance will be completed in Just-a-click!



Note:- Modify the script according to where [Which Drive/Path] we installed the DataProtector 




Copy the text which in blue color 

echo # IDB Maintenance & Resolving the Velosis Error #

echo # Resolving the Velosis Error #
cd \

D:

cd Program files\omniback\bin

omnisv -status 

omnisv -stop

taskkill /IM vbda.exe /F /T
taskkill /IM bsm.exe /F /T
taskkill /IM dbsm.exe /F /T
taskkill /IM vrda.exe /F /T
taskkill /IM uma.exe /F /T
taskkill /IM crs.exe /F /T
taskkill /IM rds.exe /F /T
taskkill /IM mmd.exe /F /T

cd \

cd Program Files\OmniBack\tmp

del CRS.pid
del dbcheck.cdb
del dbcheck.mmdb
del lic.ctx
del mmd.ctx

cd \

cd Program Files\OmniBack\db40\logfiles\syslog

del *.chg
del *.chk

cd \

cd Program Files\OmniBack\db40\datafiles\catalog

rename rdm.bil rdm.bil.old
rename rdm.chi rdm.chi.old

cd \

cd Program Files\OmniBack\bin

echo # Now Bring up the databae

omnisv -start

omnidbutil -clear

omnidbutil -free_locked_devs

echo # IDB Maintanence 

omnidbutil -purge -messages 30 -force
omnidbutil -purge -sessions 30 -force
omnidbutil -purge -dcbf -force
omnidbutil -purge -filenames -force

exit

End of the script 

Try the same in Testing environment prior to Production, All the best :)

IDB on Exclusive mode

Cannot open Internal Database in exclusive mode


Problem: Cannot open Internal Database in exclusive mode
Cannot backup internal database because another database check in progress
 



Solution 1: Bring down the omni services by typing the below commands

/etc/init.d/omni stop in unix
<omni dirc >/bin> omnisv -stop
Check if there is any hung process
do " ps -ef | grep omni "
if there is any hung process kill the hung sessions

use Kill -9 <process ID >

if there is no hung session , Bring up the omni services up 

/etc/init.d/omni start
check the services are up & running or not 
if all the services are up & running 

go to /opt/omni/sbin 

omnidbutil -clear ( this command will kill the ghost sessions )
you will get the message " Done ! "

to check the IDB database check is still running or not , go to " /opt/omni/sbin "
use " omnidbcheck " command

Now you will not get the message " Database check is in Process "

Now re initiate the IDB backup .... This will run the IDB backup successfully

Solution 2: If still the issue is not resolve by solution 1

log on to the cell manager and go the below path
/var/opt/omni/tmp

you can see a file name " tmp_dbcheck.lk" , Remove that file by using the command

rm tmp_dbcheck.lk

Restart the DP Services , your issue will resolve after performing any of the solutions

[90:114] Cannot unload medium, target slot (255) appears to be occupied

[90:114] Cannot unload medium, target slot (255) appears to be occupied
[Warning] From: BMA@linuxsrv155.com "ESL01_D17"  Time: 2/9/2015 1:13:44 PM
[90:54]   /dev/nst1
 Cannot open device (Unit not ready.)

[Major] From: BMA@linuxsrv155.com "ESL01_D17"  Time: 2/9/2015 1:13:55 PM
[90:114]   By: UMA@mediasrv01.com@/dev/rchgr/autoch3
 Cannot unload medium, target slot (255) appears to be occupied

Solution:

> The above error is due to DP couldn't unload the media from where it was actually loaded to the drive during backup/restore.

> Move the tape manually from the drive to any free slot using UMA by following the steps below.

> Login to the media server from where the tape library/autoloader is connected.

 >> run devbra-dev, the output will be the drives and exchanger detected from the device manager.

 >> copy the scsi path of exchanger (here it is /dev/rchgr/autoch3)
 >> execute the below command and move the media to any empty slot.
  >uma -ioctl /dev/rchgr/autoch3
 
  /dev/rchgr/autoch3> move D17 S13

> If there are no empty slots available, eject full media to I/O slots and move the media stuck in drive to free slot.
> Then retry the backup, which should be successful.

Hope this helps!

INET Issue - 61:12500

Error Message  [Critical] From: BSM@Server.com "FS_Win_V2_Set10_Full"  Time: 7/20/2014 2:26:21 AM [61:12500]      Cannot con...