mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Revert "Modify mysqlsetup and restorexCATdb to examine DB restoration delay"
This commit is contained in:
parent
9e0b3a3a34
commit
94bb4ca4b8
@ -1965,7 +1965,7 @@ sub restorexcatdb
|
||||
}
|
||||
|
||||
# restore it
|
||||
my $cmd = "XCATBYPASS=y XCATCFG=\"$xcatcfg\" restorexCATdb -p $::backupdir > /tmp/test_delay.log";
|
||||
my $cmd = "XCATBYPASS=y XCATCFG=\"$xcatcfg\" restorexCATdb -p $::backupdir";
|
||||
|
||||
# not display passwords in verbose mode
|
||||
my $tmpv = $::VERBOSE;
|
||||
|
@ -77,26 +77,9 @@ if (@output2) {
|
||||
@skiptbls = split(/\,/, $output2[0]);
|
||||
}
|
||||
|
||||
system("date");
|
||||
print "\ndf:\n\n";
|
||||
system("df");
|
||||
print "\n";
|
||||
system("lsblk");
|
||||
print "\n";
|
||||
|
||||
print "meminfo:\n\n";
|
||||
system("cat /proc/meminfo");
|
||||
print "\n";
|
||||
|
||||
print "/etc/xcat/cfgloc\n\n";
|
||||
system("cat /etc/xcat/cfgloc");
|
||||
print "\n";
|
||||
|
||||
my @files = readdir(DIRPATH);
|
||||
foreach my $table (@files)
|
||||
{
|
||||
system("date");
|
||||
print "Table: $table\n\n";
|
||||
if ($table ne '.' and $table ne '..')
|
||||
{
|
||||
my $tablename = $::PATH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user