10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies
2. Shell Programming and Scripting
I am trying to program a script that is using grep to find lines in a file in my home directory, and then use a pipe command to copy what is shown into different files in a different directory to create backup files. When I run it, though, it only creates a copy of the file that grep was going... (7 Replies)
Discussion started by: sammythesp3rmy
7 Replies
3. HP-UX
Good Day,
I've been trying to create a bootable recovery disk with no success. I've used the command ./make_recovery -A -d /dev/rmt/1m and get the command HP-UX System Recovery returned, and after about a minute an error is returned:
/var: write failed, file system is full... (26 Replies)
Discussion started by: Newnix
26 Replies
4. Infrastructure Monitoring
So i upgraded from Nagios version 2.6 to the latest version of nagios currently available.
but the problem is, i can't get the comments that were on my old version of nagios to show up on my new version of nagios.
has anyone else run into this issue?
the comments are extremely important.... (0 Replies)
Discussion started by: SkySmart
0 Replies
5. HP-UX
I have a make_recovery tape, if I restore the VG00 volume group using this, will my other volume groups still be ok after the restore(I have 7 data volume groups)
I used make_recovery -A to create the tape
I have a HP9000 HP-UX 11
An internal disk is failing, the other volume groups are on... (3 Replies)
Discussion started by: rees_a
3 Replies
6. AIX
I am trying to restore some files from a DLT drive in AIX 4.3 but I am having a few problems. Basically when I try to run the restore command I get the following error:
Cannot read from the specified input.
Please enter the device name when ready
I am the following command for the restore
... (0 Replies)
Discussion started by: The Hunter
0 Replies
7. HP-UX
I'm attempting to do a make_recovery on my HPUX box. My question revolves around the number of device files I have for my tape drive and what each one is intending for and which I should use. Some examples of my devices include 1m, 1mb, 1mnb, 2m, 2mb, 2mn, 2mnb, C1t0d0best, C1t0d0dds, &... (4 Replies)
Discussion started by: gonzotonka
4 Replies
8. Linux
HELP!!
I am having some major problems at present with a HP dat drive under RH9. The drive worked fine previously under RH8, but now does not work.
I am using kernel 2.4.20-30.9 on a i686 athlon intel box.
My messages log shows the below:
Apr 23 11:39:24 devsys kernel: ahc_pci:1:6:0:... (0 Replies)
Discussion started by: dkimber6
0 Replies
9. UNIX for Dummies Questions & Answers
okay.. pple..
say now i got an aix box. of course i could restore a backup done in aix environment.
1) now how about doing a restore from sun, hp from the aix box.?
2) can we install a sun, hp os into an aix box?
3) if (1) prohibits, then how about doing an sun, hp os installation on... (1 Reply)
Discussion started by: yls177
1 Replies
10. UNIX for Dummies Questions & Answers
hi, for aix and hpux, we have both mksysb and make_recovery for restoring to the former state after it was crashed. is there any equivalent to sun? any pointers will be appreciated. thanks (8 Replies)
Discussion started by: yls177
8 Replies
cmcheckconf(1m) cmcheckconf(1m)
NAME
cmcheckconf - check high availability cluster configuration and/or package configuration files
SYNOPSIS
cmcheckconf [-v] [[-k|-K] -C cluster_ascii_file]
[[-p pkg_reference_file] | [-P pkg_ascii_file]...]
DESCRIPTION
cmcheckconf verifies the cluster configuration as specified by the cluster_ascii_file and/or the package configuration files specified by
each pkg_ascii_file in the command. If the cluster has already been configured previously, the cmcheckconf command will compare the con-
figuration in the cluster_ascii_file against the previously configuration information stored in the binary configuration file and validates
the changes. The same rules apply to the pkg_ascii_file. It is not necessary to halt either the cluster or any of the packages to run the
cmcheckconf command.
Only a superuser, whose effective user ID is zero (see id(1) and su(1)), can verify the configuration.
cmcheckconf verifies any configured external script program in each pkg_ascii_file for the package run and halt function by calling it with
a "validate" parameter. A non-zero return value from any external script program will cause the command to fail.
If the cluster_ascii_file specifies a quorum server as the cluster tie-breaker service, the quorum server must be running and all nodes in
the cluster configuration must be authorized to access it. If more than one IP address is specified for the quorum server, the quorum
server must be reachable from all configured nodes through all the IP addresses. Otherwise the cmcheckconf command will fail.
If the cluster_ascii_file specifies the lock lun devices as the cluster tie breaking service, all nodes must be accessing the same physical
device. The lock lun device file must be a block device file. The cluster must be down before you can modify a cluster tie-breaking ser-
vice.
Options
cmcheckconf supports the following options:
-v Verbose output will be displayed.
-k Using the -k option means that cmcheckconf only checks disk connectivity to the LVM volume group that are identified in
the ASCII file. This option does not exist on Linux. Omitting the -k option (the default behavior) means that cmcheckconf
tests the connectivity of all LVM volume groups on all the cluster nodes. Using -k can result in significantly faster
operation of the command. -k must be used with -C and can not be used with -K
-K Using the -K option means that cmcheckconf only checks disk connectivity for cluster lock volume groups. For all other LVM
volume groups no connectivity will be checked. This option does not exist on Linux. Omitting the -K option (the default
behavior) means that cmcheckconf tests the connectivity of all LVM volume groups on all the cluster nodes. Using -K can
result in significantly faster operation of the command. -K can be used only when cluster is already configured and is
used with -C -K can not be used with -k.
-C cluster_ascii_file
Name of the cluster ASCII file to use. This file can be created by either the cmquerycl command or cmgetconf command.
See cmquerycl(1m) or cmgetconf(1m). This is a required parameter if the cluster has never been configured before. If not
specified, the local cluster configuration is used.
-P pkg_ascii_file...
Name of the package configuration file(s) to use. A package configuration template file can be created by using the
cmmakepkg command and must be customized to include specific information for the package. See cmmakepkg(1m). A configu-
ration file for an existing package can be generated by using the cmgetconf command. See cmgetconf(1m). Once a package
configuration file is generated from the existing configuration using cmgetconf, it can be modified to reflect the desired
changes for that package. The package configuration file will be scanned for the purpose of validation.
-p pkg_reference_file
Name of the file containing a list of package configuration file(s) to be used. This file may be necessary if the number
of pkg_ascii_file names given with multiple -P options do not fit on the command line. This option cannot be used with
the -P option.
RETURN VALUE
Upon completion, cmcheckconf returns one of the following values:
0 Successful completion.
1 Command failed.
EXAMPLES
The high availability environment contains an ASCII cluster configuration file, and two packages, pkg1 and pkg2, specified in ASCII files
pkg1.config and pkg1.config.
To verify the cluster configuration and package files, do the following:
cmcheckconf -C clusterA.config -P pkg1.config -P pkg2.config
To verify the cluster configuration while restricting the connectivity check to the volume groups specified in the clusterA.config file,
cmcheckconf -k -C clusterA.config -P pkg1.config -P pkg2.config
To verify the cluster configuration while restricting the connectivity check to the cluster lock volume groups,
cmcheckconf -K -C clusterA.config -P pkg1.config -P pkg2.config
To specify a long list of package configuration files do the following:
cmcheckconf -C clusterA.config -p myfile
where myfile contains:
pkg1.config
pkg2.config
pkg3.config
The cluster is up and running, with both packages pkg1, pkg2 running as well. The package configuration file pkg1.config contains the
changes to the package pkg1. To verify the package configuration changes made for pkg1, do the following:
cmcheckconf -P pkg1.config
AUTHOR
cmcheckconf was developed by HP.
SEE ALSO
cmapplyconf(1m), cmdeleteconf(1m), cmgetconf(1m), cmmakepkg(1m), cmquerycl(1m).
Requires Optional Serviceguard Software cmcheckconf(1m)