Chapter 17. Migration from an IRIX Cluster to a Linux 64-bit Cluster

CXFS supports a running cluster with a single type of operating system for administration nodes: either all IRIX or all Linux 64-bit. To migrate from an IRIX cluster to a Linux cluster, do the following:


Note: The following procedure assumes that the filesystems in the cluster you want to migrate do not have block sizes greater than the system page size and that they are not real-time filesystems. These types of filesystems are supported on IRIX but not on Linux 64-bit.


The example in this chapter begins with a cluster named performance having a two IRIX server-capable nodes named rum and snake and a Solaris client-only node named ray:

rum # clconf_info

Event at [2004-02-13 07:57:17]

Membership since Thu Feb 12 15:15:26 2004
Node         NodeId     Status    Age   Incarnation     CellId
snake             1         UP      2             0          1
rum               2         UP      2             0          2
ray               3         UP      1             0          0
1 CXFS FileSystems
/dev/cxvm/V9500 on /cxfs/V9500  enabled  server=(snake)  2 client(s)=(ray,rum)  status=UP

  1. Unmount the CXFS filesystems. For example, on the IRIX node rum:

    cmgr> admin cxfs_unmount cxfs_filesystem V9500
    
    cxfs_unmount operation successful
    

  2. Stop CXFS services on all nodes. For example on the IRIX node rum:

    cmgr> stop cx_services for cluster performance
    
    CXFS services have been deactivated in cluster performance

  3. Define the administration node with the Linux operating system type. For example on the IRIX node rum:

    cmgr> define node bang
    Enter commands, you may enter "done" or "cancel" at any time to exit
    
    Hostname[optional] ? bang
    Is this a FailSafe node <true|false> ? false
    Is this a CXFS node <true|false> ? true
    Operating System <IRIX|Linux32|Linux64|AIX|HPUX|Solaris|MacOSX|Windows> ? Linux64
    Node Function <server_admin|client_admin|client_only> ? server_admin
    Node ID[optional] ? 64
    Partition ID[optional] ? (0) 
    Do you wish to define failure hierarchy[y/n]:y
    Hierarchy option 0 <System|FenceReset|Fence|Reset|Shutdown>[optional] ? Fence
    Hierarchy option 1 <System|FenceReset|Fence|Reset|Shutdown>[optional] ? 
    Reset type <powerCycle|reset|nmi> ? (powerCycle) 
    Do you wish to define system controller info[y/n]:n
    Number of Network Interfaces ? (1) 
    NIC 1 - IP Address ? bang-p
    NIC 1 - Heartbeat HB (use network for heartbeats) <true|false> ? true
    NIC 1 - (use network for control messages) <true|false> ? true
    NIC 1 - Priority <1,2,...> ? 1
    
    Successfully defined node bang

  4. Add the Linux administration node to the cluster. For example on the IRIX node rum:

    cmgr> modify cluster performance
    Enter commands, you may enter "done" or "cancel" at any time to exit
    
    Is this a FailSafe cluster <true|false> ? (false) 
    Is this a CXFS cluster <true|false> ? (true) 
    Cluster Notify Cmd [optional] ? 
    Cluster Notify Address [optional] ? 
    Cluster CXFS mode <normal|experimental>[optional] ? (normal) 
    Cluster ID ? (1) 
    
    Current nodes in cluster performance:
    Node - 1: ray
    Node - 2: snake
    Node - 3: rum
    
    
    No networks in cluster performance
    
    Add nodes to or remove nodes/networks from cluster performance
    Enter "done" when completed or "cancel" to abort
    
    performance ? add node bang
    performance ? done
    Added node <bang> to cluster <performance>
    Successfully modified cluster performance

  5. Modify the CXFS filesystems to remove the IRIX administration nodes as metadata servers and add the new Linux administration node as metadata server. For example, on the IRIX node rum:

    cmgr> modify cxfs_filesystem V9500
    
    (Enter "cancel" at any time to abort)
    
    Device ? (/dev/cxvm/V9500) 
    Mount Point ? (/cxfs/V9500) 
    Mount Options[optional] ? 
    Use Forced Unmount ? <true|false> ? (false) 
    Grio Qualififed Bandwidth[optional] ? 
    Grio managed filesystem ? <true|false>[optional] ? 
    Default Local Status  ? (enabled)
    
    MODIFY CXFS FILESYSTEM OPTIONS
    
            0) Modify Server.
            1) Add Server.
            2) Remove Server.
            3) Add Enabled Node.
            4) Remove Enabled Node.
            5) Add Disabled Node.
            6) Remove Disabled Node.
            7) Show Current Information.
            8) Cancel. (Aborts command)
            9) Done. (Exits and runs command)
    
    Enter option:2
    
    Current servers:
    CXFS Server 1 - Rank: 0         Node: rum
    CXFS Server 2 - Rank: 1         Node: snake
    
    Server Node ? rum
    
            0) Modify Server.
            1) Add Server.
            2) Remove Server.
            3) Add Enabled Node.
            4) Remove Enabled Node.
            5) Add Disabled Node.
            6) Remove Disabled Node.
            7) Show Current Information.
            8) Cancel. (Aborts command)
            9) Done. (Exits and runs command)
    
    Enter option:2
    
    Current servers:
    CXFS Server 1 - Rank: 1         Node: snake
    
    Server Node ? snake
    
            0) Modify Server.
            1) Add Server.
            2) Remove Server.
            3) Add Enabled Node.
            4) Remove Enabled Node.
            5) Add Disabled Node.
            6) Remove Disabled Node.
            7) Show Current Information.
            8) Cancel. (Aborts command)
            9) Done. (Exits and runs command)
    
    Enter option:1
    
    No current servers
    
    Server Node ? bang
    Server Rank ? 1
    
            0) Modify Server.        
            1) Add Server.
            2) Remove Server.
            3) Add Enabled Node.
            4) Remove Enabled Node.
            5) Add Disabled Node.
            6) Remove Disabled Node.
            7) Show Current Information.
            8) Cancel. (Aborts command)
            9) Done. (Exits and runs command)
    
    Enter option:9
    Successfully modified cxfs_filesystem V9500

    After you complete this step, the filesystems would show the following information:

    cmgr> show cxfs_filesystem V9500
    
    Name: V9500
    Device: /dev/cxvm/V9500
    Mount Point: /cxfs/V9500
    Forced Unmount: false
    Global Status: disabled
    Default Local Status: enabled
    
    Server Name: bang
           Rank: 1

  6. Remove the IRIX administration nodes from the cluster. For example, switching to the Linux 64-bit node bang:

    cmgr> modify cluster performance 
    Enter commands, you may enter "done" or "cancel" at any time to exit
    
    Is this a FailSafe cluster <true|false> ? (false) 
    Is this a CXFS cluster <true|false> ? (true) 
    Cluster Notify Cmd [optional] ? 
    Cluster Notify Address [optional] ? 
    Cluster CXFS mode <normal|experimental>[optional] ? (normal) 
    Cluster ID ? (1) 
    
    Current nodes in cluster performance:
    Node - 1: ray
    Node - 2: snake
    Node - 3: rum
    Node - 4: bang
    
    
    Add nodes to or remove nodes/networks from cluster performance
    Enter "done" when completed or "cancel" to abort
    
    performance ? remove node rum
    performance ? remove node snake
    performance ? done
    Successfully modified cluster performance

  7. Delete the IRIX administration nodes from the pool. For example, from the Linux 64-bit node bang:

    cmgr> delete node rum
    Deleted node (rum).
    
    cmgr> delete node snake
    Deleted node (snake).

  8. Start CXFS services for all nodes in the cluster. For example, from the Linux 64-bit node bang:

    cmgr> start cx_services for cluster performance
    
    CXFS services have been activated in cluster performance

  9. Mount the CXFS filesystems. For example, from the Linux 64-bit node bang:

    cmgr> admin cxfs_mount cxfs_filesystem V9500
    
    cxfs_mount operation successful

After completing this procedure, the cluster information is as follows:

[root@bang root]# clconf_info

Event at [2004-02-13 08:44:18]

Membership since Fri Feb 13 08:44:13 2004
Node         NodeId     Status    Age   Incarnation     CellId
ray               3         UP      1             0          0
bang             64         UP      1             0          3
1 CXFS FileSystems
/dev/cxvm/V9500 on /cxfs/V9500  enabled  server=(bang)  1 client(s)=(ray)  status=UP

For more information about using the cmgr command to perform this procedure, see the following:

For more information about using the GUI, see the following: