coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Friday July 25, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 59 guests online

Newest Member

nbewwmbxog

Hit Counter
13724037 Visitors

cool Statistics
coolcommands:1345
Categories:83
Total queries:637948
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

how to create a Virtual Media Repository in IBM VIO Server
Description

This procedure is valid for VIO server version 1.5 or higher ONLY.

1) Log on the VIO server as the user padmin

2) Verify if the repository is already configured:

$ lsrep
The DVD repository has not been created yet.

3) Create the Virtual Media Repository of 10 GB in size in the rootvg volume group:

$ mkrep -sp rootvg -size 10G

4) Verify:

$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
10198 10198 rootvg 279552 222720

5) On an existing AIX server, create a mksysb image as an ISO using the mkcd or mkdvd command:

# /usr/sbin/mkcd -I /mksysb -e -R -S -L

The image created will be stored in /mksysb. I renamed this image as mkdvd.aixserver1

6) Now copy this newly created ISO into the home of the padmin user on the VIO server:

$ scp myuser@aixserver1:/mksysbt/mkdvd.aixserver1 .

7) Issue the following command to copy this image into the Repository:

$ mkvopt -name mkdvd_aixserver1 -file mkdvd.aixserver1

8) Verify:

$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
10198 7911 rootvg 279552 222720

Name File Size Optical Access
mkdvd_aixserver1 2287 vtopt0 rw

9) Remove the ISO in padmin's home:

$ rm mkdvd.aixserver1

10) Assign this file based optical device to a vhost (vhost6 in my case):

$ mkvdev -fbo -vadapter vhost6

11) Load the ISO into the optical device:

$ loadopt -disk mkdvd_tsmdq01 -vtd vtopt0

12) Verify:

$ lsvopt

13) Now, when you boot the LPAR, you will see a CD device (cd0) or if the vhost which you assigned this optical device to is already up and running, you can run cfgmgr to see it:

# cfgmgr
# lsdev|grep cd

14) Once you finish with this optical device on the LPAR, unload the ISO:

$ unloadopt -vtd vtopt0

15) Verify:

$ lsvopt
VTD Media Size(mb)
vtopt0 No Media n/a
Example

mkrep -sp rootvg -size 10G...

Return to search results

Random coolcommands

coolcommand: restart_npm_server - how to correct java server taking 100% cpu in IBM Infoprint Manager
Example: /usr/lpp/pd/bin/restart_npm_server
[show me the details]
coolcommand: how to mount a cdrom manually in Sun Solaris
Example: mount -o ro /dev/dsk/c0t6d0s1 /mnt/cdrom
[show me the details]
coolcommand: how to view the superblocks available on a filesystem in Sun Solaris
Example: newfs -Nv /dev/rdsk/c0t0d0s1
[show me the details]
coolcommand: pfiles - to report fstat(2) and fcntl(2) information for all open files in each process in Sun Solaris
Example: pfiles 204
[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

lvo1166
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category Solaris53067
Category General UNIX52661
Category AIX51621
solaris23799
aix23176

Terms of Use
Privacy
Contact


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