Enable access data for restore from another node TSM

I need to restore data from server A of data server B
Connect to server B and enable access :

tsm> set access backup /oradata/xxx/system/* * *
ANS1148I ‘Set Access’ command successfully completed
tsm> set access backup /oradata/xxx/system/*/* * *
ANS1148I ‘Set Access’ command successfully completed
tsm> set access backup /oradata/xxx/dati/* * *
ANS1148I ‘Set Access’ command successfully completed

How to view access :

tsm> query access
Type     Node        User        Path
—-     —————————-
Backup   *           *           /oradata/xxx/system/*
Backup   *           *           /oradata/xxx/system/*/*
Backup   *           *           /oradata/xxx/dati/*
ANS1148I ‘Query Access’ command successfully completed
set access [backup,archive] [filesystem] [node to enable access] 
Enable access data for restore from another node TSM

Install Mksysb from NIM

Create spot from mksysb

nim -o define -t spot -a source=mksysb1 -a server=master -a location=/export/spot spot1

Install mksysb :

smitty nim_bosinst
  Select a TARGET for the operation
  Select the installation TYPE
                        mksysb – Install from a mksysb
  Select the MKSYSB to use for the installation
  Select Spot

For reset info:

nim -F -o reset lennonmo

Install Mksysb from NIM

Command vMA

###############################
Enable ssh :

Modify /etc/hosts.allow whit command :
sudo vi /etc/hosts.allow  
and add line  sshd: ALL: ALLOW   
###############################
Add hosts:
sudo vifp addserver 10.1.2.216
###############################
List server:
sudo vifp listservers -l
###############################
Connect to server:
vifptarget -s 10.1.2.215

Command vMA

Schedule Cron JOB esxi

# cd /var/spool/cron/crontabs
Editare il classico file di root
Killare il processo di crond
/var/spool/cron/crontabs # kill $(cat /var/run/crond.pid)
Riavviare il processo di crond
/var/spool/cron/crontabs # busybox crond
Al prossimo reboot il server avra perso il processo in crontab quindi ….
To schedule a local cron-job and have it be persistent (not lost at reboot) add the following lines to /etc/rc.local /bin/echo “0 9 * * * xxxxxxxxxxx” >> /var/spool/cron/crontabs/root
/bin/busybox crond -b

then run auto-backup.sh it will backup the changes to the rc.local file

Schedule Cron JOB esxi