I have experienced WIFI connection problems when using GlobalProtect VPN app on IPAD.
When I ran GlobalProtect's Sign Out to finish using the VPN, the WIFI icon was turned off, and there was a problem that I couldn't browse the Internet after that.
Here is how to use the workaround for this problem.
instruction :
At first, the VPN is connected.
Obviously, WIFI and VPN icon is enabled.
GlobalProtect VPN and WIFI are ON
Now, If you want to VPN off normally,try 1st,Setting > General > VPN > Status --> try to turn "ON/OFF" how to disconnect the VPN - 1try 2nd, if WIFI icon does not appear,
일반적으로 윈도우OS에서는 nslookup을 쓰고, linux계열 OS에서는 dig 명령을 쓴다.
(따로 프로그램을 설치하면 윈도우에서도 dig 명령 쓸 순 있지만)
어떤 옵션을 쓸 수 있는지 알아보자
우선, 확인 가능한 dns의 record type을 알아보자.
# 가장 많이 사용하는 top 10 dns record type 목록
o Address Mapping record (A Record) - also known as a DNS host record, stores a hostname and its corresponding IPv4 address.
o IP Version 6 Address record (AAAA Record) - stores a hostname and its corresponding IPv6 address.
o Canonical Name record (CNAME Record) - can be used to alias a hostname to another hostname. When a DNS client requests a record that contains a CNAME, which points to another hostname, the DNS resolution process is repeated with the new hostname.
o Mail exchanger record (MX Record) - specifies an SMTP email server for the domain, used to route outgoing emails to an email server.
o Name Server records (NS Record) - specifies that a DNS Zone, such as “example.com” is delegated to a specific Authoritative Name Server, and provides the address of the name server.
o Reverse-lookup Pointer records (PTR Record) - allows a DNS resolver to provide an IP address and receive a hostname (reverse DNS lookup).
o Certificate record (CERT Record) - stores encryption certificates—PKIX, SPKI, PGP, and so on.
o Service Location (SRV Record) - a service location record, like MX but for other communication protocols.
o Text Record (TXT Record) - typically carries machine-readable data such as opportunistic encryption, sender policy framework, DKIM, DMARC, etc.
o Start of Authority (SOA Record) - this record appears at the beginning of a DNS zone file, and indicates the Authoritative Name Server for the current DNS zone, contact details for the domain administrator, domain serial number, and information on how frequently DNS information for this zone should be refreshed.
Oracle DBMS vs AWS RDS Oracle, It is slightly different how to manage. AWS RDS can't handling the DBMS system files and configuration files of DBMS. So, AWS prepared already option configurations how to change DBMS options.
Today, I will try to upgrade RDS Oracle 11 to RDS Oracle 19 with minimizing downtime. The overall flow goes like this.
step 1. Check the version of RDS DB Engine step 2. Take snapshot backup of RDS Oracle 11 step 3. Build new RDS Oracle 11 using Snapshot step 4. Prepare option set for RDS Oracle 19 step 5. Upgrade to Oracle 19
Now, let's follow the flow.
step 1. Check the version of RDS DB Engine
You can see the version of RDS DB Engine in the "Configuration" Tab.
check the versiion of RDS DB Engine
step 2. Take snapshot backup of RDS Oracle 11
Select "(1) Action - (2) Take snapshot"
take snapshot backup of RDS
Enter "(1) Snapshot name" you choose and clieck and run "(2) Take Snapshot".
insert new snapshot name and do it
The processing time is different for each data capacity, generally takes about 15 ~20 minutes or more.
After then, you can see the new snapshot image in the "(1) Snapshot" menu.
result of snapshot
step 3. Build new RDS Oracle 11 using Snapshot
"(1) Select your snapshot name" and do "(2) Action - Restore snapshot".
Restore snapshot
And then, (1) Select profer Engine and License. (2) Enter new "DB Instance identifier". This is the unique key that identifies a DB Instance. This parameter isn't case sensitive.
Enter "Initial database name' in the Additionan configuration area. And the rest of the setting values use default values. After then click and Run "Restore DB Instance".
Additional configuration of RDS
It also takes about 15 ~20 minutes or more. After then, you can see the new Database in the "Database" menu.
step 4. Prepare option set for RDS Oracle 19
Before the upgrade, it is better to prepare option sets for RDS Oracle 19. Because options and parameter groups used in lower versions may cause compatibility problems in newer versions.
#First , Parameter groups.
In the "(1) Parameter groups" menu, "(2) Create Parameter group",
Parameter groups of RDS
and Select "(3) Parameter group family" - "oracle-se2-19". - I chose 'oracle second edition'. - oracle version 19 currently only supports "oracle-ee-19 (enterprise edition)" and "oracle-se2-19 (second edition 2)". enter "(4) Group name" you choose, and "(5) Create".
Create paramenter group of RDS
The parameter group is created immediately.
parameter groups list of RDS
After then, you can change config parameters you need. For example, I'm using version 11 of sqlclient in the PC, so I've changed sqlclient support version. If you do not change this, you can not access DB using sql-client. In the "newver-param-group-19", click "(1) Edit parameters" and search "(2) sqlnet.allowed". And next, "(3) change version numbers" and click "(4) Save changes".
change sqlclient support version
#Second , Option groups. RDS will use GMT-0 timezone as default. You have to create group first and change to you time-zone, if you need.
In the "(1) Option groups" menu, click "(2) Create group".
create Option groups of RDS
And, enter "(3) name and (4) Description", and select "(5) Engine and (6) version", and then click "(7) Create".
create option group of RDS
And next, click the name of option group, and "Add option"
option groups of RDSoption groups of RDS
Select (1) option name "time-zone" and chose your (2) time-zone name.
add option group of RDS
(3) Apply changes immediately or wait until the next scheduled maintenance window. Note: Any subsequent Option Group modifications where Apply Immediately is checked will cause any prior queued modifications to also apply immediately. (4) click "Add option" and click again.
add option group of RDS
Now, you are ready to upgrade.
step 5. Upgrade to Oracle 19
You can upgrade in the Modify menu.
Modify RDSupgrade RDS version of oracle 11 to Oracle 19
You can be specified your options in the Modify menu. Change "DB engine version", Select "DB parameter group" and "Option group". And the rest options can change if you need.
- 체계에서, "인터넷 경계"는 외부 사용자 대상의 웹 인터넷 서비스용, "내부"는 말 그대로 내부망(사설망)에서 시스템들간 요청 처리용도
- 인증서 등록 위해 "리스너 추가" 클릭하고 "HTTPS" 선택
ELB에 인증서 추가
- 가용영역은, 로드밸런싱할 EC2 host들이 포함된 모든 subnet을 선택해준다. 복수개 subnet 선택이 필수.
- 추가 서비스는, http/https 가속(액셀러레이터) 기능을 추가할 경우 선택 (요금추가)
ELB에 인증서 추가
설정 2단계 보안 설정 구성 : 기본 인증서 선택, 보안정책 선택
- 인증서 유형에서, 기존 AWS에 등록해둔 인증서가 있다면 "선택" 항목에서 선택하면 되고 신규 등록이라면 "업로드"항목을 선택하고, 빈칸에 맞는 인증서 텍스트를 복사해서 붙여준다.
ELB에 인증서 추가
인증서에서 복사할 텍스트 내용은 "-----BEGIN CERTIFICATE-----" 부터 "-----END CERTIFICATE-----"까지 포함한 텍스트를 붙여 넣어야한다.
* 주의할 점은, 인증서 발급회사마다 제공하는 파일이 조금씩 다른데, 예1) 프라이빗키(***_key.pem), 인증서본문(***_crt.pem), 인증서체인(***_chain**.pem) 파일을 각각 분리하여 제공하는 업체가 있는데, 이 경우는 각 파일을 열어서 텍스트를 붙여주면 된다.
ELB에 인증서 추가 예1
예2) 프라이빗키파일(***_key.pem) + 인증서본문과 체인이 결합된 파일(***_crt.pem)로 제공하는 업체가 있다. 이 경우는 위 그림처럼 각 부분을 잘라서 붙여주면 된다.
ELB에 인증서 추가 예2
- 보안정책 선택에서는, 어떤 프로토콜(SSL, TLS1.0, TLS1.1, TLS1.2 등)을 사용할지 Preset을 선택하는 부분이다. TLS 1.1과 TLS 1.2를 같이 선택하려면 아래와 같이 하면 되고,
SK브로드밴드 기본 : 221.139.13.130, 보조 : 210.94.0.73 KT 기본 : 168.126.63.1, 보조 : 168.126.63.2 LG 유플러스 기본 : 164.124.101.2, 보조 : 203.248.252.2 구글 기본 : 8.8.8.8, 보조 : 8.8.4.4 클라우드플레어 기본 : 1.1.1.1, 보조 : 1.0.0.1
DNS 서버 주소는, 이 시스템이 domain 주소로 어떤 정보를 이용할 때 쓰이는 정보로, 이 시스템이 사용하는 인터넷회선 사업자 또는 IDC사업자가 추천하는 정보를 이용하면 되고, 모른다면 위 정보중에서 선택하여 이용하면 됩니다.
2.3/etc/sysconfig/network-scripts/ifcfg-eth0 파일 설정
네트워크 인터페이스 장치명에 네트워크 정보를 설정하는 파일입니다. 장치명은 시스템에 따라, eth0, eth1, encap1, encap2 등 다양한 형태로 표시될 수 있으니, 먼저 네트워크 인터페이스 이름을 확인해두어야 합니다.
그리고, BROADCAST, NETMASK, NETWORK, IP ADDRESS 정보가 맞게 설정되어야 정상적인 IP 통신이 가능합니다.
시스템에 등록된 이더넷 설정파일들은 /etc/sysconfig/network-scripts/ 디렉토리 내에 있습니다.
네트워크 인터페이스 이름을 모른다면, 아래 명령들중에서 가능한 것으로 확인할 수 있습니다.
# nmcli d DEVICE TYPESTATECONNECTION eth0ethernetconnectedsystem eth0 loloopbackunmanaged--
웹어플리케이션 서버는 apache를 이용하지만, 인증서 설정은 bitnami 환경설정에 작성해야 한다.
절차는,
1. 인증서 파일을 특정위치에 업로드/복사
- 업로드/복사 방법은 scp, ftp, wget 등의 방법을 활용할 수 있겠다. 자세한 방법은 생략한다.
2. bitnami.conf 파일에 인증서파일 위치를 지정
- https를 사용할테니, 443 설정부분에 SSL...예제설정이 들어있는데, 이 부분을 수정해준다.
$ sudo vi /opt/bitnami/apache2/conf/bitnami/bitnami.conf
# bitnami.conf
...
<VirtualHost _default_:443>
DocumentRoot "/opt/bitnami/apache2/htdocs"
SSLEngine on
# SSLCertificateFile "/opt/bitnami/apache2/conf/server.crt" // --> 예제설정을 comment 처리
# SSLCertificateKeyFile "/opt/bitnami/apache2/conf/server.key" // --> 예제설정을 comment 처리
SSLCertificateFile "/opt/bitnami/apache2/conf/www.doremifa.com_crt.pem" // --> crt 파일 등록
SSLCertificateKeyFile "/opt/bitnami/apache2/conf/www.doremifa.com_key.pem" // --> key 파일 등록
SSLCACertificateFile "/opt/bitnami/apache2/conf/www.doremifa.com_fullchain.pem" // --> chain 파일 등록
// 패스워드없는 인증서의 경우에는 chain 파일 등록이 필요없을 수도 있다
...
3. apache 재시작
$ sudo /opt/bitnami/ctlscript.sh restart apache
4. 확인
- https 도메인 주소를 웹브라우저에서 열었을 때, 주소창 옆에 자물쇠모양(secured mark)이 표시되면 정상