02-05-2010
Quote:
Originally Posted by
incredible
If you want to share a mount point from A to B, you will need to do this.
edit the /etc/dfs/dfstab file
start the nfs server daemon.
on B, start the nfs client daemon.
use the mount command as such, mount serverA:<dir> /serverB_mountpoint
The code i gave above is enought for the Nfs server ?
and i need to make it as automount .not in command line
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
After a reboot my ifconfig -a has nothing but 0.0.0.0
have to reinput my IP and default route, what makes the info save? (1 Reply)
Discussion started by: jo calamine
1 Replies
2. Solaris
Hi,
I want to permanently disable nfs and autofs in solaris 9, (2 Replies)
Discussion started by: manoj.solaris
2 Replies
3. UNIX for Advanced & Expert Users
Hello Everyone,
I am working with Solaris 10 autofs feature. On the server (and client) in /etc/auto_master I have this entry:
/net -hosts -nosuid,nobrowse
On the server, I have shared out /var/tmp, started the nfs server and issued the shareall command. When I issue share I can... (1 Reply)
Discussion started by: anies rahman
1 Replies
4. Solaris
Hi All,
Am Trying to configure a Network Printer (HP Laser Jet 4250n) Printer Name hari for a Solaris 5.9 server.
Output of lpstat:
root: lpstat -t
scheduler is running
no system default destination
device for hari: /dev/null
hari accepting requests since Mon Jul 28 10:38:51 2008... (0 Replies)
Discussion started by: efunds
0 Replies
5. Solaris
dear bro.
I using /usr/X11/bin/xorgconfig command configed xorg, and sync && init 6
but after restarted, used svcs -a to checked services status:
maintenance 23:41:50 svc:/application/x11/xvnc-inetd:default
How to solve this problem and connect to solaris using vncviewer under... (5 Replies)
Discussion started by: P2Baby
5 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I was wondering if it is possible to include a RAID configuration in my Solaris 10 Jumpstart files, so that I don't have to manually set up RAID on all my machines.
Thanks
P.S. I started messing around with Solaris only a week back, so if I sound like a complete idiot, you know... (1 Reply)
Discussion started by: iman453
1 Replies
7. Solaris
I have recently been told that on a Solaris 10 system # means default settings, and that ## indicates a comment.
Therefore, the following setting in the etc/default/login file
#RETRIES=5
indicates that the number of failed login attempts allowed is 5.
Is this true or false? Should... (5 Replies)
Discussion started by: jclarkaz
5 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I am going to reitre one solaris 10 server soon.
What are the important config files to backup in case if i want to check how this system was setup (need list in general) ?
Thanks! in advance (1 Reply)
Discussion started by: lramsb4u
1 Replies
9. Solaris
I have a few non-globa zones running in a 10.10.xx.xx network on a machine that is on a 192.168.xx.xx network.
My goal is to allow each of the non-global zones to communicate to each other while not communicating on the 192.168.xx.xx network.
I am using the current version of Solaris 10 in... (7 Replies)
Discussion started by: BradJM
7 Replies
10. Shell Programming and Scripting
hi
I need to update the value in config.txt value using shell script
example:
lets say a value in config.txt file is as SEQUENCE=1
after some iteration as the loop ends , the SEQUENCE should get update in the config.txt file with a new value of SEQUENCE=2.
also , can anyone please help me... (7 Replies)
Discussion started by: ravidwivedi2288
7 Replies
LEARN ABOUT OSX
net::server::multitype
Net::Server::MultiType(3) User Contributed Perl Documentation Net::Server::MultiType(3)
NAME
Net::Server::MultiType - Net::Server personality
SYNOPSIS
use base qw(Net::Server::MultiType);
sub process_request {
#...code...
}
my @types = qw(PreFork Fork Single);
Net::Server::MultiType->run(server_type => @types);
DESCRIPTION
Please read the pod on Net::Server first. This module is a personality, or extension, or sub class, of the Net::Server module.
This personality is intended to allow for easy use of multiple Net::Server personalities. Given a list of server types,
Net::Server::MultiType will require one at a time until it finds one that is installed on the system. It then adds that package to its
@ISA, thus inheriting the methods of that personality.
ARGUMENTS
In addition to the command line arguments of the Net::Server base class, Net::Server::MultiType contains one other configurable parameter.
Key Value Default
server_type 'server_type' 'Single'
server_type
May be called many times to build up an array or possible server_types. At execution, Net::Server::MultiType will find the first
available one and then inherit the methods of that personality
CONFIGURATION FILE
"Net::Server::MultiType" allows for the use of a configuration file to read in server parameters. The format of this conf file is simple
key value pairs. Comments and white space are ignored.
#-------------- file test.conf --------------
### multi type info
### try PreFork first, then go to Single
server_type PreFork
server_type Single
### server information
min_servers 20
max_servers 80
spare_servers 10
max_requests 1000
### user and group to become
user somebody
group everybody
### logging ?
log_file /var/log/server.log
log_level 3
pid_file /tmp/server.pid
### access control
allow .+.(net|com)
allow domain.com
deny a.+
### background the process?
background 1
### ports to bind
host 127.0.0.1
port localhost:20204
port 20205
### reverse lookups ?
# reverse_lookups on
#-------------- file test.conf --------------
PROCESS FLOW
See Net::Server
HOOKS
There are no additional hooks in Net::Server::MultiType.
TO DO
See Net::Server
AUTHOR
Paul T. Seamons paul@seamons.com
SEE ALSO
Please see also Net::Server::Fork, Net::Server::INET, Net::Server::PreFork, Net::Server::MultiType, Net::Server::Single
perl v5.16.2 2012-06-05 Net::Server::MultiType(3)