Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hey there looking for help with this Linux problem, I'm stuck on how to use sed Create a file called kdump. conf : #raw /dev/vg/lv_kdump
Hey there looking for help with this Linux problem, I'm stuck on how to use sed
Create a file called kdump. conf : \#raw /dev/vg/lv_kdump \#ext4 /dev/vg/lv_kdump \#ext4 ABEL=/ boot \#ext4 UUID =031383565e614ab3b58e27507ac41937 \#nfs my.server. com:/export/tmp \#nfs [2001:db8::1:2:3:4]:/export/tmp \#ssh user@my.server.com \#ssh user@2001:db8::1:2:3:4 \#sshkey /root/.ssh/kdump_id_rsa path /var/crash core_collector makedumpfile -1 --message-level 7 -d 31 \#core_collector scp \#kdump_post /var/crash/scripts/kdump-post.sh \#kdump_pre /var/crash/scripts/kdump-pre.sh \#extra_bins /usr/bin/lftp \#extra_modules gfs2 \#failure_action shell \#force_rebuild 1 \#force_no_rebuild 1 \#dracut_args --omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3" \#fence_kdump_args - p7410 - f auto ccccc \#fence_kdump_nodes node1 node2 Use sed with the edit in place command line option to turn on (uncomment) core_collector scp line. When using the edit in place option, also make sure you create a backup of the original file as kdump. conf. bak. See the man page for sed for how -i works (in the man page, type /backup, to search)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started