martedì 23 settembre 2014

How to Auto Start more then one instance of DB2 in linux environment

When a DB2 server has more than one instance in a linux environment, it may be useful to prepare different scripts for automatic startup of the instances to riavvo server.

In linux environment each instance has a "user" owner, and only that user can start the instance correctly, in parallel, in most cases you do not want the service to run with root privileges.

to solve the problem it is sufficient to copy the following script in /etc/init.d
give you the rights to run and specify the user under which to boot, change the parameter

DB2_USER

and assign it with  the user name which to run DB2.


    #!/bin/sh
    #
    # Startup script for DB2
    # by A.F.
    #


   DB2_USER=db2inst1

    ### BEGIN INIT INFO
    # Provides:       $DB2_USER
    # Required-Start: $network $remote_fs
    # Required-Stop: $network $remote_fs
    # Default-Start: 3
    # Default-Stop: 0 1 2 5 6
    # Short-Description: DB2 $DB2_USER job service
    # Description:  DB2 Instance $DB2_USER job service
    ### END INIT INFO

    # Find the name of the script
    NAME=`basename $0`

    start() {
        DB2_START=$"Starting ${NAME} service: "

        su - $DB2_USER -c '. ./sqllib/db2profile; \
            ./sqllib/adm/db2start > /dev/null'

        ret=$?
        if [ $ret -eq 0 ]
        then
                echo "$DB2_START Success."
        else
                echo "$DB2_START Failed!"
                exit 1
        fi
        echo
    }

    stop() {
        echo -n $"Stopping ${NAME} service: "

        su - $DB2_USER -c '. ./sqllib/db2profile; \
            ./sqllib/adm/db2stop > /dev/null'

        ret=$?
        if [ $ret -eq 0 ]
        then
                echo "Success."
        else
                echo "Failed!"
                exit 1
        fi
      echo
    }
    restart() {
        stop
        start
    }
    case "$1" in
        start)
            start
            ;;
        stop)
            stop
            ;;
        restart)
            restart
            ;;
        *)
            echo $"Usage: $0 {start|stop|restart}"
            exit 1
    esac
    exit 0














lunedì 22 settembre 2014

IBM Worklight ready for iOS 8.0

The IBM Worklight team has been testing Worklight with Apple's iOS 8.0 operating system and the good news is that Worklight now supports running existing and new applications on iOS 8.0.

Testing has been performed on Worklight 5.0.6x, 6.0x, 6.1x, and 6.2x.

Obviously in some cases, depending on the functionality being used, a Worklight iFix may be required to address known issues. Plans are to have this iFix available concurrent with iOS 8.0 availability.

You can find more datails in a IBM TechNote





lunedì 15 settembre 2014

IBM has placed the ConnectED 2015 tracks online for the January 25-28, 2015 event

In 2015, IBM Connect will transform into an even more in-depth technical event, this evolution from LotusSphere thru IBM Connect and the new level is “IBM ConnectED”.....
Now IBM publish a trace and description, you can deepen it at following link

http://www-01.ibm.com/software/collaboration/events/connected/tracks.html
IBM has placed the ConnectED 2015 tracks online for the January 25-28, 2015 event - See more at: http://www.idonotes.com/IdoNotes/idonotes.nsf/dx/ibm-connected-2015-conference-tracks.htm#sthash.zJVYJpvR.dpuf
IBM has placed the ConnectED 2015 tracks online for the January 25-28, 2015 event - See more at: http://www.idonotes.com/IdoNotes/idonotes.nsf/dx/ibm-connected-2015-conference-tracks.htm#sthash.zJVYJpvR.dpuf
IBM has placed the ConnectED 2015 tracks online for the January 25-28, 2015 event - See more at: http://www.idonotes.com/IdoNotes/idonotes.nsf/dx/ibm-connected-2015-conference-tracks.htm#sthash.zJVYJpvR.dpuf
IBM has placed the ConnectED 2015 tracks online for the January 25-28, 2015 event - See more at: http://www.idonotes.com/IdoNotes/idonotes.nsf/dx/ibm-connected-2015-conference-tracks.htm#sthash.zJVYJpvR.dpuf
IBM has placed the ConnectED 2015 tracks online for the January 25-28, 2015 event - See more at: http://www.idonotes.com/IdoNotes/idonotes.nsf/dx/ibm-connected-2015-conference-tracks.htm#sthash.zJVYJpvR.dpuf