Sponsored Content
Operating Systems AIX Same entry in multiple server at once in aix Post 302585092 by mk39 on Tuesday 27th of December 2011 11:27:07 AM
Old 12-27-2011
Same entry in multiple server at once in aix

Hi,

I need to update /etc/hosts file with same entry in 20 servers. Is there any script or command that can help me to put this entry in all servers at once instead of going to each server one by one. thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

errpt on aix entry.

hi, i have an entry in errpt on aix... any help? --------------------------------------------------------------------------- LABEL: AMQFFST3 IDENTIFIER: 8FED25B9 Date/Time: Fri Nov 15 07:20:05 Sequence Number: 2715 Machine Id: 000694DF4C00 Node Id: ... (1 Reply)
Discussion started by: yls177
1 Replies

2. Programming

userpw.h AIX ( delete entry from the shadow password database )

HI i need to delete an entry in /etc/security/passwd. can't find a way to do it with userpw.h api ( AIX ). the passwd file i delete like this. Write all entrys to passwd file except the one we are removing. can't find any function that works like getspent / getpwent do in AIX userpw api.... (4 Replies)
Discussion started by: nighter
4 Replies

3. Solaris

subdomain name entry in DNS server

Hi all, I'm tying to add dns a A record to a dns server running on Solaris 10 on sun's SPARC machine i want to do the following add host name to point to an IP address for a machine running win2k3 both machines have real IPs and exposed to the internet where can i add the A records on DNS server... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

4. AIX

How to add DNS entry in AIX 5.3

we have using windows 2003 server as DNS Server, now we want add dns entry in AIX 5.3 server. can any body help (1 Reply)
Discussion started by: Balajipoola007
1 Replies

5. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

6. AIX

How to remove the entry for the path in aix

Hi The below command shows as root@cbspsdb02 #export MQSI_USER_EXIT_PATH64=/opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib root@cbspsdb02 #print $MQSI_USER_EXIT_PATH64 /opt/IBM/ITM/aix513/d4/KD4/config/wmb61/lib I need to remove the entry for the path "$MQSI_USER_EXIT_PATH64". That is... (3 Replies)
Discussion started by: samsungsamsung
3 Replies

7. Shell Programming and Scripting

awk Help: Filter Multiple Entry & print in one line.

AWK Gurus, data: srvhcm01 AZSCI srvhcm01 AZSDB srvhcm01 BZSDB srvhcm01 E2QDI31 srvhcm01 YPDCI srvhcm01 YPDDB srvhcm01 UV2FSCR srvhcm01 UV2FSBI srvhcm01 UV2FSXI srvhcm01 UV2FSUC srvhcm01 UV2FSEP srvhcm01 UV2FSRE srvhcm01 NASCI srvhcm01 NASDB srvhcm01 UV2FSSL srvhcm01 UV2FSDI (7 Replies)
Discussion started by: rveri
7 Replies

8. Shell Programming and Scripting

Modifying/Adding in the DNS server entry using shell script

Dear Experts. I need to add/modify the entries in the DNS server and this has to be achieved using shell script and below is the requirement, could you please let me know if a shell script can be written for this task? 1. Log in to primary DNS server 2. Check /etc/named.conf if zone is... (4 Replies)
Discussion started by: VKIRUPHAKARAN
4 Replies

9. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

10. Shell Programming and Scripting

How to replace multiple "&nbsp;" entry with in <td> tag into single entry using sed?

I have the input file like this. Input file: 12.txt 1) There are one or more than one <tr> tags in same line. 2) Some tr tags may have one <td> or more tna one <td> tags within it. 3) Few <td> tags having "<td> &nbsp; </td>". Few having more than one "&nbsp;" entry in it. <tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
nis_intro(7)						 Miscellaneous Information Manual					      nis_intro(7)

NAME
nis_intro - Network Information Service (NIS) introductory information DESCRIPTION
The Network Information Service (NIS) is a distributed name service that allows participating hosts to share access to a common set of sys- tem and network files. NIS allows the system administrator to manage these shared files on a single system. NIS is intended for use in a secure environment only, where gateways do not allow outside Internet access to the NIS protocol. NIS Maps Information distributed by NIS is stored in database files called maps. Most of the NIS maps represent files that were traditionally stored in the /etc directory. These files include the following: aliases group hosts netgroups networks passwd protocols rpc services In a secure environment, you can run NIS in a secure mode, thereby creating secure and nonsecure versions of the NIS maps. See the Secu- rity guide for more information. You can also use NIS to distribute files used by Automount or AutoFS, or to distribute other user-defined files. Each NIS map contains a set of keys and associated values. For example, as keys, the hosts map contains all host names on a network, and as values, the corresponding Internet addresses. Each NIS map has a map name, used by programs to access data in the map. NIS Domains A named set of NIS maps is called a domain. A system's "domain name" or "NIS domain" corresponds to the set of NIS maps that the system can access. You can think of an NIS domain as a set of systems that share the same set of NIS maps. A system's domain name is set at the time the system is booted by the /sbin/init.d/nis script using an entry in the /etc/rc.config.common file. System administrators can use the nissetup script to place entries in this file. The nissetup script is described in the Network Administration manual. You can determine your system's NIS domain using the domainname command. Refer to domainname(1). A domain name is required for retrieving data from an NIS database. NIS Client-Server Model NIS follows the client-server model of distributed services. There are two types of NIS servers - master and slave. The master server stores the master copy of the NIS maps for its domain; these are the only NIS maps that can be modified. Each domain has only one master server. Slave servers store copies of the master server's NIS maps. NIS slave servers can be spread throughout a network. Whenever an NIS map is updated on the master server, the master propagates the changes to each slave server in its domain. If the master is unavailable for any reason, the slave servers continue to make the NIS maps available to the NIS clients. Clients are all of the systems that can access NIS maps. When a client requires NIS information, it makes a remote procedure call (RPC) to one of the NIS servers to obtain the information. NIS Data Storage The data in NIS maps is stored as databases in dbm/ndbm, btree, or hash format. For example, the NIS map for the /etc/hosts file in the domain market might be stored in these dbm/ndbm files: /var/yp/mar- ket/hosts.byaddr.dir /var/yp/market/hosts.byaddr.pag /var/yp/market/hosts.byname.dir /var/yp/market/hosts.byname.pag The makedbm command takes an ASCII file such as /etc/hosts and converts it into dbm/ndbm files suitable for use by NIS. However, system administrators use the Makefile script in the /var/yp directory to create NIS map files and specify file format. The Makefile script then calls makedbm. Refer to the Network Administration manual for details on the Makefile script, specifying different formats, and other NIS management information. RELATED INFORMATION
Commands: domainname(1), svcsetup(8), ypbind(8), yppasswdd(8), ypserv(8), ypxfr(8) Files: svc.conf(4) Network Administration delim off nis_intro(7)
All times are GMT -4. The time now is 04:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy