Skip to Content
Technical Articles
Author's profile photo Mohan Ramu

OpenStack VM

Introduction:

Creating Monsoon VM in OpenStack Nova compute platform comprise with many steps. There is a detailed help document  provided by platform team. All the steps involved to create instance, additional requirements and the solution for the speed issue are documented here in this blog with the screen shots and examples.

Project:

Go to https://dashboard.eu-de-1.cloud.sap/

Login using global credentials.

When there is no existing project available for  you, you should create Project as a first step. You can fill the details based on your project requirement while creating the project, this is required admin’s approval. Once it is approved, you can start creating the instances.

Resource Management:

Click on your project and go to the top menu bar, click for more options.

Click Resource management.

Under compute section, you can edit for giving your input as you want.

 

SSH Key Pairs:

You can create by following below link. SSH key pairs is required to create an instance.

https://documentation.global.cloud.sap/docs/learn/keystone/how-to-create-key-pairs.html#ssh-osx

Networks and Routers:

Click Networks and routers to create network and routers,

You can create private network by clicking create new button in private networks tab.

You can give name as you wish, choose admin state as UP.

Subnet name can be given as you wish and network ip range can be chosen.

You can create router by clicking create new button in Routers tab.

Instance:

Instance can be created by following the steps given in link.

https://documentation.global.cloud.sap/docs/learn/nova/how-to-create-vs.html

Security group can be default. Key pair and private network can be chosen which is created earlier.

Floating IP:

Once the instance is created, the floating ip should be attached to make visibility to external access.

Access the VM:

To access the VM, you can use VNC console. Once you click on the VNC Console, the 2-factor authentication window will be prompted. Here the user id will be by default your global user id and password should be combination of your pin(4-6 digit) and RSA token. In case, you don’t remember your pin then try to rest by https://netsec.wdf.sap.corp/sdi_selfservice/sdi_change_pin.cgi

Nova-compute Password:

Once you are authenticated by 2-factor authentication(secure id), you will be redirected to the VM.

Default username is Administrator and the password should be Nova password that you should generate.

You can generate Nova-password by following the steps given in this link https://documentation.global.cloud.sap/blog/2019/06/05/nova-password.html

Once you download the Nova password.exe, you can execute the below steps in Windows power shell

{

.\openrc.ps1 <this can be downloaded by following next section>

.\nova-password.exe –private-key-path <ssh file path> <instance name>

}

When you execute above 2 commands, you will be prompted to enter passwords.

Open stack Password will be your Global password and Private key password is the password you used to generate ssh file.

End of successful running, you will get Nova password that can be used to login VM.

Download Open rc:

Security Group:

You can add a new rule in security group to enable remote desktop connection. Once you create a rule, you will be able to connect the VM by Remote desktop connection. The speed will be better than VNC console. The steps given for connecting VM remotely from your Windows Machine in next section.

Click on the default group and add new rule with the type of All TCP.

Remote Desktop Connection:

Step 1:  Press Your system keyboard’s windows button and type mstc

Step 2: Type your IP and click connect button

Step 3: Click again the connect button

Step 4: Click more choices

Step 5: Click on the Use different account

Step 6:

Enter Username :  .\Administrator

Password: <given>

Click OK

Step 7: Click yes, you will be redirected to Your VM

 

Volume Attachment:

Follow the instructions given in below link to increase the volume of VM

https://documentation.global.cloud.sap/docs/learn/cinder/how-to-manage-volumes.html#win2016

 

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.