AIX
AIX
- Details
- Parent Category: главный раздел
- Category: AIX
- Hits: 4970
Contents
- Run IOS commands as root
- What is the AIX command behind an ioscli command?
IOS - Information and Maintenance
- List all ioscli commands
- IOS Version
- Apply IOS Fixes
- Reboot the VIO Server
Virtual Devices: Storage
- List unmapped disks
- List all Disk Mappings
- Create a Virtual SCSI Host Adapter
- Remove a Virtual SCSI Host Adapter
- Assign a Disk/LV to a Virtual SCSI Host Adapter
- Unassign a Disk/LV from a Virtual SCSI Host Adapter
Virtual Devices: Fibre Channel
- Create a Virtual Fibre Channel Adapter
- List Virtual Fibre Channels
- List NPIV Capable Ports
- Assign a Physical FC Adapter to a Virtual Fibre Channel Adapter
- Unassign a Physical FC Adapter from a Virtual Fibre Channel Adapter
Virtual Devices: Network
- List Shared Ethernet Adapters
- Create a Shared Ethernet Adapter
- List Links on Physical Ethernet Adapters
- Set a local IP Address
- Remove a local IP Address
1. Run IOS commands as root
According to IBM you should never work as root on VIO servers. However, if you login as user padmin and type
oem_setup_env
you get the root credentials (without even been asked for a password).
By default the ioscli commands are not available for the root user. All ioscli commands are in fact calls of /usr/ios/cli/ioscli with the command as argument. You see this if you list the aliases of the padmin user.
Knowing this you can use all ioscli commands as user root by appending /usr/ios/cli/ioscli. Instead of »lsmap -all« you would type
root@vios# /usr/ios/cli/ioscli lsmap -all
If you set an alias
alias i=/usr/ios/cli/ioscli
you could even type
root@vios# i lsmap -all
- Details
- Parent Category: главный раздел
- Category: AIX
- Hits: 5192
Contents
- Introduction
- Getting the ISO Image
- Creating a DVD Repository
- Creating the Virtual Optical Device
- Installing an LPAR from the Virtual DVD
- Cleaning up
- Related Information
1. Introduction
IOS version 1.5 introduced virtual optical drives. This small article shows how to make use of this feature when installing an LPAR. This might be handy if you want to upgrade a NIM server without the need to spend a day in the datacenter or when there is no CD drive available to assign to an LPAR.
2. Getting the ISO Image
Before we can start creating our virtual optical device we need an ISO image.
Sometimes ISO images can be found on the web - in this case you can simply download the image and copy it to some space on your VIO server. But we want to install from an AIX installation DVD - the AIX 6.1 installation ISO of course cannot be found on the web - so we have to create an ISO image from our physical AIX installation CD or DVD.
There are multiple ways to create ISO images. The easiest way to create an ISO image from the AIX Installation CD or DVD is to insert it in the DVD drive of a Linux box and just dump the CD/DVD to a file:
Read more: Как установить AIX из виртуального оптического устройства