Subscribe
Accepted Solution

dfm backup create -t snapshot

Hi Guys,

I just setup sdu4.2 on rhel5.6 and ran ' dfm datastore setup /mnt/lun'... everything was successfully moved to the lun but, when I attempt a snapshot based backup, I get the following:

#dfm backup create -t snapshot

Disabling Performance Advisor.

Enabling Performance Advisor.

Error: Could not disable Performance Advisor: You must have sufficient privileges to perform this operation.

Error: Could not enable Performance Advisor.

#dfm backup diag

Sybase Data Directory:      /mnt/dfm_db/data/

Sybase Log Directory :      /mnt/dfm_db/data/

Performance Data Directory: /mnt/dfm_db/perfdata

Script-plugins Directory:   /mnt/dfm_db/script-plugins

Reports Archive Directory:  /mnt/dfm_db/reports/

Plugins Directory:          /mnt/dfm_db/plugins

Database Hosting System:    <filer>

Database Location:          /vol/vol/qtree

SnapDrive Installed:        Yes

SnapDrive Version:          4.2

SnapDrive Status:           Passed

Volume Snapshot Status:     Disabled

Backup Retention Count:     no limit

Allowed Backup Types:       Snapshot (sndb), Archive (ndb)

I should also note that when I attempt to modify the retention period, I get an error stating: Error: You must have sufficient privileges to perform this operation.

Thanks!!

Scott

dfm backup create -t snapshot

sorry, left out my question...

Does anyone know why I would be getting permission issue when i'm logged in as root with globalfullcontrol ? 

Scott

dfm backup create -t snapshot

I think this has something to do with your LDAP.

Regards

adai

dfm backup create -t snapshot

ldap is working.  I'm getting the insufficient privileges using 'root'.

dfm backup create -t snapshot

Did a little digging on the host side and found that there were multiple instances of the same service running....

# ps -ef | grep -i dfm

root      2866     1  0 Jun06 ?        00:03:07 /opt/NTAPdfm/sbin/dfmwatchdog

root      5320     1  0 May26 ?        00:05:48 /opt/NTAPdfm/sbin/dfmeventd start

root      5332     1  0 May26 ?        00:00:29 /opt/NTAPdfm/sbin/dfmscheduler

root      5337     1  1 May26 ?        04:08:57 /opt/NTAPdfm/sbin/dfmserver

nobody    7275 28882  0 03:04 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody    9909 28882  0 10:00 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody   17095 28882  0 09:34 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

root     21279 21880  0 10:11 ?        00:00:00 /opt/NTAPdfm/sbin/ssh -axT -F /opt/NTAPdfm/conf/ssh_config -o FallBackToRsh no -o HostKeyChecking no -o SshRandHelper /opt/NTAPdfm/sbin/ssh-rand-helper -o SshPRNGCommandFile /opt/NTAPdfm/conf/ssh/ssh_prng_cmds -o PasswordText /tmp/dfm_gzN2Bc 10.185.100.74 -l root vfiler run fsg51nrt iscsi initiator show

root     21301 17190  0 10:11 pts/0    00:00:00 grep -i dfm

root     21854     1 12 Jun07 ?        02:46:02 /opt/NTAPdfm/sbin/dbsrv10 @/opt/NTAPdfm/conf/sybase.conf

root     21880     1 12 Jun07 ?        02:48:00 /opt/NTAPdfm/sbin/dfmmonitor

root     21881     1  0 Jun07 ?        00:00:21 /opt/NTAPdfm/sbin/dfmeventd start

root     21882     1  7 Jun07 ?        01:38:20 /opt/NTAPdfm/sbin/dfmserver

root     21883     1  0 Jun07 ?        00:00:06 /opt/NTAPdfm/sbin/dfmscheduler

nobody   22951 28882  0 08:29 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody   23542 28882  0 09:04 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody   24853 28882  0 08:31 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

root     28882     1  0 Jun07 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

root     28883 28882  0 Jun07 ?        00:00:00 /opt/NTAPdfm/sbin/dfmrotatelogs /opt/NTAPdfm/log/error.log

root     28884 28882  0 Jun07 ?        00:00:00 /opt/NTAPdfm/sbin/dfmrotatelogs /opt/NTAPdfm/log/access.log

nobody   29259 28882  0 Jun07 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody   29916 28882  0 Jun07 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody   30537 28882  0 08:04 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

nobody   31227 28882  0 04:04 ?        00:00:00 /opt/NTAPdfm/sbin/httpd -f /opt/NTAPdfm/conf/httpd.conf

To clean it up, I ran ‘dfm service stop’…. The ‘server’ service wouldn’t terminate properly so, I ‘kill-9’ all remaining DFM processes

#dfm service stop

# dfm service list
sql: not started
http: not started
eventd: not started
monitor: not started
scheduler: not started
server: started
watchdog: not started

#ps -ef | grep -i dfm
root      5337     1  1 May26 ?        04:09:02 /opt/NTAPdfm/sbin/dfmserver
root     21881     1  0 Jun07 ?        00:00:21 /opt/NTAPdfm/sbin/dfmeventd start
root     21882     1  7 Jun07 ?        01:38:34 /opt/NTAPdfm/sbin/dfmserver
root     21883     1  0 Jun07 ?        00:00:06 /opt/NTAPdfm/sbin/dfmscheduler
root     24401 17190  0 10:16 pts/0    00:00:00 grep -i dfm


#kill -9 21882 5337 21881 21883
#ps -ef | grep -i dfm
root     24405 17190  0 10:17 pts/0    00:00:00 grep -i dfm

 

After killing all DFM processes, I was able to ‘dfm service start’ and get all functionality back form the CLI and WebUI.