Quantcast
Channel: ADSM.ORG
Viewing all 2470 articles
Browse latest View live

Thanks to ADSM.org community

$
0
0
Hi, I just want to say thanks to this community, I went from totally blind to half blind thanks to the TSM community help I now partially understand TSM and I sucessfully migrated TSM from Windows 2003(32bits) to Windows 2008r2 (x64).

You guys/girl are very friendly to newcomer and you share your vast TSM knowledge.

Thanks again !

Upgradation of TSM server from Ver 5.5 to ver 6.3.4

$
0
0
Hi,
We are upgrading TSM from Ver 5.5 to TSM 6.3.4 on AIX and client is demanding something extraordinary for testing purpose.TSM 5.5 is running on one system and another box is created with AIX 7 installed.Now we have been asked to backup the DB on old tsm server ,Install ver 5.5 on new machine and restore the DB on fresh server from old machine and verify the time it takes.If time is more then Approach no-2 which i want==>Install Ver 6.3.4 directly to new machine and register all the nodes to new machine, 2 machines will run in parallel for sometime or dont connect the library with the new machine till the retention completes for the data ( Retention is only 35 days) and then start fresh with new server and decommission old tsm server.

Can somebody tell me the way to achieve approach 1 if DB has to be restored from one tsm server to another?

Seperate deviceclass=file(disk) will be created for the database which is approx 280 GB.

TSM won't recognize tapes

$
0
0
So I am relatively new to TSM. I have had a problem for a month or so now that TSM won't recognize the tapes i have put in the library. i have an IBM ts3200 tape library, a reuse delay set to 8, and tsm is telling me it only has 14 tapes, 5 are scratch. i use drmedia, so it should handle the "movement" or the tapes for me. reclamation is set to 60% and expire inv runs every night. i have tried so many things, i am unable to list them all. does anyone have any idea how i can get tsm to recognize tapes when i check them in?

SERIAL not working for export node script

$
0
0
I tried to create a script to export several node, using SERIAL to export them 1 at a time.

Unfortunately, the SERIAL command is not working and all exports kickoff at the same time, as if we're running PARALLEL.

def script test_export SERIAL
upd script test_export "export node command" line=10
upd script test_export "export node command" line=20
upd script test_export "export node command" line=30
upd script test_export Exit line=40

I have tried without the SERIAL command up front (which is the default behavior anyway).
I have tried with SERIAL after each line.
I have tried with SERIAL at the end.

Export node doesn't allow the wait=yes attribute, but with SERIAL, I shouldn't need to use that anyway.

Does anyone have a script that will work?
Does anyone see something wrong with the above?

We're migrating from an old 5.5.7.0 TSM to a new 6.4 TSM environment and we've got about 500 exports to run for this TSM Server.

Any help is appreciated.



Does anyone see something wrong with the above?
We're migrating from an old 5.5.7.0 TSM to a new 6.4 TSM environment and we've got about 500 exports to run for this TSM Server.
Any help is appreciated.

After running "BACKUP DB DEVCLASS =" TSM Maintenance schedule moves tape

$
0
0
Hello guys, I'm trying to figure out how to prevent TSM from moving the tape that I designated to backup the DB weekly within an administrative schedule. Here's the thing: we have a small environment so I configured DRM to backup directly to a FILE devclass. Also, I created a weekly administrative schedule to backup incrementally the TSM DB in a single tape that I designated (BACKUP DB DEVCLASS =<NAME> TYPE=INCREMENTAL).

What I need to know is the following: why the maintenance schedule is checking out the tape and how do I change it?

Many thanks to all of ya'!

LAN FREE DB2 Backup data not been written to tape

$
0
0
Hi - I'm trying to backup DB2 database to TSM LANFree. We run a "db2 backup db dbname use tsm". The client makes the connection, the tape mounts. Then it sits there waiting. A "SERVERNAME: Q SES" shows Bytes Recvd as 327G, but nothing is being written to tape - "Q VOL VOLNAME f=d" last write time, hours ago, "Q CONT VOLNAME" not showing anything new. There are no errors in the actlog, so I'm struggling to look for anything. Idletimeout is 480 on client/server, so I suspect it will fail at that point. If anyone has seen this before any advice would be appreciated. Thanks

TSM for VE - Powershell Retry script and more

$
0
0
Hi there,

