How do I run Mksysb in AIX?
Creating the mksysb backup image
- Check maximum file size limit with ulimit. It should be sufficient for creating a backup image.
- Check that all the required filesets are installed for a particular product stack.
- Enter fast path smitty mksysb and enter the required values.
- Press enter to start the backup image creation.
What is the Mksysb command for?
Description. The mksysb command creates a backup of the operating system (that is, the root volume group). You can use this backup to reinstall a system to its original state if it is corrupted.
How do I restore Mksysb?
How to restore an image.data file from an existing mksysb file:
- ‘
- Restore the image.data file to your current location:
- Rename the image.data file you have just restored, so you do not get it mixed up with the /image.data file in place on your running system:
How do I restore a directory from Mksysb in AIX?
It will list out the detailed output and at the end, it will display the directory which we need to recover. We can confirmed that the directory is available on the mksysb and we can try to restore it using /tmp/restore directory, then follow below. The volume number is 1. The user is root.
How do I restore a single file from Mksysb backup in AIX?
How to restore a single file in aix?
- If we want to restore a file named healthcheck.
- restore -T -q -l -f /backup/uktest.mksysb | grep healthcheck.ksh.
- It will list out the detailed output and at the end it will display the file which we need to recover.
- -rwxr-xr-x- 10 staff May 30 11:54 267 ./home/unixsa/healthcheck.ksh.
How do I restore Mksysb in AIX?
Restore the mksysb image to alternate Disk in AIX
- Remove the old_rootvg image, if exists. # alt_rootvg_op -X old_rootvg.
- To install mksysb image on hdisk1 .
- Once completed above command, Verify bootable image is created on hdisk1 or not .
- If you got the downtime reboot the server with hdisk1(altinst_rootvg)
How do you check who deleted files in AIX?
AIX AUDIT: How can I monitor file deletions?
- Modify config:start options. # vi /etc/security/audit/config.
- Modify config:class:
- Add ‘myfiles’ class to config:users:
- Configure the stream mode commands.
- Stop and restart audit:
- Now test a simple file move and delete operation:
- Check the audit stream log.
How to create a mksysb image in Aix?
-t mksysb Specifies that the object type is mksysb. -a server=master Specifies that the server to hold this object (the mksysb image file) is the NIM master itself. -a source=LPAR5 Specifies the NIM client to be used as the source the mksysb image, in this case, LPAR5. -a mk_image=yes Specifies that the mksysb image file should be created.
What is a resource in Aix for system administrators?
This resource is a file containing the image of the root volume group (generated with the AIX mksysb command) of a machine. It is used to restore a machine, or to install it from scratch (also known as “cloning” a client). -o define Specifies the operation (defining the object).
Which is the dropdown menu in Aix for system administrators?
dropdown menu. MKSYSB: This resource is a file containing the image of the root volume group (generated with the AIX mksysb command) of a machine. It is used to restore a machine, or to install it from scratch (also known as “cloning” a client). creating mksysb from a nim client: -o define Specifies the operation (defining the object).
How to create a mksysb image in Nim?
-a source=LPAR5 Specifies the NIM client to be used as the source the mksysb image, in this case, LPAR5. -a mk_image=yes Specifies that the mksysb image file should be created.