Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators How to Post in the The UNIX and Linux Forums Command to find if a server is a VIP or normal server Post 303019994 by rbatte1 on Wednesday 11th of July 2018 01:59:37 PM
Old 07-11-2018
Presumably the servers in question would have a static permanent/management IP address that always directs you to the server you want and the VIP that moves depending where the service is running.

Would the output from ip a s not give you multiple IP address that you can count up and confirm if you indeed have a VIP address? Remember that 127.0.0.1 might also show up in your listing.

Do you have multiple cards to contend with?

Please paste the output from an active node (has the VIP) and a passive node for ip a s and we can work out a way to determine which is which programmatically.



Kind regards,
Robin
 

10 More Discussions You Might Find Interesting

1. Programming

Command for copy a file from one server to another server

hi, which Command is used for copy a file from one server to another server, please provide the syntax and give one small example... Thanks in advance sarwan (2 Replies)
Discussion started by: sarwan
2 Replies

2. Solaris

Need to find whether my unix server is a stand alone server or its in a cluster

Hi All, Could any one pls tell me how to find whether a unix server is a stand alone server or its in a cluster. I need a command through which i can find whether the unix m/c is clustered or not. Thanx in advance Regards, Naveen (1 Reply)
Discussion started by: Naveen Kumar V
1 Replies

3. Solaris

Command to list all the VIP addresses assigned to Solaris server

Hello All, I want to list all the VIP addresses assigned to Solaris server. whats the command we have use on solaris for this? Please help Thanks!! Weblogic Consultant (1 Reply)
Discussion started by: weblogicsupport
1 Replies

4. Red Hat

Command to find the local harddisks of a server ? Including their size

Hi guys How do I find the harddisks in a server ? Rgds Nishant (4 Replies)
Discussion started by: thevishy
4 Replies

5. UNIX for Dummies Questions & Answers

Long listing of files using find command on remote server via SSH

Hi , I am trying to find some files on a remote machine using the find command. >ssh -q atukuri@remotehostname find /home/atukuri/ -name abc.txt /home/atukuri/abc.txt The above command works fine and lists the file, but if I want to do a long listing of files (ls -l) its not working . ... (2 Replies)
Discussion started by: atukuri
2 Replies

6. Shell Programming and Scripting

Find and delete files and folders which are n days older from one unix server to another unix server

Hi All, Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older. Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies

7. Shell Programming and Scripting

KSH fetching files from server A onto server B and putting on server C

Dear Friends, Sorry for this basic request. But I just started learning Ksh recently and still I am a newbie in this field. Q: I have files on one server and the date format is 20121001000009_224625.in which has year (yyyy) month (mm) and date (dd). I have these files on server A. The task... (8 Replies)
Discussion started by: BrownBob
8 Replies

8. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

9. Solaris

Ftp a directory to another server from the local server what is the command

ftp a directory to another server from the local server what is the command (2 Replies)
Discussion started by: PMoore
2 Replies

10. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
addnode(8)						      System Manager's Manual							addnode(8)

Name
       addnode - add or change an entry in the nodes database

Syntax
       /etc/addnode node [ options ]

Description
       The  command adds a new node entry to the nodes database or modifies an existing entry.	The nodes database is the one used by DECnet.  The
       command defines the information that is necessary for your ULTRIX node to be capable of down-line loading and up-line dumping a	particular
       target  node.  The node address is the address of the target node.  If the target node is a DECnet node, then the node address is mandatory
       and the node name is optional.  However, if the target node is a non-DECnet node, for example, a terminal server, you should  specify  only
       the node name and omit the node address.

       If you do not specify an absolute pathname for secondary load, tertiary load, system load, diagnostic load, or dump file, the default path,
       is used during the load or dump process.

       A node address is a decimal integer in the range of 1 to 1023 for single area networks, or has the format a.n for multiarea networks, where
       a  is  the network area number (a decimal integer in the range of 1 to 63) and n is the node number (a decimal integer in the range of 1 to
       1023).

       The node name is the node name of the target node.

       If the target node is a DECnet node, the node name is optional.	However, if the target node is a non-DECnet node, for example, a  terminal
       server, the node name is mandatory (and the node address should be ignored).

       A node name can be from 1 to 6 alphanumeric characters, including at least 1 alphabetic character.

Options
       -A   Uses the specified host address (next argument) as that of the target node.

       -D   Creates an up-line memory dump of the target node in the specified file (next argument).

       -N   Uses the specified name (next argument) as that of the target node.

       -c   Uses the specified service and device number (UBA-n or QNA-n) as the circuit to the target node.

       -d   Sends the specified diagnostic load image (next argument) to the target node.

       -h   Uses the specified address (next argument) as the Ethernet address of the target node.

       -l   Sends the specified system load image (next argument) to the target node.

       -p   Uses the specified service and password (next arguments) in accessing the target node.

       -s   Sends the specified secondary load file (next argument) to the target node.

       -t   Sends the specified tertiary load file (next argument) to the target node.

Examples
       % /etc/addnode mynode -h aa-00-03-00-01-19  <RET>
       -s /usr/download/secondary  <RET>
       -t /usr/download/tertiary  <RET>
       -l system <RET>

       This command adds the non-DECnet, node mynode, to the nodes database, which has the Ethernet physical address aa-00-03-00-01-19.  This com-
       mand also specifies the file names for the secondary loader, the tertiary loader, and the system loader.  Note that  a  path  name  is  not
       specified for the system loader; consequently, the loader uses the default path when searching for that file.
       # /etc/addnode 44.71 -h aa-00-03-00-01-20 <RET>

       This command adds the DECnet node 44.71 to the nodes database, which has the Ethernet physical address aa-00-03-00-01-20.

See Also
       ccr(8), getnode(8), load(8), mop_mom(8), remnode(8), trigger(8)

																	addnode(8)
All times are GMT -4. The time now is 12:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy