12-15-2008
Quote:
I am not able to know what is meant by Physical name,Logical name,Cluster etc. also we need to do failover in case a node changes.What is a node here in this architecture.Please help me out.
You are not helping us much - not saying what OS...
So let explain what can be, for any unix box:
The physical name is the host name, the one running the OS, but depending of the OS if you are a VPAR this is no more true...
If I describe what I know best: HP-UX, in a simple cluster (MX-serviceGuard soft) version with no VPAR, you would have for a cluster :
2 nodes -> 2 boxes (2 hosts...)
1 or more packages running on the cluster, these packages have "logical names" because the have their own IP and can be pingged...
A package has a default host on which it runs...
So if I summarize:
In a 2 node cluster my package runs on node1, if a failure should occur, it will be restarted on node2...
Of any help?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine.
how can i do that and the application currently upon which i am working is a JAVA based application.
I need your help.
regards
Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies
3. Shell Programming and Scripting
Hi All,
I need to know if it is possible ftping files from unix box to windows box .
if yes , how ?. Is there any pre-requisits.
Please tell me the steps, this is very urgent.
Thnx
Aru (8 Replies)
Discussion started by: aarora_98
8 Replies
4. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
5. Shell Programming and Scripting
Hi All,
I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies
6. UNIX for Dummies Questions & Answers
scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/
Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies
7. Shell Programming and Scripting
Hi
our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that......
Regards,
Ann (8 Replies)
Discussion started by: fabrine
8 Replies
9. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Folks,
I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials)
xxx -->username
yyy -->password
and another unix box name is
RRR -->username
TTT -->password
NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies
LEARN ABOUT HPUX
cmhaltpkg
cmhaltpkg(1m) cmhaltpkg(1m)
NAME
cmhaltpkg - halt a high availability package
SYNOPSIS
cmhaltpkg [-v] [-t] [-n node_name]... package_name...
cmhaltpkg [-v] [-s] [-n node_name]... package_name...
DESCRIPTION
cmhaltpkg connects to the Serviceguard cluster manager and halts the specified package(s) or multi-node package instance(s).
When a package or package instance is halted, global switching (AUTO_RUN) is disabled for that package.
cmhaltpkg may be run on any node within the cluster and may operate on any package within the cluster.
To halt a package, a user must either be a superuser with effective user ID of zero (see id(1) and su(1)), or have an access policy of
PACKAGE_ADMIN allowed in the cluster or package configuration file. See access policy in cmquerycl(1m) or cmmakepkg(1m).
If no node_name arguments are supplied, each package will be halted on any and all nodes where it is running. If the package is not running
on any nodes, the command will fail.
cmhaltpkg should not be used to halt SYSTEM_MULTI_NODE packages (HP-UX only). Use cmhaltnode or cmhaltcl to halt SYSTEM_MULTI_NODE packages
instead. Packages of other types may be halted on a subset of the configured nodes by specifying one or more node_name arguments.
cmhaltpkg will fail if each specified package is not running on all the specified nodes.
Packages are halted in the order required by their configured dependencies. Packages without configured dependencies are halted in the
order specified on the command line. To successfully halt a package, all required dependent packages must either be previously halted or
specified as a package_name argument in the cmhaltpkg command. Packages configured with STORAGE_GROUP are implicitly dependent on the cor-
responding multi-node cluster volume manager (CVM) package. (HP-UX only)
cmhaltpkg validates its command line prior to halting any package and returns an error if the user does not have correct access to complete
the operation or if illegal combinations of node_name and package_name arguments are encountered.
If a problem is detected while halting a package, cmhaltpkg exits with an error indication and remaining package_name arguments are not
processed.
A package in maintenance mode that was start up to and including a specified module can be halted from that specified module. Only those
modules which were started are halted.
Options
cmhaltpkg supports the following options:
-n node_name Acts only on a specific node. If the package is not running on the specified node, it will not be halted.
-v Verbose output will be displayed.
-t Test only. Provide an assessment of the package placement without affecting the current state of the nodes or pack-
ages. This option validates the node's eligibility with respect to the package dependencies as well as the external
dependencies such as EMS resources, package subnets, and storage before predicting any package placement decisions.
This option is not legal for package in maintenance mode.
-s Symmetric halt is only for packages in maintenance mode. If a package in maintenance mode has been started up to a
module as specified by cmrunpkg -m, then cmhaltpkg -s will halt the package up to that module. Otherwise, cmhaltpkg
-s will halt the package for all the modules specified in its configuration file.
RETURN VALUE
cmhaltpkg returns the following value:
0 Successful completion.
1 Command failed.
2 Command failed due to a transient condition.
EXAMPLES
A sequence of cmhaltpkg and cmrunpkg commands may be used to move a package from one node to another. For example, the package may be
halted on one node and then run on a new node, provided that the package is enabled for the new node.
To move package package1 to node node2, do the following:
cmhaltpkg package1
cmrunpkg -n node2 package1
cmmodpkg -e package1 (to enable package switching, if desired)
AUTHOR
cmhaltpkg was developed by HP.
SEE ALSO
cmmakepkg(1m), cmquerycl(1m), cmmodpkg(1m), cmrunpkg(1m), cmviewcl(1m), cmeval(1m).
Requires Optional Serviceguard Software cmhaltpkg(1m)