Register Avamar Client with Server
0 Votes |
Description
Use this task to register or activate Avamar clients with the server in a particular domain group. The different groups have different levels of backup.
This task is applicable on all windows computers with Avamar Client installed, but not currently registered to the Avamar server.
Property Details
759 | |
Register Avamar Client with Server | |
BESC | |
0 | |
Internal | |
jgstew | |
8/8/2011 12:00:00 AM | |
Avamar, Backup | |
True | |
jgstew on 12/6/2012 8:50:42 PM | |
jgstew on 12/6/2012 8:50:42 PM | |
9689 Views / 17 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance

(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system

exists key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry
Used in 2 fixlets | * Results in a true/false |

exists file (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "bin\avagent.exe")
Used in 2 fixlets | * Results in a true/false |

not exists file (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\avagent.cfg") whose (exists lines whose (it as lowercase contains "avamar.domain.tld") of it)
Actions
Action 1 (default)
Action Link Click
here to register the Avamar client with Group1.
Script Type
BigFix Action Script
//Stop the EMC Avamar serviceSuccess Criteria
waithidden CMD.EXE /C NET STOP "Backup Agent"
//Register the EMC Avamar client with the Server
// the commandline parameter "mcsaddr" is the server, which for this example is: "avamar.domain.tld"
// the commandline parameter "dpndomain" is the group that determines the type of backup. For this example: "Group1", "Group2"
wait {(value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "bin\avagent.exe")} --quiet --init --daemon=false --mcsaddr="avamar.domain.tld" --dpndomain="Group1" --logfile="%TEMP%\avagent_cmdline.log"
//Start the EMC Avamar service
waithidden CMD.EXE /C NET START "Backup Agent"
This action will be considered successful when the applicability relevance evaluates to false.
Action 2
Action Link Click
here to register the Avamar client with Group2.
Script Type
BigFix Action Script
//Stop the EMC Avamar serviceSuccess Criteria
waithidden CMD.EXE /C NET STOP "Backup Agent"
//Register the EMC Avamar client with the Server
// the commandline parameter "mcsaddr" is the server, which for this example is: "avamar.domain.tld"
// the commandline parameter "dpndomain" is the group that determines the type of backup. For this example: "Group1", "Group2"
wait {(value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "bin\avagent.exe")} --quiet --init --daemon=false --mcsaddr="avamar.domain.tld" --dpndomain="Group2" --logfile="%TEMP%\avagent_cmdline.log"
//Start the EMC Avamar service
waithidden CMD.EXE /C NET START "Backup Agent"
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |