12.3 Setting Up Multiple Replicas at One Site

This section describes the process of creating replicas at one site.

Creating a replica of an existing VOB doesn't split the storage. On the contrary, the new replica requires additional disk space to accommodate another complete copy of the VOB's database and storage pools. For information about splitting a VOB, see the Administrator's Guide for Rational ClearCase.

If both replicas are on UNIX hosts or in the same Windows domain, they can be ownership-preserving. Any change in the owner, group, or access mode of an element at one of the replicas is propagated to the other replica.

The following procedure creates a Windows replica from a UNIX replica:

  1. On the UNIX host:

  2. multitool mkreplica -export -work /tmp/ms_wkdir -fship \
    -c "create replica for Windows use" aquarium:boston_windows
    Generating replica creation packet <outgoing-packet-pathname>
    - shipping order file is <shipping-order-pathname>
    Dumping database...
    . . .
    Dumper done.
    Attempting to forward/deliver generated packets...
    -- Forwarded/delivered packet <outgoing-packet-pathname>

  3. On the Windows host:

  4. multitool lspacket -short
    c:\Program Files\Rational\ClearCase\var\shipping\ms_ship\incoming\repl_bos ton_hub_21-Jul-00.18.42.01_1

    multitool mkreplica -import -npreserve -work c:\tmp\msite ^
    -tag \dev -public -vob \\aquarium\vobs\dev.vbs ^
    c:\Program Files\Rational\ClearCase\var\shipping\ms_ship\incoming\repl_boston_ hub_21-Jul-00.18.42.01_1
    The packet can only be used to create replica "boston_windows"
    - VOB family is ecf68c58.90fe11cd.a393.08:00:09:49:29:cd
    - replica OID is 9947c591.912d11cd.a4b1.08:00:09:49:29:cd
    Should I create this replica? [no] yes
    Comments for "boston_windows":
    provide native Windows access to VOB
    .
    Processing packet c:\Program Files\Rational\ClearCase\var\shipping\ms_ship\incoming\repl_bos ton_hub_21-Jul-99.18.42.01_1
    Loading database...
    . . .
    Loader done.
    Vob tag registry password: <enter password> (password required to create public VOB)
    Registering VOB mount tag "\dev"...
    VOB replica successfully created.
    Host-local path: aquarium:C:\vobs\dev.vbs
    Global path: \\aquarium\vobs\dev.vbs
    VOB ownership:
    owner susan
    group user