Operating System - Tru64 Unix
1828659 Members
1380 Online
109983 Solutions
New Discussion

disk, mirror and cluster Information

 
SOLVED
Go to solution
Carme Torca
Super Advisor

disk, mirror and cluster Information

Hi,

I would like to know who could I know the configuration of a system, and if it's in cluster or no, and if it's in mirror or no.

I have this structure:

#root 131072 68261 57824 55% /cluster/members/member1/boot_partition
cluster_usr#usr 5242880 2264934 2956976 44% /usr
cluster_var#var 4194304 1081064 3113240 26% /var
/proc 0 0 0 100% /proc
sapdata_domain#archaux 1447034880 275029 418577632 1% /archaux
sapdata_domain#copias_sistema 1447034880 3269369 418577632 1% /copias_sistema
/usr/sap/trans@isucon1 16957952 12944749 3917504 77% /usr/cluster/members/member1/sap/trans
root2_domain#root 131072 46685 79408 38% /cluster/members/member2/boot_partition
/usr/sap/trans@isucon1 16957952 12944749 3917504 77% /usr/cluster/members/member2/sap/trans
file-on-file mount 0 0 0 100% /usr/net/servers/lanman/mailslot/net/000dd772.000.ISUPROASU
interfases_domain#interfases 47185920 20054026 27090384 43% /interfases
oracle_domain#oracle 5242880 3696224 1527544 71% /oracle
redo_domain2#mirrlogA 1048576 194592 653992 23% /oracle/SCP/mirrlogA
redo_domain1#mirrlogB 1048576 194592 605232 25% /oracle/SCP/mirrlogB
redo_domain1#origlogA 1048576 243352 605232 29% /oracle/SCP/origlogA
redo_domain2#origlogB 1048576 194592 653992 23% /oracle/SCP/origlogB
sapdata_domain#sapdata1 1447034880 312430384 418577632 43% /oracle/SCP/sapdata1
sapdata_domain#sapdata2 1447034880 144537968 418577632 26% /oracle/SCP/sapdata2
sapdata_domain#sapdata3 1447034880 89167392 418577632 18% /oracle/SCP/sapdata3
sapdata_domain#sapdata4 1447034880 153054184 418577632 27% /oracle/SCP/sapdata4
sapdata_domain#sapdata5 1447034880 88273656 418577632 18% /oracle/SCP/sapdata5
sapdir02_domain#D02 2097152 662917 1427448 32% /usr/sap/SCP/D02


but I don't know if this filesystem are in mirror, or not... And if they are in cluster or not.

Thanks!,
Carmen.
Users are not too bad ;-)
12 REPLIES 12
Roberto Polli
Trusted Contributor
Solution

Re: disk, mirror and cluster Information

To show the devices which build a file domain use

#showfdmn usr_domain

if the output is like tho following
----
showfdmn usr_domain

Id Date Created LogPgs Domain Name
35085b8e.000635d0 Thu Mar 12 23:02:54 1998 512 usr_domain

Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 5735160 1445392 75% on 256 256 /dev/rz0g
---
the that domain is on a single hd
while if the output is like
---
showfdmn usr_domain

Id Date Created LogPgs Version Domain Name
3c8c9134.0005cee0 Mon Mar 11 12:12:52 2002 512 4 usr_domain

Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 5770928 674768 88% on 65536 65536 /dev/vol/rootdg/vol-dsk0g
---

with a meta-device like /dev/vol/rootdg/vol-dsk0g
then it is a sort of raid device.

root can run
#dxlsm

to have a gui to monitor all disks.

Peace, R.
Michael Schulte zur Sur
Honored Contributor

Re: disk, mirror and cluster Information

Hi Carmen,

use
clu_get_info -full
to check out, whether the host is in a cluster.
volprint -Aht
whether you use lsm mirroring.
Please tell us more about hardware configuration and post showfdmn -k of your file sets.

greetings,

Michael

Carme Torca
Super Advisor

Re: disk, mirror and cluster Information

