HP CIFS Server Administrator Guide Version A.03.01.03 (5900-2006, October 2011)
Table Of Contents
- HP CIFS Server Administrator Guide Version A.03.01.03
- Contents
- About this document
- 1 Introduction to the HP CIFS Server
- 2 Installing and configuring HP CIFS Server
- HP CIFS Server requirements and limitations
- Step 1: Installing HP CIFS Server software
- Step 2: Running the configuration script
- Step 3: Modify the configuration
- Step 4: Starting HP CIFS Server
- Other Samba configuration issues
- 3 Managing HP-UX file access permissions from Windows NT/XP/2000/Vista/Windows 7
- Introduction
- UNIX file permissions and POSIX ACLs
- Using the Windows NT Explorer GUI to create ACLs
- Using the Windows Vista Explorer GUI to create ACLs
- POSIX ACLs and Windows 2000, Windows XP, Windows Vista, and Windows 7 clients
- HP CIFS Server Directory ACLs and Windows 2000, Windows XP, Windows Vista, and Windows 7 clients
- In conclusion
- 4 Windows style domains
- Introduction
- Configure HP CIFS Server as a PDC
- Configure HP CIFS Server as a BDC
- Domain member server
- Create the Machine Trust Accounts
- Configure domain users
- Join a Windows client to a Samba domain
- Roaming profiles
- Configuring user logon scripts
- Home drive mapping support
- Trust relationships
- 5 Windows 2003 and Windows 2008 domains
- 6 LDAP integration support
- Overview
- Network environments
- Summary of installing and configuring
- Installing and configuring your Directory Server
- Installing LDAP-UX Client Services on an HP CIFS Server
- Configuring the LDAP-UX Client Services
- Enabling Secure Sockets Layer (SSL)
- Extending the Samba subschema into your Directory Server
- Migrating your data to the Directory Server
- Configuring the HP CIFS Server
- Creating Samba users in directory
- Management tools
- 7 Winbind support
- 8 Kerberos support
- 9 HP CIFS deployment models
- Introduction
- Samba Domain Model
- Windows Domain Model
- Unified Domain Model
- 10 Securing HP CIFS Server
- 11 Configuring HA HP CIFS
- 12 HP-UX configuration for HP CIFS
- 13 Tool reference
- Glossary
- Index
Example: cfsdgadm activate dgha
Create volumn:
vxassist g <diskgroup name> make <volumn name> <size in MB>
Example:
vxassist -g dgha make lvol1 1024M
vxassist -g dgha make lvol2 2048M
newfs -F vxfs /dev/vx/rdsk/dgha/lvol1
newfs -F vxfs /dev/vx/rdsk/dgha/lvol2
Add volumn:
cfsmntadm add <diskgroup name> <volumne> <mount point> all=rw
Example:
cfsmntadm add dgha lvol1 /cfs1 all=rw
cfsmntadm add dgha lvol2 /cfs2 all=rw
Mount CFS mount points:
cfsmount <mount point>
cfsmount /cfs1 /cfs2
If CIFS Server binaries are moved, note that CIFS Server depends on libraries including /opt/
samba/lib. Do the followings:
◦ Use chatr (see man chatr) to move libraries
◦ Copy binaries to /cfs1/opt/samba/bin, for example.
◦ Define "CIFS_BIN" in samba.cntl and samba.mon SG script files.
◦ Copy smb.conf to /cfs1/etc/opt/samba/smb.conf and define "CONF_FILE" in
SG script files.
◦ Define "LOG_DIR", "SMBD_PID_FILE", and "NMBD_PID_FILE" in SG script files.
The smb.conf file can be:
[global]
secruity = user
lock directory = /cfs1/var/opt/samba/locks
pid directory = /cfs1/var/opt/samba/locks
private directory = /cfs1/var/opt/samba/private
smb passwd file = /cfs1/var/opt/samba/private/smbpasswd
....
[cfs2]
path = /cfs2/data
browseable = yes
read only = no
Use of any CFS mount points should be declared as dependencies in the samba.conf file
to ensure that the resource is available before the package is started and to monitor the
resource's availability. See the following example of samba.conf.
The samba.conf file:
The samba.conf
# For /cfs1 dependency
DEPENDENCY_NAME SG-CFS-MP-1
DEPENDENCY_CONDITION SG-CFS-MP-1=UP
DEPENDENCY_LOCATION SAME_NODE
# For /cfs2 dependency
DEPENDENCY_NAME SG-CFS-MP-2
148 Configuring HA HP CIFS