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