This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------ Uninstalling IBM MQ on Linux | |
1. Stop toàn MQ applications | |
login với user trong group mqm | |
stop toàn bộ các QM và listner tương ứng của QM đang running | |
#. MQ_INSTALLATION_PATH/bin/setmqenv -s | |
#dspmq -o installation -s | |
#endmqm QMgrName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show all các QM | |
#dspmq -o installation -s | |
Tạo QM | |
#crtmqm QMA | |
Start/Stop QM | |
#strmqm QMA | |
#endmqm QMA | |
Các lệnh thao tác trên môi trường MQSC | |
#runmqsc QMA --start MQSC | |
#end --stop MQSC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------- Setting up a command environment | |
#. install_dir/server/bin/mqsiprofile | |
NOTE: | |
- để run các command mqsi* thì bắt buộc phải chạy mqsiprofile để init environment. | |
- workpath của IIB sau khi cài là /var/mqsi/. Chứa toàn bộ các config và resource được deploy xuống integration node/server. | |
--------- kiểm tra phiên bản, verify node | |
#./iib version | |
or | |
#mqsiservice -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------+ | +----------------------+ | |
| [ NFS Server ] | 192.168.146.128 | 192.168.146.129 | [ NFS Client ] | | |
| iib01 +-----------------+-----------------+ iib02 | | |
| | | | | |
+----------------------+ +----------------------+ | |
NOTE: | |
NFS chỉ hỗ trợ đồng bộ một chiều từ Client --> Server. | |
Step 1,2,3 thực hiện đồng thời trên NFS Server/Client | |
1. Install NFS trên cả server/client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. xóa đi nếu có | |
#mqsideleteconfigurableservice IBNODE1 -c JDBCProviders -o ABB_DB | |
2. Tạo JDBCProviders với tên và các tham số tương ứng cho từng db | |
#mqsicreateconfigurableservice IBNODE1 -c JDBCProviders -o ABB_DB -n type4DatasourceClassName,type4DriverClassName,databaseType,jdbcProviderXASupport,portNumber,connectionUrlFormatAttr5,connectionUrlFormatAttr4,serverName,connectionUrlFormatAttr3,connectionUrlFormatAttr2,connectionUrlFormatAttr1,environmentParms,maxConnectionPoolSize,description,jarsURL,databaseName,databaseVersion,securityIdentity,connectionUrlFormat,databaseSchemaNames -v "oracle.jdbc.xa.client.OracleXADataSource","oracle.jdbc.OracleDriver","Oracle","true","1521","","","192.168.2.106","","","orcl","default_none","20","default_Description","/opt/ibm/iib/lib","default_Database_Name","default_Database_Version","default_User@default_Server","jdbc:oracle:thin:[user]/[password]@[serverName]:[portNumber]:[connectionUrlFormatAttr1]","useProvidedSchemaNames" | |
NOTE: Ta có thể lấy các đối số của |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=on)(CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.32.11.44)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.32.11.45)(PORT=1521)))(CONNECT_DATA=(SERVER=share)(SERVICE_NAME=pdb1))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## Spring Boot Actuator 1.5.2 | |
## Overview | |
- là một sub-project của spring boot, và chỉ sử dụng với ứng dụng spring boot | |
- cung cấp một số features cho giúp monitor và manage ứng dụng spring boot. | |
- có thể sử dụng HTTP Endpoints, JMX, Remote shell ( SSH or Telnet) để thực hiện monitor và manage | |
## Features: các tính năng sẽ tự động được apply vào ứng dụng spring boot | |
+ Endpoints: eg health information | |
+ Audit | |
+ Metrics: Thực hiện đo và đếm các thông tin system, http request .... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"timestamp": 1491753977762, | |
"status": 400, | |
"error": "Bad Request", | |
"exception": "org.springframework.web.bind.MethodArgumentNotValidException", | |
"errors": [ | |
{ | |
"codes": [ | |
"NotBlank.loginRequest.password", | |
"NotBlank.password", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ Restful API Versioning | |
1. URL based | |
/v1/users | |
/v2/users | |
2. Custom HTTP header | |
make request /v1/users with custome request header: | |
X-API-Version: 1.0 | |
X-API-Version: 2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### https://transmissionbt.com/ | |
### https://github.com/transmission/transmission/wiki/Configuration-Files | |
### https://github.com/transmission/transmission/wiki/Editing-Configuration-Files | |
### bao gồm | |
1. transmission-daemon: dạng service | |
systemctl start transmission-daemon.service | |
systemctl enable transmission-daemon.service | |
help: | |
#transmission-daemon --help |