rsync 소유자 및 권한 그대로 복사 원본 서버의 계정이 복사되는 서버에 존재해야 함 /etc/passwd group shadow결국 원본서버와 복사받는서버간 필요로 하는 계정의 UID, GID가 동일 해야함 몇개의 계정만 마추는 경우 (아래 명령어로 함) usermod -u UID 계정이름 groupmod -g GID 계정이름계정과 연결된 홈디렉토리의 변경이 발생함 chown 계정.계정 -R 홈디렉토리 작업후 홈디렉토리도 다시 변경해주는것이 좋음 rsync 서비스 포트를 사용하지 않는다면 openssh 설정에서 root 접근 가능하게 해야함 /etc/ssh/sshd_config PermitRootLogin yesrsync rsync -avz root root 계정으로 avz 옵션을 사용하여 복사
DB 리플리케이션 초기 발생 에러 The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).서버간 server_id 가 동일해서 발생함 # 각 노드에서 sever_id 확인 node1 mysql> SHOW GLOBAL VARIABLES LIKE 'server_id'..