cancel
Showing results for 
Search instead for 
Did you mean: 

CRCONTROL --DSADDPARTITION missing in Netbackup 8.0

Fleming_kris
Level 2

Hello All,

We have been using ./crcontrol --dssaddpartition command till Netbackup 7.7.3 in our RHEL 6.X, 7.X servers to extend MSDP successfully.

http://www.veritas.com/docs/000076751

Recently we installed Netbackup 8.0 on a RHEL 7.2 machine with 3*32TB volumes. We created MSDP successfully with first partition, but were surprised to see "--dssaddpartition" missing in "CRCONTROL". Has any one faced this before? are there any alternative?

Thanks in advance.

Regards,

Nav

1 ACCEPTED SOLUTION

Accepted Solutions

trv
Level 4
Certified
Does the touchfile - /etc/nbapp-release - exists ? Crcontrol command works differently / has different set of arguments if this file is present in my experience - for example dsaddpartition doesn't work without without this touchfile.

View solution in original post

13 REPLIES 13

quebek
Level 6
   VIP    Certified

Hello

I cannot run this command as I do not have space to be added by when looking at this output I see it there:

/usr/openv/pdde/pdcr/bin/crcontrol -- |grep add
Usage: crcontrol [-c <config>] [-r <routes>] [-i] [[-l <login>] [-p <password>] -m <mode> --queueinfo --reloadrt --hardsync --compacton [num] --compactoff [num] --compactstart [num [compact_pct [lbound]]] --compactstate --rebaseon --rebaseoff --rebasestate --dsstat [type] --dswriteon --dswriteoff --dswritestate --dsaddpartition --crccheckon [num] --crccheckoff [num] --crccheckrestart [num] --crccheckstate --processqueue --processqueueinfo --processqueuestatus [--progressinfo] -M <marker>] [--modecontrol <mode>] [--trace <log>] --reloadconfig --taskstat [interval] [count]
--dsaddpartition [path] : add a DataStore partition

and I am on NBU 8.0

cat /usr/openv/netbackup/version
HARDWARE LINUX_RH_X86
VERSION NetBackup 8.0
RELEASEDATE Wed Nov 09 22:44:14 CST 2016
BUILDNUMBER 0165

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

The option is still listed in version 8 NetBackup Deduplication Guide 

Extract from p.107:

/usr/openv/pdde/pdcr/bin/crcontrol --dsaddpartition pathname

Seem you made a typo error -  only single 's' in dsaddpartition.

 

Hello Marianne,

Thanks for the response. Below is the output from one of the Netbackup servers with 8.0. "--dsaddpartition" is not listed in command help itself.

** before posting, i did verify deduplication guide and --dsaddpartition was mentioned it.

[XXX@XXXXX bin]$ ./crcontrol --
This is crcontrol, Version 10.0000.0016.1025

Copyright (C) 2016 Veritas Technologies LLC. All Rights Reserved.
Third party legal notices can be found at veritas.com

crcontrol: interactive content router control tool

Usage: crcontrol [-c <config>] [-r <routes>] [-i] [[-l <login>] [-p <password>] -m <mode> --queueinfo --reloadrt --hardsync --compacton --compactoff --compactstart [compact_pct [lbound]] --compactstate --rebaseon --rebaseoff --rebasestate --dsstat [type] --crccheckon --crccheckoff --crccheckrestart --crccheckstate --processqueue --processqueueinfo --processqueuestatus [--progressinfo] -M <marker>] [--modecontrol <mode>] [--trace <log>] --reloadconfig --taskstat [interval] [count]

Where:
-i : interactive mode
-l login : login
-p password : password
-m mode : mode (multiple -m arguments allowed)
-M marker : marker
-c config : use alternate contentrouter configuration file. Default via:
/etc/pdregistry.cfg:Symantec/PureDisk/ContentRouter
--ac config : use alternate agent configuration file. Default via:
/etc/pdregistry.cfg:Symantec/PureDisk/Agent
-r routes : use specified route table
--reloadrt : force CR to reload routing tables from disk
--getmode : print current mode
--hardsync : hardsync
--compacton : Enable compaction
--compactoff : Disable compaction
--compactstart: start compaction now
[compact_pct [lbound]]
compact_pct: CompactThreshold in percentage(default 50)
lbound: CompactLBound in MEGA bytes(default 4)
CR will read container candidates for compaction from $MSDP_STORAGE/data/compact.input,
if touch file $MSDP_STORAGE/data/compaction.all exists, CR will try to compact all containers.
if both files don't exist, CR will trigger compaction for containers in current journal.
--compactstate: Show compaction state (on or off and other information)
--rebaseon : Enable image rebasing
--rebaseoff : Disable image rebasing
--rebasestate : Show rebase state (on, off)
--dsstat [type] : Show data store statistics
[type](default 0)
Specify type 0 for statistics in summary,
1 for more accurate statistics in summary.
--crccheckon : Enable CRC check
--crccheckoff : Disable CRC check
--crccheckrestart : Restart CRC check in fast mode
--crccheckstate : Show CRC check state (on or off and other information)
--processqueue: Process the queue immediately.
--processqueueinfo: Get info about the queue processing state.
--processqueuestatus: Get info about the queue processing state, uses exitcodes for the states
--progressinfo type: Get info about the progress of queue processing or rerouting.
Specify type 0 for queue processing, 1 for rerouting.
--queueinfo: Get info about the queue
--modecontrol: Set the Windows service mode (Windows only: SHUTDOWN, SUSPENDED, NORMAL, CONF_RELOAD, MAINTENANCE)
--trace <log>
: enable tracing. If <log> not given, output is sent
to stdout.
--reloadconfig: Reload spoold configuration immediately.
--taskstat [interval] [count] : report CR tasks statistics.


Common Options:
--copyrights : display applicable copyrights and exit
--features : display features and settings
--os-test : display OS summary
--version : display program version number and exit
--help : display this help and exit
--noversioncheck : Disable verification that this application is linked against the right version of the DCT library.

[XXXXXX@XXXXX bin]$ cat /usr/openv/netbackup/version
HARDWARE LINUX_RH_X86
VERSION NetBackup 8.0
RELEASEDATE Wed Nov 09 22:44:14 CST 2016
BUILDNUMBER 0165

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I find it strange that you and @quebek are using the exact same version of NBU where he has the option on his system but you don't... ?

Not all options are always listed in command help.

Have you tried the command? 
Can you share the output if you are getting an error message?

 

 

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Another possibility is user rights - I notice that there is a "$" in your cmd prompt, which is normally associated with a regular user. 
root / superuser normally has a "#" prompt.

Can you confirm which user name you are using?

Brad_Brueske
Level 2
Partner Accredited

Any resolution to this?

I'm seeing the same on a windows installation of 8.0 and a customer of mine is seeing it on a SUSE 12 SP1 install.

crcontrol does not have a "--daddpartition" switch:

# uname -a
Linux 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

# cat /usr/openv/netbackup/version
HARDWARE LINUX_RH_X86
VERSION NetBackup 8.0
RELEASEDATE Wed Nov 09 22:44:14 CST 2016
BUILDNUMBER 0165

 

# crcontrol --help
This is crcontrol, Version 10.0000.0016.1025

Copyright (C) 2016 Veritas Technologies LLC. All Rights Reserved.
Third party legal notices can be found at veritas.com

crcontrol: interactive content router control tool

Usage: crcontrol [-c <config>] [-r <routes>] [-i] [[-l <login>] [-p <password>] -m <mode> --queueinfo --reloadrt --hardsync --compacton --compactoff --compactstart [compact_pct [lbound]] --compactstate --rebaseon --rebaseoff --rebasestate --dsstat [type] --crccheckon --crccheckoff --crccheckrestart --crccheckstate --processqueue --processqueueinfo --processqueuestatus [--progressinfo] -M <marker>] [--modecontrol <mode>] [--trace <log>] --reloadconfig --taskstat [interval] [count]

