-
1. Re: NSX-T 2.3 integration with bare-metal server
lhoffer Sep 26, 2018 5:00 AM (in response to haozch)You start by installing the modules like you would on a KVM host, but there are some extra steps to create the app interface. Process is outlined in the Create Application Interface for Bare Metal Workloads section of the installation guide.
-
2. Re: NSX-T 2.3 integration with bare-metal server
haozch Sep 26, 2018 5:14 PM (in response to lhoffer)cool. I can add ubuntu bare metal server.
Then I want to add CentOS bare metal server. but I have not find CentOS kernel install pack, I want to know that are same between CentOS and RHEL. I can find RHEL kernel instal pack. Thank very much
-
3. Re: NSX-T 2.3 integration with bare-metal server
haozch Sep 27, 2018 1:40 AM (in response to haozch)root@Bare-Metal-01a:/bms-ansible-nsx# ansible-playbook -i hosts migrate.yml
ERROR! no action detected in task
The error appears to have been in '/bms-ansible-nsx/migrate.yml': line 12, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
underlay_mode: "true"
- import_tasks: system/get_os_type.yml
^ here
I have changed hosts file only, I have not changed migrate.yml. I run " ansible-playbook -i hosts migrate.yml" error. Why?
root@Bare-Metal-01a:/bms-ansible-nsx# cat hosts
################################################################################
### Copyright (C) 2018 VMware, Inc. All rights reserved.
### SPDX-License-Identifier: BSD-2-Clause
################################################################################
# Create an group that contains the Bare Metal Servers
[TransportNodes:children]
servers_static
servers_dhcp
servers_migration
# Set variables common for all Bare Metal Servers
[TransportNodes:vars]
# SSH user
ansible_ssh_user=root
ansible_ssh_pass=vmwarevmware
rpm_dependency=["tcpdump", "boost-filesystem", "PyYAML", "boost-iostreams", "boost-chrono", "python-mako", "python-netaddr", "python-six", "gperftools-libs", "libunwind", "snappy", "boost-date-time", "c-ares", "redhat-lsb-core", "wget", "net-tools", "yum-utils", "lsof", "libvirt-libs", "python-gevent", "libev", "python-greenlet"]
dpkg_dependency=["libunwind8", "libgflags2v5", "libgoogle-perftools4", "traceroute", "python-mako", "python-simplejson", "python-unittest2", "python-yaml", "python-netaddr", "libboost-filesystem1.58.0", "libboost-chrono1.58.0", "libgoogle-glog0v5", "dkms", "libboost-date-time1.58.0", "python-protobuf", "python-gevent", "libsnappy1v5", "libleveldb1v5", "libboost-program-options1.58.0", "libboost-thread1.58.0", "libboost-iostreams1.58.0", "libvirt0"]
# host group for servers
[servers_static]
#server1 ansible_ssh_host= static_ip= netmask= ls_name=
#server2 ansible_ssh_host= static_ip= netmask= ls_name=
#server3 ansible_ssh_host= static_ip= netmask= ls_name=
#server4 ansible_ssh_host= static_ip= netmask= ls_name=
[servers_dhcp]
[servers_migration]
#server5 ansible_ssh_host=10.40.0.43 migrate_intf="ens160" ls_name=VLAN_0_LS
server6 ansible_ssh_host=10.40.0.45 migrate_intf="ens160" ls_name=VLAN_0_LS
[servers_restoration]
#server1
#server2
#server5
server6
# NSX Configuration
[NSX]
#============================
# NSX Manager Credential
nsxmanager ip=10.40.0.241 username=admin password=vmwarevmware
#============================
root@Bare-Metal-01a:/bms-ansible-nsx#
-
4. Re: NSX-T 2.3 integration with bare-metal server
lhoffer Sep 27, 2018 6:11 AM (in response to haozch)Yes, CentOS is effectively RHEL without the brand name and support so you use the RHEL binary for either.