02-01-2010
Forgive me that I'm a dummies in Solaris. Can explain in details what are the file need to edit? I got 2 virtual machine installed solaris 10. One is running static ip and another is dyanamic ip. The static machine in the hosts file written the ip address, host and loghost. The dynamic machine in the file hosts written the ip address, host and # Added by DHCP. Should I just follow or the are few files to edit? Please help thx.
10 More Discussions You Might Find Interesting
1. Programming
hello,
friends
i would like to know what is the differnce between static library and dynamic library?
How will u create them and what are there uses? (1 Reply)
Discussion started by: vijaya2006
1 Replies
2. Solaris
Hi,
I have a SUN SPARC with 2 NICs running Solaris 9. I want to configure the first NIC using static IP and the second NIC using dynamic IP (DHCP client).
Anyone help me!
Thanks in advanced.
Tinh (2 Replies)
Discussion started by: tinhlx
2 Replies
3. Programming
i wrote a tiny version of tail command using a large buffer statically allocated but, in a second time, i found another version in which i use a bidimensional array dynamically allocated.
here is the first version
/*my tiny tail, it prints the last 5 line of a file
*/
#include<stdio.h>... (4 Replies)
Discussion started by: lucasclaus
4 Replies
4. Shell Programming and Scripting
I need to deploy a JAVA application on two separate servers:
1. Web server (IBM HTTP Web Servers (IHS))
2. Application Server (WebSphere Application Server WAS7.0)
The static content will have to be deployed and handled on Web server. These would include GIFs, HTML, CSS, etc files.... (0 Replies)
Discussion started by: chani27
0 Replies
5. Shell Programming and Scripting
Dear Unix experts
I want to define a variable which contains dynmic and static part, daynamic part is the first field.
Sample of data
dddd aaaa sssss 12345
ssss 2323 234234 4242
dddd 3223 34234 54353
ssss 24234 3434 42342
dddd rwrw 423423 werwer
nawk 'BEGIN {FS=" "}{... (4 Replies)
Discussion started by: yahyaaa
4 Replies
6. Emergency UNIX and Linux Support
Dear Unix experts
Moved from "Shell Programming and Scripting "
I want to define a variable which contains dynmic and static part, daynamic part is the first field.
Sample of data
dddd aaaa sssss 12345
ssss 2323 234234 4242
dddd 3223 34234 54353
ssss 24234 3434 42342
dddd rwrw 423423... (2 Replies)
Discussion started by: yahyaaa
2 Replies
7. Programming
if I could compile the same source file as shared/static/dynamic what are the advantages/ disadv of each.
PS:by dynamic i am asking about usage of "dlopen". How is it particularly diff from shared libs (2 Replies)
Discussion started by: dragonpoint
2 Replies
8. HP-UX
I have solved this but now cannot recall the syntax. I want to strip or change the hard wired library paths on binaries I download from a repository. I do not have root and just want a personal install, but would rather not build every tool. I even posted the solution here once for others, but... (2 Replies)
Discussion started by: DGPickett
2 Replies
9. Shell Programming and Scripting
Hi All,
I am newbie here and request your assistance.
I have a service running on public ip, but since I have a dynamic IP it keeps on changing and every time I need to manually get the new ip and add to the config file and restart the service. This has become bit time consuming.
Hence, I... (4 Replies)
Discussion started by: Shaan_Shaan
4 Replies
10. IP Networking
Hi,
Environment:
Linux: Ubuntu 12.04
I am connected to internet using static ip. This means my internet provider Pacenet has assigned me static ip. Now, whenever I am trying to change source ip for tcp/ip (ip4) using iptables firewall, I am unable to access internet at all.
Can anybody... (4 Replies)
Discussion started by: ashv
4 Replies
LEARN ABOUT REDHAT
pvmfdelhost
DELHOSTS(3PVM) PVM Version 3.4 DELHOSTS(3PVM)
NAME
pvm_delhosts - Deletes hosts from the virtual machine.
SYNOPSIS
C int info = pvm_delhosts( char **hosts, int nhost, int *infos )
Fortran call pvmfdelhost( host, info )
PARAMETERS
hosts An array of pointers to character strings containing the names of the machines to be deleted.
nhost Integer specifying the number of hosts to be deleted.
infos Integer array of length nhost which contains the status code returned by the routine for the individual hosts. Values less than
zero indicate an error.
host Character string containing the name of the machine to be deleted.
info Integer status code returned by the routine. Values less than nhost indicate partial failure, values less than 1 indicate total
failure.
DESCRIPTION
The routine pvm_delhosts deletes the computers pointed to in hosts from the existing configuration of computers making up the virtual
machine. All PVM processes and the pvmd running on these computers are killed as the computer is deleted. If pvm_delhosts is successful,
info will be nhost. Partial success is indicated by 1<= info < nhost, and total failure by info < 1. The array infos can be checked to
determine which host caused the error.
The Fortran routine pvmfdelhost deletes a single host from the configuration with each call.
If a host fails, the PVM system will continue to function and will automatically delete this host from the virtual machine. An application
can be notified of a host failure by calling pvm_notify. It is still the responsibility of the application developer to make his applica-
tion tolerant of host failure.
EXAMPLES
C:
static char *hosts[] = {
"sparky",
"thud.cs.utk.edu",
};
int status[2];
info = pvm_delhosts( hosts, 2, status );
Fortran:
CALL PVMFDELHOST( 'azure', INFO )
ERRORS
These error conditions can be returned by pvm_delhosts
PvmBadParam
giving an invalid argument value.
PvmSysErr
local pvmd not responding.
SEE ALSO
pvm_addhosts(3PVM), pvm_notify(3PVM)
30 August, 1993 DELHOSTS(3PVM)