Command List

When running commands, do not forcibly stop the running commands or normal service processes. Otherwise, unknown impacts may occur.

Table 1 Command description

Directory

Command Script

Parameter

Subparameter

Description

Remarks

{Installation path}/AtlasEdge

run.sh

start

-

Starts the software.

-

-

-

stop

-

Stops the software.

-

-

-

restart

-

Restarts the software.

-

-

-

uninstall

-

Uninstalls the software.

-

-

-

rollback

-

Rolls back the software.

-

-

-

-h | --help | --h

-

Obtains help information.

-

-

-

config

--product_name|-product_name

Sets the device name.

-

-

-

-

--manufacture|-manufacture

Sets the manufacturer.

-

-

-

-

--netmanager|-netmanager

Sets the NMS mode.

Only FD or IEF is supported.

-

-

-

--fd_test | -fd_test

Specifies whether to test the FusionDirector connectivity.

This parameter is valid only when netmanager is set to FD.

-

-

-

--fd_ibmc | -fd_ibmc

Indicates whether the device is an iBMC device.

This parameter is valid only when netmanager is set to FD.

-

-

-

--fd_ip | -fd_ip

Indicates the IP address for accessing FusionDirector.

This parameter is valid only when netmanager is set to FD.

-

-

-

--fd_user | -fd_user

Indicates the username for accessing FusionDirector.

This parameter is valid only when netmanager is set to FD.

-

-

-

--fd_cert_import | -fd_cert_import

Indicates the FusionDirector root certificate.

This parameter is valid only when netmanager is set to FD.

-

-

-

--port | -port

Indicates the FusionDirector port.

This parameter is valid only when netmanager is set to FD.

-

-

upgrade

-o

Specifies the upgrade type.

Only install or effect is supported.

-

-

-

-i

Specifies the upgrade mode.

Only force or normal is supported.

-

-

-

-f

Indicates the upgrade file.

An absolute path is required.

-

-

-

-s

Indicates the CMS file corresponding to the upgrade file.

An absolute path is required.

-

-

-

-c

Indicates the CRL file corresponding to the upgrade file.

An absolute path is required.

-

-

-

-e

Specifies the effective mode.

Only now or delay is supported.

-

-

-

-t

Specifies the object type.

Only AtlasEdge is supported.

-

-

-

-h

Obtains help information.

-

{Installation path}/AtlasEdge/edge_work_dir/edge_om/bin

updateCRL.sh

--crlPath

-

Indicates the CRL path to be updated.

An absolute path is required.

-

-

--forceupdate

-

Indicates whether a forcible update is to be performed.

Only true or false is supported.

-

-

--active

-

Specifies whether settings take effect.

Only true or false is supported.

-

-

--help | -h

-

Obtains help information.

-

{Installation path}/AtlasEdge/edge_work_dir/edge_om/bin

update_software_CRL.sh

--crlPath

-

Indicates the CRL path of the software package to be updated.

An absolute path is required.

-

-

--help | -h

-

Obtains help information.

-

{Installation path}/AtlasEdge/edge_work_dir/edge_om/bin

update_key_util.sh

-

-

Manually updates the KMC key.

-

{Installation path}/AtlasEdge/edge_work_dir/edge_om/bin

site_ability_policy.sh

--help | -h

-

Obtains help information.

-

-

-

allow

--create_container

Allows container deployment.

-

-

-

-

--help | -h

Obtains help information.

-

-

-

disable_all

--on

Forbids all high-risk operations.

-

-

-

-

--help | -h

Obtains help information.

-

{Actual decompression path of the installation package}

install.sh

--install_dir | -install_dir

-

Specifies the installation directory.

/usr/local is used by default if the installation directory is not specified.

-

-

--install_type | -install_type

-

Specifies the installation type.

Only install and effect are supported. If this parameter is not set, install is used by default. effect cannot be invoked in the background.

-

-

--log_dir | -log_dir

-

Specifies the log directory.

/var/alog is used by default if the log directory is not specified.

-

-

--allow_log_tmpfs | -allow_log_tmpfs

-

Specifies whether to allow logs to be recorded in the memory file system.

false is used by default if this parameter is not set.

-

-

--user | -user

-

Specifies the running user.

MindXEdge is used by default if the running user is not specified.

-

-

--group | -group

-

Specifies the running user group.

MindXEdge is used by default if the running user group is not specified.

-

-

--user_id | -user_id

-

Specifies the running user ID.

1024 is used by default if the running user ID is not specified.

-

-

--group_id | -group_id

-

Specifies the running user group ID.

1024 is used by default if the running user group ID is not specified.

-

-

--ignore_docker_status_check

-

Specifies whether to ignore the Docker status check.

The check is required by default if this parameter is not set.

-

-

-h | --help

-

Obtains help information.

-

{Installation path}/AtlasEdge/edge_work_dir/edge_core/src/

python3 modify_pod_config_json.py

--imageSha256WhiteList

-

Specifies the image trustlist.

-

-

-

--containercpuLimit

-

Specifies the upper limit of the CPU usage of a single container.

-

-

-

--containerNpuLimit

-

Specifies the upper limit of the NPU usage of a single container.

-

-

-

--containerMemoryLimit

-

Specifies the upper limit of the memory usage of a single container.

-

-

-

--maxContainerNumber

-

Specifies the maximum number of containers that can be configured.

-

-

-

--systemReservedCPUQuota

-

Reserves CPU resources for the system.

-

-

-

--systemReservedMemoryQuota

-

Reserves memory resources for the system.

-

-

-

-h | --help

-

Obtains help information.

-