Old timer reader, first time posting here.

I've created these set of PS scripts a few weeks ago to workaround the bloody 115 quiesce issue when creating snapshots and to be able to retrieve a list of existing VMs avoiding 4390 error for a non existing machine prior running the backup.

Software requirements:

Powershell v4
PowerCLI 5.5 R2
PSTools


Folders to be created:

'C:\SCRIPTS\"
‘C:\Temp\’

With PSTools you need to open up Powershell (RunAs SYSTEM) and store the PowerCLI credentials. We do this so we don't need to pass user/pass in plain text and because it works.

psexec -i -s PowerShell.exe


You then load the VMware plugin:

Add-PSSnapin VMware.VimAutomation.Core

Then we set env variables so we don't get warnings/errors which might stop our script from running:

Set-PowerCLIConfiguration -InvalidCertificateAction ignore -Confirm:$false
Set-PowerCLIConfiguration -DisplayDeprecationWarnings $false -Confirm:$false


After that you create the VI credentials (which PowerCLI will load/use):

New-VICredentialStoreItem -Host VC_IP_ADDRESS -User "User" -Password "Password" -File "C:\SCRIPTS\PowerCLIcred.xml"

Once you have done the one-off steps above you will be able to run the first script using the store credentials (only the User who created the xml file will be able to use it, in this case that is SYSTEM, which also runs the TSM Acceptor/Scheduler service).

The first PS script is this one:

$Date = Get-Date -format yyyy.MM.dd
$VMProxy = "NODE_PROXY"
$VMCluster = "VM_CLUSTER"
$ExcludeAlways = Import-Csv -Delimiter "," -Header VM -LiteralPath C:\SCRIPTS\STATIC_EXCLUDE_LIST.txt
$ExcludeTemp = Import-Csv -Delimiter "," -Header VM -LiteralPath C:\SCRIPTS\TEMP_EXCLUDE_LIST.txt

# Load VMCli module and generate VM list from VCenter
Add-PSSnapin VMware.VimAutomation.Core
Sleep 70
$Creds = Get-VICredentialStoreItem -File "C:\SCRIPTS\PowerCLIcred.xml"
Connect-VIServer IP_address -User $Creds.User -Password $Creds.Password
Sleep 60
Get-Cluster -Name $VMCluster | Get-VM | Select Name,Version,Host | Export-Csv C:\Temp\$VMProxy-VMlist-$Date.csv -NoTypeInformation -UseCulture | Out-Null
Sleep 45

# Create Report file to start outputting stuff for later processing
" $Date - $VMProxy Proxy - VM List from $VMCluster has been generated " | Out-File C:\Temp\$VMProxy-Report-$Date.txt -Append
" ## WARNING ## The following VMs are being excluded temporarily " | Out-File C:\Temp\$VMProxy-Report-$Date.txt -Append
Import-Csv -Delimiter "," -Header VM,Incident -LiteralPath C:\SCRIPTS\TEMP_EXCLUDE_LIST.txt | Out-File C:\Temp\$VMProxy-Report-$Date.txt -Append

Sleep 3

# Prepare VM list retrieve from VCenter
Import-CSV -Delimiter "," -Header VM C:\Temp\$VMProxy-VMlist-$Date.csv | Out-File C:\Temp\$VMProxy-VCenterList-$Date.txt
Get-Content C:\Temp\$VMProxy-VCenterList-$Date.txt | Select-Object -Skip 4 | Out-File C:\Temp\$VMProxy-VCenterList2-$Date.txt
Remove-Item C:\Temp\$VMProxy-VCenterList-$Date.txt
Rename-Item -NewName C:\Temp\$VMProxy-VCenterList-$Date.txt -Path C:\Temp\$VMProxy-VCenterList2-$Date.txt

# Prepare Exclude Always list
Import-Csv -Delimiter "," -Header VM C:\SCRIPTS\STATIC_EXCLUDE_LIST.txt | Out-File C:\Temp\$VMProxy-ExcludeAlwaysList-$Date.txt
Get-Content C:\Temp\$VMProxy-ExcludeAlwaysList-$Date.txt | Select-Object -Skip 3 | Out-File C:\Temp\$VMProxy-ExcludeAlwaysList2-$Date.txt
Remove-Item C:\Temp\$VMProxy-ExcludeAlwaysList-$Date.txt
Rename-Item -NewName C:\Temp\$VMProxy-ExcludeAlwaysList-$Date.txt -Path C:\Temp\$VMProxy-ExcludeAlwaysList2-$Date.txt

# Prepare Exclude Temp list
Import-Csv -Delimiter "," -Header VM C:\SCRIPTS\TEMP_EXCLUDE_LIST.txt | Out-File C:\Temp\$VMProxy-ExcludeTempList-$Date.txt
Get-Content C:\Temp\$VMProxy-ExcludeTempList-$Date.txt | Select-Object -Skip 3 | Out-File C:\Temp\$VMProxy-ExcludeTempList2-$Date.txt
Remove-Item C:\Temp\$VMProxy-ExcludeTempList-$Date.txt
Rename-Item -NewName C:\Temp\$VMProxy-ExcludeTempList-$Date.txt -Path C:\Temp\$VMProxy-ExcludeTempList2-$Date.txt

# Merge both Exclude list and remove old ones
gc C:\Temp\$VMProxy-ExcludeTempList-$Date.txt,C:\Temp\$VMProxy-ExcludeAlwaysList-$Date.txt | Out-File C:\Temp\$VMProxy-ExcludeList-$Date.txt
Remove-Item C:\Temp\$VMProxy-ExcludeTempList-$Date.txt,C:\Temp\$VMProxy-ExcludeAlwaysList-$Date.txt

# Compare lists and remove excluded VMs
$ESXList=(gc "C:\Temp\$VMProxy-VCenterList-$Date.txt") -replace " "
$ExcludeList=(gc "C:\Temp\$VMProxy-ExcludeList-$Date.txt") -replace " "

$FinalList = compare-object -referenceobject $ESXList -differenceobject $ExcludeList |Where-Object {$_.SideIndicator -le "<="}
$FinalList | Format-Table -Property InputObject | Out-File C:\Temp\$VMProxy-FinalList-$Date.txt
Get-Content C:\Temp\$VMProxy-FinalList-$Date.txt | Select-Object -Skip 3 | Out-File C:\Temp\FinalList.txt
Remove-Item C:\Temp\$VMProxy-FinalList-$Date.txt
Remove-Item C:\Temp\$VMProxy-VCenterList-$Date.txt,C:\Temp\$VMProxy-ExcludeList-$Date.txt
(gc C:\Temp\FinalList.txt) | ? {$_.trim() -ne "" } | set-content C:\Temp\FinalList.txt



Some things to consider here:

1. There are two exclude lists, reason for this is that the TEMP one will warn you in the output (Line 18).
2. Results are written to the same file as above.
3. You might remove the "Sleeps" commands, it depends on how fast the connections are in your environment.

Second scripts actually runs the backup:

workflow VMincrBKP{
#List of VMs to backup
$VMlist = Get-Content -LiteralPath C:\Temp\FinalList.txt

foreach -parallel -Throttle 5 ($VM in $VMlist){
inlineScript {
$Tries=0
do
{
$Tries++
"###### Try number $Tries ######"
$Date = Get-Date -format yyyy.MM.dd
$StartTime = Get-Date -format HH:mm:ss
$VMProxy = "NODE_PROXY"
#Specify the amount of retries you want
$Retries = 3
$Backup = Start-Process -PassThru -FilePath dsmc.exe -ArgumentList "backup vm $using:VM -asnode=NODE_NAME -mode=IFIncr -optfile=C:\SCRIPTS\dsm.opt " -WorkingDirectory "C:\Program Files\Tivoli\TSM\baclient" -Wait
$Result = $Backup.ExitCode
"####### Success $Result ######"

}until (($Tries -eq $Retries) -or ($Result -le 8))
"####### $using:VM Total Tries $Tries ######"
"####### VM $using:VM Total Tries $Tries ######" -replace '\s+', ' '
"## VM $using:VM Backup Finished - Return Code $Result - Total Tries $Tries #" -replace '\s+', ' ' | Out-File -FilePath C:\Temp\$VMProxy-Report-$Date.txt -Append
$EndTime = Get-Date -format HH:mm:ss
if ($Result -le 8) {Start-Process -PassThru -FilePath dsmadmc.exe -ArgumentList "-ID=ID -PA=pwd issue message I '$VMProxy,$using:VM,Backup Successful,$Date,$StartTime,$EndTime'" -WorkingDirectory 'C:\Program Files\Tivoli\TSM\baclient' }
Else
{Start-Process -PassThru -FilePath dsmadmc.exe -ArgumentList "-ID=ID -PA=pwd issue message W '$VMProxy,$using:VM,Backup Failed,$Date,$StartTime,$EndTime'" -WorkingDirectory 'C:\Program Files\Tivoli\TSM\baclient' }
}
}

}
VMincrBKP


Some things to consider here:

1. Throttle will say how many backups will be happening at the same time (w2k8 has hard coded 5 (iirc), w2k12 doesn't). In my case it will keep always 5 backups active unless it hit the bottom of the list.
2. The last steps (Line 26/28) will generate a message using dsmadmc so you can later do reporting easily based on the TSM server act log.
3. Line 24 will append the results to the txt file generated in the previous script.


Hopefully it might help some guys out there, been using this forum for the last 6 years ;)

TSM Operations Center

$
0
0
HI,

Is there any way to define a volume from the TSM Operations Center

Crdt,

Backup On Cloud

$
0
0
Hi All,

One question!!!

Can we migrate Lan free backup from diskpool to cloud using iSCSI.

If possible then share the relevant info or post link regarding the topic...thnks in advance..please help

NDMP - Is it possible to backup and restore the same filesystem at the same time

$
0
0
Hello,

TSM V6.3.1 - NDMP - Probably a dumb question, but is it possible to backup and restore the same NDMP node at the same time? I have a user trying to restore off of a differential image from yesterday, but there is a full backup going on for for the same node (same node/filesystem). The restore is waiting for a tape that is not in use (in fact was last used yesterday morning, way before the full started).

The tapes are VTL, there is no request and it is in the "library".

Also, is there an "unpublished" SQL to query the nas table of contents?

Thanks

TSM VE Problem with creating scheduler ANR3200E

$
0
0
Hello,

I installed TSM VE 7.0.1 and configured it to use the webinterface.

But every time when I try to create a scheduler I get the error

Quote:

GVM1161I
Command successfully submitted to the Tivoli Storage Manager server.

Detail:
ANR3200E DEFINE SCHEDULE: Command cannot be executed - domain VMWARE_VM_DEDUP is a managed object.
Thats true ... the TSM server is connected with a configuration manager ...
So I decided to create it by my own on the config manager but I can´t see it on the webinterface ;(

Is there any work around? I am using TSM server Version 6, Release 3, Level 4.200

Greetings

disk storage system for new tsm installation (6.4 or 7.1)

$
0
0
we are starting to think to migrate our tsm installation from win 2003 6.2.3
(two hp dl380g5 in windows cluster, with db2 and small disk stg pools on ibm v7000, and most of the data on tape)
to new servers (hp g7 maybe) and new tsm versions (6.4 or maybe 7.1).

we would like to put new tsm installation and db, and disk (or FILE) stg pools on a dedicated storage system,
so i'm asking here some advices on the choice of this STORAGE SYSTEM!

we already have a ibm ds3500 fibre channel in out datacenter,
but can it be enough powerful, especially for tsm ibm db2 database requirements?

or it's better to choose a newer and more powerful product?

thanks for your help!

Andrea

Tealeaf files

$
0
0
Team,

Can anyone suggest a better way to backup IBM tealeaf files thru BAClient, These files have been in use all the time and BA Client is not able to backup these files.

Thanks.

TDP FOR EXCHANGE -GUI (EXCHANGE 2007)- Restore failed .

$
0
0
All,
We have new Environment where i installed b/a client,TDP for Exchange & storage agent to backup exchange 2007 .when i launch the GUI to perform
a Test Restore it fails with "ACN5798E MS Exchange-API HRESERESTORECOMPLETE() failed with HRESULT: 0xc7ff1004.." "- Error returned from an ESE function call (-546)"
ACN0151E Errors occurred while processing the request .also I'm not able to mount the RSG USING EXCHNG MGMT CONSOLE.AS
WHAT IS THE PROCEDURE OF PERFORMING GUI RESTORE USING TSM FOR EXCHANGE 2007 FOR LEGACY BACKUPS.
ALSO I NEED SOME STEPS/EXAMPLE FOR PERFORMING DR USING GUI OR COMMAND LINE .

TDP FOR EXCHANGE -GUI (EXCHANGE 2007) -WINDOWS 2008 R2- SP1
TSM Server 6.3.4.0
TSM BAC 6.3.0.0
TDP EXCH 6.3.2.0
Exchange 2007
Windows 2008 Server SP2
LEGACY BACKUP.

TDP FOR EXCHANGE -GUI (EXCHANGE 2007)- Restore failed .

$
0
0
All,
We have new Environment where i installed b/a client,TDP for Exchange & storage agent to backup exchange 2007 .when i launch the GUI to perform
a Test Restore it fails with "ACN5798E MS Exchange-API HRESERESTORECOMPLETE() failed with HRESULT: 0xc7ff1004.." "- Error returned from an ESE function call (-546)"
ACN0151E Errors occurred while processing the request .also I'm not able to mount the RSG USING EXCHNG MGMT CONSOLE.AS
WHAT IS THE PROCEDURE OF PERFORMING GUI RESTORE USING TSM FOR EXCHANGE 2007 FOR LEGACY BACKUPS.
ALSO I NEED SOME STEPS/EXAMPLE FOR PERFORMING DR USING GUI OR COMMAND LINE .

TDP FOR EXCHANGE -GUI (EXCHANGE 2007) -WINDOWS 2008 R2- SP1
TSM Server 6.3.4.0
TSM BAC 6.3.0.0
TDP EXCH 6.3.2.0
Exchange 2007
Windows 2008 Server SP2
LEGACY BACKUP.

Also wanted to share backups are running fine / command line restore is also working fine .but GUI is completing with the above errors.any response will be appreciated . so can i do DR with command line options --right with below command .thanks.

tdpexcc restorefiles * full /object=34985459454 /into=R:\Restore /fromexcserver=xxx /tsmoptfile=yyy.opt --for restore

what about DR ? i can use the same command right but what should i use for /into= path ? when i use original path its completing the restore but not in the same path & its not mounting the database . so let me know what's wrong here .thanks.










TS3500, update information of I/O Station (Bulk)

$
0
0
Hi all, we have a TS3500 library, and from the checkout TSM tape 16 is made to the I / O Statiton (Bulk). The operator removes the 16 films from the bulk and inserts 16 new tapes. In TSM LABEL LIBVOLUME when we make the SEARCH = BULK, throws error because it assumes that they are still in BULK tapes sent to the CHECKOUT. From the web interface of the TS3500 the option I / O Station shows the tapes that the operator had retired and no new tapes. How can we update the TS3500 to show the new tapes that are in the BULK?

The following messages appear on the console of TSM: :

04/16/2014 21:40:54 ANR8799I LABEL LIBVOLUME: Operation for library
TS3500_NUEVA started as process 1324. (SESSION: 956155,
PROCESS: 1324)
04/16/2014 21:40:54 ANR8816E LABEL LIBVOLUME: Volume 000380L5 in library
TS3500_NUEVA cannot be labeled because it is currently
defined in a storage pool or in the volume history file.
(SESSION: 956155, PROCESS: 1324)
04/16/2014 21:40:54 ANR8816E LABEL LIBVOLUME: Volume 000381L5 in library
TS3500_NUEVA cannot be labeled because it is currently
defined in a storage pool or in the volume history file.
(SESSION: 956155, PROCESS: 1324)
04/16/2014 21:40:54 ANR8816E LABEL LIBVOLUME: Volume 000382L5 in library
TS3500_NUEVA cannot be labeled because it is currently
defined in a storage pool or in the volume history file.
(SESSION: 956155, PROCESS: 1324)
04/16/2014 21:40:54 ANR8816E LABEL LIBVOLUME: Volume 000383L5 in library
TS3500_NUEVA cannot be labeled because it is currently
defined in a storage pool or in the volume history file.
(SESSION: 956155, PROCESS: 1324)
04/16/2014 21:40:54 ANR8816E LABEL LIBVOLUME: Volume 000384L5 in library
TS3500_NUEVA cannot be labeled because it is currently
defined in a storage pool or in the volume history file.
(SESSION: 956155, PROCESS: 1324)

But the tape showing the messages are no longer in the bulk. In the bulk we now have new tapes labeled from 000517L5 to 000532L5

Thanks and Regards

TSM upgrade 6.3 to 7.1 Nightmare! Deleted files in /opt/tivoli/tsm/server/bin

$
0
0
I attempted to upgrade our tsm server (AIX) from 6.3 to 7.1 and it failed and it deleted all the files in the /opt/tivoli/tsm/server/bin directory. Then when I run the db2ilist it shows only one instance named tsmtest and the production server db's "deltsm" and "tsmlib" aren't there now...

Anyone else ran into this issue?

Not sure what to do. Can I reinstall tsm 6.3 and recreate the db2 server instances with the same name?

Thanks in advance
-Bill

ANR7865W Unable to create volume /tsm2/disk/disk001.dsm. Return code=108.

$
0
0
hi!

anyone experienced this return code?
We are Running TSM 6.3.4.200 on HP/UX 11iv3.
errno.h does not contain an Error 108 :/

No idea whats happening here.
We have 4 identical TSM Instances.
Only on this one we are unable to define new Volumes after we resized a VG (+1TB)

Creating new files on the filessystem works (vi, dd)

any ideas?

thanks!

UPDATE:
used tusc to monitor the processes on 2 TSM Instances during define volume:

<WORKS>
Instance 1 has 2 TB /tsm1/disk/ VG (works)
tusc log shows:
...
statfs("/tsm1/disk/disk026.dsm", -6917529030376831264) .................................................. .................................................. .............................. = 0
unlink("/tsm1/disk/disk026.dsm") .................................................. .................................................. .................................................. .. = 0
open("/tsm1/disk/disk026.dsm", O_RDWR|O_CREAT|0x800, 0600) .................................................. .................................................. .......................... = 166
write(166, "E r i c E r i c E r i c E r i c ".., 1048576) .................................................. .................................................. ............................... = 1048576
write(166, "E r i c E r i c E r i c E r i c ".., 1048576) .................................................. .................................................. ............................... = 1048576
write(166, "E r i c E r i c E r i c E r i c ".., 1048576) .................................................. .................................................. ............................... = 1048576
write(166, "E r i c E r i c E r i c E r i c ".., 1048576) .................................................. .................................................. ............................... = 1048576
*funny* :) just trying to guess the programmers name
</WORKS>


