08-15-2008
You need to log on to your VIO server and configure it as a NIM client. Here are the steps:
as root on the VIO server
smitty nim --> Configure Network Installation Management Client Fileset
Machine Name = Local VIO hostname
Primary Network Interface = VIO server's interface card (Esc-4 to choose)
Host Name of Network Install Master = NIM Server hostname
Press enter, then enter again to confirm. That should make it a NIM client.
10 More Discussions You Might Find Interesting
1. AIX
I have a standard template I deploy for each of my AIX servers. It's in a mksysb format which I pulled via the nim server after I originally set it up.
I'm trying to restore this mksysb over the wire to a remote system. The remote system is an lpar running under vio (no HMC attached). The disk... (1 Reply)
Discussion started by: scottsl
1 Replies
2. Shell Programming and Scripting
#!/bin/ksh
#
# nim_mksysb
# get mksysb from each client machine specified with -m. If no
# machines specified, get mksysb from ALL machines. -r flag says
# remove oldest existing mksysb for the machines being backed up.
# use -n no_make flag with -r to remove a generation of mksysb,
#... (0 Replies)
Discussion started by: barkath
0 Replies
3. Shell Programming and Scripting
Hi All,
I have some script that run some commands and send results to my email. I want to run same script on mulitiple servers. How can I do that. I know there is an option "ssh". But I'm not quite sure how to use it in the script.
And also. scripts has some parameters like following,
if :... (10 Replies)
Discussion started by: s_linux
10 Replies
4. Shell Programming and Scripting
Hello,
I am a Unix newbie and I need a script in which I can run a command on multiple servers at work. The command is to start a storage process and I am sick of doing it manually on all servers..
Here's the command:
/opt/bss/bin/snmptable -CB -v2c -c P67LzuBm hostname hrStorageTable... (4 Replies)
Discussion started by: kinyyy
4 Replies
5. Shell Programming and Scripting
Hi all,
I have a task for which I need to run some commands on one server1 and then jump from the server1 (using ssh and asking user to enter login credentials manually for server2 server) to server2 and run some commands there and exit.
I know the script I need here but problem is when I... (5 Replies)
Discussion started by: pat_pramod
5 Replies
6. UNIX for Dummies Questions & Answers
I want to grab all the luns in vscsi disks from vio that are assigned to client lpars. They are not powerpath disks. Now when I do lspv as root in vio server I see 956 disks..the problem right now is that each disks lun are in hex so when I do lscfg vpl from vio..the FRU number is on hex.
Can... (3 Replies)
Discussion started by: pregmi
3 Replies
7. AIX
Dears i have a total of 6 VIO servers i was trying to take a mksysb to the VIOs through NIM server but i can not process with it (6 Replies)
Discussion started by: thecobra151
6 Replies
8. AIX
I need run a command such as ps -ef |grep xxx on a batch of servers, how to write a script to run it without password? don't need go in each server to check?
Thanks (7 Replies)
Discussion started by: rainbow_bean
7 Replies
9. Shell Programming and Scripting
I need to run a script on a bunch of remote servers. how can this be done without ssh into each individual server and run it
its under /sbin/script.sh on each server (1 Reply)
Discussion started by: tdubb123
1 Replies
10. Shell Programming and Scripting
We have 15 servers. Hostnames for these 15 servers are stored in a text files and loop through each server to connect to the remote server and run a command, but this loop process runs the command one after another. However, the requirement is to run the same command on all 15 servers at the same... (10 Replies)
Discussion started by: laknar
10 Replies
UDHCPC(8) GNU/Linux Administrator's Manual UDHCPC(8)
NAME
udhcpc - very small DHCP client
SYNOPSIS
udhcpc [OPTION]...
DESCRIPTION
The udhcp client negotiates a lease with the DHCP server and executes a script when it is obtained or lost.
OPTIONS
-c CLIENTID, --clientid=CLIENTID
Send the client identifier CLIENTID.
-f, --foreground
Do not fork after obtaining a lease.
-H HOSTNAME, --hostname=HOSTNAME
Send the client hostname HOSTNAME.
-h HOSTNAME
Alias for -H HOSTNAME.
-i INTERFACE, --interface=INTERFACE
Configure INTERFACE.
-n, --now
Exit with failure if a lease cannot be obtained.
-p FILE, --pidfile=FILE
Write the process ID of the daemon to FILE.
-q, --quit
Exit after obtaining a lease.
-r ADDRESS, --request=ADDRESS
Request IP address ADDRESS.
-s FILE, --script=FILE
Use script FILE.
-v, --version
Display version.
USAGE
When an event occurs, udhcpc executes a script. There are four possible arguments to this script:
deconfig
deconfig is used when udhcpc starts, and when a lease is lost. The script should put the interface in an up, but deconfigured,
state.
bound bound is used when udhcpc moves from an unbound to a bound state. The script should configure the interface and set any other rele-
vant parameters (e.g., default gateway, dns server, etc.).
renew renew is used when udhcpc when a lease is renewed. The interface is already configured, so the IP address will not change. Other
parameters (e.g., default gateway, subnet mask, dns server) may.
nak nak is used when udhcpc receieves a NAK packet from the server. The enviromental variable $message will contain the reason for the
NAK message if the server included one. Processing this message is optional, as the script will also be called with deconfig if need
be.
Parameters are passed to the script via the following environment variables:
HOME The inherited HOME, or "/" if it is unset.
PATH The inherited PATH, or "/bin:/usr/bin:/sbin:/usr/sbin" if it is unset.
interface
The interface.
ip The client IP address.
siaddr The BOOTP next server option.
sname The BOOTP server name option.
boot_file
The BOOTP boot file option.
subnet The subnet mask.
timezone
The timezone offset from UTC in seconds.
router The list of routers.
timesvr
The list of time servers.
namesvr
The list of IEN 116 name servers.
dns The list of DNS servers.
logsvr The list of MIT-LCS UDP log servers.
cookiesvr
The list of RFC 865 cookie servers.
lprsvr The list of LPR servers.
hostname
The host name.
bootsize
The length in 512-octet blocks of the bootfile.
domain The domain name of the network.
swapsvr
The client's swap server.
rootpath
The path of the client's root dist.
ipttl The TTL.
mtu The MTU.
broadcast
The broadcast address.
ntpsrv The list of NTP servers.
wins The list of WINS servers.
lease The lease time in seconds.
dhcptype
The DHCP message type (safely ignored).
serverid
The server IP address.
message
Reason for a DHCPNAK.
tftp The TFTP server name.
bootfile
The bootfile name.
FILES
/usr/share/udhcpc/default.script
Script run when leases are obtained or lost.
NOTES
udhcpc responds to the following signals:
SIGUSR1
This signal causes udhcpc to renew the current lease or, if it does not have one, obtain a new lease.
SIGUSR2
This signal caused udhcpc to release the current lease.
GNU
/Linux 2001-09-26 UDHCPC(8)