Created
August 8, 2018 09:12
-
-
Save howardjones/296107e3429df366ef4697c0e426fbb0 to your computer and use it in GitHub Desktop.
set up a UCS lab sub-org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# missing all the `exit`s | |
scope eth-uplink | |
create vlan VLAN-20 20 | |
commit-buffer | |
scope org / | |
create org USER-POD-2 | |
commit-buffer | |
create mac-pool USER-MAC-POOL | |
set assignment-order sequential | |
create block 00:25:B5:02:00:00 00:25:B5:02:00:07 | |
commit-buffer | |
create wwn-pool USER-WWNN-POOL node-wwn-assignment | |
create block 20:1A:00:25:B5:12:00:01 20:1A:00:25:B5:12:00:01 | |
commit-buffer | |
create wwn-pool USER-WWPN-POOL port-wwn-assignment | |
create block 20:1A:00:25:B5:12:01:01 20:1A:00:25:B5:12:01:01 | |
commit-buffer | |
create uuid-suffix-pool USER-UUID-POOL | |
create block 0202-000000000000 0202-000000000007 | |
commit-buffer | |
create server-pool USER-SRV-POOL | |
commit-buffer | |
create server-qual USER-SRV-QUAL | |
create chassis 1 1 | |
create slot 2 2 | |
commit-buffer | |
create pooling-policy USER-SRV-POL | |
set qualifier USER-SRV-QUAL | |
set pool org-root/org-USER-POD-2/compute-pool-USER-SRV-POOL | |
commit-buffer | |
create vnic-templ vNIC-1 | |
set type updating-template | |
set fabric a | |
set mac-pool USER-MAC-POOL | |
create eth-if VLAN-20 | |
set default-net yes | |
create vnic-templ vNIC-2 | |
set type updating-template | |
set fabric b | |
set mac-pool USER-MAC-POOL | |
create eth-if VLAN-20 | |
set default-net yes | |
commit-buffer | |
create vhba-templ vHBA-A | |
set type updating-template | |
set fc-if name VSAN-11 | |
set wwpn-pool USER-WWPN-POOL | |
commit-buffer | |
create service-profile USER-SP-TEMP updating-template | |
set identity wwnn-pool USER-WWNN-POOL | |
set identity uuid-suffix-pool USER-UUID-POOL | |
create vnic vNIC1 | |
set template-name vNIC-1 | |
create vnic vNIC2 | |
set template-name vNIC-2 | |
create vhba vHBA-A | |
set template-name vHBA-A | |
create boot-definition | |
create virtual-media read-only | |
set order 1 | |
create storage | |
set order 2 | |
create san-image primary | |
set vhba vHBA-A | |
create path primary | |
set wwn 50:0a:09:81:88:2d:8b:54 | |
set lun 0 | |
commit-buffer | |
create service-profile USER-SP-POD-1 instance | |
set src-templ-name USER-SP-TEMP | |
associate server-pool USER-SRV-POOL | |
commit-buffer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment