RackConnect v2.0 best practices
Applies to: RackConnect v2.0
This document outlines recommendations and cautions based on customer feedback with RackConnect.
Use RackConnect network policies to make changes to network access for your cloud servers
When you need to open ports to or from your cloud server, or you need to make changes to the software firewall, you must use the RackConnect network policies section of the MyRackspace portal to make the changes. If you use the Firewall Control Panel, the RackConnect automation that services your installation could fail, a conflict in your Network Policies might arise, and your rules will be removed when there are updates to the system.
Note: The term software firewall refers to iptables in Linux and to Windows Firewall in Windows.
Monitor your cloud server status during a rebuild
Understand how your servers use RackConnect
To understand how RackConnect transfers data to your cloud server, read the following description of the process.
- The traffic flow is between the eth0 / public interfaces (private IP) on your dedicated servers to the eth1 / private interfaces (private IP) on your cloud servers.
- The gateway for the cloud servers is configured on your dedicated firewall or load balancer.
- Traffic speed is generally limited by the slowest network in your environment. A dedicated firewall or load balancer with a slower (less than 1 GB) network interface will limit speeds, and dedicated servers (currently on a 1 GB network) won’t be able to take direct advantage of the higher network speed for our General Purpose and work-optimized cloud servers (currently on a 10 GB network).
- The eth0 / public interface is disabled on your cloud servers and all traffic must flow from the eth1 / private interface through your dedicated firewall or load balancer.
Traffic flow between dedicated and cloud servers: RackConnect Firewall
Traffic flow between dedicated and cloud servers: RackConnect Load Balancer
Do not change your root/administrator password before your cloud server is deployed
For several minutes after your cloud server is built, automation scripts use the root/administrator password to establish a service account. The service account is used to configure the server for RackConnect as well as implement updates to the server in the future. If the password is changed before the service account can be created, the automation fails. You may change the root/administrator password after your cloud server is deployed. You know it is deployed when the server’s status shows a green circle in the MyRackspace portal under Network > RackConnect > yourCloudAccount > yourCloudServer (not under the Cloud Server tab).
Do not delete or modify the “rackconnect” user
When RackConnect is implemented on your cloud servers, a user account named “rackconnect” is created with administrator rights. Automation scripts depend on this user and without it, the scripts fail. If this user is deleted, it must be re-created.
Linux users: If you modify the
/etc/sudoers file, be sure to keep all
references to the “rackconnect” user unchanged. If you change the login
authentication method from password authentication to key based
authentication, be sure to still allow password authentication for the
Windows users: The user needs to be in the Administrators group. If you update your server to be a domain controller, be sure to create a ticket and inform the RackConnect team about this change. You must manually create a “rackconnect” user account on the domain and add the account to the Domain Admins global group. The RackConnect team will add the DOMAIN\rackconnect account to the RackConnect system instead of “rackconnect” to get RackConnect to work with your server.
Do not prevent the root user from logging in using Password Authentication via SSH before the completion of the initial RackConnect process
RackConnect does not support key-based authentication, so password authentication must be allowed for the root user during the RackConnect automation process.
The PermitRootLogin entry must be set to YES in the sshd config file during the initial process of connecting your Linux cloud servers through RackConnect. After the “rackconnect” user has been added to the server, and your server is properly deployed with RackConnect, SSH access by the root user can be disabled because RackConnect uses the “rackconnect” user from that point forward.
Do not modify the standard port used by SSH (Port 22)
If you modify the port number, RackConnect automation breaks. Rackspace does not have the ability to support non-standard SSH ports at this time.
Do not mount an NFS on a dedicated hosted system before completion of the initial RackConnect process
The RackConnect initial process gives the cloud server access to the dedicated network, so mounting a network file share before the process is complete causes the process to fail.
Do not use overly complicated network configurations with RackConnect cloud servers
Complex networking configurations, such as bridged interfaces, will likely break RackConnect automation.
Do not enable SELinux on RackConnect cloud servers
Rackspace does not currently support Security-Enhanced Linux (SELinux). If it is enabled, disable it or set it to Permissive mode.
Do not remove any basic system utilities like sed, awk, or ip from Linux cloud servers
Removing basic system utilities such as sed, awk, or ip can break the RackConnect automation process.
Continue the conversation in the Rackspace Community.
©2016 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License