Where:
-i : interactive mode
-l login : login
-p password : password
-m mode : mode (multiple -m arguments allowed)
-M marker : marker
-c config : use alternate contentrouter configuration file. Default via:
/etc/pdregistry.cfg:Symantec/PureDisk/ContentRouter
--ac config : use alternate agent configuration file. Default via:
/etc/pdregistry.cfg:Symantec/PureDisk/Agent
-r routes : use specified route table
--reloadrt : force CR to reload routing tables from disk
--getmode : print current mode
--hardsync : hardsync
--compacton : Enable compaction
--compactoff : Disable compaction
--compactstart: start compaction now
[compact_pct [lbound]]
compact_pct: CompactThreshold in percentage(default 50)
lbound: CompactLBound in MEGA bytes(default 4)
CR will read container candidates for compaction from $MSDP_STORAGE/data/compact.input,
if touch file $MSDP_STORAGE/data/compaction.all exists, CR will try to compact all containers.
if both files don't exist, CR will trigger compaction for containers in current journal.
--compactstate: Show compaction state (on or off and other information)
--rebaseon : Enable image rebasing
--rebaseoff : Disable image rebasing
--rebasestate : Show rebase state (on, off)
--dsstat [type] : Show data store statistics
[type](default 0)
Specify type 0 for statistics in summary,
1 for more accurate statistics in summary.
--crccheckon : Enable CRC check
--crccheckoff : Disable CRC check
--crccheckrestart : Restart CRC check in fast mode
--crccheckstate : Show CRC check state (on or off and other information)
--processqueue: Process the queue immediately.
--processqueueinfo: Get info about the queue processing state.
--processqueuestatus: Get info about the queue processing state, uses exitcodes for the states
--progressinfo type: Get info about the progress of queue processing or rerouting.
Specify type 0 for queue processing, 1 for rerouting.
--queueinfo: Get info about the queue
--modecontrol: Set the Windows service mode (Windows only: SHUTDOWN, SUSPENDED, NORMAL, CONF_RELOAD, MAINTENANCE)
--trace <log>
: enable tracing. If <log> not given, output is sent
to stdout.
--reloadconfig: Reload spoold configuration immediately.
--taskstat [interval] [count] : report CR tasks statistics.


Common Options:
--copyrights : display applicable copyrights and exit
--features : display features and settings
--os-test : display OS summary
--version : display program version number and exit
--help : display this help and exit
--noversioncheck : Disable verification that this application is linked against the right version of the DCT library.

in Veritas: Case # 22364005

Has anyone solved this problem already?

quebek
Level 6
   VIP    Certified

Hello 

Could you please run this? 

which crcontrol 

and provide output. If output is different from below run below - with full path to that command:

NBUMASTER:\ # /usr/openv/pdde/pdcr/bin/crcontrol -- |grep add
Usage: crcontrol [-c <config>] [-r <routes>] [-i] [[-l <login>] [-p <password>] -m <mode> --queueinfo --reloadrt --hardsync --compacton [num] --compactoff [num] --compactstart [num [compact_pct [lbound]]] --compactstate --rebaseon --rebaseoff --rebasestate --dsstat [type] --dswriteon --dswriteoff --dswritestate --dsaddpartition --crccheckon [num] --crccheckoff [num] --crccheckrestart [num] --crccheckstate --processqueue --processqueueinfo --processqueuestatus [--progressinfo] -M <marker>] [--modecontrol <mode>] [--trace <log>] --reloadconfig --taskstat [interval] [count]
--dsaddpartition [path] : add a DataStore partition
NBUMASTER:/ # cat /usr/openv/netbackup/version
HARDWARE LINUX_RH_X86
VERSION NetBackup 8.0
RELEASEDATE Wed Nov 09 22:44:14 CST 2016
BUILDNUMBER 0165
NBUMASTER:\ #

trv
Level 4
Certified
Does the touchfile - /etc/nbapp-release - exists ? Crcontrol command works differently / has different set of arguments if this file is present in my experience - for example dsaddpartition doesn't work without without this touchfile.

View solution in original post

quebek
Level 6
   VIP    Certified

@trv

All credits goes to you!! ;)

Check out below:

MSTERESERVER:/home/maintenance # ls -la /etc/nbapp-release
-rw-r--r--. 1 root root 140 Mar 9 2017 /etc/nbapp-release
MSTERESERVER:/home/maintenance # /usr/openv/pdde/pdcr/bin/crcontrol --|grep add
Usage: crcontrol [-c <config>] [-r <routes>] [-i] [[-l <login>] [-p <password>] -m <mode> --queueinfo --reloadrt --hardsync --compacton [num] --compactoff [num] --compactstart [num [compact_pct [lbound]]] --compactstate --rebaseon --rebaseoff --rebasestate --dsstat [type] --dswriteon --dswriteoff --dswritestate --dsaddpartition --crccheckon [num] --crccheckoff [num] --crccheckrestart [num] --crccheckstate --processqueue --processqueueinfo --processqueuestatus [--progressinfo] -M <marker>] [--modecontrol <mode>] [--trace <log>] --reloadconfig --taskstat [interval] [count]
--dsaddpartition [path] : add a DataStore partition
MSTERESERVER:/home/maintenance # mv /etc/nbapp-release /etc/nbapp-release_move_me_back

MSTERESERVER:/home/maintenance # /usr/openv/pdde/pdcr/bin/crcontrol --|grep add

(note no output for --dsaddpartition!!!!)
MSTERESERVER:/home/maintenance # mv /etc/nbapp-release_move_me_back /etc/nbapp-release
MSTERESERVER:/home/maintenance # /usr/openv/pdde/pdcr/bin/crcontrol --|grep add
Usage: crcontrol [-c <config>] [-r <routes>] [-i] [[-l <login>] [-p <password>] -m <mode> --queueinfo --reloadrt --hardsync --compacton [num] --compactoff [num] --compactstart [num [compact_pct [lbound]]] --compactstate --rebaseon --rebaseoff --rebasestate --dsstat [type] --dswriteon --dswriteoff --dswritestate --dsaddpartition --crccheckon [num] --crccheckoff [num] --crccheckrestart [num] --crccheckstate --processqueue --processqueueinfo --processqueuestatus [--progressinfo] -M <marker>] [--modecontrol <mode>] [--trace <log>] --reloadconfig --taskstat [interval] [count]
--dsaddpartition [path] : add a DataStore partition
MSTERESERVER:/home/maintenance #

So if I were you I would create this file by running 

touch  /etc/nbapp-release

In my env here is its contents:

MSTERESERVER:/home/maintenance # cat /etc/nbapp-release
system-product-name = S2600GZ
model = 5230

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@levy

You may want to share the info in @trv's post with your Support engineer.

@trv, how did you manage to find this info?

trv
Level 4
Certified

It's in the technote linked in the original post - 000076751 - Configuring a 96TB Media Server Deduplication Pool (MSDP) on SuSE and Red Hat Linux

Step 3 - Create a touch a file /etc/nbapp-release if it doesn’t exist.

Anyway I missed this when I was trying to configure 96TB pool at first too. This should not be required to configure 96TB pool in my opinion - the touch file is present at veritas appliance i guess? So we are mimicking appliance behaviour on MSDP pool maybe ... inconvenient :(

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

LOL! Clear as mud ! Smiley Wink

Step 3 in step-by-step process :

3. Create a touch a file /etc/nbapp-release if it doesn’t exist.

Seems @levy's Support engineer does not know about this either!