---
#################################
# ebackup service config section#
#################################
#Data disk name, please confirm /dev/{{DataDiskName}} exist 
DataDiskName: ''
NetWorkType: {{ eBackup_NetworkType }}
RepoServer: ''
GpgKey: ''
ebackup_unroot_microservice_list: {{ ebackup_unroot_microservice_list }}
KmcAlgMode: {{ KmcAlgMode }}
msuer_password: {{ msuser_password }}
iam_region_id: {{ region_id }}
global_domain_name: {{ global_domain_name }}
iam_account: {{ iam_account }}
iam_account_password: {{ iam_account_password }}

#IP address of Huawei Distributed Block Storag Manager connected to the public cloud environment
FSManageIP: ''
#Password of user dsware of Huawei Distributed Block Storag Manager
FSMDswarePassword: ''
#Password of user root of Huawei Distributed Block Storag Manager
FSMRootPassword: ''
#Huawei Distributed Block Storag API installation package name,the API installation package version must be
#the same as that of Huawei Distributed Block Storag, default:FusionStorage_Block_V100R006C00_api.zip
FSApiName: ''

#if it is physical machine, and ib network adapter driver is not installed, please input 1
#,or input 0
InstallIBDriver: {{ eBackup_InstallIBDriver }}
# 0 is template virtual machine, 1 is not
VMType: {{ eBackup_VMType }}
#if it is template virtual machine, set the following items based on your project LLD
Template:
    #the network adapter name corresponding to the external_om plane 
    #on the eBackup machine.
    BackupManagementPlane: {{ eBackup_Template_BackupManagementPlane }}
    #the network adapter name corresponding to the eBackup_Internal plane 
    #on the eBackup machine.
    InternalCommunicationPlane: {{ eBackup_Template_InternalCommunicationPlane }}
    #the network adapter name corresponding to the external_api plane 
    #on the eBackup machine.
    ProductionManagementPlane: {{ eBackup_Template_ProductionManagementPlane }}
    #the network adapter name corresponding to the eBackup_Storage plane 
    #on the eBackup machine.
    ProductionStoragePlane: {{ eBackup_Template_ProductionStoragePlane }}
    BackupStoragePlane: {{ eBackup_Template_BackupStoragePlane }}
#server or manager node, EbackupRole is 0(server), EbackupRole is 2(manager)
PrimaryNode:
    EbackupRole:  {{ eBackup_PrimaryNode_EbackupRole }}
    BackupManagementIP: {{ eBackup_PrimaryNode_BackupManagementIP }}
    InternalCommunicationIP: {{ eBackup_PrimaryNode_InternalCommunicationIP }}
    ProductionManagementIP: {{ eBackup_PrimaryNode_ProductionManagementIP }}
    ProductionStorageIP: {{ eBackup_PrimaryNode_ProductionStorageIP }}
    BackupStorageIP: {{ eBackup_PrimaryNode_BackupStorageIP }}
    #float ip address of internal communication plane
    FloatingIP: {{ eBackup_PrimaryNode_FloatingIP }}
    HCPPassword: {{ eBackup_PrimaryNode_HcpPassword }}
    RootPassword: {{ eBackup_PrimaryNode_RootPassword }}
#proxy , EbackupRole is 1(proxy)
StandbyNode:
    EbackupRole: {{ eBackup_StandbyNode_EbackupRole }}
    BackupManagementIP: {{ eBackup_StandbyNode_BackupManagementIP }}
    InternalCommunicationIP: {{ eBackup_StandbyNode_InternalCommunicationIP }}
    ProductionManagementIP: {{ eBackup_StandbyNode_ProductionManagementIP }}
    ProductionStorageIP: {{ eBackup_StandbyNode_ProductionStorageIP }}
    BackupStorageIP: {{ eBackup_StandbyNode_BackupStorageIP }}
    LeaderPublicKey: {{ eBackup_LeaderPublicKey }}

RegionId: {{ eBackup_Region_Id }}

WebLogin:
    #Default password used to login to the GUI for the first time
    DefaultPwd: ''
    #Password used to login to the GUI for the second time
    #if config failed at the first time,and you want to try again,
    #the "Password" must keep the same with the first time.
    Password: ''
   
#add ha member 
AddHA:
    #Management plane IP address of the standby backup server,for example: xx.xx.xx.xx
    EBackupstandby: ''
    #Management plane floating IP address of eBackup HA nodes,for example: xx.xx.xx.xx
    Floatipaddr: ''
    #HA gateway arbitration type (Unify|GateWay),for example: "GateWay"
    ArbitrateType: ''
    GateWay:
        #HA gateway IP address (three IP addresses at most),for example: xx.xx.xx.xx,xx.xx.xx.xx
        GateWayIP: ''
    Unify:
        #Unified quorum server (format: IP address:port). Up to five unified quorum servers are allowed.for example: xx.xx.xx.xx,xx.xx.xx.xx,xx.xx.xx.xx
        IPS: ''
        #User name for logging in to the unified cloud platform quorum server,for example: arbiterClient
        CloudUser: ''
        #Password for logging in to the unified cloud platform quorum server
        CloudPwd: ''
        #Name of the local DC,for example: dc1
        LocalDCName: ''
        #Name of the remote DC,for example: dc2
        RemoteDCName: ''
#settint Protected Environment
ProtectedEnvironment:
    #Protected Environment  HypeRvisorType(1 VMWare,14 V3,2 FusionSphere)
    EnvType: 
    #Environment IP Address
    EnvAddress: ''
    #Environment Port
    EnvPort: 
    #Environment Login UserName
    EnvUserName: ''
    #Environment Login Password
    EnvPassWord: ''
#setting NFS Storage Unit
StorageUnit:
    #nfs storage unit Level (0,1,2)
    NFSLevel: 
    #nfs storage unit path(ip:/path)
    NFSPath: ''

#setting  dns
SetDNS:
    #IP address of the DNS server,for example: xx.xx.xx.xx
    DNSIp: "{{ eBackup_DNSIp }}"

#setting  Managedata Backup
DBBackUp:
    #Type of remote storage (NFS|S3|FTP),for example: FTP
    FileSystemType: 
    #Remote storage path([FTP,ip:port/path]|[NFS,ip:/path]|S3,ip:/path])
    Path: ''
    #Subdirectory of remote storage,for example: TestDir
    Subdir: ''
    #Whether to forcibly use an existing subdirectory (To forcibly use an existing subdirectory, input 1. Otherwise, input 0.),for example: 1
    ForceUseDir: 
    #protocol type([FTP:(0 FTPS,1 FTP)]|[S3:(0 HTTPS,1 HTTP)])
    Proto: 
    FTPType:
        FtpUser: ''
        FtpPasswd: ''
    NFSType:
    S3Type:
        AK: ''
        SK: ''
AutoDBbackUp:
    #Automatic backup type (Day||Hour),for example: Day
    DayOrHourType: 
    #Backup StartTime [00:00:00~23:59:59],for example: "00:00:00"
    BackUpTime: ""
    #Backup EndTime(this only be set when DayOrHourType is Hour) [00:00:00~23:59:59]
    #the difference in hour between BackUpTime and BackUpEndTime must be bigger than or equal to the BackUpInterval,for example: "23:59:59"
    BackUpEndTime: ''
    #BackUp Interval(this only be set when DayOrHourType is Hour) [1~23]
    #Note: BackUpInterval must be less than or equal to the difference in hour between BackUpTime and BackUpEndTime.
    #For example, if BackUpTime is 01:00:00 and BackUpEndTime is 03:01:10, BackUpInterval is 1 or 2.for example: 1
    BackUpInterval: 
    #Number of backups retained per year [10000(unenable years backups)|0(keep year backups forever)|1~100(Keep numbers)],for example: 10000
    RetainNumberByYear: 
    #Number of backups retained per month [1~12],for example: 1
    RetainNumberByMon: 
    #Number of backups retained per week [1~4],for example: 1
    RetainNumberByWeek: 
    #Number of backups retained per day [1~7],for example: 1
    RetainNumberByDay: 
    #Number of backups retained per hour(this only  be set when DayOrHourType is Hour)[1~24],for example: 1
    RetainNumberByHour: 
#setting timezone and ntpzhezhuo
TimeZone:
    #TimeZone Value,for example: "Asia/Beijing"
    TimeZoneValue: ""
NTP:
    #IP address of the NTP server, if you want to config two NTP, Please configure it in the following format,for example: xx.xx.xx.xx,xx.xx.xx.xx
    NtpIp: ""
#setting  openstack config,it is only needed when role is manager
OpenStack:
    Identity:
        #Authentication type (IAM|KeyStone),for example: KeyStone
        Type: 
        #HTTP protocol type. 0 indicates HTTPS and 1 indicates HTTP. 0 is recommended.for example: 0
        Proto: 
        #URL (example: identity.az0.dc0.domainname.com:31943)
        URL: ''
        #User name, consisting of 3 to 32 characters and starting with a letter,for example: xxxx
        User: ''
        #Password, consisting of 8 to 32 characters
        PassWD: ''
        #FSP_cascade node ip,for example: xx.xx.xx.xx
        FSPIP: ''
    Nova:
        #HTTP protocol type. 0 indicates HTTPS and 1 indicates HTTP. 0 is recommended.for example: 0
        Proto: 
        #URL (example: compute.az0.dc0.domainname.com:443)
        URL: ''
        #FSP_cascade node ip,for example: xx.xx.xx.xx
        FSPIP: ''
    Cinder:
        #HTTP protocol type. 0 indicates HTTPS and 1 indicates HTTP. 0 is recommended.for example: 0
        Proto: 
        #URL (example: volume.az0.dc0.domainname.com:443)
        URL: ''
        #FSP_cascade node ip,for example: xx.xx.xx.xx
        FSPIP: ''
    Neutron:
        #HTTP protocol type. 0 indicates HTTPS and 1 indicates HTTP. 0 is recommended.for example: 0
        Proto: 
        #URL (example: network.az0.dc0.domainname.com:443)
        URL: ''
        #FSP_cascade node ip,for example: xx.xx.xx.xx
        FSPIP: ''
#setting  AZs relationship config,it is only needed when role is manager
AZConfig:
    #Name of the eBackup server, consisting of 3 to 32 characters and starting with a letter
    #,more than one can be set,and split by ',',example(test1,test2)
    EBackupServerName: ''
    #IP address of the eBackup server,more than one can be set,and split by ','
    #example(IP1,IP2)
    EBackupServerIP: ''
    #Name of the interconnection user for logging in to the eBackup server, consisting of 3 to 32 characters and starting with a letter,for example: xxx12
    User: ''
    #Password of the interconnection user for logging in to the eBackup server, consisting of 8 to 16 characters
    PassWD: ''
    #available AZ name,if more than one EBackupServerIP will be set ,
    #you can config AZ params like this(az1,az2|az0,az1),split by '|',for example: xxxx1,xxxx2|xxxx0,xxxx1
    AZ: ''
MaxTaskNums:
   #Number of concurrent jobs[1~40],for example: 20
   TaskNums: 

EBackupRouteInfo:
   #IP address of the target network used by the eBackup server to access the management plane 
   #or storage plane (including the production storage plane and backup storage plane),for example: xx.xx.xx.xx
   TargetNetWork: ''
   #Subnet mask of the target network,for example: xx.xx.xx.xx
   TargetNetWorkMask: ''
   #IP address the network gateway used for the communication between the target network plane 
   #and the eBackup local management plane or storage plane (including the production storage
   # plane and backup storage plane),for example: xx.xx.xx.xx
   GatewayIpStorage: ''
   #Network interface card of the eBackup local management plane or storage plane 
   #(including the production storage plane and backup storage plane),for example: eth0
   NetCardName: ''
