ACRONIS Cyber Infrastructure 4.6 User guide

Type
User guide
Acronis Cyber Infrastructure
4.6
R E V I S I O N : 7 / 2 8 / 2 0 2 1
Administrator Command Line Guide
acronis.com
Table of contents
1 Introduction 15
1.1Providing credentials 15
1.2Managing tasks 16
2 Managing the storage cluster 17
2.1Managing tokens 17
2.1.1vinfra node token show 17
2.1.2vinfra node token create 17
2.1.3vinfra node token validate 17
2.2Managing networks 18
2.2.1vinfra cluster network create 18
2.2.2vinfra cluster network list 19
2.2.3vinfra cluster network show 20
2.2.4vinfra cluster network set 20
2.2.5vinfra cluster network set-bulk 23
2.2.6vinfra cluster network migration start 24
2.2.7vinfra cluster network migration show 25
2.2.8vinfra cluster network migration apply 26
2.2.9vinfra cluster network migration retry 26
2.2.10vinfra cluster network migration revert 27
2.2.11vinfra cluster network migration resume 28
2.2.12vinfra cluster network reconfiguration show 28
2.2.13vinfra cluster network conversion precheck 29
2.2.14vinfra cluster network conversion start 29
2.2.15vinfra cluster network conversion status 30
2.2.16vinfra cluster network delete 31
2.3Managing traffic types 31
2.3.1vinfra cluster traffic-type create 31
2.3.2vinfra cluster traffic-type list 32
2.3.3vinfra cluster traffic-type show 33
2.3.4vinfra cluster traffic-type set 33
2.3.5vinfra cluster traffic-type assignment start 35
2.3.6vinfra cluster traffic-type assignment show 36
2.3.7vinfra cluster traffic-type assignment apply 36
2.3.8vinfra cluster traffic-type assignment retry 37
2.3.9vinfra cluster traffic-type assignment revert 37
2 © Acronis International GmbH, 2003-2021
2.3.10vinfra cluster traffic-type delete 38
2.4Managing storage nodes 38
2.4.1vinfra node join 38
2.4.2vinfra node list 39
2.4.3vinfra node show 40
2.4.4vinfra node maintenance precheck 40
2.4.5vinfra node maintenance start 41
2.4.6vinfra node maintenance status 42
2.4.7vinfra node maintenance stop 43
2.4.8vinfra node release 44
2.4.9vinfra node forget 45
2.5Managing failure domains 46
2.5.1vinfra failure domain list 46
2.5.2vinfra failure domain rename 46
2.6Managing node location 47
2.6.1vinfra location list 47
2.6.2vinfra location create 47
2.6.3vinfra location rename 48
2.6.4vinfra location show 49
2.6.5vinfra location move 49
2.6.6vinfra location delete 50
2.7Managing node network interfaces 50
2.7.1vinfra node iface list 50
2.7.2vinfra node iface show 51
2.7.3vinfra node iface up 52
2.7.4vinfra node iface down 53
2.7.5vinfra node iface set 54
2.7.6vinfra node iface create-bond 62
2.7.7vinfra node iface create-vlan 64
2.7.8vinfra node iface delete 67
2.8Managing node disks 68
2.8.1vinfra node disk list 68
2.8.2vinfra node disk show 68
2.8.3vinfra node disk assign 69
2.8.4vinfra node disk release 71
2.8.5vinfra node disk blink on 72
2.8.6vinfra node disk blink off 72
3 © Acronis International GmbH, 2003-2021
2.8.7vinfra node iscsi target add 72
2.8.8vinfra node iscsi target delete 74
2.9Showing RAM reservation details 74
2.9.1vinfra node ram-reservation list 74
2.9.2vinfra node ram-reservation show 75
2.9.3vinfra node ram-reservation total 76
2.10Creating and deleting the storage cluster 77
2.10.1vinfra cluster create 77
2.10.2vinfra cluster delete 79
2.11Showing storage cluster overview and details 79
2.11.1vinfra cluster overview 79
2.11.2vinfra cluster show 80
3 Managing the compute cluster 82
3.1Creating and deleting the compute cluster 82
3.1.1vinfra service compute create 82
3.1.2vinfra service compute delete 85
3.2Showing compute cluster details and overview 85
3.2.1vinfra service compute show 85
3.2.2vinfra service compute stat 87
3.3Changing compute cluster parameters 89
3.4Managing compute nodes 91
3.4.1vinfra service compute node add 91
3.4.2vinfra service compute node list 92
3.4.3vinfra service compute node show 92
3.4.4vinfra service compute node fence 93
3.4.5vinfra service compute node unfence 94
3.4.6vinfra service compute node release 94
3.5Managing virtual machines 95
3.5.1vinfra service compute server create 95
3.5.2vinfra service compute server list 97
3.5.3vinfra service compute server show 98
3.5.4vinfra service compute server stat 99
3.5.5vinfra service compute server set 100
3.5.6vinfra service compute server iface attach 101
3.5.7vinfra service compute server iface list 102
3.5.8vinfra service compute server iface set 103
3.5.9vinfra service compute server iface detach 104
4 © Acronis International GmbH, 2003-2021
3.5.10vinfra service compute server volume attach 104
3.5.11vinfra service compute server volume list 105
3.5.12vinfra service compute server volume show 105
3.5.13vinfra service compute server volume detach 106
3.5.14vinfra service compute server log 106
3.5.15vinfra service compute server migrate 107
3.5.16vinfra service compute server resize 107
3.5.17vinfra service compute server start 108
3.5.18vinfra service compute server pause 109
3.5.19vinfra service compute server unpause 110
3.5.20vinfra service compute server suspend 111
3.5.21vinfra service compute server resume 112
3.5.22vinfra service compute server reboot 113
3.5.23vinfra service compute server reset-state 114
3.5.24vinfra service compute server stop 116
3.5.25vinfra service compute server cancel-stop 117
3.5.26vinfra service compute server shelve 117
3.5.27vinfra service compute server unshelve 118
3.5.28vinfra service compute server evacuate 119
3.5.29vinfra service compute server delete 120
3.5.30vinfra service compute server rescue 121
3.5.31vinfra service compute server unrescue 122
3.6Managing images 123
3.6.1vinfra service compute image create 123
3.6.2vinfra service compute image list 125
3.6.3vinfra service compute image show 126
3.6.4vinfra service compute image set 126
3.6.5vinfra service compute image save 128
3.6.6vinfra service compute image delete 128
3.7Managing placements 129
3.7.1vinfra service compute placement create 129
3.7.2vinfra service compute placement assign 130
3.7.3vinfra service compute placement delete-assign 131
3.7.4vinfra service compute placement list 131
3.7.5vinfra service compute placement show 132
3.7.6vinfra service compute placement update 132
3.7.7vinfra service compute placement delete 133
5 © Acronis International GmbH, 2003-2021
3.8Managing flavors 133
3.8.1vinfra service compute flavor create 133
3.8.2vinfra service compute flavor list 134
3.8.3vinfra service compute flavor show 135
3.8.4vinfra service compute flavor delete 135
3.9Managing compute SSH keys 136
3.9.1vinfra service compute key create 136
3.9.2vinfra service compute key list 136
3.9.3vinfra service compute key show 137
3.9.4vinfra service compute key delete 137
3.10Managing compute networks 138
3.10.1vinfra service compute network create 138
3.10.2vinfra service compute network list 141
3.10.3vinfra service compute network show 142
3.10.4vinfra service compute network set 143
3.10.5vinfra service compute network delete 144
3.11Managing security groups 145
3.11.1vinfra service compute security-group create 145
3.11.2vinfra service compute security-group list 146
3.11.3vinfra service compute security-group show 147
3.11.4vinfra service compute security-group set 148
3.11.5vinfra service compute security-group rule create 149
3.11.6vinfra service compute security-group rule list 150
3.11.7vinfra service compute security-group rule show 151
3.11.8vinfra service compute security-group rule delete 152
3.11.9vinfra service compute security-group delete 152
3.12Managing virtual routers 152
3.12.1vinfra service compute router create 152
3.12.2vinfra service compute router list 153
3.12.3vinfra service compute router show 154
3.12.4vinfra service compute router set 155
3.12.5vinfra service compute router iface add 156
3.12.6vinfra service compute router iface list 157
3.12.7vinfra service compute router iface remove 157
3.12.8vinfra service compute router delete 158
3.13Managing floating IP addresses 158
3.13.1vinfra service compute floatingip create 158
6 © Acronis International GmbH, 2003-2021
3.13.2vinfra service compute floatingip list 159
3.13.3vinfra service compute floatingip show 160
3.13.4vinfra service compute floatingip set 161
3.13.5vinfra service compute floatingip delete 161
3.14Managing load balancers 162
3.14.1vinfra service compute load-balancer create 162
3.14.2vinfra service compute load-balancer list 163
3.14.3vinfra service compute load-balancer show 164
3.14.4vinfra service compute load-balancer stats 165
3.14.5vinfra service compute load-balancer set 165
3.14.6vinfra service compute load-balancer pool create 166
3.14.7vinfra service compute load-balancer pool list 169
3.14.8vinfra service compute load-balancer pool show 170
3.14.9vinfra service compute load-balancer pool set 171
3.14.10vinfra service compute load-balancer pool delete 173
3.14.11vinfra service compute load-balancer failover 173
3.14.12vinfra service compute load-balancer delete 174
3.15Managing volumes 174
3.15.1vinfra service compute volume create 174
3.15.2vinfra service compute volume list 175
3.15.3vinfra service compute volume show 176
3.15.4vinfra service compute volume set 177
3.15.5vinfra service compute volume extend 179
3.15.6vinfra service compute volume delete 179
3.16Managing volume snapshots 179
3.16.1vinfra service compute volume snapshot create 179
3.16.2vinfra service compute volume snapshot list 180
3.16.3vinfra service compute volume snapshot show 180
3.16.4vinfra service compute volume snapshot set 181
3.16.5vinfra service compute volume snapshot upload-to-image 182
3.16.6vinfra service compute volume snapshot revert 183
3.16.7vinfra service compute volume snapshot reset-state 183
3.16.8vinfra service compute volume snapshot delete 184
3.17Managing storage policies 184
3.17.1vinfra service compute storage-policy create 184
3.17.2vinfra service compute storage-policy list 185
3.17.3vinfra service compute storage-policy show 186
7 © Acronis International GmbH, 2003-2021
3.17.4vinfra service compute storage-policy set 186
3.17.5vinfra service compute storage-policy delete 188
3.18Managing Kubernetes clusters 188
3.18.1vinfra service compute k8saas create 188
3.18.2vinfra service compute k8saas list 191
3.18.3vinfra service compute k8saas config 191
3.18.4vinfra service compute k8saas show 191
3.18.5vinfra service compute k8saas set 192
3.18.6vinfra service compute k8saas workergroup create 193
3.18.7vinfra service compute k8saas workergroup list 194
3.18.8vinfra service compute k8saas workergroup show 194
3.18.9vinfra service compute k8saas workergroup set 195
3.18.10vinfra service compute k8saas workergroup delete 196
3.18.11vinfra service compute k8saas upgrade 196
3.18.12vinfra service compute k8saas delete 198
3.19Managing compute quotas 198
3.19.1vinfra service compute quotas show 198
3.19.2vinfra service compute quotas update 199
4 Managing the backup cluster 201
4.1Creating, showing, and deleting the backup cluster 201
4.1.1vinfra service backup cluster create 201
4.1.2vinfra service backup cluster show 206
4.1.3vinfra service backup cluster release 207
4.2Managing backup nodes 208
4.2.1vinfra service backup node add 208
4.2.2vinfra service backup node list 208
4.2.3vinfra service backup node release 209
4.3Updating backup cluster certificates 210
4.4Re-registering the backup cluster 211
4.5Changing storage parameters 212
4.5.1vinfra service backup storage-params show 212
4.5.2vinfra service backup storage-params change 212
4.6Changing volume parameters 215
4.6.1vinfra service backup volume-params show 215
4.6.2vinfra service backup volume-params change 216
4.7Managing backup cluster geo-replication 217
4.7.1vinfra service backup geo-replication show 217
8 © Acronis International GmbH, 2003-2021
4.7.2vinfra service backup geo-replication master setup 218
4.7.3vinfra service backup geo-replication master download-configs 219
4.7.4vinfra service backup geo-replication slave setup 219
4.7.5vinfra service backup geo-replication master establish 220
4.7.6vinfra service backup geo-replication slave update-certificates 220
4.7.7vinfra service backup geo-replication master disable 221
4.7.8vinfra service backup geo-replication slave promote-to-master 222
4.7.9vinfra service backup geo-replication slave cancel 222
4.7.10vinfra service backup geo-replication master cancel 223
4.8Configuring a backup storage proxy 224
4.8.1vinfra service backup cluster deploy-standalone 224
4.8.2vinfra service backup cluster turn-to-upstream 228
4.8.3vinfra service backup cluster download-upstream-info 229
4.8.4vinfra service backup cluster deploy-reverse-proxy 229
4.8.5vinfra service backup cluster deploy-upstream 233
4.8.6vinfra service backup cluster add-upstream 236
4.8.7vinfra service backup cluster process 237
5 Managing general settings 239
5.1Managing licenses 239
5.1.1vinfra cluster license load 239
5.1.2vinfra cluster license show 239
5.2Managing updates 240
5.2.1vinfra software-updates check-for-updates 240
5.2.2vinfra software-updates eligibility-check 240
5.2.3vinfra software-updates download 242
5.2.4vinfra software-updates start 242
5.2.5vinfra software-updates pause 244
5.2.6vinfra software-updates resume 244
5.2.7vinfra software-updates cancel 245
5.2.8vinfra software-updates status 246
5.3Managing domains 246
5.3.1vinfra domain create 246
5.3.2vinfra domain list 247
5.3.3vinfra domain show 248
5.3.4vinfra domain set 248
5.3.5vinfra domain delete 249
5.4Managing domain users 249
9 © Acronis International GmbH, 2003-2021
5.4.1vinfra domain user list-available-roles 249
5.4.2vinfra domain user create 250
5.4.3vinfra domain user list 252
5.4.4vinfra domain user show 253
5.4.5vinfra domain user set 253
5.4.6vinfra domain user delete 255
5.5Managing domain projects 255
5.5.1vinfra domain project create 255
5.5.2vinfra domain project list 256
5.5.3vinfra domain project show 257
5.5.4vinfra domain project set 258
5.5.5vinfra domain project user list 259
5.5.6vinfra domain project user remove 259
5.5.7vinfra domain project delete 260
5.6Managing domain properties 260
5.6.1vinfra domain properties create 260
5.6.2vinfra domain properties keys list 261
5.6.3vinfra domain properties show 261
5.6.4vinfra domain properties access set 262
5.6.5vinfra domain properties update 262
5.6.6vinfra domain properties delete 263
5.7Managing SSH keys 263
5.7.1vinfra cluster sshkey add 263
5.7.2vinfra cluster sshkey list 264
5.7.3vinfra cluster sshkey delete 265
5.8Managing external DNS servers 265
5.8.1vinfra cluster settings dns show 265
5.8.2vinfra cluster settings dns set 266
5.9Configuring management node high availability 266
5.9.1vinfra cluster ha create 266
5.9.2vinfra cluster ha update 268
5.9.3vinfra cluster ha show 269
5.9.4vinfra cluster ha delete 270
5.10Managing cluster backups 271
5.10.1vinfra cluster backup create 271
5.10.2vinfra cluster backup show 271
5.11Managing storage tier encryption 272
10 © Acronis International GmbH, 2003-2021
5.11.1vinfra cluster settings encryption show 272
5.11.2vinfra cluster settings encryption set 272
5.12Managing automatic storage disk configuration 273
5.12.1vinfra cluster settings automatic-disk-replacement show 273
5.12.2vinfra cluster settings automatic-disk-replacement set 273
5.13Managing alerts 274
5.13.1vinfra cluster alert list 274
5.13.2vinfra cluster alert show 275
5.13.3vinfra cluster alert delete 275
5.14Managing audit log 276
5.14.1vinfra cluster auditlog list 276
5.14.2vinfra cluster auditlog show 277
5.15Managing cluster password 277
5.15.1vinfra cluster password show 277
5.15.2vinfra cluster password reset 278
5.16Sending problem reports 278
6 Monitoring the storage cluster 280
6.1Monitoring general storage cluster parameters 280
6.2Monitoring metadata servers 282
6.3Monitoring chunk servers 283
6.3.1Understanding disk space usage 285
6.3.2Exploring chunk states 288
6.3.3Monitoring disk health 289
6.4Monitoring clients 293
6.5Monitoring physical disks 295
6.6Monitoring event logs 296
6.7Monitoring replication parameters 299
7 Accessing storage clusters via iSCSI 301
7.1iSCSI workflow overview 302
7.2Configuring CLI tool 302
7.3Managing target groups 303
7.3.1Creating target groups 303
7.3.2Starting and stopping target groups 304
7.3.3Listing target groups 305
7.3.4Printing details of target groups 305
7.3.5Managing persistent reservations of target groups 306
7.3.6Deleting target groups 306
11 © Acronis International GmbH, 2003-2021
7.4Managing iSCSI volumes 306
7.4.1Creating iSCSI volumes 307
7.4.2Listing and printing details of iSCSI volumes 307
7.4.3Attaching iSCSI volumes to target groups 307
7.4.4Setting the Active/Optimized path for iSCSI volumes 307
7.4.5Viewing iSCSI volume ALUA information 308
7.4.6Viewing and setting iSCSI volume parameters 308
7.4.7Increasing iSCSI volume size 309
7.4.8Setting iSCSI volume limits 309
7.4.9Detaching iSCSI volumes from target groups 309
7.4.10Deleting iSCSI volumes 309
7.5Managing nodes in target groups 310
7.5.1Adding nodes to target groups 310
7.5.2Listing nodes in target groups 310
7.5.3Enabling and disabling nodes in target groups 311
7.5.4Deleting nodes from target groups 311
7.6Managing targets and portals 311
7.6.1Creating targets 312
7.6.2Adding and removing target portals 312
7.6.3Deleting targets 313
7.7Managing CHAP accounts 313
7.7.1Creating and listing CHAP accounts 313
7.7.2Changing CHAP account details 313
7.7.3Assigning CHAP accounts to target groups 314
7.7.4Deleting CHAP accounts 314
7.8Managing LUN views 314
7.8.1Creating LUN views 314
7.8.2Listing LUN views 315
7.8.3Changing LUN view details 315
7.8.4Deleting LUN views 315
8 Advanced tasks 316
8.1Updating kernel with ReadyKernel 316
8.1.1Installing ReadyKernel patches automatically 316
8.1.2Managing ReadyKernel patches manually 317
8.1.3Managing ReadyKernel logs 318
8.2Managing guest tools 318
8.2.1Installing guest tools 318
12 © Acronis International GmbH, 2003-2021
8.2.2Uninstalling guest tools 321
8.3Running commands in virtual machines without network connectivity 323
8.3.1Running commands in Linux virtual machines 323
8.3.2Running commands in Windows virtual machines 324
8.4Setting virtual machine CPU model 324
8.5Creating Linux templates 326
8.6Connecting to OpenStack command-line interface 328
8.7Setting a DNS name for the compute API 329
8.8Securing OpenStack API traffic with SSL 331
8.9Using metering for compute resources 331
8.9.1Enabling the metering service 333
8.9.2Using Gnocchi command-line tool 334
8.9.3Viewing resource usage per project 336
8.10Configuring memory policy for the storage services 338
8.10.1vinfra memory-policy vstorage-services per-cluster change 339
8.10.2vinfra memory-policy vstorage-services per-cluster show 340
8.10.3vinfra memory-policy vstorage-services per-cluster reset 341
8.10.4vinfra memory-policy vstorage-services per-node change 341
8.10.5vinfra memory-policy vstorage-services per-node show 342
8.10.6vinfra memory-policy vstorage-services per-node reset 343
8.11Configuring memory for virtual machines 344
8.11.1Adding swap space 344
8.11.2Enabling and disabling RAM overcommitment 345
8.12Migrating virtual machines from VMware vCenter 346
8.12.1Deploying the appliance virtual machine 346
8.12.2Setting up authentication in the appliance virtual machine 347
8.12.3Migrating virtual machines to Acronis Cyber Infrastructure online 348
8.12.4Migrating virtual machines to Acronis Cyber Infrastructure offline 350
8.13Changing the default load balancer flavor 351
8.14Changing parameters in OpenStack configuration files 352
8.15Configuring retention policy for Prometheus metrics 353
8.16Exiting the rescue mode for Windows virtual machines 354
8.17Assigning users to multiple domains 355
8.18Using network QoS policies 357
8.18.1QoS policy rules 357
8.18.2Creating QoS policies 358
8.18.3Setting the default QoS policy 360
13 © Acronis International GmbH, 2003-2021
8.18.4Assigning QoS policies 360
8.18.5Modifying QoS policy rules 361
8.18.6Unassigning QoS policies 361
8.19Allowing domain administrators to manage projects 362
8.19.1Creating and assigning the quota manager role 362
8.19.2Managing projects as a domain administrator 363
8.19.3Creating QoS policies as a domain administrator 365
8.20Changing TLS configuration for backup and object storage 366
8.20.1Configuring TLS parameters for backup storage 366
8.20.2Configuring TLS parameters for object storage 367
8.21Restricting outbound traffic from cluster nodes 368
8.21.1Default outbound firewall rules 369
8.21.2Creating outbound firewall rules 370
8.21.3Removing outbound firewall rules 371
8.21.4Listing outbound firewall rules 371
8.21.5Restoring default outbound firewall rules 372
8.22Defining object storage classes 372
8.23Creating virtIO disks for virtual machines 373
8.24Viewing cluster logs 374
14 © Acronis International GmbH, 2003-2021
1 Introduction
This guide describes the syntax and parameters of the vinfra command-line tool that can be used to
manage Acronis Cyber Infrastructure from console and automate such management tasks.
Note
While the following chapters provide information on specific operations that you can perform with
vinfra, you can also run vinfra help to get a list of all supported commands and their descriptions.
For help on a specific command, either run vinfra help <command> or vinfra <command> --help.
In addition, this guide describes how to use the command line to perform operations unsupported by
vinfra as of now.
Note that the following operations should not be done from the command line:
lSetting custom paths for Acronis Cyber Infrastructure services, in particular:
oCreating S3 clusters only in /mnt/vstorage/vols/s3
oCreating iSCSI targets only in /mnt/vstorage/vols/iscsi
lMounting clusters or change cluster mount options
lConfiguring firewall with firewall-cmd
lRenaming network connections
lManaging metadata and storage services
lManaging partitions, LVMs, or software RAID
lModifying files in /mnt/vstorage/vols and /mnt/vstorage/webcp/backup directories
lSetting encoding or replication of cluster root
1.1 Providing credentials
The vinfra CLI tool requires the following information:
lIP address or hostname of the management node (set to backend-api.svc.vstoragedomain by
default)
lUser name (admin by default)
lPassword (created during installation of Acronis Cyber Infrastructure)
lDomain name to authenticate with (Default by default)
lProject ID to authenticate with (admin by default)
This information can be supplied by using the following command-line parameters with each
command:
l--vinfra-portal <portal>
l--vinfra-username <username>
l--vinfra-password <password>
l--vinfra-domain <domain>
l--vinfra-project <project>
15 © Acronis International GmbH, 2003-2021
Alternatively, you can supply it by setting the following environment variables (for example, in your
~/.bash_profile): VINFRA_PORTAL, VINFRA_USERNAME, VINFRA_PASSWORD, VINFRA_DOMAIN, and
VINFRA_PROJECT. In this case, you will be able to run the CLI tool without the aforementioned
command-line parameters.
As you typically run vinfra from the management node as admin, the only variable you usually need
to set is the password. For example:
# export VINFRA_PASSWORD=12345
If you installed vinfra on a remote machine and/or run it as a different system administartor, you
will need to set VINFRA_PORTAL and/or VINFRA_USERNAME on that machine in addition to VINFRA_
PASSWORD.
In addition, if you want to authenticate within a different project or/and domain, you will need to set
two more environment variables: VINFRA_PROJECT and/or VINFRA_DOMAIN.
1.2 Managing tasks
The vinfra CLI tool executes some commands immediately, while for other commands (that may
take some time to complete) it creates system tasks that are queued. Examples of actions performed
via tasks are creating the storage or compute cluster and adding nodes to it.
To keep track of tasks being performed by vinfra, use the vinfra task list and vinfra task show
commands. For example:
# vinfra task list
+----------------+---------+-----------------------------------------+
| task_id | state | name |
+----------------+---------+-----------------------------------------+
| 8fc27e7a-<...> | success | backend.tasks.cluster.CreateNewCluster |
| e61377db-<...> | success | backend.tasks.disks.ApplyDiskRoleTask |
| a005b748-<...> | success | backend.tasks.node.AddNodeInClusterTask |
+----------------+---------+-----------------------------------------+
# vinfra task show 8fc27e7a-ba73-471d-9134-e351e1137cf4
+---------+----------------------------------------+
| Field | Value |
+---------+----------------------------------------+
| args | - stor1 |
| | - 7ffa9540-5a20-41d1-b203-e3f349d62565 |
| | - null |
| | - null |
| kwargs | {} |
| name | backend.tasks.cluster.CreateNewCluster |
| result | cluster_id: 1 |
| state | success |
| task_id | 8fc27e7a-ba73-471d-9134-e351e1137cf4 |
+---------+----------------------------------------+
16 © Acronis International GmbH, 2003-2021
2 Managing the storage cluster
2.1 Managing tokens
2.1.1 vinfra node token show
Display the backend token:
usage: vinfra node token show
Example:
# vinfra node token show
+-------+---------------+
| Field | Value |
+-------+---------------+
| host | 10.37.130.101 |
| token | dc56d4d2 |
| ttl | 86398 |
+-------+---------------+
This command shows the details of the current token.
2.1.2 vinfra node token create
Create the backend token:
usage: vinfra node token create [--ttl <ttl>]
--ttl <ttl>
Token TTL, in seconds
Example:
# vinfra node token create --ttl 86400
+-------+---------------+
| Field | Value |
+-------+---------------+
| host | 10.37.130.101 |
| token | dc56d4d2 |
| ttl | 86398 |
+-------+---------------+
This command creates a new token with the time to live (TTL) of 86400 seconds.
2.1.3 vinfra node token validate
Validate the backend token:
17 © Acronis International GmbH, 2003-2021
usage: vinfra node token validate <token>
<token>
Token value
Example:
# vinfra node token validate dc56d4d2
+--------+-------+
| Field | Value |
+--------+-------+
| status | valid |
+--------+-------+
This command validates the token dc56d4d2.
2.2 Managing networks
2.2.1 vinfra cluster network create
Create a new network:
usage: vinfra cluster network create [--traffic-types <traffic-types>]
[--inbound-allow-list <addresses>]
[--inbound-deny-list <addresses>]
[--outbound-allow-list <rules>]
<network-name>
--traffic-types <traffic-types>
A comma-separated list of traffic type IDs or names
--inbound-allow-list <addresses>
A comma-separated list of IP addresses
--inbound-deny-list <addresses>
A comma-separated list of IP addresses
--outbound-allow-list <rules>
A comma-separated list of allow rules in the format:
<address>:<protocol>:<port>:<description>
<network-name>
Network name
Example:
# vinfra cluster network create MyNet --traffic-types ssh
+---------------------+------------------------------------------+
18 © Acronis International GmbH, 2003-2021
| Field | Value |
+---------------------+------------------------------------------+
| id | b451c5ed-a553-4214-96c4-d926daa6110e |
| inbound_allow_list | [] |
| inbound_deny_list | [] |
| name | MyNet |
| outbound_allow_list | - 0.0.0.0:tcp:8888:Internal management |
| | - 0.0.0.0:tcp:80:HTTP |
| | - 0.0.0.0:tcp:443:HTTPS |
| | - 0.0.0.0:udp:53:DNS |
| | - 0.0.0.0:tcp:53:DNS |
| | - 0.0.0.0:udp:123:NTP |
| | - 0.0.0.0:tcp:8443:ABGW registration |
| | - 0.0.0.0:tcp:44445:ABGW Geo-replication |
| | - 0.0.0.0:tcp:9877:Acronis Cyber Protect |
| | - 0.0.0.0:any:0:Allow all |
| name | MyNet |
| traffic_types | SSH |
| vlan | |
+---------------------+------------------------------------------+
This command creates a custom network MyNet and assigns the traffic type SSH to it.
2.2.2 vinfra cluster network list
List available networks:
usage: vinfra cluster network list [--long]
--long
Enable access and listing of all fields of objects.
Example:
# vinfra cluster network list -c id -c name -c traffic_types
+--------------------------------------+---------+------------------------+
| id | name | traffic_types |
+--------------------------------------+---------+------------------------+
| 358bdc39-cd8b-4565-8ebf-e7c12dcd1cf7 | Public | Backup (ABGW) public, |
| | | iSCSI,NFS,S3 public, |
| | | SSH,Admin Panel |
| 6095a997-e5f1-493d-a750-41ddf277153b | Private | Backup (ABGW) private, |
| | | Internal Management, |
| | | OSTOR private,SSH, |
| | | Storage |
+--------------------------------------+---------+------------------------+
This command lists all networks in Acronis Cyber Infrastructure.
19 © Acronis International GmbH, 2003-2021
2.2.3 vinfra cluster network show
Show details of a network:
usage: vinfra cluster network show <network>
<network>
Network ID or name
Example:
# vinfra cluster network show MyNet
+---------------------+------------------------------------------+
| Field | Value |
+---------------------+------------------------------------------+
| id | b451c5ed-a553-4214-96c4-d926daa6110e |
| inbound_allow_list | [] |
| inbound_deny_list | [] |
| name | MyNet |
| outbound_allow_list | - 0.0.0.0:tcp:8888:Internal management |
| | - 0.0.0.0:tcp:80:HTTP |
| | - 0.0.0.0:tcp:443:HTTPS |
| | - 0.0.0.0:udp:53:DNS |
| | - 0.0.0.0:tcp:53:DNS |
| | - 0.0.0.0:udp:123:NTP |
| | - 0.0.0.0:tcp:8443:ABGW registration |
| | - 0.0.0.0:tcp:44445:ABGW Geo-replication |
| | - 0.0.0.0:tcp:9877:Acronis Cyber Protect |
| | - 0.0.0.0:any:0:Allow all |
| name | MyNet |
| traffic_types | SSH |
| vlan | |
+---------------------+------------------------------------------+
This command shows the details of the custom network MyNet.
2.2.4 vinfra cluster network set
Modify network parameters:
usage: vinfra cluster network set [--name <network-name>]
[--traffic-types <traffic-types> |
--add-traffic-types <traffic-types> |
--del-traffic-types <traffic-types>]
[--inbound-allow-list <addresses> |
--add-inbound-allow-list <addresses> |
--del-inbound-allow-list <addresses> |
--clear-inbound-allow-list]
[--inbound-deny-list <addresses> |
20 © Acronis International GmbH, 2003-2021
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377

ACRONIS Cyber Infrastructure 4.6 User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI