XenServer

XenServer NAT 설정

1. Intro XenServer NAT 설정시 Host에서 iptables 설정을 한다.   2. How to do? 2.1. Host 설정 xenbr0 IP : Public IP xenbr0:1 IP : Guest의 Gateway로 사용할 IP ex> 10.10.10.1 # 1:N iptables -t nat -A PREROUTING -d [Host IP] -p [tcp/udp] –dport [Port] -j DNAT –to-destination [Guest IP:Port] iptables -t nat -A POSTROUTING […]

Continue Reading
XenServer

yum update 오류

1. Intro XenServer에서 repo를 CentOS로 변경하고 update시 오류나는 경우   2. Solve yum -y install perl yum -y install yum-skip-broken yum –skip-broken update 완전히 해결 안 됨..  

Continue Reading
XenServer

HDD 남는 공간 마운트해서 사용하기

1. Intro XenServer를 설치하면 OS영역은 대략 50GB 정도만 사용한다. 따라서 RAID를 나눌 때 50GB를 OS 영역으로 따로 구분하거나 남는 HardDisk에 OS를 설치하고 남은 공간을 이후에 마운트해서 사용할 수 있다. 후자의 방법으로 남는 공간에 iso 파일을 업로드 하고 sr을 추가해보자.   2. 전제 조건 Disk는 /dev/sda, /dev/sdb 2개가 GPT로 Mount 되어있음. /dev/sda : OS 영역 /dev/sdb […]

Continue Reading
Windows

Windows Alarm using slack

# Windows Startup/Shutdown, Logon/Logoff 시 알람 # Startup/Shutdown gpedit.msc – Computer Configuration – Windows Settings – Scripts (Startup/Shutdown) C:\Windows\System32\curl.exe -X POST –data-urlencode “payload={\”channel\”: \”[#channel]\”, \”username\”: \”[username]\”, \”text\”: \”[text]\”, \”icon_emoji\”: \”:watermelon:\”}” “[Slack api address]” # Logon/Logoff gpedit.msc – User Configuration – Windows Settings – Scripts (Logon/Logoff) C:\Windows\System32\curl.exe -X POST –data-urlencode “payload={\”channel\”: \”[#channel]\”, \”username\”: \”[username]\”, \”text\”: \”[text]\”, […]

Continue Reading
Back To Top