Sponsored Content
Operating Systems AIX NIM master-client connectivity issue Post 302301817 by aixylinux on Saturday 28th of March 2009 12:53:32 PM
Old 03-28-2009
There are several steps required to get the NIM master talking to the NIM client.
1. NIM client fileset must be installed on the client.
2. NIM master must be able to rsh to the client. (Later can change this to use nimsh protocol, but when starting it is easiest to use rsh.)
a. Client /.rhosts file must contain line with hostname of master. Permissions on this file must be 600.
b. /etc/inetd.conf file must not have commented out shell service -- sometimes security hardening turns off rsh. If you have to change file to remove comment, save file and enter command "refresh -s inetd" to make the daemon reload the file.
c. Master and client must be able to resolve each other's hostname. Put in /etc/hosts entries on both (or update DNS) to make it so.
d. From master must be able to enter command: "rsh clienthostname date" and get a response.
3. Now can define client to master.
 

10 More Discussions You Might Find Interesting

1. AIX

Nim Master Problem

All, I'm testing NIM on a 7026-m80 machine. But everytime i want to setup the master, i get this error message... Anyone who knows how to solve this issue? google doesn't seem to know much about it # nim_master_setup ############################## NIM master setup... (1 Reply)
Discussion started by: kvanelshocht
1 Replies

2. AIX

nim master

Hi, I want to know what are steps required to create nim master in aix? Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. AIX

nim master

Hi, I want to know how to create nim master in AIX 5.3. Regards, Manoj (0 Replies)
Discussion started by: manoj.solaris
0 Replies

4. AIX

Back up a client NIM from nim master

Hello everyone Im trying to backup a nim client from nim master but I got this message COMMAND STATUS Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0042-001 nim:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

5. AIX

NIM Master as Mgmt Server

Guys, I need your help I got a requirement from a cUstomer asking for a specific design He wants to use the NIM Master as one single mgmt server and access the nodes maintained by it there by the accounting is in one single server for all the nodes Note:- Direct login to the nodes will... (3 Replies)
Discussion started by: kkeng808
3 Replies

6. AIX

NIM : remove nim client info from the client

Hi. I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ? Tks (2 Replies)
Discussion started by: stephnane
2 Replies

7. AIX

Nim client with different subnet to Master

Iam attempting to add a client to NIM however the new client has a different subnet than master 10... & 193... , I've established from redbooks that it should be possible but can't find anything that states how? Does anyone use nim in this way? (5 Replies)
Discussion started by: gefa
5 Replies

8. AIX

NIM Master hostname

hi Admins, How can I check the NIM master hostname/IP name from NIM client ? I don't see any option that I can try with nimclient command. Let me know.. Thanks, (5 Replies)
Discussion started by: snchaudhari2
5 Replies

9. AIX

NIM master with multiple client subnets

Hi Guys, I'm building a new NIM environment with clients on 3 different subnets. I want to get some advise on what is the best approach for this kind of setup. This is the sample network for my new NIM. Master IP: 10.20.1.20 Client IP subnet_1: 10.20.1.21 Client IP subnet_1: 10.30.1.21... (5 Replies)
Discussion started by: kaelu26
5 Replies

10. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies
slave(3erl)						     Erlang Module Definition						       slave(3erl)

NAME
slave - Functions to Starting and Controlling Slave Nodes DESCRIPTION
This module provides functions for starting Erlang slave nodes. All slave nodes which are started by a master will terminate automatically when the master terminates. All TTY output produced at the slave will be sent back to the master node. File I/O is done via the master. Slave nodes on other hosts than the current one are started with the program rsh . The user must be allowed to rsh to the remote hosts without being prompted for a password. This can be arranged in a number of ways (refer to the rsh documentation for details). A slave node started on the same host as the master inherits certain environment values from the master, such as the current directory and the environ- ment variables. For what can be assumed about the environment when a slave is started on another host, read the documentation for the rsh program. An alternative to the rsh program can be specified on the command line to erl as follows: -rsh Program . The slave node should use the same file system at the master. At least, Erlang/OTP should be installed in the same place on both computers and the same version of Erlang should be used. Currently, a node running on Windows NT can only start slave nodes on the host on which it is running. The master node must be alive. EXPORTS
start(Host) -> start(Host, Name) -> start(Host, Name, Args) -> {ok, Node} | {error, Reason} Types Host = Name = atom() Args = string() Node = node() Reason = timeout | no_rsh | {already_running, Node} Starts a slave node on the host Host . Host names need not necessarily be specified as fully qualified names; short names can also be used. This is the same condition that applies to names of distributed Erlang nodes. The name of the started node will be Name@Host . If no name is provided, the name will be the same as the node which executes the call (with the exception of the host name part of the node name). The slave node resets its user process so that all terminal I/O which is produced at the slave is automatically relayed to the mas- ter. Also, the file process will be relayed to the master. The Args argument is used to set erl command line arguments. If provided, it is passed to the new node and can be used for a variety of purposes. See erl(1) As an example, suppose that we want to start a slave node at host H with the node name Name@H , and we also want the slave node to have the following properties: * directory Dir should be added to the code path; * the Mnesia directory should be set to M ; * the unix DISPLAY environment variable should be set to the display of the master node. The following code is executed to achieve this: E = " -env DISPLAY " ++ net_adm:localhost() ++ ":0 ", Arg = "-mnesia_dir " ++ M ++ " -pa " ++ Dir ++ E, slave:start(H, Name, Arg). If successful, the function returns {ok, Node} , where Node is the name of the new node. Otherwise it returns {error, Reason} , where Reason can be one of: timeout : The master node failed to get in contact with the slave node. This can happen in a number of circumstances: * Erlang/OTP is not installed on the remote host * the file system on the other host has a different structure to the the master * the Erlang nodes have different cookies. no_rsh : There is no rsh program on the computer. {already_running, Node} : A node with the name Name@Host already exists. start_link(Host) -> start_link(Host, Name) -> start_link(Host, Name, Args) -> {ok, Node} | {error, Reason} Types Host = Name = atom() Args = string() Node = node() Reason = timeout | no_rsh | {already_running, Node} Starts a slave node in the same way as start/1,2,3 , except that the slave node is linked to the currently executing process. If that process terminates, the slave node also terminates. See start/1,2,3 for a description of arguments and return values. stop(Node) -> ok Types Node = node() Stops (kills) a node. pseudo([Master | ServerList]) -> ok Types Master = node() ServerList = [atom()] Calls pseudo(Master, ServerList) . If we want to start a node from the command line and set up a number of pseudo servers, an Erlang runtime system can be started as follows: % erl -name abc -s slave pseudo klacke@super x -- pseudo(Master, ServerList) -> ok Types Master = node() ServerList = [atom()] Starts a number of pseudo servers. A pseudo server is a server with a registered name which does absolutely nothing but pass on all message to the real server which executes at a master node. A pseudo server is an intermediary which only has the same registered name as the real server. For example, if we have started a slave node N and want to execute pxw graphics code on this node, we can start the server pxw_server as a pseudo server at the slave node. The following code illustrates: rpc:call(N, slave, pseudo, [node(), [pxw_server]]). relay(Pid) Types Pid = pid() Runs a pseudo server. This function never returns any value and the process which executes the function will receive messages. All messages received will simply be passed on to Pid . Ericsson AB stdlib 1.17.3 slave(3erl)
All times are GMT -4. The time now is 01:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy