2018. 3. 21. 09:49

인터페이스 노드의 ICU가 PI 서버에 대해 ‘Read-Only’ 권한밖에 없는 경우 해결 방법


보통 ICU가 서버에 해당 인터페이스를 설치할 때에는 서버 내 Module database라는 곳에 등록을 하여 관리함

이를 하기 위하여서는 ICU가 서버 내 Module Database에 대한 쓰기 권한이 있어야 함.

 


해결방법

1. 일시적으로 해당 노드의 ICU에 권한을 높이시고 인터페이스 추가를 다시 해보는 방법

2. ICU가 사용하는 PI Trusts에 module database에 대한 쓰기 권한 부여.

   해당 권한은 PI-SMT > Operation > Security > Database Security 에서 부여함.



Posted by 까망후니
2018. 3. 19. 13:10

경로는 각 서버에 설치된 경로를 따른다. 기본 경로로 설명한다.


백업은 크게 2가지 프로세스로 이루어져있다.

1. PI Archive 전체 백업

2. 전체 백업후 매일 자동 증가분 백업


[전체 백업 방법]

1. CMD 창에서 C:\Program Files\PI\adm 이동

2. pibackup.bat [백업경로 F:\PIBackup] -type FULL -arcdir -wait

3. 1차 백업 중~

4. 백업 경로 또는 SMT를 이용하여 백업 파일을 확인


[자동 백업 방법]

1. CMD 창에서 C:\Program Files\PI\adm 이동

2. pibackup [백업경로 F:\PIBackup] -install

3. Task Scheduler 실행

4. 백업 스케줄이 정상적으로 등록되었는지 확인




Posted by 까망후니
2018. 1. 19. 15:16

1- Use ICU


2- Use -install from the command prompt (use in non-cluster setups)

Create :

C:\>Program Files\PIPC\Interfaces\Example\Interface.exe -install -display "Display Name"

-serviceid "Service ID" -depend "servicename1 servicename2 etc" -auto

Remove :

C:\>Progam Files\PIPC\Interfaces\Example\Interface.exe -remove -serviceid "Service ID"


3- Use SC from the command prompt

Create : 

C:\>sc create "Service Name" binpath= "C: \Progam Files\PIPC\Interfaces\Example\Interface.exe ServiceID" depend= "servicename1/servicename2/etc" DisplayName= "Display Name" start= "auto"

Config Update : 

C:\>sc config "Service Name" option= "New Value"

Remove : 

C:\>sc delete "Service Name"


[참고 : https://techsupport.osisoft.com/Troubleshooting/KB/KB00324 ]

'4차산업혁명 > PI System' 카테고리의 다른 글

I/F Readonly 수정 방법  (0) 2018.03.21
PI System Backup 설정 방법  (0) 2018.03.19
[PI Vision] PI Web API 경로 변경  (0) 2018.01.19
PI Data Insert  (0) 2017.12.20
[PI System] Softbank 투자  (0) 2017.11.14
Posted by 까망후니
2018. 1. 19. 11:49

%pihome64%\PIVision

web.config 안에 설정 변경내용 있음.

'4차산업혁명 > PI System' 카테고리의 다른 글

PI System Backup 설정 방법  (0) 2018.03.19
Windows Service 등록 방법  (0) 2018.01.19
PI Data Insert  (0) 2017.12.20
[PI System] Softbank 투자  (0) 2017.11.14
PI 서버 보호를 위한 7가지  (0) 2017.10.25
Posted by 까망후니
2017. 12. 20. 18:09

[참조: https://github.com/osisoft/PI-AF-SDK-Basic-Samples/tree/master/ExamplesLibrary/WriteValuesExample ]


 PIServers piServers = new PIServers();

            PIServer piServer = piServers[piServerInfo]; //piServerInfo : PI 서버 IP 또는 도메인 정보


            IList<PIPoint> points = PIPoint.FindPIPoints(piServer, new[] { "cdt158"});


            PIPoint floatingPIPoint = points[0];

            

            IList<AFValue> valuesToWrite = new List<AFValue>();


            for (int i = 0; i < 10; i++)

            {

                AFTime time = new AFTime(new DateTime(2017, 1, 1, 0, 0, i, DateTimeKind.Local));


                AFValue afValueFloat = new AFValue(i, time); //값, 시간

                

                afValueFloat.PIPoint = floatingPIPoint;

                

                valuesToWrite.Add(afValueFloat);

                

            }


            piServer.UpdateValues(valuesToWrite, AFUpdateOption.InsertNoCompression, AFBufferOption.BufferIfPossible);

'4차산업혁명 > PI System' 카테고리의 다른 글

Windows Service 등록 방법  (0) 2018.01.19
[PI Vision] PI Web API 경로 변경  (0) 2018.01.19
[PI System] Softbank 투자  (0) 2017.11.14
PI 서버 보호를 위한 7가지  (0) 2017.10.25
AF의 MSSQL 접속 정보 수정  (0) 2017.10.25
Posted by 까망후니
2017. 11. 14. 10:27

[펌] http://www.itnews.or.kr/?p=22191

소프트뱅크(SoftBank)가 PI System 시스템을 제공하고 실시간 데이터, 이벤트 인프라를 제공하는 산업 소프트웨어 제조사 OSI소프트(OSIsoft, LLC)에 투자했다.

지난달 31일(현지시간) OSI소프트 보도자료에 따르면, 소프트뱅크의 이번 투자는 정보 혁명의 다음 단계를 위한 기반을 마련할 회사에 투자하려는 계획의 일부라고 밝혔다. 소프트뱅크의 투자 금액은 아직 밝혀지 않았으나 외신들은 수억 수천만 달러에 달하며 OSI소프트의 가치 평가는 수십억 달러에 이른다고 전했다.

1980년에 설립된 OSI소프트는 미국 캘리포니아주에 본사를 두고 있으며, 석유, 가스, 유틸리티, 광업, 펄프, 제지, 물, 선박, 화학 보일러, 발전소 등 산업용 사물인터넷 데이터 수집 및 관리 소프트웨어 'PI 시스템'을 개발·판매하는 회사다. PI 시스템은 각종 중요 생산 설비, 장비에서 발생하는 시계열 데이터(operational data)와 ERP, MES, EAM, RDBMS 상의 비즈니스 데이터를 결합, 중요 의사 결정에 쓰일 수 있는 정보 형태로 가공해 준다.

소위 말하는 ‘산업 사물인터넷(Industrial Internet of Things)’의 주요 소프트웨어 개발회사로 매년 약 4억 달러(약 4,500억 원) 매출을 올리고 있다. 

관련 시장은 2021년까지 1,200억 달러(약 135조 원)에 달할 것으로 예상되는 가운데, 그동안 세계 최대 산업 기업들인 GE(General Electric)에서 지멘스(Siemens)에 이르기까지 비용을 줄이고 공급망을 개선하기 위해 소프트웨어를 제조 분야에 통합하는 작업을 해 왔다. 그 결과 이들 기업들은 관련 산업에서 눈에 띠는 성과를 내고 있다.


최근 산업용 소프트웨어 분야는 굵직한 인수합병으로 재편되고 있다. 지난해 GE는 산업사물인터넷(IIoT) 운영체제인 프레딕스(Predix)를 공개하며, 유지보수 및 기타 서비스를 모니터링하는 서비스맥스(ServiceMax)를 9억1500만 달러(약 1조300억 원)에 인수하고, 이어 메리디움(Meridium), 와이즈아이오(Wise.io) 등 관련 산업용 소프트웨어 업체들을 인수해 센서와 클라우드 기반 알고리즘을 첨단 현장기술과 결합하고 있다.

헬스케어, 인프라, 에너지 등 제조업 회사에 장비 및 서비스를 제공하는 기업이자 미국 제조업 경기의 바로미터인 로퍼 테크놀러지(Roper Technologies)는 미국 전문 서비스기업과 정부조달기업용 소프트웨어 제공업체 델텍(Deltek)을 28억 달러(약 3조 1,500억 원)에 인수했다.

사물인터넷(Internet of Things) 분야에 집중적으로 투자하고 있는 소프트뱅크 설립자이자 CEO인 마사요시 손(Masayoshi Son)은 지난해 사물인터넷 분야에서 고속 성장하고 있는 영국 반도체 설계회사 ARM을 234억 파운드(약 35조원) 현금으로 인수했다. 이번에는 산업용 사물인터넷 소프트웨어 개발회사에 투자했다. 

소프트뱅크의 사물인터넷 전략 중 하드웨어 칩 분야로 ARM을 선택했다면, OSI소프트 투자는 소프트웨어 분야의 중요한 시작으로 볼 수 있다는 점이다. 차세대 사물인터넷 시장이 재편되는 시기에 소프트뱅크의 이번 투자가 중요한 의미로 해석된다. 

[김들풀 기자  itnews@itnews.or.kr]

'4차산업혁명 > PI System' 카테고리의 다른 글

[PI Vision] PI Web API 경로 변경  (0) 2018.01.19
PI Data Insert  (0) 2017.12.20
PI 서버 보호를 위한 7가지  (0) 2017.10.25
AF의 MSSQL 접속 정보 수정  (0) 2017.10.25
PI Processbook future tag 보이기  (0) 2017.09.18
Posted by 까망후니
2017. 10. 25. 17:10

https://techsupport.osisoft.com/Troubleshooting/KO/KB/KB00833


1: 최신 버전의 Windows 및 PI Data Archive 구성 요소로 업그레이드

2: PI 사용자 인증(명시적 로그인이라고도 함) 대신 Windows 인증 사용

3: PI trust 인증 대신 Windows 인증 사용

4: piadmin 사용 안 함

5: 인터페이스에 대한 최소 권한 구성

 6: PI Buffer Subsystem의 최신 버전으로 업그레이드하고 Windows 인증 사용

 7: PI ID 매핑에 Windows 그룹 사용



'4차산업혁명 > PI System' 카테고리의 다른 글

PI Data Insert  (0) 2017.12.20
[PI System] Softbank 투자  (0) 2017.11.14
AF의 MSSQL 접속 정보 수정  (0) 2017.10.25
PI Processbook future tag 보이기  (0) 2017.09.18
Future Data - Archive 생성 방법  (0) 2017.08.14
Posted by 까망후니
2017. 10. 25. 13:20

1. C:\Program Files\PIPC\AF 경로의 AFService.exe.config 실행

- 해당 경로는 설치 경로에 따라 다를수 있습니다.

2.  <add key="connectString" value="Persist Security Info=False;Integrated Security=SSPI;server=변경된 SQL 서버 명\변경된 SQL 명;database=PIFD;Application Name=AF Application Server;" />


ex)  <add key="connectString" value="Persist Security Info=False;Integrated Security=SSPI;server=AFServer\SQLEXPRESS;database=PIFD;Application Name=AF Application Server;" />


'4차산업혁명 > PI System' 카테고리의 다른 글

[PI System] Softbank 투자  (0) 2017.11.14
PI 서버 보호를 위한 7가지  (0) 2017.10.25
PI Processbook future tag 보이기  (0) 2017.09.18
Future Data - Archive 생성 방법  (0) 2017.08.14
Coresight Database  (0) 2017.08.14
Posted by 까망후니
2017. 9. 18. 20:17

ProcBook.exe.config 파일 


<startup useLegacyV2RuntimeActivationPolicy="true">

<supportedRuntime version="v4.0.30319"/>

<supportedRuntime version="v2.0.50727"/>

</startup>

'4차산업혁명 > PI System' 카테고리의 다른 글

PI 서버 보호를 위한 7가지  (0) 2017.10.25
AF의 MSSQL 접속 정보 수정  (0) 2017.10.25
Future Data - Archive 생성 방법  (0) 2017.08.14
Coresight Database  (0) 2017.08.14
[PI Interface] Windows Service 등록 방법  (0) 2017.04.17
Posted by 까망후니
2017. 8. 14. 17:44

C:\Program Files\PI\adm>piartool.exe -ac


This procedure will create and register a new archive.

The archive path and optional start/end times or size

may be specified.


WARNING: This will reduce system responsiveness for the duration

of the process. If you do not need to initialize the archive times,

it is more efficient to run 'piarcreate' and then register the new

archive with 'piartool -ar'.



Would you like to create the archive file for the future tags (y/n)? y


Enter the complete path to the new archive: "D:\PI\arc\future\future_test.dat"


You have entered the archive path: "D:\PI\arc\future\future_test.dat"

Is this correct (y/n/q)? y


You must initialize the start and end times for the archive file for the future

tags.


Times must be entered in standard PI Time Format,

for example: 04-Jun-73 10:00:00


Enter the archive start time: 14-AUG-2017 00:00:00


You have entered the start time: 14-Aug-17 00:00:00

Is this correct (y/n)? y



Enter the archive end time: 14-Aug-20 00:00:00


You have entered the end time: 14-Aug-20 00:00:00

Is this correct (y/n)? y



Enter the archive size in MB: 1


You have entered the size: 1MB (1024 records)

Is this correct (y/n)? y


You have requested to create an archive with the attributes:


File Path : "D:\PI\arc\future\future_test.dat"

Start Time: 14-Aug-17 00:00:00

End Time  : 14-Aug-20 00:00:00

File Size : 1MB

Archive   : For Future Tags


Is this correct (y/n)? y


Successfully scheduled the archive creation.

Archive path: "D:\PI\arc\future\future_test.dat".


Check the message log for completion status.



'4차산업혁명 > PI System' 카테고리의 다른 글

AF의 MSSQL 접속 정보 수정  (0) 2017.10.25
PI Processbook future tag 보이기  (0) 2017.09.18
Coresight Database  (0) 2017.08.14
[PI Interface] Windows Service 등록 방법  (0) 2017.04.17
[AFSDK] 잘 사용하는 방법  (0) 2017.04.07
Posted by 까망후니