:




  clu_create

1. Virtual cluster interconnect device   (isc0) 10.0.0.1
Phisical cluster interconnect device  (tu0)  10.1.0.1
  phisical       CI?

 MC,  IP   .
 LAN -    -   MC-

2.   root,var,usr    ?
   : 

3.   quorum, boot1 clu_create  ?
   : 

4.    /cluster/members/{memb}
   :  boot- root2_domain#root at /dev/disk/dsk2a
   : /vmunix --> /cluster/members/{memb}/boot_partition/vmunix

5.                     fiber
chanel-

>>> boot -file  genvmunix -fl s  dka300
# doconfig
# cp /sys/MOS209/vmunix /

  ,   NHD (New Hardware Delivery)
mount /cdrom
/cdrom/nhd_install       setld
    ..  .        -     
 

6.        ?
 -   IP ?    ?
          CI- ?
Phisical  ?

        IP-.   , ,
  IC-,  IC-

    OUT-IP  -  .   /etc/cluster_services  
 outmulti,         


7. DRD   ,    ?
( ,   - com,lpt,ethernet...)?

DSK, TAPE

8.    .   - ,   
    ?  ..    8-      
     2- ?

      -  .          
/etc/sysconfigtab     ,      ,
  ,    io-suspend

9.     .   cdsl-  NFS ?
        ?

:

     , as is   {memb}.     ,
    trueunix'.   NFS-   
,      .

10. ssh IP-         ?  round-robin

    /etc/cluster_services 

in_single  (default)  -               
   ( .    ,    )

in_multi  -           
             selection-weight  (    3    ,   3 
             ,    )




 ---------------------------------------
  eth              eth
CLUSTER          CLUSTER
      ci ====== ci
MEMBER1          MEMBER2
 scsi/fc           fs
     \______________|______________________________
           RAID      SCSI
               


 ci     - Cluster interconnect -  dedicated LAN
                                  MC - Memory Chanel

 scsi/fs -  SCSI   Fiber chanel  
                       



  SCSI   DS15
 1*r-     66M/sec
 2*r-   2*66M/sec
 3*r-   2*66M/sec
 4*r-   2*66M/sec

 1*b-     18M/sec
 2*b-   2*18M/sec
 3*b-   2*18M/sec
 4*b-   2*18M/sec



 | ADVFS- |   |  , b, c

 
dd if= of=

nhd



#       wwidmgr
set mod diag
#       shared bus
set bus_probe_algorithm new

set eib0_mode
set eib0 FastFD   # ee0 = eia0, ee1 = eib0

help wwidmgr          #  help
wwidmgr -show wwid    #    

    udid 131   wwid0, 132 
wwidmgr -clear all
wwidmgr -quickset -item 1 -udid 131
wwidmgr -quickset -item 2 -udid 132
show wwid*            #   fc-
show n*               #     raid-
      show dev



disklabel -r  dsk8    #  
disklabel -re dsk8    #      
diskconfig            #    GUI


/dev/rdisk/dsk[0-9][a-h]  #     dsk7c "c"    '
/dev/disk/dsk[0-9][a-h]  #   a,b,d,e,f,g,h -  




     ()  .
/ /etc /usr  .. -   .

  __ ()  
 /cluster/members/member1/...
 /cluster/members/member2/...
 /cluster/members/{memb}/ -     
 /cluster/members/member --> /cluster/members/{memb}

 /etc/ - ,       .
   Context Dependend Symbolic Link (CDFS)  
 

/etc/passwd --> ../cluster/members/{memb}/etc/passwd

CFS      DRD  -         
  Device Request Dispatcher -     (..    
    -      ,    
   -      Cluster  Intercon
nect

          CFS     ,
       DRD.       ,
      fs   . Failover
,  load-balancing .

cfsmgr /filesystem   -       fs
cfsmgr -a server=system2 /   -   "/"  system2



,   failover   -     
    .

Single-instance -    . CAA   failover

Multi-instance	-     .  locking, 
                      

Distributed     -     .   
                     (Distributed Lock Manager)
		      

/var/cluster/caa/profile/*.cap -   CAA  network-
/var/cluster/caa/script/*.scr  -   CAA

################# Network ###############
TYPE = network
NAME = net155
DESCRIPTION = Localnetwork of our office
SUBNET = 155.208.157.0
FAILURE_TRESHHOLD = 0
FAILURE_INTERVAL = 0

################# Tape, Mediachanger ###############
TYPE = tape    #  changer
NAME = TapeRMT0
DESCRIPTION = Tape drive 1
DEVICE_NAME = /dev/tape/tape1
FAILURE_TRESHHOLD = 0
FAILURE_INTERVAL = 0


################# Application ###############
TYPE = application
NAME = appl
DESCRIPTION = Application Description
HOSTING_MEMBERS
PLACEMENT = balanced      #  
            favored (  ,   ,  ),
	    restricted (  ,    )
REQUIRED_RESOURCES
OPTIONAL_RESOURCES
CHECK_INTERVAL = 60
FAILURE_TRESHHOLD = 0
FAILURE_INTERVAL = 0
RESTART_ATTEMPTS = 1
FAILOVER_DELAY =
AUTO_START = 1             #     reboot
ACTION_SCRIPT = appl.scr   #  starting/stoping,check-running
                   /var/cluster/caa/script
                : start/stop/check,   0
SCRIPT_TIMEOUT = 60        #      60 ,  fail
###############################################

caa_profile       caa-
caa_register      caa-  -(netw,tape)
caa_start         caa-  -(netw,tape)
caa_stop          caa- (  )
caa_stat          
caa_relocate        



  hostname  IP , 
      hostname  IP

Cluster  interconnect   IP-,    10.0.0.1,
10.0.0.2,...

 ethernet      NetRain
 ee0,ee1,ee2     nr0,   
  IP  (       ,  - 
   )

  NetRain    ClusterInterconnect.     
    -      
,     .



       
 .   .  
  ()      :
 /      > 125 ( 250)
 /usr/  > 680 ( 1000)
 /var/
   ..      _  _    ""      
  .       
    ,           (
 ).

,     (LUN'):

 tru64  (3)  -  "  " -      .
    ,     .

 root ( 250M) -     
 /usr ( 1000) -     
 /var ( 1000) -     
 /1,2 ( ) -     

 boo1 ( 500) -    member1
 /dev/disk/dsk2a -- root2_domain#root on /cluster/members/{memb}/boot_partition
 /dev/disk/dsk2b -- swap  member1
 /dev/disk/dsk2h -- cnx  1,     -
                       

 boo2 ( 500) -    member2

 quorum ( 1) -   (  )  




clu_create  -      -       boot1  member1

    boo1,     member1    
clu_add_client -     boot2, boot3,...



mount /dev/disk/cdrom0c /cdrom
setld -l /cdrom/TruCluster/kit     #   Additional kit 2
umount /cdrom
mount /dev/disk/cdrom0c /cdrom     # NHD (New Hardware Detect) 1 of 1
cd /cdrom ; ./nhd_install
umount /cdrom

lmfsetup   #    TruCluster TCS-UA

clu_create
    ,  :
clu_add_member



 ()         

/fsdir-name/cluster/members/member[N]/...



/var/adm/abc.log -  

mkcdsl -c /var/adm/abc.log    member-specific 
   CDSL

/var/adm/abc.log --> /var/cluster/members/{memb}/adm/abc.log

mkcdsl  -a  /var/adm/abcde -     cdsl    
                              





 dsfmgr - Device Special Files manager
 hwmgr  - Hardware manager
 drdmgr - Device Request Dispatcher manager

hwmgr -scan scsi
hwmgr -view devices
hwmgr -view devices -cluster
hwmgr -view hierarchy -member membername
hwmgr -show scsi


        SCSI                DEVICE    DEVICE  DRIVER NUM  DEVICE FIRST
 HWID:  DEVICEID HOSTNAME   TYPE      SUBTYPE OWNER  PATH FILE   VALID PATH
-------------------------------------------------------------------------
   68:  0        mos214     disk      none    0      1    dsk0   [0/0/0]
   69:  1        mos214     disk      none    0      1    dsk1   [0/1/0]
   70:  2        mos214     disk      none    2      1    dsk2   [0/3/0]
   71:  3        mos214     cdrom     none    0      1    cdrom0 [2/0/0]
   75:  5        mos214     disk      none    0      1    dsk4   [0/2/0]
  114:  4        mos214     raid      none    0      4    scp1   [6/0/0]
  120:  6        mos214     disk      none    0      1    dsk5   [6/3/11]
  121:  7        mos214     disk      none    0      1    dsk6   [6/3/12]
  122:  8        mos214     disk      none    2      1    dsk7   [6/3/13]
  123:  9        mos214     disk      none    0      1    dsk8   [6/3/14]
  124:  10       mos214     disk      none    0      1    dsk9   [6/3/15]
  125:  11       mos214     disk      none    0      1    dsk10  [6/3/16]

hwmgr -delete -id 125    #    

dsfmgr -v     - verify   
dsfmgr -vF    - verify & fix    

drdmgr -a server dsk3      dsk3
drdmgr -h system1 -a accessnode=system2 dsk3
         system1    dsk3  system2

   : hwmgr -scan comp -cat scsi_bus
      





sysman -station
   --> cluster specific

clu_get_info          

clu_check_config    



   
member2# shutdown -sh
member1# clu_delete_member -m 2
member1# clu_quorum     

   
member2:  
member1# clu_quorum     

  :
  /etc/sysconfigtab
clubase:cluster_name=newname

    
cat > tmp-file <

- clu_quorum -f -d add dsk8 1 clu_quorum -f -d adjust dsk8 1 clu_quorum -f -d remove memb1 clu_quorum -f -m memb1 1 clu_quorum -f - 3 (N+2)/2

disklabel -r /dev/rdisk/dsk$1c > lbl.txt disklabel -z /dev/rdisk/dsk$2c disklabel -Rr -t advfs /dev/rdisk/dsk$2c lbl.txt /mdec/rzboot.advfs /mdec/bootrz.advfs dd if=/dev/disk/dsk$1a of=/dev/disk/dsk$2a bs=8192k dd if=/dev/disk/dsk$1b of=/dev/disk/dsk$2b bs=8192k dd if=/dev/disk/dsk$1g of=/dev/disk/dsk$2g bs=8192k dd if=/dev/disk/dsk$1h of=/dev/disk/dsk$2h bs=8192k

Last-modified: Thu, 12 Aug 2004 17:23:33 GMT
: