Date Created: Wed 22-Sep-2010

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


    Create a test ClearCase dynamic view

    As Root:

    mkdir /viewstore01
    chown vobadmin:dev /viewstore01

    mkdir /vobstore01
    chown vobadmin:dev /vobstore01

    as vobadmin:



    cleartool mkstgloc -view -region region-name -host ccserver -hpath /path-goes-here/viewstore -gpath /path-goes-here/viewstore viewstore /path-goes-here/viewstore

    cleartool mkstgloc -view viewstore01 /viewstore01

    Result:
    [vobadmin@localhost ~]$ cleartool mkstgloc -view viewstore01 /viewstore01
    Advertise existing directory "/viewstore01"? [no] yes
    Advertised existing directory.
    Host-local path: localhost.localdomain:/viewstore01
    Global path: /viewstore01

    cleartool mkstgloc -vob -region region-name -host ccserver -hpath /path-goes-here/vobstore -gpath /path-goes-here/vobstore vobstore /path-goes-here/vobstore

    cleartool mkstgloc -vob vobstore01 /vobstore01


    [vobadmin@localhost ~]$ cleartool mkstgloc -vob vobstore01 /vobstore01
    Advertise existing directory "/vobstore01"? [no] yes
    Advertised existing directory.
    Host-local path: localhost.localdomain:/vobstore01
    Global path: /vobstore01


    1. Create a VOB

    cleartool mkvob -region region-name -tag /vob/PROJECT -stgloc vobstore -public 

    cleartool mkvob -tag /vobs/test_vob -stgloc vobstore01

    2. Mount the VOB:

    If file system does not exist then create and change ownership to vobadmin:dev

    cleartool mount /vobs/test_vob

    3. Create a dynamic view:
    cleartool mkview -tag view-tag dynamic-view-storage-path
    cleartool mkview -tag test_view /viewstore01/test_view.vws

    4. Start the view (the mkview command may have already started the view):

    cleartool setview test_view

    5. CD to VOB:

    cd /vobs/test_vob

    6. Add a file:

    cleartool co –nc .

    result:
    Checked out "." from version "/main/0".

    cleartool mkelem –nc testfile.txt

    result:
    Created element "testfile.txt" (type "text_file").
    Checked out "testfile.txt" from version "/main/0".

    cleartool ci -nc .

    result:
    Checked in "." version "/main/1".

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/

Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories