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
On the NIM server:
Code:
smitty nim_mac
Code:
Change/Show Characteristics of a Machine
After changing the hostname and IP address in the hosts file on the NIM server change the machine name in top item and hit return.
Edit the niminfo file on the client in /etc.
More often than not this works but if it does not you will have to delete the original definition off the NIM server and recreate it.
Code:
smitty nim_mkclient
again make sure the correct hostname and IP address is in the /etc/hosts file.
Last edited by johnf; 03-15-2012 at 08:17 AM..
Reason: added detail
Can a NIM client mksysb restore be performed via NIM (smitty nim) without the NIM client machine having the NIM server's IP and hostname in its /etc/hosts file? (10 Replies)
Hello All,
While trying to add NIM client to the NIM environment from NIM client machine, I get the following error:
1800-109
There are currently no additional SMIT screen entries available for this item. This may require installation of additional software before it can be accessed.
... (1 Reply)
Hello everyone
I would like to hear your opinions about this procedure to backup a client to my nim master
1.-I got a cron that make a mksysb from x machine
2.-This mksysb I send by ftp to my nim master.
3.-When I got it in the nim master machine. I create a mksysb resource from this... (2 Replies)
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)
:b:Hi...
I need help to configure nim client on nim server..
can i define aix 5.3.4.0 on aix 5.3.7.0 nim server.. while i m configuring nim client on nim server its getting msg that images not same.. i need to confirm that both version should be same or not..
Thanks.. (5 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)
Hello everyone
I was looking for the filesets to install a nim client on a linux box. (red hat 5 for power)
I have the nim master on aix box and I have different nim client with aix.
I download some filesets fron aix cd to linux box, but Im still hang up.
Some one know where I can find... (1 Reply)
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)
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)
Friend's,
I was playing around with NIM in my environment & had a quick question in mind which I didn't/couldn't find answer to, which is -- how to find the name of the NIM server sitting on the NIM client?
All leads to the answer would be much appreciated, many thanks!
-- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies
LEARN ABOUT X11R4
door_cred
door_cred(3DOOR) Door Library Functions door_cred(3DOOR)NAME
door_cred - return credential information associated with the client
SYNOPSIS
cc -mt [ flag ... ] file ... -ldoor [ library ... ]
#include <door.h>
int door_cred(door_cred_t *info);
DESCRIPTION
The door_cred() function returns credential information associated with the client (if any) of the current door invocation.
The contents of the info argument include the following fields:
uid_t dc_euid; /* Effective uid of client */
gid_t dc_egid; /* Effective gid of client */
uid_t dc_ruid; /* Real uid of client */
gid_t dc_rgid; /* Real gid of client */
pid_t dc_pid; /* pid of client */
The credential information associated with the client refers to the information from the immediate caller; not necessarily from the first
thread in a chain of door calls.
RETURN VALUES
Upon successful completion, door_cred() returns 0. Otherwise, door_cred() returns -1 and sets errno to indicate the error.
ERRORS
The door_cred() function will fail if:
EFAULT The address of the info argument is invalid.
EINVAL There is no associated door client.
USAGE
The door_cred() function is obsolete. Applications should use the door_ucred(3DOOR) function in place of door_cred().
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |all |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO door_call(3DOOR), door_create(3DOOR), door_ucred(3DOOR), libdoor(3LIB), attributes(5)SunOS 5.10 25 Mar 2003 door_cred(3DOOR)