[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8577.0. "Prblms adding drd disk in TCR140, what do we do wrong" by NETRIX::"[email protected]" (martin) Fri Jan 24 1997 09:56

Help !!!  -...

When we are making the drd devices for the OPS in a Trucluster Production
server
V1.4. Somebody else must have tried this too...
We make all the disks in LSM (tablespace, redo, etc.etc.), but when adding the
drd
service we get this error: (extracted from the output below)

*** Found disk /dev/rz16 on more than one service (redosp1_01 and rbssp_0)

The output below are from the asemgr, and a voldisk on oradg.

I hope we can get some info 
Best regards MArtin, (who would like a cluster for testing out this)

root@bilbo/> asemgr

        TruCluster Production Server (ASE)

                ASE Main Menu

    a)  Managing the ASE         -->
    m)  Managing ASE Services    -->
    s)  Obtaining ASE Status     -->

    x)  Exit                             ?)  Help

Enter your choice: m

                Managing ASE Services

    c)  Service Configuration    -->
    r)  Relocate a service
   on)  Set a service on line
  off)  Set a service off line
  res)  Restart a service
    s)  Display the status of a service
    a)  Advanced Utilities       -->

    x)  Exit to the Main Menu            ?)  Help

Enter your choice [x]: c

                Service Configuration

    a)  Add a new service
    m)  Modify a service
    d)  Delete a service
    s)  Display the status of a service

    x)  Exit to Managing ASE Services    ?)  Help

Enter your choice [x]: a

        Adding a service

Select the type of service:

    1)  NFS service
    2)  Disk service
    3)  User-defined service
    4)  DRD service

    x)  Exit to Service Configuration    ?)  Help

Enter your choice [1]: 4

You are now adding a new DRD disk service to your ASE.

A DRD disk service is comprised of any number of DRDs which can be
created from a single raw disk partition or LSM volume which will 
be accessible from all members in the cluster.
Note: If using a raw disk partition please be sure that the character 
      device special file exists on all members which are in this ASE.

                    DRD Service Name

The name of a DRD disk service must be a unique service name within this ASE.

Enter the DRD disk service name ('q' to quit): redosp1_01

You will now be prompted to enter a list of devices comprising
the DRD service, enter Return when you have completed the list.

Enter an existing character device special file for one of the following:

        a physical device (ie /dev/rrz1c) 
        a LSM volume (ie /dev/rvol/dg/vol01) 
        To end the list, press the Return key at the prompt.

Enter character device special file: /dev/rvol/oradg/redosp1_01

 Following is a list of device(s) and pubpath(s) for disk group oradg:

        DEVICE  PUBPATH

        rz16    /dev/rz16g
        rz17    /dev/rz17g
        rz18    /dev/rz18g
        rz19    /dev/rz19g
        rzc16   /dev/rzc16g
        rzc17   /dev/rzc17g
        rzb18   /dev/rzb18g
        rzb19   /dev/rzb19g
        rzb19   /dev/rzb19g
        rz24    /dev/rz24g
        rz25    /dev/rz25g
        rz26    /dev/rz26g
        rz27    /dev/rz27g
        rzc24   /dev/rzc24g
        rzc25   /dev/rzc25g
        rzb26   /dev/rzb26g
        rzb27   /dev/rzb27g

Is this correct (y/n) [y]: 

Enter an existing character device special file for one of the following:

        a physical device (ie /dev/rrz1c) 
        a LSM volume (ie /dev/rvol/dg/vol01) 
        To end the list, press the Return key at the prompt.

Enter character device special file: 

DRD Device Special File:    /dev/rdrd/drd1
Underlying Storage:         /dev/rvol/oradg/redosp1_0 
oradg            rz16 rz17 rz18 rz19 rzc16 rzc17 rzb18 rzb19 rz24 rz25 rz26
rz2
7 rzc24 rzc25 rzb26 rzb27

NOTE: In order to access the DRD devices in this service from cluster 
      members outside of this ASE execute the following on each cluster 
      node which is not a member of this ASE:
                drd_mknod -f drd1

        Selecting an Automatic Service Placement (ASP) Policy

Select the policy you want ASE to use when choosing a member
to run this service:

    b)  Balanced Service Distribution
    f)  Favor Members
    r)  Restrict to Favored Members

    x)  Exit to Service Configuration    ?)  Help

Enter your choice [b]: 

        Selecting an Automatic Service Placement (ASP) Policy

Do you want ASE to consider relocating this service to another member
if one becomes available while this service is running (y/n/?): n

Enter 'y' to add Service 'redosp1_01' (y/n): y
Adding service...
Starting service...
Service redosp1_01 successfully added...

                Service Configuration

    a)  Add a new service
    m)  Modify a service
    d)  Delete a service
    s)  Display the status of a service

    x)  Exit to Managing ASE Services    ?)  Help

Enter your choice [x]: a

        Adding a service

