sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
Example B-5 File Systems Associated With the Master-Eligible Node This example is for the master-eligible node in Example B-4.
    file systems associated to MEN

    # ------------------------------------------------
    # MEN and NMEN file systems
    #
    #      local       nfs-shared
    #
    #      ROOT
    #      SWAP
    #      SHARED +- CLUSTER_DATA
    #             +- CLUSTER_DATABASE
    #             +- SHARED_SOFTWARE
    #      USER1
    #
    # Root file system
    ELEMENT filesys ROOT role root type ufs fsck 1 size 2048
            mntPt / mntBt no mntOpt logging
    #
    # Swap
    ELEMENT filesys SWAP role swap type swap  mntBt no size 1024
    #

    # Diskless node shared file system
    ELEMENT filesys EXPORT role export type ufs fsck 2 size 2048
             mntPt /export mntBt no mntOpt logging

    # Shared data and software exported file system
    ELEMENT filesys SHARED role shared type ufs fsck 2 size 2048
            mntPt /SUNWcgha/local mntBt no mntOpt logging
    	CONTAIN exportedFileSys CLUSTER_DATA
    		exportedFileSys CLUSTER_DATABASE
    		exportedFileSys SHARED_SOFTWARE
    #
    # Shared cluster data (e.g. CMM nodes table, ...)
    ELEMENT filesys CLUSTER_DATA role data type nfs
            mntPt export/data
            remMntPt /SUNWcgha/remote mntBt no
    	mntOpt rw,hard,fg,intr,noac,proto=udp
    #
    # Shared middleware (e.g. JDMK, application services, ...)
    ELEMENT filesys SHARED_SOFTWARE role services type nfs
            mntPt export/services/<--SWLID-->/opt
    	remMntPt /SUNWcgha/services mntBt no
    	mntOpt rw,hard,fg,intr,noac,proto=udp
    #
    # Shared application services ldap database
    ELEMENT filesys CLUSTER_DATABASE role database type nfs
            mntPt export/services
    	remMntPt /SUNWcgha/swdb mntBt no
    	mntOpt rw,hard,fg,intr,noac,proto=udp
    #
    # User 1 defined file system
    ELEMENT filesys USER1 role user type ufs fsck 2 size 2048
            mntPt /user1 mntBt no mntOpt logging
Example B-6 Disk Layout for Master-Eligible Node Without Diskless Nodes
    # Disk partitioning (MEN w/o diskless)
    #
    #          Phys. slice              files system
    #
    #   disk1 -+ s0@disk1 +------------- ROOT
    #          + s1@disk1 +------------- SWAP
    #          + s3@disk1 +------------- SHARED (replicated)
    #          + s4@disk1 +
    #          + s5@disk1 +------------- USER1 (replicated)
    #          + s6@disk1 +
    #          + s7@disk1 +------------- USER2
    #

    ELEMENT disk disk1@peerNode1 device c0t0d0 type SCSI size 18
             CONTAIN slice s0@disk1
                     slice s1@disk1
                     slice s3@disk1
                     slice s4@disk1
                     slice s5@disk1
                     slice s6@disk1
                     slice s7@disk1

    # Root partition
    ELEMENT slice s0@disk1 number 0 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 2048
    	MAP filesys ROOT

    # Swap partition
    ELEMENT slice s1@disk1 number 1 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 1024
    	MAP filesys SWAP

    # Shared software and data partition (replicated)
    ELEMENT slice s3@disk1 number 3 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 2048 role REPLICATED
    	MAP filesys SHARED

    ELEMENT slice s4@disk1 number 4 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 10 role BITMAP_SNDR
             MANAGE replicatedSlice s3@disk1

    ELEMENT slice s5@disk1 number 5 rawDev /dev/rdsk blockDev /dev/dsk
             type META size 2048
    	MAP filesys USER1

    ELEMENT slice s6@disk1 number 6 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 10 role BITMAP_SNDR
             MANAGE replicatedSlice s5@disk1

    # User partition 1 (not replicated)
    ELEMENT slice s7@disk1 number 7 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 2048
    	MAP filesys USER2
Example B-7 File Systems Associated With the Master-Eligible Node This example is for the master-eligible node in Example B-6.
    # MEN and NMEN file systems
    #
    #      local       nfs-shared
    #
    #      ROOT
    #      SWAP
    #      SHARED +- CLUSTER_DATA
    #             +- CLUSTER_DATABASE
    #             +- SHARED_SOFTWARE
    #      USER1
    #      USER2
    #
    # Root file system
    ELEMENT filesys ROOT role root type ufs fsck 1 size 2048
            mntPt / mntBt no mntOpt logging
    #
    # Swap
    ELEMENT filesys SWAP role swap type swap  mntBt no size 1024
    #

    # Diskless node shared file system
    ELEMENT filesys EXPORT role export type ufs fsck 2 size 2048
             mntPt /export mntBt no mntOpt logging

    # Shared data and software exported file system
    ELEMENT filesys SHARED role shared type ufs fsck 2 size 2048
            mntPt /SUNWcgha/local mntBt no mntOpt logging
    	CONTAIN exportedFileSys CLUSTER_DATA
    		exportedFileSys CLUSTER_DATABASE
    		exportedFileSys SHARED_SOFTWARE
    #
    # Shared cluster data (e.g. CMM nodes table, ...)
    ELEMENT filesys CLUSTER_DATA role data type nfs
            mntPt export/data
            remMntPt /SUNWcgha/remote mntBt no
    	mntOpt rw,hard,fg,intr,noac,proto=udp
    #
    # Shared middleware (e.g. JDMK, application services, ...)
    ELEMENT filesys SHARED_SOFTWARE role services type nfs
            mntPt export/services/<--SWLID-->/opt
    	remMntPt /SUNWcgha/services mntBt no
    	mntOpt rw,hard,fg,intr,noac,proto=udp
    #
    # Shared application services ldap database
    ELEMENT filesys CLUSTER_DATABASE role database type nfs
            mntPt export/services
    	remMntPt /SUNWcgha/swdb mntBt no
    	mntOpt rw,hard,fg,intr,noac,proto=udp
    #
    # User 1 defined file system
    ELEMENT filesys USER1 role user type ufs fsck 2 size 2048
            mntPt /user1 mntBt no mntOpt logging
    #
    # User 2 defined file system
    ELEMENT filesys USER2 role user type ufs fsck 2 size 2048
            mntPt /user1 mntBt no mntOpt logging
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems