|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 620184 | | Members: | 22813 | |
|
|
|
 |
|
|
Category Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
alt_disk_mksysb - install an alternate disk with a mksysb image in IBM AIX v5.3 |
Description
The alt_disk_mksysb command allows the users to install a mksysb system backup to a separate disk without taking the machine down for an extended period of time and mitigating outage risk.
Installing a mksysb requires an AIX 4.3 or later mksysb image, mksysb tape, or mksysb CD. The alt_disk_mksysb command is called with a disk or set of disks that is not currently in use, and the mksysb is restored to those disks such that, if the user chooses, the next reboot boots the system on an AIX 4.3 or later system.
The bos.alt_disk_install.rte and bos.alt_disk_install.boot_images filesets must be installed on the system in order to run the alt_disk_mksysb command.
To restore a mksysb image on an alternate disk, synchronize the device information (includes console, and all tcpip information) from the primary hdisk onto the newly installed mksysb hdisk, and change the bootlist so that the next reboot you will boot from the new mksysb hdisk:
# alt_disk_mksysb -m device -d target_disks
Once the alt_disk_mksysb completes, the bootlist will be changed to the newly installed mksysb disk.
Reboot the server to boot from the new AIX image.
If you do not wish to modify the bootlist, then add the -B flag:
# alt_disk_mksysb -m device -d target_disks -B
If you wish to keep the devices from the mksysb image (includes console, hostname, ip, and all tcpip information as well), add the -k flag:
# alt_disk_mksysb -m device -d target_disks -k
If you wish to delete all devices (running a devreset) on the newly restored mksysb image, add the -K flag:
# alt_disk_mksysb -m device -d target_disks -K
Note: In AIX 5.3 the alt_disk_install command has been broken up into three commands: alt_disk_copy, alt_disk_mksysb, and alt_rootvg_op. No new functionality will be added to this command. |
Example
alt_disk_mksysb -m /dev/cd0 -d hdisk1 |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: ifconfig - assigning multiple ip addresses on one physical network card in IBM AIX
Example: ifconfig en1 inet 199.228.228.112 alias netmask 255.255.255.0
[show me the details] |
coolcommand: /etc/nologin - stop all users from logging in except root
Example: /etc/nologin
[show me the details] |
coolcommand: how to list only directories in Unix
Example: ls -l | grep ^d
[show me the details] |
coolcommand: proctree - how to display a process tree of a process or user in AIX 5L
Example: proctree 233628; proctree myuser
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1160 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 51943 |
| Category AIX | 49009 |
| Category General UNIX | 47540 |
| solaris | 23554 |
| aix | 22739 |
|
|
|
|