Hi,

I have this:

#showfdmn -k root1_domain

Id Date Created LogPgs Version Domain Name
3dfb004d.010eb73f Sat Dec 14 10:56:29 2002 512 4 root1_domain

Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 131072 57824 56% on 256 256 /dev/disk/dsk76a

it would say that is not in mirror, isn't it?

And about Cluster:

#clu_get_info -full
Cluster information for cluster cluster1

Number of members configured in this cluster = 2
memberid for this member = 1
Cluster incarnation = 0xa028
Cluster expected votes = 3
Current votes = 3
Votes required for quorum = 2
Quorum disk = dsk81h
Quorum disk votes = 1

Information on each cluster member

Cluster memberid = 2
Hostname = chang2
Cluster interconnect IP name = chang2-mc0
Cluster interconnect IP address = 10.0.0.2
Member state = UP
Member base O/S version = Compaq Tru64 UNIX V5.1 (Rev. 732)
Member cluster version = TruCluster Server V5.1 (Rev. 389)
Member running version = INSTALLED
Member name = chang2
Member votes = 1
csid = 0x10002

Cluster memberid = 1
Hostname = chang1
Cluster interconnect IP name = chang1-mc0
Cluster interconnect IP address = 10.0.0.1
Member state = UP
Member base O/S version = Compaq Tru64 UNIX V5.1 (Rev. 732)
Member cluster version = TruCluster Server V5.1 (Rev. 389)
Member running version = INSTALLED
Member name = chang1
Member votes = 1
csid = 0x10001

Could I know what filesystems are in this cluster?, Is there any configuration cluster file?

Thanks!!
Carmen.
Users are not too bad ;-)
Roberto Polli
Trusted Contributor

Re: disk, mirror and cluster Information

1) the first is ok: not mirror
2) you miss the volprint output.

cluster fs should be in /cluster/member/ but M. will say better

Peace, R>


Carme Torca
Super Advisor

Re: disk, mirror and cluster Information

Hi,

The volprint, says these:

#volprint -Adt
lsm:volprint: ERROR: IPC failure: Configuration daemon is not accessible


Thanks!,
Carmen.
Users are not too bad ;-)
Roberto Polli
Trusted Contributor

Re: disk, mirror and cluster Information

no soft mirrors.

#dxlsm
must show the same.

Maybe you have hw mirror. To manage you need the hp-gives software.

Which controller do you have?
Peace, R.
Carme Torca
Super Advisor

Re: disk, mirror and cluster Information

Hi Roberto,

You are a great help to me!!!
How I could know the driver??, what's the instrucction?

Thanks!
Users are not too bad ;-)
Michael Schulte zur Sur
Honored Contributor

Re: disk, mirror and cluster Information

Hi Carmen,

so you have a 2 member cluster, no lsm mirroring.

If you can, shutdown machine and prompt
show dev
show config
If not, post
/dev/rdisk/dsk76a

thanks,

Michael

Roberto Polli
Trusted Contributor

Re: disk, mirror and cluster Information

Michael,
maybe no need to boot: I remember that for setting NIC I used consvar.

To get info use
/sbin/consvar -l dev
/sbin/consvar -l config
man consvar


PS.Michael about my last posting about advfs, i didn't came to a solution. Do you know something else?
Michael Schulte zur Sur
Honored Contributor

Re: disk, mirror and cluster Information

Hi,

is my last posting it was to be:
file /dev/rdisk/dsk76a

Usually all file sets are cluster shared. Compare them on both machines.

Roberto, can you point me to the post you refer to?

Michael
Ralf Puchner
Honored Contributor

Re: disk, mirror and cluster Information

why not using sys_check? this tool will retrieve all informations of the system. And all commands which are necessary to get the informations are listed in detail.......

maybe this will shorten this thread but otherwise 1000 other persons will find additional commands for the same job... ;-)
Help() { FirstReadManual(urgently); Go_to_it;; }
Roberto Polli
Trusted Contributor

Re: disk, mirror and cluster Information