Tag Archives: Serial Number

HBA Fibre Card for VIOS IVM POWERVM

By filosophizer

I had previously asked a question in this thread

and was answered:

Quote:

Originally Posted by dukessd
(Post 302774883)
POWER7 information
Dynamically managing physical adapters

IBM

You can use the Integrated Virtualization Manager to change the physical adapters that a running logical partition uses.

ensure that the Integrated Virtualization Manager is at version 1.5 or later.

HTH


I checked the above link and checked my POWERVM IVM

For the IVM VIOS Partition
Dynamic Logical Partitioning (DLPAR)

Partition hostname or IP address: xx.xx.xx.xx
Partition communication state: Active
Memory DLPAR capable: Yes
Processing DLPAR capable: Yes
I/O adapter DLPAR capable: Yes

For all other Client Partitions, which are switched on and off
Partition hostname or IP address:
Partition communication state: Not Configured
Memory DLPAR capable: No
Processing DLPAR capable: No
I/O adapter DLPAR capable: No

Question #1 : How can I enable the client partitions to be I/O adapter DLPAR capable: YES ?

Now, my system plan on IVM VIOS shows regarding the Fibre Adapter

Code:

Cards
Backplane Slot Bus Device Feature or CCIN Device Description Device Serial # Order Status Used by Partition / Profile
P1 C1 3 Fibre Channel Serial Bus 1F8030C37B Own vios / vios


Code:

# lsdev -Cc adapter | grep fcs0
fcs0 Available 0A-08 FC Adapter

# lscfg -vl fcs0
fcs0 U787B.001.DNW3313-P1-C1-T1 FC Adapter

Part Number.................10N8620
Serial Number...............1F8030C37B
Manufacturer................001F
EC Level....................A
Customer Card ID Number.....5759
FRU Number.................. 10N8620
Device Specific.(ZM)........3
Network Address.............10000000C9707270
ROS Level and ID............02C82138
Device Specific.(Z0)........1036406D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FFC01159
Device Specific.(Z5)........02C82138
Device Specific.(Z6)........06C12138
...read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Bash for multiple accounts with auto-gen passwords

By Shelldorado

Hello,

I am studying few things on unux and scripting. I need a script to create bulk users in unux. I need some assistance from you for creating 100 or more User IDs using a bash script:

Here’s my requirements:

1. I need to create 100 or even more user ids of different naming
conventions. So, I would like to have a separate file(Example:
usernames.txt) where I can paste the user ids, Name for Each ID, Group Name
or GID, Serial Number) and call that file in the script

2. The script should contain the block of code that will auto-generate
random 8-character long alphanumeric and mixed-case passwords without
special characters or symbols(Something like


< /dev/urandom tr -dc
A-Za-z0-9_ | head -c8 )


for each ID and these system-generated passwords should be saved in a different file after the script is run. (Example:
passwords.txt)

I googled but couldn’t find a solid script for my above requirements.

Source: FULL ARTICLE at The UNIX and Linux Forums

VxVM not able to see new disk

By solaris_1977

I have VxVM 5.1 running on Solaris-10. I have to increase a application file-system and storage team gave me a lun. After scanning scsi port by cfgadm, I can see them in format output. I labelled it, but I am not able to see them in “vxdisk list”.
I already tried commands –>

HTML Code:

vxdctl enable
vxconfigd -k
vxdisk scandisks


query can see new disk

HTML Code:

root@pr_ora_db16:/# prtvtoc /dev/rdsk/c3t5006048AD5315569d1245s2
* /dev/rdsk/c3t5006048AD5315569d1245s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 128 sectors/track
* 15 tracks/cylinder
* 1920 sectors/cylinder
* 9525 cylinders
* 9523 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 263040 263039
1 3 01 263040 263040 526079
2 5 01 0 18284160 18284159
6 4 00 526080 17758080 18284159
root@pr_ora_db16:/# /usr/lib/vxvm/diag.d/vxdmpinq /dev/rdsk/c3t5006048AD5315569d1245s2
Inquiry for /dev/rdsk/c3t5006048AD5315569d1245s2, evpd 0x0, page code 0x0
Vendor id : EMC
Product id : SYMMETRIX
Revision : 5773
Serial Number : 17!"t000Q
root@pr_ora_db16:/#


Please suggest.

Source: FULL ARTICLE at The UNIX and Linux Forums