Thursday, August 25, 2016

View Cisco UCS Management

FI01-A(nxos)# show interface mgmt 0
mgmt0 is down (Link not connected)
  Hardware: GigabitEthernet, address: 547f.eead.ce40 (bia 547f.eead.ce40)
  Internet Address is 172.24.0.12/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA
  auto-duplex, 100 Mb/s
  EtherType is 0x0000
  1 minute input rate 304 bits/sec, 0 packets/sec
  1 minute output rate 0 bits/sec, 0 packets/sec
  Rx
    53574 input packets 0 unicast packets 53574 multicast packets
    0 broadcast packets 4012306 bytes
  Tx
    0 output packets 0 unicast packets 0 multicast packets
    0 broadcast packets 0 bytes
FI01-B(nxos)# show interface mgmt 0
mgmt0 is down (Link not connected)
  Hardware: GigabitEthernet, address: 547f.eead.c780 (bia 547f.eead.c780)
  Internet Address is 172.24.0.13/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 6839/255, txload 1/255, rxload 1/255
  Encapsulation ARPA
  auto-duplex, 10 Mb/s
  EtherType is 0x0000
  1 minute input rate 0 bits/sec, 0 packets/sec
  1 minute output rate 0 bits/sec, 0 packets/sec
  Rx
    0 input packets 0 unicast packets 0 multicast packets
    0 broadcast packets 0 bytes
  Tx
    0 output packets 0 unicast packets 0 multicast packets

Wednesday, August 24, 2016

Erase UCS to Factory Defaults

Here is the commands needed to erase the config on the UCS:

UCS# connect local-mgmt
UCS(local-mgmt)# erase configuration

All UCS configurations will be erased and system will reboot. Are you sure? (yes/no): yes

from each FI

show cluster extended-state

Tuesday, August 23, 2016

How To Change the IP Address of Fabric Interconnects


How To Change the IP Address of Fabric Interconnects

To change IP for fabric interconnects, login to either one via console:
  1. UCS-A# scope fabric-interconnect a
  2. UCS-A /fabric-interconnect # set out-of-band ip <management IP for FI> netmask <subnet mask> gw <default gateway>
  3. Repeat for the second fabric interconnect.
To change the virtual IP used for system management, this should be in the same VLAN as the individual fabric interconnect IPs:
  1. UCS-A# scope system
  2. UCS-A /system # set virtual-ip <management IP>
Finally check to see that there are no errors, then actually commit if everything checks out:
  1. UCS-A# commit-buffer verify-only
  2. UCS-A# commit-buffer

Friday, August 19, 2016

Wednesday, August 17, 2016

Enable Root Login for Red Hat & Change NIC IP

Change IP in Red Hat

Nano /etc/sysconfig/network-scripts/ifcfg-eth0

(nano ifcfg-eth0)
Ctrl-O
Enter to write to file and save
Ctrl-X to exit


/etc/init.d/network restart



Enable Root SSH

console -> sudo nano /etc/ssh/sshd_config

PermitRootLogin yes

save

sudo service sshd restart

Enable Root Login for Red Hat & Change NIC IP

Change IP in Red Hat

Nano /etc/sysconfig/network-scripts/ifcfg-eth0

(nano ifcfg-eth0)
Ctrl-O
Enter to write to file and save
Ctrl-X to exit


/etc/init.d/network restart



Enable Root SSH

console -> sudo nano /etc/ssh/sshd_config

PermitRootLogin yes

save
5:14 PM
sudo service sshd restart

Vcenter appliance network wizard

1. Press F2 to login
2. Enter default username: root
3. Enter default password: vmware
4. Run command: /opt/vmware/share/vami/vami_config_net
5. Press 6 to setup eth0
6. After allocate a static IP Address to the VCSA the post configuration can be done by using the following URL: 
https://static-ip-address:5480

Vmware NSX SSL creation 

Using OpenSSL for NSX Manager SSL import: Creates CSR and 4096 bit KEY Creating NSX 6.4.2 SSL    openssl req -out nsxcert.csr -newkey rsa:40...