Sponsored Content
Operating Systems HP-UX Mount FIle systems from node-1 onto node-2 Post 302907517 by vbe on Sunday 29th of June 2014 05:24:59 AM
Old 06-29-2014
1) Yes, but with disastrous results ( just a question of time (short…)). So that is why you mount VG in SGMC as exclusive the same is true with AIX HACMP etc..
Normally you choose one server as the master, the reason is that server gets all new/change configuration when validated are replicated to the other node (when 2 nodes).
So to be sure you are talking of same VG both sides it is wise to give them same name and same major number when you create the VG on both side…
From home and not having touched to a HP cluster for now 8 years, it is difficult for me to say more…( notes are at work…)
One thing be sure you have same devices both sides, when a VG ( on master) is completed with all its PV and Lv defined, you use vgexport command with -p (preview) to create a map file etc you copy on the second node and use vgimport

2) a cluster is in short 2 servers configured to "host" on or more package that could be seen as virtual servers if you added LUNs that are for a package, they should be included to it… Not the same as creating a new package
There are scripts to help you through, and most important there are scripts after all change to update the package both sides and TEST both sides, the very important part of an admin life with cluster is to check its integrity, if the MCSG checking script fails, you are to correct promptly before anything happens or you will be in big trouble...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need to view all the attributes for a file/node

I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified, not the creation date. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to Samba. ... (2 Replies)
Discussion started by: dpalmer
2 Replies

2. Solaris

unable to mount metaset on cluster node

Dear all, I have created a shared metaset(500gb) having 3 hosts in which 2 hosts are in cluster and 1 is non cluster. I have taken the ownership in cluster node from non cluster node but the problem is i am unable to mount the file system it is giving error "/dev/md/eccdb-ds/d100 or /eccdb-ds... (1 Reply)
Discussion started by: spandhan
1 Replies

3. UNIX for Dummies Questions & Answers

I-node and sessions

I have a program (written by me, for educational purposes) called "analyzer". The program takes a parameter, a filename, and does some statistics on it (for example, word's number, line's number, ... ) at regular intervals. My teacher told me that if the file is edited while the "analyzer" is... (4 Replies)
Discussion started by: hurricane
4 Replies

4. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

5. Shell Programming and Scripting

Find Node and replace line(s) preceding in xml file

Hello, I have an xml file whose contacts are like below: <Node>Apple <B>Value1</B> <B>Value2</B> <B>Value3</B> </Node> <Node>Mango <B>Value1</B> <B>Value2</B> <B>Value3</B> </Node> <Node>Apple <B>Value1</B> <B>Value2</B> <B>Value3</B> </Node> <Node>Bannana (3 Replies)
Discussion started by: umarsatti
3 Replies

6. Programming

Kernel module - Check whether file (/dev node) exists

Hi, I'm pretty new to kernel coding and I'm working on a device driver that works with an existing framework. Basically my module will be loaded/unloaded multiple times and I'd like to create a register a class, driver, and create a /dev node on the first load only. The existing framework... (0 Replies)
Discussion started by: ThomasBrez
0 Replies

7. UNIX for Dummies Questions & Answers

Ssh tar file using slave node

