I recently had to work with VMware on a PSC issue and thought I'd share the information collected.
***Update 09.07.17*** - For those of you who are performing new install or upgrading to vSphere 6.5, VMWare recently released a vSphere 6.5 Topology and Upgrade Planning Tool. It can be found here:
https://vspherecentral.vmware.com/path-finder
General Info:
***Update 09.07.17*** - For those of you who are performing new install or upgrading to vSphere 6.5, VMWare recently released a vSphere 6.5 Topology and Upgrade Planning Tool. It can be found here:
https://vspherecentral.vmware.com/path-finder
General Info:
- What’s being replicated:
- SSO
- Tags
- Custom Roles
- Global Permissions
- Licensing.
- Below is a link to supported and deprecated topologies for vSphere 6.5.
- PSCs are in a Multi-master Model.
- A replication agreement (Bidirectional) is created at the time the PSC is built/installed. All additional replication agreements must be created manually. (Vdcrepadmin)
- Replication between PSCs occurs every 30 seconds.
- A vCenter server can only point to one PSC.
- Starting 6.5 U1, a single PSC can manage up to 15 vCenter servers.
- 6.5 U1 supports up to 10 external PSCs in an SSO domain.
- An SSO Site is a logical boundary.
- Starting with version 6.5, you cannot re-point a vCenter server across SSO sites. This WAS previously possible in version 6.0.
- Enhanced Linked Mode requires an External PSC.
Recommended PSC Topology:
- Create as few replication agreements as possible, while preventing PSC Isolation.
- A Ring Topology is recommended. (Linear)
Restore Information:
- In the event that all your PSC instances have failed, and you have no good backups, you will need to REINSTALL your entire environment.
- vCenter Server and PSC Restore Work Flow information.
- Restoring a vCenter Server Environment with multiple PSCs:
- Restore a Single Failed PSC.
- Deploy a New PSC instance and join it to an active PSC in the same vCenter SSO domain and site.
- Restore All Failed PSC Instances:
- Restore the Most Recently Backed Up PSC VM.
- Run the vcenter-restore Script registered with the restored PSC.
- Deploy Additional PSC instances and join them to the same vCenter SSO domain.
- Repoint back the connections between vCenter and PSC Instances.
Important Commands:
- vdcrepadmin – The command is located in the following directory of the PSC: /usr/lib/vmware-vmdir/bin. KB 2127057
- Showservers – Displays all the PSCs in a vSphere domain.
- Ex. vdcrepadmin -f showservers -h psc1.vmware.local -u administrator -w VMw@re123
- Showpartners – Displays the current partnerships from a single PSC within a vSphere Domain
- Ex. vdcrepadmin -f showpartners -h psc1.vmware.local -u administrator -w VMw@re123
- Showpartnerstatus – Displays the current replication status of a PSC and any of the replication partners of the PSC
- Ex. vdcrepadmin -f showpartnerstatus -h localhost -u administrator -w VMw@re123
- Createagreement and removeagreement – Allows for the creation and removal of additional replication agreements between PSCs in a vSphere domain.
- Ex. vdcrepadmin -f createagreement -2 -h psc1.vmware.local -H psc4.vmware.local -u Administrator -w VMw@re123
- vdcrepadmin -f removeagreement -2 -h psc1.vmware.local -H psc3.vmware.local -u Administrator -w VMw@re123
- cmsso-util – Command used to repoint between external PSC within a site. KB2113917.
- Ex. cmsso-util repoint --repoint-psc systemname_of_second_PSC
No comments:
Post a Comment