You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Aaron Peeler (JIRA)" <ji...@apache.org> on 2012/05/01 17:07:49 UTC

[jira] [Created] (VCL-579) provision ESXi as an end-user environment

Aaron Peeler created VCL-579:
--------------------------------

             Summary: provision ESXi as an end-user environment
                 Key: VCL-579
                 URL: https://issues.apache.org/jira/browse/VCL-579
             Project: VCL
          Issue Type: New Feature
          Components: database, vcld (backend)
            Reporter: Aaron Peeler
            Assignee: Dmitri Chebotarov
             Fix For: 2.4


Provision ESX environment for end-user.
Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269723#comment-13269723 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:06 PM:
---------------------------------------------------------------

Some notes:

  * sub grand_access() configures the ESXi server after user click Connect! button:
  - it mounts user's NFS storage, 
  - add user, set reservation password (this requires a change in /etc/pam.d/system-auth to allow less complex passwords used be VCL) and add admin role.
  - it also scans and register all VMs on user's storage, so user is presented with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi image won't be reloaded, it take some time to reload bare-metal on HS22 server...

* to get Public IP address, ESXi.pm module runs 'esxcfg-vmknic -l' on reserved ESXi server and looks for IP address assigned to vmk1 interface. 

                
      was (Author: dimach):
    Some notes:

  * sub grand_access() configures the ESXi server after user click Connect! button:
  - it mounts user's NFS storage, 
  - add user, set reservation password (this requires a change in /etc/pam.d/system-auth to allow less complex passwords used be VCL) and add admin role.
  - it also scans and register all VMs on user's storage, so user is presented with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi image won't be reloaded, it take some time to reload bare-metal on HS22 server...
                  
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitri Chebotarov updated VCL-579:
----------------------------------

    Attachment: ESXi.pm

re-attaching with ASF license
                
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitri Chebotarov updated VCL-579:
----------------------------------

    Attachment: ESXi.pm

File ESXi.pm attached
                
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on VCL-579 started by Dmitri Chebotarov.

> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitri Chebotarov updated VCL-579:
----------------------------------

    Attachment:     (was: ESXi.pm)
    
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269718#comment-13269718 ] 

Dmitri Chebotarov commented on VCL-579:
---------------------------------------

xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

External interface will have vmk1 name. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269718#comment-13269718 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:06 PM:
---------------------------------------------------------------

xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                
      was (Author: dimach):
    xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

ESXi.pm module runs 'esxcfg-vmknic -l' on reserved ESXi server and looks for IP address assigned to vmk1 interface. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                  
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269723#comment-13269723 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:03 PM:
---------------------------------------------------------------

Some notes:

  * sub grand_access() configures the ESXi server after user click Connect! button:
  - it mounts user's NFS storage, 
  - add user, set reservation password (this requires a change in /etc/pam.d/system-auth to allow less complex passwords used be VCL) and add admin role.
  - it also scans and register all VMs on user's storage, so user is presented with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi image won't be reloaded, it take some time to reload bare-metal on HS22 server...
                
      was (Author: dimach):
    Some notes:

  * sub grand_access() configures the ESXi server after user clicked Connect! button:
  - it will mount user's storage, 
  - add user, set reservation password (this requires a change in /etc/pam.d/system-auth to allow less complex passwords used be VCL) and add admin role.
  - it also scans and register all VMs on user's storage, so user is presented with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi image won't be reloaded, it take some time to reload bare-metal on HS22 server...
                  
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269718#comment-13269718 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:07 PM:
---------------------------------------------------------------

xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1
esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                
      was (Author: dimach):
    xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                  
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269718#comment-13269718 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:05 PM:
---------------------------------------------------------------

xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

ESXi.pm module runs 'esxcfg-vmknic -l' on reserved ESXi server and looks for IP address assigned to vmk1 interface. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                
      was (Author: dimach):
    xCAT needs to be configured and working. Should be able to deploy a ESXi server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v <vlanID> -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o <NFS_server_IP> -s </path/to/volume> -y

External interface will have vmk1 name. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=<IP or FQDN of NFS server>
ESXI_STORAGE_VOLUME=</path/to/exported/volume>
                  
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VCL-579) provision ESXi as an end-user environment

Posted by "Dmitri Chebotarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269723#comment-13269723 ] 

Dmitri Chebotarov commented on VCL-579:
---------------------------------------

Some notes:

  * sub grand_access() configures the ESXi server after user clicked Connect! button:
  - it will mount user's storage, 
  - add user, set reservation password (this requires a change in /etc/pam.d/system-auth to allow less complex passwords used be VCL) and add admin role.
  - it also scans and register all VMs on user's storage, so user is presented with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi image won't be reloaded, it take some time to reload bare-metal on HS22 server...
                
> provision ESXi as an end-user environment
> -----------------------------------------
>
>                 Key: VCL-579
>                 URL: https://issues.apache.org/jira/browse/VCL-579
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Aaron Peeler
>            Assignee: Dmitri Chebotarov
>             Fix For: 2.4
>
>         Attachments: ESXi.pm
>
>
> Provision ESX environment for end-user.
> Requires extending the  ESX OS module or creating a new one to preform user reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira