Skip to main content

describedatastore

该实用程序可用于所有 ArcGIS Data Store 类型。

describedatastore 实用程序可提供 ArcGIS Data Store 安装的相关信息。 它可以报告在运行实用程序的计算机上安装了哪些数据存储类型,并提供计算机上的各个数据存储类型的相关信息。

注:

如果在计算机上安装了数据存储,但未对其进行配置,则其将显示为可用 ArcGIS Data Store,但不会返回该数据存储类型的其他信息。

有些信息是所有数据存储类型通用的,而有些信息则特定于某种数据存储类型。 下表列出了 describedatastore 实用程序返回的属性并提供了解释:

常规属性

对于计算机上安装的所有数据存储类型,这些属性的值都相同。

属性

描述

ArcGIS Data Store 版本

ArcGIS Data Store 安装的软件版本号。

过渡位置

对于关系存储,过渡位置是执行数据存储恢复之前 ArcGIS Data Store 提取压缩备份文件的位置。 如果数据存储为备份配置了云存储位置,则备份文件在复制到云存储位置之前,会先放置于过渡位置。

要更改过渡位置,可使用 changestaginglocation 实用程序。

日志位置

ArcGIS Data Store 写入日志文件的文件目录。

要更改日志文件位置,可使用 changeloglocation 实用程序。

可用磁盘空间

已安装 ArcGIS Data Store 的计算机上的剩余可用磁盘空间量。

通用属性

每种数据存储类型都会显示这些属性,但是各个列出该属性的数据存储具有其特定的值。

属性

描述

备份位置

各个类型的数据存储所使用的默认备份位置。

备份计划

使用自动备份时,各个类型的数据存储的备份创建频率。

数据存储状态

指示数据存储是否正在运行。

所属系统 URL

数据存储注册到的托管 GIS Server 站点。

对于计算机上的所有数据存储,此值通常是同一个托管服务器,但是同一台计算机上可能包含多个用于不同的 ArcGIS Enterprise 部署的数据存储。

Portal for ArcGIS URL

对于计算机上的所有数据存储,此值通常是同一个 Portal for ArcGIS URL,但是同一台计算机上可能包含多个用于不同的 ArcGIS Enterprise 部署的数据存储。

已注册的计算机

特定数据存储类型中所有计算机的列表。 此属性会列出所有计算机,不考虑其处于何种状态。

关系存储属性

这些属性特定于关系存储部署。

属性

描述

备份保留天数

在 ArcGIS Data Store 删除备份文件之前,保留关系存储备份文件的天数。

是否已启用时间点恢复

指示关系存储是否配置为创建增量备份,该功能用于将数据存储恢复至一个特定时间点。

可使用 changedbproperties 实用程序配置此设置。

已启用 SSL

指示是否已启用 SSL 通信。

READONLY 模式阈值

此为可用磁盘空间阈值,达到此阈值后,关系存储会转为只读模式。

可以使用 changedbproperties 实用程序为关系存储更改此值。

最大连接数

指示关系存储允许的最大连接数。

连接数

连接到关系存储的当前要素图层连接数。

数据存储模式

指示数据存储是处于读写模式还是只读模式。

最近一次故障转移

此属性用于报告主计算机最近一次发生故障的日期和时间,该故障导致备用计算机升级为主计算机角色。

如果数据存储未发生过故障转移,则不会列出此属性。

对象存储属性

这些属性特定于对象存储部署。

属性

描述

部署模式

指示数据存储是在单个实例模式还是集群模式下部署。 在 ArcGIS Data Store 11.1 之前创建的对象存储可能报告为主-备用模式,但是仅可包含一台计算机。

堆大小

使用 changedbproperties 实用程序设置的值。

协调器计算机

对象存储集群中担任集群协调器角色的计算机的名称。 在单实例对象存储中,列出了单个对象存储计算机。

这些属性特定于使用云存储的对象存储。

属性

描述

云对象存储名称

当云位置配置为对象存储时,分配给数据存储的名称。

云对象存储提供商

对象存储所在的云平台。

云对象存储桶

用于对象存储的存储桶或存储容器的名称。

时空大数据存储属性

这些属性特定于时空大数据存储部署。

属性

描述

集群是否已完成

指示集群是否包含初始化为功能性时空大数据存储所需的最小数量的协调器和数据计算机。

该属性设置为 false,直到配置了所需数量的计算机,此时该属性设置为 true。 时空大数据存储集群初始配置后,此属性不会改变。

自动重新平衡

如果将此属性值设置为 on,则在任何一台计算机不可用时,时空大数据存储会将数据分发到其他计算机。 如果将此属性值设置为 off,则在某台计算机不可用时不会分发数据。

可使用 changedbproperties 实用程序更改此设置。

重新平衡最长暂停时间

禁用重新平衡时(在这种情况下自动重新平衡属性将设置为 off),重新平衡功能仅会禁用此属性指定的分钟数。 在这段时间之后,自动重新平衡属性值将设置为 on

可使用 changedbproperties 实用程序更改此设置。

READONLY 模式阈值

