- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Re: scripted export VLUNs (createvlun)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2013 03:29 AM
10-31-2013 03:29 AM
Hi,
We have a 3par 7400 and plan to add additional esxi hosts to the fabric which all require to have the same vluns and lun IDs as the existing servers in the environment. Is there a way to genarate a cli command to grab the host to vlun relationship then export this info to the new hosts again using cli?
I realise this can be done with host sets but we cannot use this as Vmware SRM does not like them.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2013 05:24 AM
10-31-2013 05:24 AM
Re: scripted export vluns
See the "showvlun -host <hostname>" command in the HP 3PAR CLI Reference Manual.
There are a number of options for the commands listed in the HP 3PAR CLI Administrator's Guide to format the output in a script-friendly fashion. For example, "-csvtable" to output in comma-separated format rather than human-friendly tables.
Note: While I work for HP, all of my comments (whether noted or not), are my own and are not any official representation of the company.
----------
If my post was useful, click on my KUDOS! "White Star" !
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2013 07:48 AM - edited 10-31-2013 08:03 AM
10-31-2013 07:48 AM - edited 10-31-2013 08:03 AM
Re: scripted export vluns
Hi,
That is exactly what im looking for! Having looked at the reference doc, I cannot find the commands to export the vluns to new host, woudl this be using setvv by any chance.
Here is an output from your command
Lun VVName HostName -Host_WWN/iSCSI_Name- Port Type
0 VLUN1 esx-003 ---------------- --- host
1 VLUN2 esx-003 ---------------- --- host
2 VLUN3 esx-003 ---------------- --- host
3 VLUN4 esx-003 ---------------- --- host
4 VLUN5 esx-003 ---------------- --- host
what would the syntax be to say export these VLUNS to esx-010 ? And would it be safe to run the commands one after another or would you do one, check host in Vcenter and move onto next?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2013 05:08 AM
11-01-2013 05:08 AM
Re: scripted export vluns
Assign them all and scan once. Read the Concepts, Admin guide, and CLI reference.
createvlun -f VLUN1 0 esx-010
...
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2013 06:43 AM
11-01-2013 06:43 AM
Solution>what would the syntax be to say export these VLUNs to esx-010?
>createvlun -f VLUN1 0 esx-010
If they are all in order like that, you can export them in one go by creating a VV set:
createvvset esx_vvset VLUN1 VLUN2 VLUN3 VLUN4 VLUN5
createvlun -f set:esx_vvset 0 esx-010