1 | #!/bin/ksh |
---|
2 | # IBM_PROLOG_BEGIN_TAG |
---|
3 | # This is an automatically generated prolog. |
---|
4 | # |
---|
5 | # |
---|
6 | # |
---|
7 | # Licensed Materials - Property of IBM |
---|
8 | # |
---|
9 | # (C) COPYRIGHT International Business Machines Corp. 2007 |
---|
10 | # All Rights Reserved |
---|
11 | # |
---|
12 | # US Government Users Restricted Rights - Use, duplication or |
---|
13 | # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. |
---|
14 | # |
---|
15 | # IBM_PROLOG_END_TAG |
---|
16 | # @(#)73 1.2 src/avs/fs/mmfs/ts/admin/mmsdrquerydef.sh, mmfs, avs_rgpfs24, rgpfs24s011a 3/29/07 15:24:13 |
---|
17 | ########################################################################## |
---|
18 | # |
---|
19 | # Constants and definitions for the mmsdrquery command. |
---|
20 | # See the prolog of the mmsdrquery command for more details. |
---|
21 | # |
---|
22 | ########################################################################## |
---|
23 | sourceFile="mmsdrquerydef.sh" |
---|
24 | [[ -n $DEBUGmmsdrquerydef ]] && set -x |
---|
25 | |
---|
26 | # Global declarations |
---|
27 | sdrq_current_format=1 |
---|
28 | sdrq_compatible_format=1 |
---|
29 | sdrq_obsolete_item="sdr_obsolete_item" |
---|
30 | sdrq_unknown_item="sdr_unknown_item" |
---|
31 | |
---|
32 | # Supported query types |
---|
33 | sdrq_cluster_info=10 # retrieve global cluster information |
---|
34 | sdrq_node_info=20 # retrieve node specific information |
---|
35 | sdrq_nsd_info=30 # retrieve NSD specific information |
---|
36 | sdrq_fs_info=40 # retrieve file system specific information |
---|
37 | |
---|
38 | # Supported clusterInfo query items |
---|
39 | sdrq_cluster_name=1001 |
---|
40 | sdrq_cluster_id=1002 |
---|
41 | sdrq_cluster_type=1003 # lc or single (obsolete) |
---|
42 | sdrq_primary_server=1004 |
---|
43 | sdrq_secondary_server=1005 |
---|
44 | sdrq_rsh_path=1006 |
---|
45 | sdrq_rcp_path=1007 |
---|
46 | sdrq_uid_domain=1008 |
---|
47 | sdrq_security_level=1009 # 0 - security is disabled; 1 - security is enabled |
---|
48 | sdrq_cipher_list=1010 |
---|
49 | sdrq_tcp_port_number=1011 # daemon TCP port number (default is 1191) |
---|
50 | sdrq_os_environment=1012 # [ALWS] (first letter of each OS in the clsuter) |
---|
51 | sdrq_sdrfs_version=1013 # the mmsdrfs file current major version is 3 |
---|
52 | sdrq_sdrfs_format=1014 # changes as new fields are added |
---|
53 | sdrq_sdrfs_gennumber=1015 # current generation number of the mmsdrfs file |
---|
54 | |
---|
55 | # Supported nodeInfo query items |
---|
56 | sdrq_node_number=2001 |
---|
57 | sdrq_admin_interface=2002 # fully-qualified host name |
---|
58 | sdrq_daemon_interface=2003 # fully-qualified host name |
---|
59 | sdrq_daemon_ip_address=2004 |
---|
60 | sdrq_client_node=2005 # true or false |
---|
61 | sdrq_manager_node=2006 # true or false |
---|
62 | sdrq_quorum_node=2007 # true or false |
---|
63 | sdrq_product_version=2008 # installed product version string |
---|
64 | sdrq_daemon_version=2009 # daemon version number |
---|
65 | sdrq_os_name=2010 # AIX, Linux, Windows or SunOS |
---|
66 | sdrq_reserved_2011=2011 |
---|
67 | sdrq_reserved_2012=2012 |
---|
68 | |
---|
69 | # Supported nsdInfo query items |
---|
70 | sdrq_nsd_name=3001 |
---|
71 | sdrq_nsd_server_list=3002 # comma-separated list of admin host names |
---|
72 | sdrq_backup_nsd_server_list=3003 # comma-separated list of admin host names |
---|
73 | sdrq_fs_name=3004 |
---|
74 | sdrq_storage_pool=3005 |
---|
75 | sdrq_disk_usage=3006 |
---|
76 | sdrq_failure_group=3007 |
---|
77 | sdrq_nsd_id=3008 |
---|
78 | sdrq_disk_subtype=3009 |
---|
79 | sdrq_quorum_disk=3010 # true or false |
---|
80 | sdrq_disk_status=3011 |
---|
81 | |
---|
82 | # Supported fsInfo query items |
---|
83 | sdrq_device_name=4001 |
---|
84 | sdrq_mount_point=4002 |
---|
85 | sdrq_fs_type=4003 # local or remote |
---|
86 | sdrq_owning_cluster_name=4004 |
---|
87 | sdrq_remote_device_name=4005 |
---|
88 | sdrq_automount_option=4006 # yes (mount on startup), no, or automount |
---|
89 | sdrq_rw_options=4007 # rw or ro |
---|
90 | sdrq_quota_option=4008 # null or "userquota;groupquota;filesetquota" |
---|
91 | sdrq_atime_option=4009 # atime or noatime |
---|
92 | sdrq_mtime_option=4010 # mtime or nomtime |
---|
93 | sdrq_other_mount_options=4011 # string of other mount options |
---|
94 | sdrq_mount_options=4012 # string of all mount options (including the above) |
---|
95 | sdrq_drive_letter=4013 |
---|
96 | sdrq_device_minor_number=4014 |
---|
97 | |
---|