프로그램 사용/squid2019. 2. 14. 13:36

정규표현식 문제인지 영 캐시가 잘 안되는 것 같아서

캐시율이 높아야 10% 정도 나오는것 같아서 좀 더 높이는 법을 찾는 중..


[링크 : http://squid-web-proxy-cache.1019090.n4....optimising-caching-or-increasing-hit-ratio-td4681591.html]

[링크 : http://muliantophang.blogspot.com/2013/09/optimize-squid-caching-hit-rate.html]

[링크 : https://aacable.wordpress.com/tag/squid-maximum-cache-hit/]

'프로그램 사용 > squid' 카테고리의 다른 글

squid access log 종류..  (2) 2019.02.17
mrtf centos  (0) 2019.02.14
squid 비디오 차단  (0) 2019.02.13
squid 윈도우 업데이트 캐싱  (0) 2019.02.13
squid cache 정책  (0) 2019.02.13
Posted by 구차니

ftp나 http로 업데이트도 가능한데 이경우 iDRAC에 DNS를 설정해주어야 한다.

다른 펌웨어들 까지 전부 끌어와서 편하긴 한데 검색에 오래 걸리는게 흠


2. Update the firmware from FTP or HTTP source

After logging into the iDRAC interface, navigate to the update menu

iDRAC 9: Maintenance → System Update. 
iDRAC 8: Overview → iDRAC Settings → Update and Rollback.

The firmware update page will be displayed. After selecting "FTP" in the file location enter the following settings:

FTP address: ftp.dell.com 
Catalog location: catalog 
Catalog File Name: catalog.xml.gz

It is also possible to use the HTTP method if the FTP method is not responding properly.

HTTP address is : downloads.dell.com 

[링크 : https://www.dell.com/...firmware-via-idrac-using-the-ftp-or-http-option-?lang=en]


+

HTTP로 하면 먼가 뜨긴 하는데 업데이트 실패하고 막 그러네.. 짜증나는 구만 ㅠㅠ


'하드웨어 > Server Case & board' 카테고리의 다른 글

iDRAC 에러 메시지 제거  (0) 2019.02.26
dell cable management  (0) 2019.02.25
Dell EMC iDRAC Service Module 3.2.0.1 (For Linux)  (0) 2019.02.14
관리 페이지를 이용한 idrac update  (0) 2019.02.14
idrac virtual console  (0) 2019.02.13
Posted by 구차니

다운로드 받아서 gzip - tar로 압축풀고 ./setup.sh으로 실행하니 

사용동의서 묻고 나서 아래와 같은 화면이 뜬다.

#################################################


  OpenManage || iDRAC Service Module


#################################################



    Available feature options:


   [x] 1. Watchdog Instrumentation Service

   [x] 2. LifeCycle Log Information

   [x] 3. Operating System Information

   [ ] 4. iDRAC access via Host OS

           [ ] a. Access via GUI, WS-man, Redfish, Remote Racadm

           [ ] b. In-band SNMP Traps

           [ ] c. Access via SNMP Get

       5. iDRAC Hard Reset

       6. Support Assist

       7. Full Power Cycle

   [ ] 8. All Features



  Enter the number to select/deselect a feature from the above list.

                ( multiple feature selection should be comma separated)

                ( to select sub-features, please use 4.a,4.b, etc.)

  Enter q to quit.


  Enter :

기본으로는 iDRAC access  via Host OS는 빠지는것 같은데

테스트 해보고 싶은게 그거라 일단 All features를 추가

#################################################


  OpenManage || iDRAC Service Module


#################################################



    Available feature options:


   [x] 1. Watchdog Instrumentation Service

   [x] 2. LifeCycle Log Information

   [x] 3. Operating System Information

   [x] 4. iDRAC access via Host OS

           [x] a. Access via GUI, WS-man, Redfish, Remote Racadm

           [x] b. In-band SNMP Traps

           [x] c. Access via SNMP Get

       5. iDRAC Hard Reset

       6. Support Assist

       7. Full Power Cycle

   [x] 8. All Features



  Enter the number to select/deselect a feature

        ( multiple feature selection should be comma separated)

                ( to select sub-features, please use 4.a,4.b, etc.)

  Enter i to install the selected features.

  Enter q to quit.


  Enter : 


설치를 누르니 으앙.. 예상하지 못한 질문이 뿜뿜 -_ㅠ

  Enter : i

경고: /root/downlaod/RHEL7/x86_64/dcism-3.2.0-1234.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 34d8786f: NOKEY

준비 중...                         ################################# [100%]

Updating / installing...

   1:dcism-3.2.0-1234.el7             ################################# [100%]


Enter a valid port number for iDRAC access via Host OS or Enter to take default port number: 


아몰랑 걍 넘어갈래 하고 기다리면서 눌러보니

Enter a valid port number for iDRAC access via Host OS or Enter to take default port number:



Do you want the services started?




   Press ('y' for yes | 'Enter' to exit): y

  Checking for iSM communication with iDRAC...

    Waiting...                  ######################### 


음.. 원래는 이렇게 뜨면서 안되던게


이런식으로 무언가 뜨긴 한데.. 근데 좀더 상세한 제어가 되는줄 알고 설치한건데 좀.. 실망이네?


아무튼 기다리는 동안 이런식으로 설치완료~ 라고 뜨긴 한다.

[링크 : https://www.dell.com/support/home/us/en/04/drivers/driversdetails?driverid=gh8r3]


+

고작(?) OS와 OS 버전 두개 더 잘 뜨는건가?!


'하드웨어 > Server Case & board' 카테고리의 다른 글

dell cable management  (0) 2019.02.25
idrac update via FTP  (0) 2019.02.14
관리 페이지를 이용한 idrac update  (0) 2019.02.14
idrac virtual console  (0) 2019.02.13
dell quick sync  (0) 2019.02.13
Posted by 구차니

현재 사용중인 버전은 R730 / 2.43.43.43(응?)


iDRAC Settings - Update and Rollback에서 다운로드 받은 EXE를 올리면 되는건가?


일단은 다운로드 완료 라고 뜨고 하단에 install을 누르라는데


일단 잡 큐에 뜬다는데 모르겠네


근데 아무생각없이 OK 하는 바람에 위치를 못 찾고 헤매다가 다시 업데이트 오니 이런 경고가 뜬다. 이런 -_-


안돌아가는 머리 굴리다가 막 눌러보니 Server 페이지에 Job Queue 발견!


한 8분 기다리니 뜨네


일단은.. 버전이 올라가긴 했네


[링크 : https://www.dell.com/...-idrac-correctly-to-solve-memory-hdd-power-and-...?lang=en]

[링크 : https://www.dell.com/.../dell-poweredge-idrac를-통한-원격-펌웨어-업데이트-방법?lang=ko#idrac78]


+

헐.. 완전 구버전에서 올려서 그런건가? critical로 뜨네.. 기준이 머지?


'하드웨어 > Server Case & board' 카테고리의 다른 글

idrac update via FTP  (0) 2019.02.14
Dell EMC iDRAC Service Module 3.2.0.1 (For Linux)  (0) 2019.02.14
idrac virtual console  (0) 2019.02.13
dell quick sync  (0) 2019.02.13
dell power edge 베이 확장  (0) 2019.02.13
Posted by 구차니

아 망할 selinux 

smb에서 공유 디렉토리 이름에는 들어가는데 아무것도 안나오고

파일을 올리지 못할때에는 selinux가 탓이다!!!!! 법규!!!


아무튼 아래와 같이 명령을 주면 임시로 설정하는 건데 굳혀버릴려면 -P를 주고 하면 된다

(일단 테스트 였으니...)

# setsebool samba_export_all_rw 1 


아래는 명령어로 조회해 본 설정값(centos 7 기본 설정인듯)

[root@localhost ~]# getsebool -a | grep samba

samba_create_home_dirs --> off

samba_domain_controller --> off

samba_enable_home_dirs --> off

samba_export_all_ro --> off

samba_export_all_rw --> off

samba_load_libgfapi --> off

samba_portmapper --> off

samba_run_unconfined --> off

samba_share_fusefs --> off

samba_share_nfs --> off

sanlock_use_samba --> off

tmpreaper_use_samba --> off

use_samba_home_dirs --> off

virt_use_samba --> off


[root@localhost ~]# getsebool -a | grep smb

smbd_anon_write --> off


[root@localhost ~]# getsebool -a | grep nmb

[root@localhost ~]# 

[링크 : https://wiki.centos.org/HowTos/SetUpSamba]


도움말 찾아 write 로 검색하니 똭!

If you want to allow samba to share any file/directory read/write, you must turn on the samba_export_all_rw boolean.


setsebool -P samba_export_all_rw 1 

[링크 : https://linux.die.net/man/8/smbd_selinux]



+

서버 접속해보니 SETroule 세부 정보로 해서 무언가 뜨고

거기서 이런걸 해제하라고 추천도 해주네.. 오오 좋은 세상이야


Posted by 구차니
Linux/centos2019. 2. 13. 19:08

오늘도 여전히(?) selinux가 날 잡는군 -_-


[링크 : https://wiki.centos.org/HowTos/SetUpSamba]

[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=18219476]


firewall-cmd --permanent --zone=public --add-service=samba

firewall-cmd --reload 

[링크 : https://www.manualfactory.net/10439] 방화벽

[링크 : https://www.manualfactory.net/10153]

'Linux > centos' 카테고리의 다른 글

centos timezone 변경  (2) 2019.02.23
svn on centos  (0) 2019.02.22
centos backup  (0) 2019.02.13
centos epel 저장소 추가  (0) 2019.02.13
KVM spice 원격 접속시 No route to host  (0) 2019.01.28
Posted by 구차니
Linux/centos2019. 2. 13. 17:34

'Linux > centos' 카테고리의 다른 글

svn on centos  (0) 2019.02.22
smb on centos  (0) 2019.02.13
centos epel 저장소 추가  (0) 2019.02.13
KVM spice 원격 접속시 No route to host  (0) 2019.01.28
yum checkupdate  (0) 2019.01.25
Posted by 구차니
Linux/centos2019. 2. 13. 17:13

귀찮구먼...


-------------- For RHEL/CentOS 7 --------------

# wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm

# rpm -ihv epel-release-7-11.noarch.rpm  

[링크 : http://wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm]


+

2019.04.22

위에거는 복잡하니 아래것만 외우자? ㅋ

$ sudo yum -y install epel-release 

[링크 : http://cheapwindowsvps.com/blog/how-to-install-htop-on-centos-7/]

'Linux > centos' 카테고리의 다른 글

smb on centos  (0) 2019.02.13
centos backup  (0) 2019.02.13
KVM spice 원격 접속시 No route to host  (0) 2019.01.28
yum checkupdate  (0) 2019.01.25
centos 서비스 등록하기  (0) 2018.12.03
Posted by 구차니
하드웨어/RAID2019. 2. 13. 17:00

10K SAS RAID5 구성한 녀석(PERC H730P mini 였나? + 1G cache)

의외로 성능이 잘 나온다고 해야하려나? 아무튼 몇번에 대해서는 순간 1GB/s 나오는거 보고 깜놀


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=1G count=1 oflag=direct

1073741824 bytes (1.1 GB) copied, 0.968236 s, 1.1 GB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=1M count=1024 oflag=direct

1073741824 bytes (1.1 GB) copied, 0.877165 s, 1.2 GB/s

1073741824 bytes (1.1 GB) copied, 1.67205 s, 642 MB/s

1073741824 bytes (1.1 GB) copied, 1.64823 s, 651 MB/s

1073741824 bytes (1.1 GB) copied, 1.70338 s, 630 MB/s

1073741824 bytes (1.1 GB) copied, 1.67719 s, 640 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=1G count=1 oflag=direct

1073741824 bytes (1.1 GB) copied, 0.981585 s, 1.1 GB/s

1073741824 bytes (1.1 GB) copied, 1.86161 s, 577 MB/s

1073741824 bytes (1.1 GB) copied, 1.83748 s, 584 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=512 count=1024 oflag=direct

524288 bytes (524 kB) copied, 0.0448593 s, 11.7 MB/s

524288 bytes (524 kB) copied, 0.0444185 s, 11.8 MB/s

524288 bytes (524 kB) copied, 0.0448892 s, 11.7 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=512 count=102400 oflag=direct

5242880 bytes (5.2 MB) copied, 0.359296 s, 14.6 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=4096 count=102400 oflag=direct

52428800 bytes (52 MB) copied, 2.87847 s, 18.2 MB/s


[root@localhost home]# dd if=/dev/zero of=/home/testfile bs=4096 count=102400 oflag=direct
419430400 bytes (419 MB) copied, 3.62074 s, 116 MB/s
419430400 bytes (419 MB) copied, 3.60996 s, 116 MB/s


[링크 : https://www.thomas-krenn.com/en/wiki/Linux_I/O_Performance_Tests_using_dd]

'하드웨어 > RAID' 카테고리의 다른 글

RAID 1+0 구성과 span  (0) 2019.02.19
R730 PERC RAID-0 vs RAID-5  (0) 2019.02.15
PowerEdge RAID Controller - PERC  (0) 2019.02.12
512b vs 4k sector HDD (Advanced Format - AF)  (0) 2019.02.12
SAS  (0) 2013.11.12
Posted by 구차니
프로그램 사용/squid2019. 2. 13. 16:30

'프로그램 사용 > squid' 카테고리의 다른 글

mrtf centos  (0) 2019.02.14
squid cache hit rate 올리기  (0) 2019.02.14
squid 윈도우 업데이트 캐싱  (0) 2019.02.13
squid cache 정책  (0) 2019.02.13
squid log format  (0) 2019.02.13
Posted by 구차니