此为可用磁盘空间阈值,达到此阈值后,时空大数据存储会转为只读模式。

成员计算机

时空大数据存储集群中可用的活动计算机的列表。

数据存储模式

指示数据存储是处于读写模式还是只读模式。

集群当前的协调器计算机

时空大数据存储中的计算机,该计算机当前作为集群中所有计算机的协调器。

时空集群中的候选协调器计算机

时空大数据存储中已分配协调器角色的计算机,这些计算机可以成为当前协调器。

时空集群中的数据计算机

时空大数据存储中已分配数据角色的计算机。

图存储属性

这些属性特定于图存储部署。

属性

描述

部署模式

指示数据存储是在单个实例模式还是集群模式下部署。

要移除的计算机

图存储集群必须始终包含三台计算机。 如果一台计算机故障或无法移除,运行 removemachine 实用程序从集群中将其移除。 这样做会标记要删除的计算机,并且由 describeatastore 实用程序报告。

仅当有计算机被标记为要移除时才会报告此属性。

集群是否已完成

指示集群是否包含三台计算机以初始化为功能性图存储集群。

该属性设置为 false,直到配置了三台计算机,此时该属性设置为 true。 图存储集群初始配置后,此属性不会改变。

语法

describedatastore

示例

describedatastore 实用程序将返回适用于计算机上所有数据存储的常规信息并返回包含特定于每种类型数据存储信息的单独部分。

您应该将不同的数据存储放置在不同的计算机上,但是要允许查看每种类型返回的信息,以下输出显示了在同一台计算机具有所有 ArcGIS Data Store 类型的计算机上。 始终会返回前两部分(可用的 ArcGIS Data Store常规信息)。 describeatastore 返回的数据存储部分取决于运行实用程序的计算机上存在的数据存储类型。

./describedatastore.sh

ArcGIS Data Store types installed on this machine
==============================================================
Relational store
Spatiotemporal big data store
Graph store
Object store
General Information of ArcGIS Data Store on machine.example.com
==============================================================
ArcGIS Data Store release....12.1.0.1234
Staging location............./arcgis/datastore/staging
Log location................./arcgis/datastore/logs
Free disk space..............174.00GB
Information for relational store ds_sthiu0_5T
==============================================================
Backup location................/net/nwshare/dsbackups
Backup schedule................{"schedule-starttime":"00:00:00","schedule-frequency":"Every 1 DAYS"}
Days backup retained...........31
Data store status..............Started
SSL enabled....................true
Threshold for READONLY mode....2048MB
Last failover..................20250130190334005
Registered machines............MACHINE1.EXAMPLE.COM, MACHINE4.EXAMPLE.COM
Maximum connections............150
Owning system URL..............https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL..........https://portal_webadaptor.example.com/portal
Number of connections..........8 connection(s) to managed database
Data store mode................READWRITE
Is point-in-time recovery enabled...No
Information for spatiotemporal big data store ds_qpko99Cl
==============================================================
Is cluster finalized................Yes
Max rebalance off time..............60 minutes
Automatic rebalance ................On
Threshold for READONLY mode.........1024MB
Backup location...................../net/dirshare2/sbds_bu
Backup schedule.....................{"schedule-starttime":"02:00:00","schedule-frequency":"Every 2 DAYS"}
Member machines.....................MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Coordinator candidate machines in spatiotemporal cluster..MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Current coordinator machine in cluster......MACHINE1.EXAMPLE.COM
Data machines in spatiotemporal cluster.....MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Registered machines.................MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Owning system URL...................https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL...............https://portal_webadaptor.example.com/portal
Data store mode.....................READWRITE
Information for graph store x2b7s0n
==============================================================
Deployment mode..............cluster
Backup location............../net/dirshare3/graphbu
Backup schedule..............{"schedule-starttime":"03:00:00","schedule-frequency":"Every 3 DAYS"}
Registered machines..........MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Owning system URL............https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL........https://portal_webadaptor.example.com/portal
Is cluster finalized.........true
Information for object store w1tiknx
==============================================================
Deployment mode...........cluster
Backup location.........../net/dirshare4/myfiles/ods_bu
Backup schedule...........{"schedule-starttime":"04:00:00","schedule-frequency":"Every 1 DAYS"}
Heap size in MB.............4208
Coordinator machines........MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Registered machines.........MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM, MACHINE4.EXAMPLE.COM, MACHINE5.EXAMPLE.COM
Owning system URL.........https://gisserver.example.com:6443/server/admin
Portal for ArcGIS URL.....https://portal_webadaptor.example.com/portal

describedatastore

