Link to home
Create AccountLog in
Avatar of wnc123
wnc123

asked on

ANS1030E The operating system refused a TSM request for memory allocation when running a scheduled backup from TSM baclient

I keep getting the below error when running a scheduled backup in TSM Baclient.

Server:  Windows 2003 standard SP2
Client:  IBM Tivoli Storage Manager V6.1.02
Hardware:  Xeon 3.2GHz 3.4 GB of Ram

Error:  
10/05/2009 06:04:59 ANS1030E The operating system refused a TSM request for memory allocation.
10/05/2009 06:04:59 ANS1030E The operating system refused a TSM request for memory allocation.
10/05/2009 06:05:30 ANS1512E Scheduled event 'WCVMVC' failed.  Return code = 12.
10/06/2009 06:08:46 ANS5250E An unexpected error was encountered.
   TSM function name : vssInitBackupSpec
   TSM function      : open of audit file 'C:\adsm.sys\vss_staging\WCVMVC\TSMSERVER.WACKERDOM.WACKER.NET\20091006060843\SystemState_Audit.txt' returned invalid file handle
   TSM return code   : 102
   TSM file          : vssback.cpp (1092)
10/06/2009 06:08:46 ANS1030E The operating system refused a TSM request for memory allocation.
10/06/2009 06:08:46 ANS1030E The operating system refused a TSM request for memory allocation.
10/06/2009 06:08:46 ANS1512E Scheduled event 'WCVMVC' failed.  Return code = 12.
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Hi,
seems that you're hitting the 2GB usermode memory limit of Windows 2003.
You will need to modify the boot.ini by adding the switches /3G and maybe /PAE
Look here - http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
Alternatively you can try MEMORYEFFICIENTBACKUP YES in dsm.opt
This will save memory, but will slow down the backup process as well.
wmp
Avatar of wnc123
wnc123

ASKER

wmp,

Thanks for the response.  I added /3G and put MEMORYEFFICIENTBACKUP YES in dsm.opt and reran the scheduled job after rebooting and the same error.  Error below.  Any other thoughts?

10/06/2009 11:09:36 ANS5250E An unexpected error was encountered.
   TSM function name : vssInitBackupSpec
   TSM function      : open of audit file 'C:\adsm.sys\vss_staging\WCVMVC\TSMSERVER.WACKERDOM.WACKER.NET\20091006110932\SystemState_Audit.txt' returned invalid file handle
   TSM return code   : 102
   TSM file          : vssback.cpp (1092)
10/06/2009 11:09:36 ANS1030E The operating system refused a TSM request for memory allocation.
10/06/2009 11:09:36 ANS1030E The operating system refused a TSM request for memory allocation.
10/06/2009 11:09:36 ANS1512E Scheduled event 'WCVMVC' failed.  Return code = 12.
Just to make the picture complete - how big is the audit file whose open failed (the one mentioned in the message)?

Besides that I'm still researching ...
... and one more thing - as a possible workaround you could try to disable the SYSTEMSTATE backup in dsm.opt, to get at least your userdata backup working.

Do this by commenting out the stanza DOMAIN "SYSTEMSTATE" there (put an asterisk * in column 1).




Avatar of wnc123

ASKER

I will try this and report back tomorrow.  Thanks for the assistance.

Tom
Avatar of wnc123

ASKER

I have done this with same result.  dsm.opt below.


PASSWORDACCESS      GENERATE
dirmc       WACKER_NT_DSK_MGMT
MEMORYEFFICIENTBACKUP YES
*DOMAIN      SYSTEMSERVICES
*DOMAIN      SYSTEMSTATE
DOMAIN      ALL-LOCAL
TCPSERVERADDRESS      tsmserver.wackerdom.wacker.net

QUERYSCHEDPERIOD      1
SCHEDMODE      POLLING

EXCLUDE.BACKUP "*:\microsoft uam volume\...\*"
EXCLUDE.BACKUP "*:\microsoft uam volume\...\*.*"
EXCLUDE.BACKUP "*:\...\EA DATA. SF"
EXCLUDE.BACKUP "*:\IBMBIO.COM"
EXCLUDE.BACKUP "*:\IBMDOS.COM"
EXCLUDE.BACKUP "*:\IO.SYS"
EXCLUDE.BACKUP "*:\...\system32\config\...\*"
EXCLUDE.BACKUP "*:\...\system32\Perflib*.dat"
EXCLUDE.BACKUP "*:\...\system32\dhcp\...\*"
INCLUDE.BACKUP "*:\...\system32\dhcp\backup\...\*"
EXCLUDE.BACKUP "*:\...\system32\dns\...\*"
INCLUDE.BACKUP "*:\...\system32\dns\backup\...\*"
EXCLUDE.ARCHIVE "*:\microsoft uam volume\...\*"
EXCLUDE.ARCHIVE "*:\microsoft uam volume\...\*.*"
EXCLUDE.ARCHIVE "*:\...\EA DATA. SF"
EXCLUDE.ARCHIVE "*:\IBMBIO.COM"
EXCLUDE.ARCHIVE "*:\IBMDOS.COM"
EXCLUDE.ARCHIVE "*:\IO.SYS"
EXCLUDE.ARCHIVE "*:\...\system32\config\...\*"
EXCLUDE.ARCHIVE "*:\...\system32\Perflib*.dat"
EXCLUDE.ARCHIVE "*:\...\system32\dhcp\...\*"
INCLUDE.ARCHIVE "*:\...\system32\dhcp\backup\...\*"
EXCLUDE.ARCHIVE "*:\...\system32\dns\...\*"
INCLUDE.ARCHIVE "*:\...\system32\dns\backup\...\*"
EXCLUDE.DIR "*:\System Volume Information"
EXCLUDE.DIR "*:\...\Temporary Internet Files"
EXCLUDE.DIR "*:\Recycled"
EXCLUDE.DIR "*:\Recycler"
EXCLUDE "?:\...\*"
INCLUDE "F:\*" WACKER_NT_MGMT_3584
EXCLUDE "E:\System Volume Information\...\*"





Help,
Tom
OK,
that's obviously a hard thing to deal with.
Next effort - try
MEMORYEFFICIENTBACKUP DISKCACHEMETHOD
Don't forget to recycle the TSM scheduler service after making changes to dsm.opt!
And, to make the picture complete -
- does the error happen after a lot of processing has been done or near the beginning?
- how large (in bytes) is 'C:\adsm.sys\vss_staging\WCVMVC\TSMSERVER.WACKERDOM.WACKER.NET\20091006060843\SystemState_Audit.txt' actually?
 
 
 
 
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of wnc123

ASKER

I had to delete all contents of the Adsm folder and let it recreate.  Then backups ran fine.  Thanks for pointing me in the right location.

Tom
Avatar of wnc123

ASKER

Thanks for the quick response.