Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1634154.1
Update Date:2015-02-09
Keywords:

Solution Type  Technical Instruction Sure

Solution  1634154.1 :   ODA (Oracle Database Appliance): How to export ACFS using Samba-CIFS to MS Windows  


Related Items
  • Oracle Database Appliance Software
  •  
  • Oracle Database Appliance
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




In this Document
Goal
Solution
 How to export ACFS using Samba/CIFS
 1. Install the required package
 2. Make a samba/cifs base configuration
 3. Check smbd configuration file for internal correctness
 4. Add authentication credentials
 5. Start the Samba/CIFS service
 6. Check if the samba export is working fine
 7. Mount the Samba/CIFS on remote MsWindows
 8. Mount the Samba/CIFS on remote Linux
References


Applies to:

Oracle Database Appliance Software - Version 12.1.2 and later
Oracle Database Appliance - Version All Versions and later
Information in this document applies to any platform.

Goal

The aim of this article is to show how to export ACFS using Samba/CIFS to MsWindows (baremetal/VM)

 

Solution

 

Due to ACFS regression BUG:18596485 - LNX64-112-CMT: ACFS ASSERT EXPORTING IT USING CIFS
the content of this note can be applied on version 12.1.2.0.0 and above where the GridInfrastracture is 12c

 

The content of this note is applicable to ODA version 12.1.2.0.0 (GI 12c) and above

 

How to export ACFS using Samba/CIFS

1. Install the required package

rpm -Uvh samba-3.0.33-3.39.el5_8.x86_64.rpm
rpm -Uvh perl-Convert-ASN1-0.20-1.1.noarch.rpm (needed by samba)

You can get the above RPM package from

-->
http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/getPackage/samba-3.0.33-3.38.el5_8.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/getPackage/perl-Convert-ASN1-0.20-1.1.noarch.rpm

Note: the above package are included into oda v. 12.1.2.0.0

 

2. Make a samba/cifs base configuration

Edit '/etc/samba/smb.conf', example:

# cat /etc/samba/smb.conf
[global]
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = no
show add printer wizard = no
printing = none
printcap name = /dev/null
disable spoolss = yes
encrypt passwords = yes

[ODA.ACFS.CIFS]
comment = all my files
path = /cloudfs
valid users = oracle
public = no
writable = yes
printable = no

(check Samba/CIFS manual for more options details)

3. Check smbd configuration file for internal correctness

testparm is a very simple test program to check an smbd configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that smbd will successfully load the configuration file.

testparm /etc/samba/smb.conf

4. Add authentication credentials

# smbpasswd -a oracle
New SMB password:
Retype new SMB password:

5. Start the Samba/CIFS service

# service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]

6. Check if the samba export is working fine

# smbclient -L //<hostname>/<Samba/CIFS folder> -U oracle
Password:
Domain=[hostname] OS=[Unix] Server=[Samba 3.0.33-3.39.el5_8]

    Sharename       Type      Comment
    ---------       ----      -------
    ODA.ACFS.CIFS   Disk      all my files
    IPC$            IPC       IPC Service (Samba 3.0.33-3.39.el5_8)
Domain=[hostname] OS=[Unix] Server=[Samba 3.0.33-3.39.el5_8]

    Server               Comment
    ---------            -------

    Workgroup            Master
    ---------            -------
    WORKGROUP

7. Mount the Samba/CIFS on remote MsWindows

Map Network Drive:

Setup the network Drive credential 

ACFS is now mounted on MsWindows

 

8. Mount the Samba/CIFS on remote Linux

You can mount Samba/CIFS on a remote Linux (must have samba-client installed) as

mount -t cifs //<host_name>/<Samba/CIFS folder> <mount point> -o <options>

ie:
mount -t cifs //10.170.80.88/ODA.ACFS.CIFS /mnt/cifs -o username=oracle,password=welcome1

 

References

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/index.html
<NOTE:1633879.1> - ODA (Oracle Database Appliance): HowTo export ACFS (cloudfs) using protected Samba/CIFS
<BUG:18373520> - LNX64-112-CMT: PLEASE PROVIDE SAMBA PACKAGE
<BUG:18596485> - LNX64-112-CMT: ACFS ASSERT EXPORTING IT USING CIFS
<NOTE:1968929.1> - ODAVP: How to export ACFS using Samba-CIFS and mount it on local guest VM

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback