I am trying to set up ISM and onbar as per some tutorials and I am missing something. When running onbar -b -L 0 not much happened, it just sat there.
.nsr and volume were created in the folder I wish to backup to and /nsr/logs/daemon.log just filled with this:
11/02/12 08:06:44 nsrd: media waiting event: backup to pool 'ISMDiskData' waiting for 1 writable backup tape(s) or disk(s)
11/02/12 08:21:45 nsrd: media critical event: backup to pool 'ISMDiskData' waiting for 1 writable backup tape(s) or disk(s)
11/02/12 08:36:45 nsrd: media event cleared: backup to pool 'ISMDiskData' waiting for 1 writable backup tape(s) or disk(s)
11/02/12 11:06:24 nsrd: media waiting event: backup to pool 'ISMDiskData' waiting for 1 writable backup disk(s)
Thats the problem, now this is what I did:
set
ISM_DATA_POOL ISMDiskData
ISM_LOG_POOL ISMDiskLogs
ran:
Code:
#ism_startup -init
#ism_add -admin informix@pasodb1
$ism_add -device /backups/dbspaces -type file
$ism_add -device /backups/logfiles -type file
$ism_op -label /backups/dbspaces -pool ISMDiskData -volume ISMData
$ism_op -label /backups/logfiles -pool ISMDiskLogs -volume ISMLogs
$ism_op -mount /backups/dbspaces
$ism_op -mount /backups/logfiles
ism_show -devices and ism_show -volumes return nothing while ism_watch returns:
Code:
Up Version: Informix_Storage_Manager ISM.2.20.UC1.125-01/26 Server Edition
Saves: 0 session(s) Recovers: 0 session(s)
Device type volume
ckups/dbspaces file (none)
ckups/logfiles file (none)
One thing I read was to add a -force to the -label commands but it made no difference. I am sure I am missing something super simple.
Thanks