Saturday, June 29, 2013

Steps to take DB backup in TSM 6.3

Step 1: Create folder where you want to store the DB backup

mkdir E:\dbbackup

Step 2: update the device class ‘maximum volume capacity’ and ‘path to store files’

UPDATE DEVCLASS FILEDEV1 DIR=E:\DBBACKUP MAXCAP=50G SHARED=YES

Step 3: Take full backup of DB

backup db type=full devclass=filedev1
 
Error will generate:
            ANR2590E BACKUP DB failed - SET DBRECOVERY command has not been issued.
            ANS8001I Return code 3.

Step 4: Set device class for automatic DB backup to FILEDEV1

set dbrecovery filedev1

Step 5: Again take full backup of DB

backup db type=full devclass=filedev1
 
Now process will start and at the end it will show message like “Database Backup running in the BACKGROUND completed with completion state SUCCESS at xx:xx:xx.”

            There are following types of backup you can run. This parameter is optional. The default is

INCREMENTAL.

a)      Incremental

An incremental (or cumulative) backup image contains a copy of all database data that has changed since the last successful full backup operation was performed.

b)     Full

To run a full backup of the Tivoli Storage Manager database.

c)      DBSnapshot

To run a full snapshot database backup. The entire contents of a database are copied and a new snapshot database backup is created without interrupting the existing full and incremental backup series for the database.

Step 6: Take backup of Server sequential volume history information file

backup volhist f=e:\dbbackup\volhist.out wait=yes

Step 7: Take backup of Server device configuration information file

backup devconfig f=e:\dbbackup\devconfig.out wait=yes

Step 6: Delete sequential volume history entries

delete volhist t=dbb todate=today-2 wait=yes

Friday, June 28, 2013

Administrator user management in TSM 6.x

1.     Create a new TSM administrator ‘john’ with password ‘john123’
         register admin john john123
 
2.     Assign ‘policy’ privilege to new administrator
         grant authority john classes=policy

        There are following types of privileges:
        -          System
        -          Policy
        -          Storage
        -          Operator
        -          Node
 
3.    Check admin
        query admin
        query admin john f=d
 
4.    Remove privilege of administrator
        revoke authority john
 
5.    Remove administrator
        remove admin john
                 Confirm deletion of administrator by typing ‘yes’

 

Thursday, June 27, 2013

How to set password expiration period in TSM 6.x ?

Step 1: Login through TSM Admin user

Step 2:  Check current password expiration period
            tsm> q stat
                   Password Expiration Period: 90 Day(s)

Step 3: Run below command to set expiry period:
             tsm> set passexp 9999
                   ANR2092I Password expiration period set to 9999 days.

Step 4: Check again current status
            tsm> q stat
                   Password Expiration Period: 9,999 Day(s)

Step 5: Logout from TSM Admin user

Wednesday, June 26, 2013

How to change Date & Time in Solaris 10 OS?


# date –u 010100302000

            (01-MM; 01-DD; 00-TT; 30-MINUTES; 2000- Year) – 1st January 2000 12:30 AM
 

# date 033117152006

            (03-MM; 31-DD; 17-TT; 15-MIN; 2006-Year) – 31st March 2006 5:15 PM

Tuesday, June 25, 2013

warning: include(): Unable to allocate memory for pool.


Problem:  warning: require_once(): Unable to allocate memory for pool

Solution:

Add these lines to the end of your php.ini file

[xdebug]
apc.enabled=1
apc.shm_segments=1
apc.shm_size=128M
apc.cache_by_default=1
apc.stat=1
apc.rfc1867=1
apc.stat=0

So the trick to change 32M to 128M and the apc.stat=7200 to = 0.

Restart the web server.