<FAILS>
Instance 2 has 3 TB /tsm2/disk/ VG (does not work)
tusc log shows:
...
statfs("/tsm2/disk/disk001.dsm", -6917529028116003104) .................................................. .................................................. .............................. ERR#72 EOVERFLOW :mad::mad::mad:
unlink("/tsm2/disk/disk001.dsm") .................................................. .................................................. .................................................. .. = 0
...
nothing more
</FAILS>


Is there a Limit for Volumegroups Size, used for Diskpools in TSM?

Cannot find mailbox

$
0
0
I've tried restoring a user mailbox, but it claims it cannot find it. Both via the GUI and command line. It lists the mailbox as being available. However, when I restore it will chug away restoring logs and then two, maybe 3 hours later decide it cannot find the mailbox and to ensure that it was backed up. I'm fairly certain it was backed up, at some point. Regular full backups have been the victim of what can only be described as an "incompetent operator". I don't know when the last successful backup happened, I haven't been able to figure it out, TSM and I *DO NOT* get along well, and it tends to win most of the arguments. I've tried to understand it, but it just hasn't happened.

I'm not sure what other information to include here, please ask for further clarification on things.

Apologies if the steps have been broached before, but the anxiety is a bit high and causing issues concentrating.

Much thanks in advance.

addendum: Don't hate me, but we're moving to another backup system. As a consequence, we waved bye-bye to our TSM support. Apparently the software is spiteful.

Edit 1 of 'an absurd amount'

It's Exchange 2010 on Windows 2008 R2. 3 systems in the cluster. Flashcopy 3.2.0.0, TSM 6.4.0

Slow Backup Performance of Oracle Backups since upgrading from 5.5 to 6.3

$
0
0
We are testing upgrading our TDP for Oracle clients and TSM BA Clients from version 5.5 to version 6.3.1. Unfortunately, we have noticed performance degradation during backups. Full database backups that normally take approximately 52 minutes are now averaging 2 1/2 hours. Has anyone else experienced similar issues with TDP for Oracle 6.3?
Viewing all 2470 articles
Browse latest View live