The sample storage configuration in this section uses REST API utility to complete the configuration of the storage disks created during installation. Refer to Configure Storage Using the REST API section for details on REST API usage.
Assumptions:
-
The SASE Concentrator node is deployed using c2default (model_name)and additional_storage: true values in sase-deployment-models.yml during SASE deployment. c2default is a test or custom model for illustration purposes.
-
The storage disks corresponding to c2default model are successfully created and attached to the concentrator node. These disks are not yet configured.
Follow these steps to configure Concentrator storage:
-
Log into SA UI. To list all the devices, Navigate to Hosts- > Select the Concentrator node -> Services -> Actions -> View -> Explore -> deviceappliance -> appliance -> Right Click -> Properties drop-down -> Select devlist -> Send.
Response Output:
In this case, the block devices are sdb, sdc, sdd and sde. The ‘used=0’ indicates that this device is not configured yet. When configured, the ‘used’ attribute value is set to '1’. As noted earlier, sda is the boot disk and no changes are allowed.
-
Use partNew command to partition unused block devices. For concentrator service, the smaller devices (disk_type: pd-ssd) are allocated to index database and larger devices are allocated to root,session and metadb. To partition sdb , select ‘partNew’ from the Properties drop-down with the following parameters and click Send.
name=sdb volume=concentrator service=concentrator commit=1
-
Repeat the above step for concentrator0 volume. Use partNew command to partition unused block devices. To partition sdc, select ‘partNew’ from the Properties drop-down with the following parameters and click Send.
name=sdc volume=concentrator0 service=concentrator commit=1
-
To partition sdd device, select ‘partNew’ from the Properties drop-down with the following parameters and click Send.
name=sdd volume=index service=concentrator commit=1
Repeat the above for sde.
name=sde volume=index service=concentrator commit=1
-
Allocate the index volume to concentrator service using srvAlloc from the Properties drop-down with the following parameters and clicking Send.
service=concentrator volume=index commit=1
-
Complete the service allocation of the three remaining volumes (index, index0, concentrator0) using srvAlloc property using the above step.
service=concentrator volume=index0 commit=1
service=concentrator volume=concentrator commit=1
service=concentrator volume=concentrator0 commit=1
-
The configured storage can be viewed by issuing the below command in SSH-in-browser. The configured storage is highlighted in yellow.
df -hP