Message-ID: <658986832.5205.1711693253552.JavaMail.confluence@zettalane.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5204_1410713383.1711693253552" ------=_Part_5204_1410713383.1711693253552 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
MayaScale utilizes instances with local NVMe devices and provide= s robust NVMe over Fabrics platform to clients that support NVMe/TCP. Deplo= y MayaScale in 2-node HA configuration if the NVMe devices are temporary st= orage devices to safe guard against data loss in the event of interruption.=
To configure High Availability operation for Mayascale
To provide virtual IP address for HA operation assign private IP address= that counts as secondary IP address to the instance. The address has to be= within the network subnet and that means Mayascale instances have to be in= the same zone.
Mayascale requires a IAM role to be attached the running instances with sufficient permissions = to manipulate disk attachments for proper sharing, fencing, and also storag= e read-write access to object storage. It also needs sufficient permission = to float the virtual IP across multiple instances. The policy of such= IAM role requires following permissions.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "ec2:DetachVolume", "ec2:AttachVolume", "ec2:RebootInstances", "ec2:DescribeInstances", "ec2:DetachNetworkInterface", "s3:Delete*", "s3:Get*", "s3:CreateBucket", "ec2:AssignPrivateIpAddresses", "s3:List*", "ec2:DescribeVolumes", "ec2:AttachNetworkInterface", "ec2:UnassignPrivateIpAddresses", "ec2:AssociateAddress", "s3:Put*" ], "Resource": "*" } ] }=20
Update Mayascale instances with the newly created IAM role before procee= ding to Getting Started .
If needed change the MayaScale Administration GUI default password which=
is the instance name (starting i-
) to something random by run=
ning
# /opt/= mayastor/web/genrandpass.sh=20
Or to set your own password
# /opt/= mayastor/web/changepass.sh Login name (default admin):=20 Login password:=20 Password again:=20=20
And then restart the web server for passwor= d changes to take effect
# /opt/mayastor/web/stop # /opt/mayastor/web/start=20
Now you can proceed with High-Availability setup using the Getti= ng Started wizard from Administration Web console available on htt= p://<mayascale1-ip>:2020
To avoid public network exposure of port 20= 20 it is recommended to use ssh tunneling with port forwarding as follows= p>
ssh -i ~/.ssh/mayascale.pem ec2-user@<mayascale1-public-ip> -L 2= 020:localhost:2020
Then access web console as http://localhost:2020
Next proceed to Configu= re MayaScale