Hi, I wanted to zip some files (very large files) on our cluster (centOS). I am told that I should use the head node for this as it would tie down the CPU. How can I do this using one of the other nodes in the cluster? For small files, I would just log into the cluster using ssh (ie. ssh... (1 Reply)
Discussion started by: pc2001
1 Replies

8. Homework & Coursework Questions

Accessing one UNIX node from another node of the same server

Hi Experts, I am in need of running a script from one node say node 1 via node 2. My scheduling tool dont have access to node2 , so i need to invoke the list file from node1 but the script needs to run from node2. because the server to which i am hitting, is having access only for the node... (5 Replies)
Discussion started by: arun1377
5 Replies

9. Shell Programming and Scripting

Except script fails to check file exists or not in remote node

Dear members, The following expect script connects to remote node and check for the file "authorized_keys" in directory /root/.ssh in remote node. However the result is always found even if the file exist or doesn't exist. expect { "$fname" { send_user "found\n" } Any idea what is... (4 Replies)
Discussion started by: Sudhakar333
4 Replies

10. Shell Programming and Scripting

Looping through XML file on basis of a node

<?xml version="1.0" encoding="UTF-8"?> <Document> <FIToFICstmrCdtTrf> <GrpHdr> <MsgId>10001</MsgId> <NbOfTxs>1</NbOfTxs> <IntrBkSttlmDt>2015-05-06</IntrBkSttlmDt> <SttlmInf> <SttlmMtd>CLRG</SttlmMtd> </SttlmInf> <PmtTpInf> ... (2 Replies)
Discussion started by: harish2015
2 Replies
cmgetconf(1m)															     cmgetconf(1m)

NAME
cmgetconf - Get cluster or package configuration information SYNOPSIS
cmgetconf [-v {0 | 1 | 2}] [[-K] -c cluster_name] [-p package_name] [output_filename] cmgetconf [-v {0 | 1 | 2}] [[-K] -c cluster_name] [-P dirname] cmgetconf [-v {0 | 1 | 2}] [-K] DESCRIPTION
cmgetconf obtains either the cluster configuration, not including the package configuration, and with or without the volume group informa- tion (-K option), or the specified package's configuration information (-p option), and writes to either the output_filename file, or to stdout. With the -P option, cmgetconf obtains the configuration information for all packages and writes to the directory specified by dirname. This command can be run whether the cluster is up or down. If -c , -p , or -P are not specified, cmgetconf will obtain the local cluster's configuration. Local cluster is the cluster containing the node where the cmgetconf command is issued. If both cluster_name and package_name are specified, the package must be configured in cluster_name, and only the package configuration for package_name will be written to output_filename or to stdout. The dirname parameter is required with the -P option. If cluster_name is specified with the -P option, the configuration of all the packages configured in the cluster_name will be written out to the directory specified by dirname. Each configured package configuration will be written out to the the specified dirname in a separate file named by appending the suffix .ascii to the name of the package. The -K option prevents probing of volume groups, reducing the time to get the cluster configuration file. NOTE: When this command is run by an authorized user who is not the superuser(UID=0), only those entries that match the user running the command and the node where the command is run are displayed. To view cluster or package information, a user must either be superuser(UID=0), or have an access policy of MONITOR allowed in the cluster configuration file, or have an access policy of PACKAGE_ADMIN allowed in one of the cluster package configuration files. See access policy in cmquerycl(1) or cmmakepkg(1). To modify the configuration of an existing cluster, the user needs to have the cluster's corresponding configuration file. To get the cur- rent cluster's configuration file, run cmgetconf first. Once created, the output_filename can be edited to add or delete nodes. The node configuration information should be retrieved from the cmquerycl command. Some cut and paste may be necessary. To modify the configuration of an existing package, the user needs to have the package's corresponding configuration file first. cmgetconf can be used to produce the package configuration file, then edit it to make the desired modifications, e.g. changing the list of nodes that can run the package, changing the subnet, etc. The modified configuration file can then be used in the cmapplyconf command to update either the cluster configuration or the package con- figuration. Options cmgetconf supports the following options: -v 0|1|2 Verbose output will be displayed. The -v option applies only when cmgetconf is used to obtain package configuration infor- mation. It is ignored if used to obtain cluster configuration information. 0 (data_only mode) The package configuration file will include only the configured attribute values. 1 (headline mode) The package configuration file will include the headline description and legal value for each con- figured and configurable attribute for the package. 2 (verbose mode) The package configuration file will include the full description and legal value for each configured and configurable attribute for the package. This is the default. -c cluster_name Name of the cluster for which to query cluster information. -K This option causes the probing of volume groups to be skipped, reducing the time for the command to complete. This option is not available for Linux. Note that if this option is used, cmgetconf will not add the list of cluster-aware volume groups to the resulting cluster configuration file. You must add the cluster-aware volume groups to the cluster configu- ration file before running cmapplyconf, or use the -K option of cmapplyconf when applying the generated configuration file. Failure to do so will result in all volume groups in the cluster being unusable in packages or for the cluster lock. -p package_name Name of an existing package for which to query package information. This option is mutually exclusive to the -P option. -P This option will write all package's configuration information to a specified output_filename. This option is mutually exclusive to the -p option. output_filename If -c and/or -p options are specified, the name of the file into which cmgetconf will copy cluster or package configura- tion information. If this parameter is not specified, the information will be directed to stdout. If the -P option is specified, the name of the directory into which cmgetconf will copy the configuration information for all packages. This parameter is required when -P option is specified. RETURN VALUE
Upon completion, cmgetconf returns one of the following values: 0 Successful completion. 1 Command failed. EXAMPLES
The high availability environment contains the cluster, clusterA , and packages pkg1 and pkg2. To generate the cluster configuration file for clusterA, and store the information in clusterA.conf, do the following: cmgetconf -c clusterA clusterA.conf To generate the cluster configuration file for clusterA, skipping disk probing, and store the information in clusterA.config, do the fol- lowing: cmgetconf -K -c clusterA clusterA.config To generate the package configuration file for pkg1, and store the information in pkg1.conf, do the following: cmgetconf -c clusterA -p pkg1 pkg1.conf To generate the package configuration files for all packages in the cluster, and store the information in the directory /tmp/pkgconfig, do the following: mkdir /tmp/pkgconfig cmgetconf -c clusterA -P /tmp/pkgconfig The directory /tmp/pkgconfig will contain two files, pkg1.ascii and pkg2.ascii. AUTHOR
cmgetconf was developed by HP. SEE ALSO
cmcheckconf(1m), cmapplyconf(1m), cmdeleteconf(1m), cmquerycl(1m), cmmakepkg(1m). Requires Optional Serviceguard Software cmgetconf(1m)
All times are GMT -4. The time now is 05:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy