Replication steps for joyent/node#7945