Thursday, 17 September 2009

iscsi issues

CentOS does not do all the SLES automagic things you want with iSCSI so... here we go:

# iSCSI Target Discovery
iscsiadm –-mode discovery –-type sendtargets --portal

# Login to the target portal
iscsiadm –-mode node --target --portal --login

# Show all the iSCSI Sessions on the host
iscsiadm --mode session

# To logout all the sessions
iscsiadm --mode node -U all
# To logout from a particular session
Iscsiadm --mode node -u --portal

# Rescan the session you want:
iscsiadm -m session -r <session_id> -R


Thanks for playing :)

netbackup - logging conf file error

Some notes on NetBackup issues (6.5.x.x)

Error:
Error bpbrm (pid=3968) from client smt: ERR - Error occurred during initialization.  Could not read logging configuration file.

Solution:
/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -c /usr/openv/netbackup/nblog.conf -n 'NB,nb'

Friday, 4 September 2009

CFET Notes

It was ok I guess...

Not much technical but mostly focused on education and spreading awareness but interesting ppl and interesting subjects.

Some of the technical details we were presented (and are very valuable) were:

http://linux.die.net/man/1/ewfacquire

(use with -d sha1)

http://linux.die.net/man/1/ewfverify

part of the package ewftools (do a rpm -qli ewftools there are more
tools installed )

and of course the mount one (mounts ro [under the mount output it will
say rw  but its actually not])

http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py/download

dependencies include python, fuse, libewf but yum should take care of
that for you (most of it). On Centos 5 it pulled them from the rpmforge
repository on Fedora I would expect it to be in the default repos
already (otherwise use rpmforge, dag or pbone) along with:

http://man-wiki.net/index.php/1:qemu-img

I think that this pretty much covers it (simple presentation but nice),
Its always nice to have open-source tools to do the job "the-right" way.

Many thanks to Jens Kirschner from 7Safe for the presentation.

Thanks for playing :)