05-03-2019
so sorry,
my os is AIX 6.1
10 More Discussions You Might Find Interesting
1. IP Networking
How do you find mac address and active new card. (1 Reply)
Discussion started by: wmetz
1 Replies
2. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
3. UNIX for Advanced & Expert Users
Hi, I am wondering how I can find the network address under following situation.
Things available:
1. An active network drop without knowing any details about the network.
2. I have windows, Linux, and Solaris machine available to use.
Things to achieve:
1. Find out the... (5 Replies)
Discussion started by: jiashi2
5 Replies
4. HP-UX
I'm trying to find the IP address of a print queue. I tried this, but nada.
cat /etc/hosts | lp -d lp01
Looked in the hosts file but it's not there (2 Replies)
Discussion started by: abNORMal
2 Replies
5. Cybersecurity
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
6. AIX
AIX:Command to get netaddress/subnet address command in IPv4/IP6
Can anybody help us with a command to retrieve netaddress/subnet address command in IPv4/IP6 on aix machine.
net/subnet address is in the format 172.16.212.0(signifies all 255 machines in an IPv4 network) (2 Replies)
Discussion started by: rookie8278
2 Replies
7. UNIX for Dummies Questions & Answers
I am trying to determine if there are several url/host names for an IP address. Is there a UNIX command to find ALL host names for an IP address?
Thank you in advance. (3 Replies)
Discussion started by: rukasu
3 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I want to find another(Local host) machine IP address from my machine.. We are all connected in the same server, I mean same LAN.
What i done is
Connected with that user machine using SSH and SU.. After that i used IFCONFIG but it shows my Ip address. Can not able to get the... (8 Replies)
Discussion started by: Adhi
8 Replies
9. UNIX for Dummies Questions & Answers
any useful command to find and e-mail address hardcoded into a cfg file on an specific server?
I already tried with::
find . -type f | xargs grep -l "nobody@foundstone.com"
Thanks!! (1 Reply)
Discussion started by: JLo5621
1 Replies
10. Shell Programming and Scripting
Hi,
I am trying to write a script that will check all used IP on the server and then print me an addressees that are not in use. Problem is in comparing two variables
#!/bin/bash
NETSTAT=$(netstat -ntp | awk '{ print $4 }' | grep -v "127.0.0.1" | cut -d ":" -f1 | grep "^"|sort | uniq )... (6 Replies)
Discussion started by: nemesis911
6 Replies
LEARN ABOUT DEBIAN
hb_standby
HB_STANDBY(1) General commands HB_STANDBY(1)
NAME
hb_standby - issues a failover request to the cluster manager
SYNOPSIS
hb_standby [all|foreign|local|failback]
DESCRIPTION
Warning
This command is deprecated. It is only suitable for legacy Heartbeat clusters without Pacemaker enabled. In Pacemaker-enabled clusters,
the crm(8) shell supports switching individual nodes into standby mode, and replaces hb_standby.
/usr/share/heartbeat/hb_standby issues a request to the cluster to move resources from the node where it is invoked, to the other node (if
it is currently available). The meaning of the options is relative. This manual assumes the following configuration to be present in
/etc/ha.d/haresources:
alice drbddisk::r0 Filesystem::/dev/drbd0::/local/groups::ext3 10.0.0.1 smb
bob drbddisk::r1 Filesystem::/dev/drbd1::/local/ldap::ext3 10.0.0.2 ldap
OPTIONS
The following options are supported:
local
Migrates any resources that the local node is the preferred node for.
When invoked on alice, Samba would be shut down, the IP address 10.0.0.1 would be released, /local/groups would be unmounted,
/dev/drbd0 would be placed into the secondary role and bob would take all these services over.
When run on bob, OpenLDAP would shut down, 10.0.0.2 would be released, /local/ldap would be unmounted, /dev/drbd1 would be placed into
the Secondary role and alice would take over all these services.
foreign|failback
Migrates any resources that the local node is not the preferred node for.
When run on alice, OpenLDAP would shut down, 10.0.0.2 would be released, /local/ldap would be unmounted, /dev/drbd1 would be placed
into the Secondary role and bob would take over all these services.
When invoked on bob, Samba would be shut down, the IP address 10.0.0.1 would be released, /local/groups would be unmounted, /dev/drbd0
would be placed into the secondary role and alice would take all these services over.
all
Migrates all resources to the other node.
Invoking hb_standby without any options is identical to hb_standby all.
CAVEATS
hb_standby is only usable in R1-style configurations (i.e., those configured using the haresources file).
SEE ALSO
hb_takeover(1), heartbeat(8), cl_status(1)
AUTHORS
Alan Robertson <alanr@unix.sh>
hb_standby
Guochun Shi <gshi@ncsa.uiuc.edu>
man page
Florian Haas <florian.haas@linbit.com>
man page
Heartbeat 3.0.5 November 26, 2009 HB_STANDBY(1)