ArcGIS Data Store 11.4 #9

Open
opened 10 months ago by byprakoso · 0 comments
Owner

Instalasi dan Config ArcGIS

1.pastikan file instalasi Arcgis Data store sudah ada di home/geonet/Documents/ kemudian extract.

input command unutk extrct:

tar -xzvf ArcGIS_DataStore_Linux_114_192981.tar.gz

extract file instalasi arcgis data store

pastikan file terextract dengan benar pada home/geonet/Documnets

pastikan fiole instalasi terextract dengan benar

2.run ./Setup untuk proses instalasi

run command:

./Setup -m silent -l yes

run setup unutk melakukan install

setelah proses instalasi complete,akan ada URL untuk melanjutkan config pada web browser https://localhost:2443/arcgis/datastore

jika instalasi copmlete,lanjutkan config dari url tertera

3.config pada web browserhttps://localhost:2443/arcgis/datastore

tampilan awal saat config via web browser. pada gis server:https://localhost:6443/arcgis/,untuk username dan pass masukan credential server admin

1.setelah proses install pada terminal selesai masuk ke datastore

path content directory

2.content directory

ArcGIS Data Store Type pilih Relational

3

config Summary

4

jika sudah finish,masuk ke https://localhost/server/manager jika sudah login,pilih Site>Server Configuration>Data store kemudian lanjutkan Validate

6 validate

hasil akhir jika berhasil di validate

hasil validate

config data store command line

Reference:https://enterprise.arcgis.com/en/data-store/11.4/install/linux/create-data-store.htm

jalankan configuredatastore.shcd /home/geonet/arcgis/datastore/tools/configuredatastore.sh

./configuredatastore.sh https://local.gisportal.id:6443/arcgis siteadmin geonet$123 /home/geonet/arcgis/datastore/usr/arcgisdatastore/ --stores relational

jika terjadi error saat config via command line,cek dokumentasi penulisan pada https://support.esri.com/en-us/knowledge-base/unable-to-register-the-arcgis-server-with-the-web-adapt-000017734

Post Installation

Servive Lifecycle Management

masuk ke file instalasi arcgisdatastore cd /home/geonet/arcgis/datastore/framework/etc/scripts/datastore.service/

image

copy file arcgisdatastore.service ke /etc/systemd/system/dan pastikan data tersebut sudah tercopy dengan benar

sudo cp arcgisdatastore.service /etc/systemd/system/

image

ubah permission arcgisdatastore.service yang sudah tersimpan pada /etc/systemd/system. pastikan permissionya menjadi rw------- agar dapat dieksekusi

chmod 600 arcgisdatastore.service

image

untuk membuat links otomatis di dalam /etc/systemd/system/multi-user.target.wants jalankan command di bawah ini:

systemctl enable arcgisdatastore.service

image

Dengan menambahkan /bin/bash di depan perintah, Anda secara eksplisit memberitahu systemd untuk menggunakan interpreter Bash untuk menjalankan skrip Anda. Hal ini penting jika skrip Anda tidak memiliki shebang (#!/bin/bash) atau tidak memiliki izin untuk dijalankan secara langsung (tidak executable).

masuk ke file arcgisdatastore.service:

sudo nano /etc/systemd/system/arcgisdatastore.service

update file seperti berikut:

[Unit]
Description=Portal for ArcGIS Data Store
After=network.target

[Service]
Type=forking
User=geonet
GuessMainPID=false
LimitNOFILE=65535
Restart=on-failure
# To prevent any one service from spawning too many threads and consuming all
# server resources, systemd v228 and beyond included in SLES12 SP2 and higher
# set the maximum number of threads to be created at 512.  Users on SLES12 may
# need to enable and raise this limit if it is a heavily used system.  Use
# "systemctl show --property DefaultTasksMax" to check the current value.   To
# find the version of systemd, use "systemctl --version".
# TasksMax=512

ExecStart=/bin/bash /home/geonet/arcgis/datastore/startportal.sh
ExecStop=/bin/bash /home/geonet/arcgis/datastore/stopportal.sh

[Install]
WantedBy=multi-user.target

Lalu reload daemon dan start ulang servicenya:

systemctl daemon-reload

systemctl enable arcgisdatastore.service

untuk memastikan service systemd berjalan jalankan command berikut:

systemctl stop arcgisdatastore.service
systemctl start arcgisdatastore.service
systemctl status arcgisdatastore.service

service management pada arcgis data store dapat berjalan

image

# Instalasi dan Config ArcGIS ## 1.pastikan file instalasi Arcgis Data store sudah ada di ``home/geonet/Documents/`` kemudian extract. ### input command unutk extrct: ``` tar -xzvf ArcGIS_DataStore_Linux_114_192981.tar.gz ``` ![extract file instalasi arcgis data store](/attachments/174f1dcd-cf95-469b-bdf9-d67591cf37a8) ### pastikan file terextract dengan benar pada ``home/geonet/Documnets`` ![pastikan fiole instalasi terextract dengan benar](/attachments/e26dcda6-c383-4e73-af67-c7f6809b77d3) ## 2.run ./Setup untuk proses instalasi ### run command: ``` ./Setup -m silent -l yes ``` ![run setup unutk melakukan install](/attachments/6b1c2f5e-738a-40cf-a4b1-cf7dbbad2d96) ### setelah proses instalasi complete,akan ada URL untuk melanjutkan config pada web browser ``https://localhost:2443/arcgis/datastore`` ![jika instalasi copmlete,lanjutkan config dari url tertera](/attachments/922e07bd-622f-420e-8bc5-45b4d9c32199) ## 3.config pada web browser``https://localhost:2443/arcgis/datastore`` ### tampilan awal saat config via web browser. pada gis server:``https://localhost:6443/arcgis/``,untuk username dan pass masukan credential server admin ![1.setelah proses install pada terminal selesai masuk ke datastore](/attachments/59a45aed-50f1-409d-a5e8-04113a29d0ac) ### path content directory ![2.content directory](/attachments/48ad60f3-fbea-481d-b674-17beaf99bc92) ### ArcGIS Data Store Type pilih Relational ![3](/attachments/73798ab2-9998-4ad5-8029-8644267207c2) ### config Summary ![4](/attachments/890164b6-58b0-4edf-8633-e6e8f69eb478) ### jika sudah finish,masuk ke ``https://localhost/server/manager`` jika sudah login,pilih Site>Server Configuration>Data store kemudian lanjutkan Validate ![6 validate](/attachments/bace5d0f-22c3-4e2e-b888-0054ae5e072a) ### hasil akhir jika berhasil di validate ![hasil validate](/attachments/1116a8dc-0ca4-44bf-9200-c532c08753b6) ## config data store command line Reference:https://enterprise.arcgis.com/en/data-store/11.4/install/linux/create-data-store.htm jalankan configuredatastore.sh``cd /home/geonet/arcgis/datastore/tools/configuredatastore.sh`` ``` ./configuredatastore.sh https://local.gisportal.id:6443/arcgis siteadmin geonet$123 /home/geonet/arcgis/datastore/usr/arcgisdatastore/ --stores relational ``` jika terjadi error saat config via command line,cek dokumentasi penulisan pada https://support.esri.com/en-us/knowledge-base/unable-to-register-the-arcgis-server-with-the-web-adapt-000017734 ## Post Installation ### Servive Lifecycle Management masuk ke file instalasi arcgisdatastore ``cd /home/geonet/arcgis/datastore/framework/etc/scripts/datastore.service/`` ![image](/attachments/181f7431-11a5-4e22-ae71-97c098dad012) copy file arcgisdatastore.service ke ``/etc/systemd/system/``dan pastikan data tersebut sudah tercopy dengan benar ``` sudo cp arcgisdatastore.service /etc/systemd/system/ ``` ![image](/attachments/a161a903-0a44-4716-a764-6d1f6265eefa) ubah permission arcgisdatastore.service yang sudah tersimpan pada /etc/systemd/system. pastikan permissionya menjadi rw------- agar dapat dieksekusi ``` chmod 600 arcgisdatastore.service ``` ![image](/attachments/a12e3d9e-7610-4076-b0b5-2ec9ee72fe06) untuk membuat links otomatis di dalam ``/etc/systemd/system/multi-user.target.wants`` jalankan command di bawah ini: ``` systemctl enable arcgisdatastore.service ``` ![image](/attachments/4a6f15fe-30d3-4e82-b376-68e4eea28e8a) Dengan menambahkan /bin/bash di depan perintah, Anda secara eksplisit memberitahu systemd untuk menggunakan interpreter Bash untuk menjalankan skrip Anda. Hal ini penting jika skrip Anda tidak memiliki shebang (#!/bin/bash) atau tidak memiliki izin untuk dijalankan secara langsung (tidak executable). masuk ke file arcgisdatastore.service: ``` sudo nano /etc/systemd/system/arcgisdatastore.service ``` update file seperti berikut: ``` [Unit] Description=Portal for ArcGIS Data Store After=network.target [Service] Type=forking User=geonet GuessMainPID=false LimitNOFILE=65535 Restart=on-failure # To prevent any one service from spawning too many threads and consuming all # server resources, systemd v228 and beyond included in SLES12 SP2 and higher # set the maximum number of threads to be created at 512. Users on SLES12 may # need to enable and raise this limit if it is a heavily used system. Use # "systemctl show --property DefaultTasksMax" to check the current value. To # find the version of systemd, use "systemctl --version". # TasksMax=512 ExecStart=/bin/bash /home/geonet/arcgis/datastore/startportal.sh ExecStop=/bin/bash /home/geonet/arcgis/datastore/stopportal.sh [Install] WantedBy=multi-user.target ``` Lalu reload daemon dan start ulang servicenya: ``` systemctl daemon-reload systemctl enable arcgisdatastore.service ``` untuk memastikan service systemd berjalan jalankan command berikut: ``` systemctl stop arcgisdatastore.service ``` ``` systemctl start arcgisdatastore.service ``` ``` systemctl status arcgisdatastore.service ``` ## service management pada arcgis data store dapat berjalan ![image](/attachments/ad822248-e4bb-4a45-ba98-f00213e7bce6)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.