Re: How to enable SAMBA on an hpux 11.23 ?

First - install a newer version:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

There's docs there as well...

Config file for startup:

/etc/rc.config.d/samba

To start:

/sbin/init.d/samba start

Config files for samba are in:

/etc/opt/samba


Point browser to:

http://yourunixserver:901

That will take you to SWAT - web based way to manage samba.

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Honored Contributor
Chan 007
Posts: 749
Registered:?12-06-2005
Message 3 of 6(408 Views)

Re: How to enable SAMBA on an hpux 11.23 ?

Nair,

Files to look during the conf are,

/etc/rc.config.d/samba

/opt/samba/bin/startsmb - starting the samba
/opt/samba/bin/stopsmp - stop the samba

You can use the GUI to config your client, ensure that you have workstation/emulator for doing so.

Also, CIFS/SAMBA

CIFS - stands for Common Internet File System.
It is a type of file system (NFS etc)

Where SAMBA is a 3rd party software used to implement CIFS.

SAMBA uses SMP (Server Message Block) protocol for that purpose & works in the application layer of the TCP/IP suite.

Best of luck...
Chan



Honored Contributor
Zinky
Posts: 663
Registered:?11-26-2003
Message 4 of 6(408 Views)

Re: How to enable SAMBA on an hpux 11.23 ?

0. Make sure you are running the current release of Samba (the HP Built one called HP CIFS Server!) at:http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

1. Edit /etc/rc.config.d/samba to enable auto-start at boot.

2. Make sure :

/etc/services:
swat 901/tcp # SAMBA Web-based Admin Tool
/etc/inetd.conf:
swat stream tcp nowait.400 root /opt/samba/bin/swat swat

Add if not there and HUP (kill -HUP PID_of_Inetd)

3. Via a web browser - connect to http://hpserver_running_samba:901 (use root/pass)

SWAT will give you the best window to learn and configure Samba.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Respected Contributor
eric roseme
Posts: 170
Registered:?01-27-2002
Message 5 of 6(408 Views)

Re: How to enable SAMBA on an hpux 11.23 ?

What is the impact on enabling samba ? Will it eat up more resources ?

You may need to bump these kernel parms - if they are at default you will top out at client sessions at about 20:

nflocks
(10*maximum smbd)+(other apps + system)
example 1000 connected clients and baseline NFS system
(10*1000)+(2048) = 12048
nfile
((23+opens_per_smbd)*maximum smbd)+(other apps+system))
example 1000 connected clients and baseline NFS system
((23+7)*1000)+(8192)=38192
nproc
(maximum smbd)+(other apps+system)
example 1000 connected clients and baseline NFS system
(1000)+(1024)=2024

Keep in mind that when you start CIFS/Samba you are starting an nmbd process and a master smbd process. The master smbd will spawn a child smbd for every client connection - so if 1000 clients connect then you have 1001 smbd processes. For server throughput, your MBs is about the same as NFS, assuming that you have your front-end (network) and backend (storage) set up efficiently.

Eric Roseme
Regular Advisor
Silver_1
Posts: 159
Registered:?01-28-2005
Message 6 of 6(408 Views)

Re: How to enable SAMBA on an hpux 11.23 ?

I haven't enabled it but thanks for your info.
请使用浏览器的分享功能分享到微信等