ArcGIS Data Store types installed on this machine
==============================================================
Relational store
Spatiotemporal big data store
Graph store
Object store
General Information of ArcGIS Data Store on machine.example.com
==============================================================
ArcGIS Data Store release....12.1.0.1234
Staging location.............C:\arcgisdatastore\staging
Log location.................C:\arcgisdatastore\logs
Free disk space..............174.00GB
Information for relational store ds_sthiu0_5T
==============================================================
Backup location..............\\nwshare\dsbackups
Backup schedule..............{"schedule-starttime":"00:00:00","schedule-frequency":"Every 7 DAYS"}
Days backup retained.........31
Data store status............Started
SSL enabled..................true
Last failover................20250130190334005
Threshold for READONLY mode..2048MB
Registered machines..........MACHINE1.EXAMPLE.COM, MACHINE4.EXAMPLE.COM
Maximum connections..........150
Owning system URL............https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL........https://portal_webadaptor.example.com/portal
Number of connections........8 connection(s) to managed database
Data store mode..............READWRITE
Is point-in-time recovery enabled...No
Information for spatiotemporal data store ds_qpko99Cl
==============================================================
Is cluster finalized................Yes
Max rebalance off time..............60 minutes
Automatic rebalance ................On
Threshold for READONLY mode.........1024MB
Backup location.....................\\nwshare2\sbds_bu
Backup schedule.....................{"schedule-starttime":"02:00:00","schedule-frequency":"Every 2 DAYS"}
Member machines.....................MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Coordinator candidate machines in spatiotemporal cluster..MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Current coordinator machine in cluster......MACHINE1.EXAMPLE.COM
Data machines in spatiotemporal cluster.....MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Registered machines.................MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Owning system URL...................https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL...............https://portal_webadaptor.example.com/portal
Data store mode.....................READWRITE
Information for graph store x2b7s0n
==============================================================
Deployment mode.............cluster
Backup location.............\\nwshare3\graphbu
Backup schedule.............{"schedule-starttime":"03:00:00","schedule-frequency":"Every 3 DAYS"}
Registered machines.........MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Owning system URL...........https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL.......https://portal_webadaptor.example.com/portal
Is cluster finalized........true
Information for object store w1tiknx
==============================================================
Deployment mode.............cluster
Backup location.............\\nwshare4\myfiles\ods_bu
Backup schedule.............{"schedule-starttime":"04:00:00","schedule-frequency":"Every 2 DAYS"}
Heap size in MB.............4208
Coordinator machines........MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM
Registered machines.........MACHINE1.EXAMPLE.COM, MACHINE2.EXAMPLE.COM, MACHINE3.EXAMPLE.COM, MACHINE4.EXAMPLE.COM, MACHINE5.EXAMPLE.COM
Owning system URL...........https://gisserver.example.com:6443/server/admin
Portal for ArcGIS URL.......https://portal_webadaptor.example.com/portal

如果您使用云服务对象存储,并在关系存储计算机上运行该命令,该实用程序会返回关于关系存储和云对象存储的信息。 以下示例展示了 Amazon Web Services 存储桶中的对象存储:

./describedatastore.sh

ArcGIS Data Store types installed on this machine
==============================================================
Relational store
General Information of ArcGIS Data Store on machine.example.com
==============================================================
ArcGIS Data Store release....12.1.0.1234
Staging location............./arcgis/datastore/staging
Log location................./arcgis/datastore/logs
Free disk space..............174.00GB
Information for relational store ds_sthiu0_5T
==============================================================
Backup location................/net/nwshare/dsbackups
Backup schedule................{"schedule-starttime":"00:00:00","schedule-frequency":"Every 1 DAYS"}
Days backup retained...........31
Data store status..............Started
SSL enabled....................true
Threshold for READONLY mode....2048MB
Last failover..................20250130190334005
Registered machines............MACHINE1.EXAMPLE.COM, MACHINE4.EXAMPLE.COM
Maximum connections............150
Owning system URL..............https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL..........https://portal_webadaptor.example.com/portal
Number of connections..........8 connection(s) to managed database
Data store mode................READWRITE
Is point-in-time recovery enabled...No
Information for cloud object stores
====================================
Cloud object store name........my_object
Cloud object store provider....Amazon
Cloud object store bucket......object7

describedatastore

ArcGIS Data Store types installed on this machine
==============================================================
Relational store
General Information of ArcGIS Data Store on machine.example.com
==============================================================
ArcGIS Data Store release....12.1.0.1234
Staging location.............C:\arcgisdatastore\staging
Log location.................C:\arcgisdatastore\logs
Free disk space..............174.00GB
Information for relational store ds_sthiu0_5T
==============================================================
Backup location..............\\nwshare\dsbackups
Backup schedule..............{"schedule-starttime":"00:00:00","schedule-frequency":"Every 7 DAYS"}
Days backup retained.........31
Data store status............Started
SSL enabled..................true
Last failover................20250130190334005
Threshold for READONLY mode..2048MB
Registered machines..........MACHINE1.EXAMPLE.COM, MACHINE4.EXAMPLE.COM
Maximum connections..........150
Owning system URL............https://gisserver_webadaptor.example.com/server
Portal for ArcGIS URL........https://portal_webadaptor.example.com/portal
Number of connections........8 connection(s) to managed database
Data store mode..............READWRITE
Is point-in-time recovery enabled...No
Information for cloud object stores
====================================
Cloud object store name......my_object
Cloud object store provider..Amazon
Cloud object store bucket....object7