coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Wednesday May 22, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 23 guests online

Newest Member

nbewwmbxog

Hit Counter
11553527 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620184
Members:22813





Category Search coolcommands.com
Select Category:


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



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51943
Category AIX49009
Category General UNIX47540
solaris23554
aix22739

Terms of Use
Privacy
Contact


 
coolcommands.com © 2013. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum