ypsetup(8yp)ypsetup(8yp)Name
ypsetup - set up the yellow pages (YP) environment
Syntax
/usr/etc/ypsetup
Description
A local area network must be set up on your system before you can set up YP. You must know your system's default YP domain name and
whether your system will be a master server, slave server, or client. If your system is to be the master server for your YP domain, be
sure no other master has been established and be sure the files to be distributed are in the directory Note that the files to be distrib-
uted should be modified from the original files by removing the root entry in the file.
If your system is not to be the master server, be sure a master already exists for your YP domain. Once you know this information, run
with the system in multiuser mode and answer its questions.
Once YP is installed on a machine, it cannot be used until the file is modified to contain YP entries on the desired database lines. The
command reminds a user to run or edit the file manually.
Files
Files that Start the YP daemons
Clock daemon database file
Commands pertinent to a specific system
Default YP Map Files
Group database
Host name database
Sendmail alias database
Network group aliases
Network name database
Password file
Protocol name database
Rpc name database
Service name database
See Alsodomainname(1yp), ypwhich(1yp), svc.conf(5), svcsetup(8), yppasswdd(8yp), ypserv(8yp), ypxfr(8yp)
Guide to the Yellow Pages Service
ypsetup(8yp)
Check Out this Related Man Page
ypwhich(1yp)ypwhich(1yp)Name
ypwhich - determine which host is the current YP server or map master.
Syntax
ypwhich [-d domain] [-V1] [-V2] [hostname]
ypwhich [-d domain] [-m mname][-t]]
ypwhich -x
Description
The command identifies the YP server that currently supplies yellow pages services to a YP client. It also identifies which YP server is
the master for a map. If invoked without arguments, returns the host name of the YP server for the local machine. If hostname is speci-
fied, checks that machine to find out which YP master it is using.
Refer to and for an overview of the yellow pages.
Options-V1
Identifies which server is serving v.1 YP protocol-speaking client processes.
-V2
Identifies which server is serving v.2 YP protocol-speaking client processes.
If neither version is specified, attempts to locate the server that supplies the current v.2 services. If there is no v.2 server cur-
rently bound, attempts to locate the server supplying the v.1 services. Since YP servers and YP clients are both backward compatible,
the user need seldom be concerned about which version is currently in use.
-d Uses domain instead of the current domain.
-m mname
Finds the master YP server for a map. No hostname can be specified with -m. The mname argument can be a mapname, or a nickname for a
map.
-t Inhibits nickname translation and is useful if there is a mapname identical to a nickname.
-x Displays the map nickname table. This option lists the nicknames (mnames) that the command knows of, and indicates the mapname associ-
ated with each nickname.
See Alsoypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypsetup(8yp)ypwhich(1yp)
How can you find a zombie file on the system. I have been in the database side of the system to search for Orphan files removed the orphan files, but still got the zombie file. When you run a top command it says there is a zombie process that is running i would like to find it. How can i do... (5 Replies)
I am using NCR Unix, with a progress database.
There are files that suddenly appear that are compiled (*.r) and I can't figure out where they are comming from.
Is there any way I can uncompile them? That way, I can possibly read them and find out where they are comming from?
Any ideas... (2 Replies)
Hi,
I am setting up an area on a unix server where multiple people will be editing web pages. Can anyone tell me how to set it up the directory and subdirectories so that when a user creates a new file, it defaults to permissions of 664 or 775?
I've tried using umask but from what I can... (1 Reply)
Hi,
I am trying to set the environment for my oracle database. I have 5 database in an unix box. My idea is to create 5 files for each database with the following script on it.
After logging into the unix box ...just by typing the database name....the enviornment for the database... (2 Replies)
Hi. Our shop is migrating to a new UNIX server and our hope is to do a full migration of all files to the new server weeks in advance of the final migration. As a result we want to identify files on our SOLARIS 8 UNIX server that have changed or that were created after a specific date & time... (2 Replies)
We have a large number of oracle database related scripts that utilize the environment variables $ORACLE_SID and $DBNAME. In a single instance database the $ORACLE_SID is the same as the database name $DBNAME. So we have simply set DBNAME = $ORACLE_SID. However, now that we are clustering with RAC,... (5 Replies)
I hope I'm posting this in the correct section.
I'm trying to move a database from one server to another. This is the code I'm using...
tar czf - vbdatabase.sql | ssh username@full.domain.com 'cat > /home/cpanelusername/vbdatabase.tar.gz
... but all I'm getting is a ">" and then nothing... (4 Replies)
Hi
We run a script that queries a database via the internet and we need the fast possible connections to the database server.
I have centos server which sends the requests to the database across the internet . it sends upto 800 queries per milliseconds however this using the default... (4 Replies)
Hello all,
is it possible to write a script in order to connect to a database, load data in a specific domain and execute the corresponding command? (3 Replies)
Hi all,
I have created VIO Server which serves 3 lpars. All of them are on VLAN ID 50.
From one lpar I installed and set up NIM master server called testAIX1.
I have created client and allocated resources to it:
testAIX1:/ > lsnim -l test_lpar
test_lpar:
class = machines
... (4 Replies)
Environment: SCO Unix Openserver 6
Sendmail ver: 8.11.3
I just put this server online replacing it's old counterpart, same OS on new machine. There are many different servers on this domain, windowssrv.thisdomain.com, oldunix.thisdomain.com, and the new newunix.thisdomain.com just to name a... (2 Replies)
Hello,
I am sorry if the title is confusing, but I need a script to grep a list of Names from a Source file in a Master database in which all the homophonic variants of the name are listed along with a single indexing key and store all of these in an output file. I need this because I am testing... (4 Replies)
Hi
I have requirement to read only unread files from the directory and load into database.
Scenario: I do receive bunch of files into my unix directory for every 15 mins. My ETL Process every once in a day and reads the files and loads into db table. I cannot move these file into different... (9 Replies)
I have two directories of files (new-config-files and old-config-files):
new-config-files/this-db/config.inc.php
new-config-files/that-db/config.inc.php
new-config-files/old-db/config.inc.php
new-config-files/new-db/config.inc.php
new-config-files/random-database/config.inc.php
etc.
... (4 Replies)