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
trigger(8)						      System Manager's Manual							trigger(8)

Name
       trigger - trigger a target node to request a down-line load

Syntax
       /etc/trigger node [ options ]

Description
       The command triggers the bootstrap mechanism of a target node, causing the target to request a down-line load.  Once a target node is trig-
       gered, it loads itself in whatever manner its primary loader is programmed to operate.  The target node could request a down-line load from
       the host that just triggered it or from another adjacent node, or the target node could load itself from its own mass storage device.

       The  node argument is the name or address of the target node.  A node name consists of from one to six alphanumeric characters.	For single
       networks, a node address consists of a decimal integer (1-1023).  For multiple networks, a node address consist	of  two  decimal  integers
       (n.n), where the first indicates the network number (1-63), and the second indicates the node address (1-1023).

       The  command requires the identification of the service circuit over which the load is performed, the Ethernet hardware address of the tar-
       get node, and the service password needed to gain access to the target.	This information is included in the nodes database entry  for  the
       target node.  A node entry is defined with the command.	For further information, see Alternatively, you can choose not to include a target
       node's service password in the nodes database for security reasons.  You must therefore specify this value in the command line by using the
       -p option.

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

Examples
       This command triggers node Bangor to issue a down-line load request:
       # /etc/trigger bangor <RET>

See Also
       mop_mom(8), addnode(8), load(8), remnode(8), getnode(8), ccr(8)
       Guide to Local Area Transport Servers

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