07-11-2018
Command to find if a server is a VIP or normal server
I have a list of servers which has both VIP and normal server. Is there a command to identify which server is a VIP and which is a normal server?
Please help.
10 More Discussions You Might Find Interesting
1. Programming
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
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
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
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
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
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
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
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 (2 Replies)
Discussion started by: PMoore
2 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT OSX
localemanager
localemanager(8) BSD System Manager's Manual localemanager(8)
NAME
localemanager -- Configure OpenDirectory Server Locales
SYNOPSIS
localemanager operation [-l localename] [-subnet 1.2.3.4/5] [-server servername] [-i IP address]
DESCRIPTION
localemanager creates, destroys, and edits OpenDirectory Server Locale information. Locales are collections of OpenDirectory servers to
assist clients in locating the nearest OpenDirectory Server.
To use OpenDirectory Server Locales, simply create a locale on an OD server with the createLocale operation. Then add servers and subnets to
the locale. All localemanager operations are performed on the local OpenDirectory node.
The first time a locale is created, a DefaultLocale will automatically be created as well. The DefaultLocale will be used for any clients
that don't match a subnet in any other locale.
Before a locale can be configured, the server must already be an OpenDirectory server.
Locales can be defined on each of the OD servers or on a single OD server in the group of OD master/replicas. For the latter, the locale
information will get replicated to all of the other servers but locales will need to be "enabled" on the other servers by running the command
localemanager enableLocales.
Commands:
help Displays the commands and options.
createLocale Creates a new locale on the local OD server. This command requires the -l option.
deleteLocale Deletes a locale from the local OD server. This command requires the -l option.
showLocale Displays the current locale(s). The -l option can be used to display a specific locale. If -l is not specified, all locales
are displayed.
enableLocales
Enables the use of locales on an OD server. This command is automatically run the first time any localemanager command is run
on an OD server. Therefore this command only needs to be run if no other localemanager commands have been (or will be) run on
this server.
addSubnet Adds a new subnet to the specified locale. This command requires the -l -subnet options.
removeSubnet Removes a subnet from the specified locale. This command requires -l -subnet options.
addServer Adds a server to the specified locale. This command requires the -l -server options. If the -i option is specified, that IP
address will be used by locale clients. This may be useful for multi-homed servers to restrict locale clients to a specific
network interface. If the -i option is not specified the IP address(es) will be looked up.
removeServer Removes a server from the specified locale. This command requires -l -server options. If the -i option is specified, only
that IP address will be removed from the locale. If the -i option is no specified, all of the server's IP addresses will be
removed from the locale.
Options:
-l locale Locale name.
-subnet 192.168.0.0/16
Subnet specified in CIDR notation.
-server server.example.com
Server fully-qualified domain name.
-i 192.168.1.1
Use this IP address for the server. Typically used to limit locale clients to a specific interface on a multi-homed server.
FILES
/var/log/localemanager.log localemanager log file.
SEE ALSO
slapconfig(8)
HISTORY
First introduced in Mac OS X 10.7
Darwin June 2, 2019 Darwin