Select the type of service:

    1)  NFS service
    2)  Disk service
    3)  User-defined service
    4)  DRD service

    x)  Exit to Service Configuration    ?)  Help

Enter your choice [1]: 4

You are now adding a new DRD disk service to your ASE.

A DRD disk service is comprised of any number of DRDs which can be
created from a single raw disk partition or LSM volume which will 
be accessible from all members in the cluster.
Note: If using a raw disk partition please be sure that the character 
      device special file exists on all members which are in this ASE.

                    DRD Service Name

The name of a DRD disk service must be a unique service name within this ASE.

Enter the DRD disk service name ('q' to quit): rbssp_01

You will now be prompted to enter a list of devices comprising
the DRD service, enter Return when you have completed the list.

Enter an existing character device special file for one of the following:

        a physical device (ie /dev/rrz1c) 
        a LSM volume (ie /dev/rvol/dg/vol01) 
        To end the list, press the Return key at the prompt.

Enter character device special file: /dev/rvol/oradg/rbssp_01  

 Following is a list of device(s) and pubpath(s) for disk group oradg:

        DEVICE  PUBPATH
        rz16    /dev/rz16g
        rz17    /dev/rz17g
        rz18    /dev/rz18g
        rz19    /dev/rz19g
        rzc16   /dev/rzc16g
        rzc17   /dev/rzc17g
        rzb18   /dev/rzb18g
        rzb19   /dev/rzb19g
        rz24    /dev/rz24g
        rz25    /dev/rz25g
        rz26    /dev/rz26g
        rz27    /dev/rz27g
        rzc24   /dev/rzc24g
        rzc25   /dev/rzc25g
        rzb26   /dev/rzb26g
        rzb27   /dev/rzb27g

Is this correct (y/n) [y]: 

Enter an existing character device special file for one of the following:
        a physical device (ie /dev/rrz1c) 
        a LSM volume (ie /dev/rvol/dg/vol01) 
        To end the list, press the Return key at the prompt.

Enter character device special file: 

DRD Device Special File:    /dev/rdrd/drd2
Underlying Storage:         /dev/rvol/oradg/rbssp_01
 oradg            rz16 rz17 rz18 rz19 rzc16 rzc17 rzb18 rzb19 rz24 rz25 rz26
rz2
7 rzc24 rzc25 rzb26 rzb27

NOTE: In order to access the DRD devices in this service from cluster 
      members outside of this ASE execute the following on each cluster 
      node which is not a member of this ASE:
                drd_mknod -f drd2

        Selecting an Automatic Service Placement (ASP) Policy

Select the policy you want ASE to use when choosing a member
to run this service:

    b)  Balanced Service Distribution
    f)  Favor Members
    r)  Restrict to Favored Members

    x)  Exit to Service Configuration    ?)  Help

Enter your choice [b]: 


        Selecting an Automatic Service Placement (ASP) Policy

Do you want ASE to consider relocating this service to another member
if one becomes available while this service is running (y/n/?): n

*** Found disk /dev/rz16 on more than one service (redosp1_01 and rbssp_01)

The following lists the current configuration for DRD service "rbssp_01"

       1)  /dev/rdrd/drd2 -> /dev/rvol/oradg/rbssp_01
       a)  Add LSM volume or physical disk
       d)  Delete LSM volume or physical disk
       n)  Service name -> rbssp_01
       q)  Quit without making any changes
       x)  Exit (done with modifications)

Enter the option you wish to modify [x]: 

------------------------------------------------------------------------------

Disk group: oradg

dg oradg        854114157.2130.bilbo.dmt.dk
dm oradg01      rz16         sliced   1024     8376988  /dev/rrz16g
dm oradg02      rz17         sliced   1024     8376988  /dev/rrz17g
dm oradg03      rz18         sliced   1024     8376988  /dev/rrz18g
dm oradg04      rz19         sliced   1024     8376988  /dev/rrz19g
dm oradg05      rzc16        sliced   1024     8376988  /dev/rrzc16g
dm oradg06      rzc17        sliced   1024     8376988  /dev/rrzc17g
dm oradg07      rzb18        sliced   1024     8376988  /dev/rrzb18g
dm oradg08      rzb19        sliced   1024     8376988  /dev/rrzb19g
dm oradg101     rz24         sliced   1024     8376988  /dev/rrz24g
dm oradg102     rz25         sliced   1024     8376988  /dev/rrz25g
dm oradg103     rz26         sliced   1024     8376988  /dev/rrz26g
dm oradg104     rz27         sliced   1024     8376988  /dev/rrz27g
dm oradg105     rzc24        sliced   1024     8376988  /dev/rrzc24g
dm oradg106     rzc25        sliced   1024     8376988  /dev/rrzc25g
dm oradg107     rzb26        sliced   1024     8376988  /dev/rrzb26g
dm oradg108     rzb27        sliced   1024     8376988  /dev/rrzb27g
sd oradg01-01   redosp1_01-01 0        0        10240    oradg01      rz16
sd oradg01-02   rbssp_01-01  0        10240    524288   oradg01      rz16
sd oradg02-01   redosp1_01-01 10240    0        10240    oradg02      rz17
sd oradg02-02   rbssp_01-01  524288   10240    524288   oradg02      rz17
sd oradg03-01   redosp1_01-01 20480    0        10240    oradg03      rz18
sd oradg03-02   rbssp_01-01  1048576  10240    524288   oradg03      rz18
sd oradg04-01   redosp1_01-01 30720    0        10240    oradg04      rz19
sd oradg04-02   rbssp_01-01  1572864  10240    524288   oradg04      rz19
sd oradg05-01   redosp1_01-01 40960    0        10240    oradg05      rzc16
sd oradg05-02   rbssp_01-01  2097152  10240    524288   oradg05      rzc16
sd oradg06-01   redosp1_01-01 51200    0        10240    oradg06      rzc17
sd oradg06-02   rbssp_01-01  2621440  10240    524288   oradg06      rzc17
sd oradg07-01   redosp1_01-01 61440    0        10240    oradg07      rzb18
sd oradg07-02   rbssp_01-01  3145728  10240    524288   oradg07      rzb18
sd oradg08-01   redosp1_01-01 71680    0        10240    oradg08      rzb19
sd oradg08-02   rbssp_01-01  3670016  10240    524288   oradg08      rzb19
sd oradg101-01  redosp1_01-02 0        0        10240    oradg101     rz24
sd oradg101-02  rbssp_01-02  0        10240    524288   oradg101     rz24
sd oradg102-01  redosp1_01-02 10240    0        10240    oradg102     rz25
sd oradg102-02  rbssp_01-02  524288   10240    524288   oradg102     rz25
sd oradg103-01  redosp1_01-02 20480    0        10240    oradg103     rz26
sd oradg103-02  rbssp_01-02  1048576  10240    524288   oradg103     rz26
sd oradg104-01  redosp1_01-02 30720    0        10240    oradg104     rz27
sd oradg104-02  rbssp_01-02  1572864  10240    524288   oradg104     rz27
sd oradg105-01  redosp1_01-02 40960    0        10240    oradg105     rzc24
sd oradg105-02  rbssp_01-02  2097152  10240    524288   oradg105     rzc24
sd oradg106-01  redosp1_01-02 51200    0        10240    oradg106     rzc25
sd oradg106-02  rbssp_01-02  2621440  10240    524288   oradg106     rzc25
sd oradg107-01  redosp1_01-02 61440    0        10240    oradg107     rzb26
sd oradg107-02  rbssp_01-02  3145728  10240    524288   oradg107     rzb26
sd oradg108-01  redosp1_01-02 71680    0        10240    oradg108     rzb27
sd oradg108-02  rbssp_01-02  3670016  10240    524288   oradg108     rzb27
pl rbssp_01-01  rbssp_01     ENABLED  ACTIVE   4194304  STRIPE   128      RW
pl rbssp_01-02  rbssp_01     ENABLED  TEMPRMSD 4194304  STRIPE   128      WO
pl redosp1_01-01 redosp1_01   ENABLED  ACTIVE   81920    STRIPE   128      RW
pl redosp1_01-02 redosp1_01   ENABLED  ACTIVE   81920    STRIPE   128      RW
v  rbssp_01     fsgen        ENABLED  ACTIVE   4194304  SELECT   rbssp_01-01
v  redosp1_01   fsgen        ENABLED  ACTIVE   81920    SELECT   -
BILLY $ 
BILLY $ 
BILLY $ 

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
8577.1have a look at thisALFAM7::GOSEJACOBTue Jan 28 1997 05:1011
    re.0
    I guess you need to re-plan your setup. You would need at least 2 LSM
    volume groups and you should plan for far less drd services with a
    couple of drd devices each. Have a look at:
    
    	EPS::ORACLE 1386.2
    
    Hope this helps
    
    	Martin
    
8577.2Thansk so for, this seems to be it ...NETRIX::"[email protected]"martinWed Jan 29 1997 05:568
Hello ...

Thanks for the pointer, we now have to check if this goes for Digital_unix
v4.0
and tcr140.

regards MArtin
[Posted by WWW Notes gateway]
8577.3check this tooALFAM7::GOSEJACOBWed Jan 29 1997 11:2613
    re .2
    Should work the same way for V4.0 and TCR140. Make sure you apply the
    required Oracle patches to run on 4.0. And a little hint (at no extra
    charge):
    
    	mkdir /usr/lib/X11/nls
    
    This will help getting the Motif based Oracle tools (svrmgrm) running.
    For some unknown reason Oracle has this path hardcode and the directory
    dissapeared with X11R6.
    
    	the other Martin
                            
8577.4Thanks again, customer do the Oracle himselfNETRIX::"[email protected]"martinMon Feb 17 1997 05:426
I'll pass it on 

Thanks

mvh MArtin
[Posted by WWW Notes gateway]