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

| Previous Contents Index Next
Example B-8 Disk Layout for a Dataless Node
    # Disk partitioning (dataless disk1)
    #
    #          Phys. slice  files system
    #
    #   disk1 -+ s0@disk1 +- ROOT
    #          + s1@disk1 +- SWAP
    #          + s3@disk1 +- USER1
    #

    ELEMENT disk disk1@peerNode3 device c0t0d0 type SCSI size 18
    	CONTAIN slice s0@disk1@dataless
    		slice s1@disk1@dataless
    		slice s3@disk1@dataless

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

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

    # User defined parition
    ELEMENT slice s3@disk1@dataless number 3 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 10240
    	MAP filesys USER1
Example B-9 File Systems for Dataless Nodes and Associated Master-Eligible Nodes This example is for the dataless node in Example B-8.
    # MEN and NMEN file systems
    #
    #      local       nfs-shared
    #
    #      ROOT
    #      SWAP
    #      SHARED +- CLUSTER_DATA
    #             +- CLUSTER_DATABASE
    #             +- SHARED_SOFTWARE
    #      USER1
    #      USER2
    #      USER3
    #
    # 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
    #
    # 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 /user2 mntBt no mntOpt logging
    #
    # User 3 defined file system
    ELEMENT filesys USER3 role user type ufs fsck 2 size 2048
            mntPt /user3 mntBt no mntOpt logging
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems