03-24-2016
Looking at the logs is probably a reasonable way (sorry, I'm a PE user).
7 More Discussions You Might Find Interesting
1. Solaris
Has anyone here done this? I'd like to discuss this subject as the patching procedures at my new company are woeful. (2 Replies)
Discussion started by: LittleLebowski
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am trying to instal the puppet. I get this error. Please help..
yum install puppet-server
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirrors.greenmountainaccess.net
* extras: mirror.lug.udel.edu
* updates:... (2 Replies)
Discussion started by: samnyc
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am working on RHEL 5.6 server, this is in private DMZ. No access to internet. I have downloaded the files I need to install the Puppet & Ruby. My goal is to install Puppet. I have downloaded....
mcollective-2.2.3-1.el5.noarch- SERVER.rpm ... (2 Replies)
Discussion started by: samnyc
2 Replies
4. UNIX and Linux Applications
I'm looking to deploy a configuration management system at my company and was wondering which config management was better: cfengine or Puppet? Pros/Cons? I'm looking to deploy the free version of each.
Any advice would be greatly appreciated. Thanks. (6 Replies)
Discussion started by: theace18
6 Replies
5. UNIX and Linux Applications
Can not complete the installation of a puppet server on a Linux box.
bash: passenger-install-apache2-module: command not found
Please use CODE tags as required by forum rules whenever you display sample input, sample output, and code segments. (1 Reply)
Discussion started by: zbest1966
1 Replies
6. Red Hat
Hi all,
This is more a satellite 6 question
Is it possible to add / assign a puppet client to a class on the master from the client ? This is for automation and I can't get it to work.
On an existing client used as a web server I found the following content in
cat... (0 Replies)
Discussion started by: stinkefisch
0 Replies
7. UNIX for Beginners Questions & Answers
Hello Team,
Do You have any data/books/links related to Puppet? How to start, how to setup first env and execute "puppet" actions?
Thanks in advance!
Patryk (3 Replies)
Discussion started by: nsmcny
3 Replies
LEARN ABOUT DEBIAN
save_binary_logs
SAVE_BINARY_LOGS(1p) User Contributed Perl Documentation SAVE_BINARY_LOGS(1p)
NAME
save_binary_logs - Concatenating binary or relay logs from the specified file/position to the end of the log. This command is automatically
executed from MHA Manager on failover, and manual execution should not be needed normally.
SYNOPSIS
# Test
$ save_binary_logs --command=test --binlog_dir=/var/lib/mysql --start_file=mysqld-bin.000002
# Saving binary logs
$ save_binary_logs --command=save --binlog_dir=/var/lib/mysql --start_file=mysqld-bin.000002 --start_pos=312
--output_file=/var/tmp/aggregate.binlog
# Saving relay logs
$ save_binary_logs --command=save --start_file=mysqld-relay-bin.000002 --start_pos=312 --relay_log_info=/var/lib/mysql/relay-log.info
--output_file=/var/tmp/aggregate.binlog
save_binary_logs concatenates binary or relay logs from the specified log file/position to the end of the log. This tool is intended to be
invoked from the master failover script(MHA Manager), and manual execution is normally not needed.
DESCRIPTION
Suppose that master is crashed and the latest slave server has received binary logs up to mysqld-bin.000002:312. It is likely that master
has more binary logs. If it is not sent to the slave, slaves will lose all binlogs from mysqld-bin.000002:312. The purpose of the
save_binary_logs is to save binary logs that are not replicated to slaves. If master is reachable through SSH and binary logs are readable,
saving binary logs is possible.
Here is an example:
$ save_binary_logs --command=save --start_file=mysqld-bin.000002 --start_pos=312 --output_file=/var/tmp/aggregate.binlog
Then all binary logs starting from mysqld-bin.000002:312 are concatenated and stored into /var/tmp/aggregate.binlog. If you have binary
logs up to mysqld-bin.000004, the following mysqlbinlog outputs are written.
mysqld-bin.000002:Format Description Event(FDE), plus from 312 to the tail mysqld-bin.000003:from 0 to the tail, excluding FDE
mysqld-bin.000004:from 0 to the tail, excluding FDE
perl v5.14.2 2012-01-08 SAVE_BINARY_LOGS(1p)