hi~~
my Os is 6.1
i want to find heartbeat ip address from below result.
i think, is it en7 onto both nodes?
Code:
[AAA01:root]/usr/es/sbin/cluster/utilities/cllsif
Adapter Type Network Net Type Attribute Node IP Address Hardware Address Interface Name Global Name Netmask Alias for HB Prefix Length
AAA01_1 service net_diskhbmulti_01 diskhbmulti serial AAA01 /dev/mndhb_lv_01 mndhb_vg_01
AAA01_2 service net_diskhbmulti_02 diskhbmulti serial AAA01 /dev/mndhb_lv_02 mndhb_vg_02
AAA01_3 service net_diskhbmulti_03 diskhbmulti serial AAA01 /dev/mndhb_lv_03 mndhb_vg_03
AAA01 boot net_ether_01 ether public AAA01 10.50.10.212 en8 255.255.255.0 24
AAA01-PRIV service net_ether_02 ether private AAA01 10.0.0.1 en7 255.255.255.0 24
BBB02_2 service net_diskhbmulti_01 diskhbmulti serial BBB02 /dev/mndhb_lv_01 mndhb_vg_01
BBB02_3 service net_diskhbmulti_02 diskhbmulti serial BBB02 /dev/mndhb_lv_02 mndhb_vg_02
BBB02_4 service net_diskhbmulti_03 diskhbmulti serial BBB02 /dev/mndhb_lv_03 mndhb_vg_03
BBB02 boot net_ether_01 ether public BBB02 10.50.10.213 en8 255.255.255.0 24
BBB02-PRIV service net_ether_02 ether private BBB02 10.0.0.2 en7 255.255.255.0 24
Last edited by Scrutinizer; 04-29-2019 at 01:23 PM..
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)
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)
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)
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)
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)
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)
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)
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 SUSE
crm_attribute
CRM_ATTRIBUTE(8) [FIXME: manual] CRM_ATTRIBUTE(8)NAME
crm_attribute - manipulate attributes in the CIB
SYNOPSIS
crm_attribute [options]
DESCRIPTION
The crm_attribute command queries and manipulates node attributes and cluster configuration options that are used in the CIB.
OPTIONS --help, -?
Print a help message.
--verbose, -V
Turn on debug information.
Note
Increase the level of verbosity by providing additional instances.
--quiet, -Q
When doing an attribute query using -G, print just the value to stdout. Use this option with -G.
--get-value, -G
Retrieve rather than set the preference.
--delete-attr, -D
Delete rather than set the attribute.
--attr-value string, -v string
Value to set. This is ignored when used with -G.
--node-uuid node_uuid, -u node_uuid
Specify the UUID of the node to change.
--node-uname node_uname, -U node_uname
Specify the uname of the node to change.
--set-name string, -s string
Specify the set of attributes in which to read or write the attribute.
--attr-name string, -n string
Specify the attribute to set or query.
--type string, -t type
Determine to which section of the CIB the attribute should be set or to which section of the CIB the attribute that is queried belongs
Possible values are nodes, status, or crm_config.
Additional Options:
+-----------+--------------------+
|Type | Additional Options |
+-----------+--------------------+
|nodes | -(U|u) -n [-s] |
+-----------+--------------------+
|status | -(U|u) -n [-s] |
+-----------+--------------------+
|crm_config | -n [-s] |
+-----------+--------------------+
EXAMPLES
Query the value of the location attribute in the nodes section for the host myhost in the CIB:
crm_attribute -G -t nodes -U myhost -n location
Query the value of the cluster-delay attribute in the crm_config section in the CIB:
crm_attribute -G -t crm_config -n cluster-delay
Query the value of the cluster-delay attribute in the crm_config section in the CIB. Print just the value:
crm_attribute -G -Q -t crm_config -n cluster-delay
Delete the location attribute for the host myhost from the nodes section of the CIB:
crm_attribute -D -t nodes -U myhost -n location
Add a new attribute called location with the value of office to the set subsection of the nodes section in the CIB (settings applied to the
host myhost):
crm_attribute -t nodes -U myhost -s set -n location -v office
Change the value of the location attribute in the nodes section for the myhost host:
crm_attribute -t nodes -U myhost -n location -v backoffice
FILES
/var/lib/heartbeat/crm/cib.xml--the CIB (minus status section) on disk. Editing this file directly is strongly discouraged.
SEE ALSO
???
AUTHOR
crm_attribute was written by Andrew Beekhof.
[FIXME: source] 07/05/2010 CRM_ATTRIBUTE(8)