Jira Vmware Appliance

Posted on -
  1. Jira Vmware Appliance
  2. Jira Vmware Appliance Service
  3. Vmware Appliance Store

Nowadays, many VMware vSphere administrators manage their virtual infrastructures with VMware vCenter Server Appliance 6.5 (vCSA). This solution currently is a full-fledged alternative to the VMware vCenter for Windows which becomes a thing of the past.

It was followed by another product on the same platform, Jira Client, in 2007. Later in 2007, we also created a free Virtual Bugzilla Server VMWare appliance to expand our scope to the installation and configuration services. Bitnami Virtual Machines contain a minimal Linux operating system with Redmine installed and configured. Using the Bitnami Virtual Machine image requires hypervisor software such as VMware Player or VirtualBox. Both of these hypervisors are available free of charge. BTW: I know there is a commercial hardware appliance that does some of this, I'm talking about a free software appliance though. If I wanted to create one and put it on vmware marketplace, with eval licences, would Atlassian let me?

For ones who use vCSA not that long, this post provides several procedures which simplify solutions’ daily use. Let’s have a look at how they may come in handy.

1. Reducing the consumed RAM

vCSA 6.5 has increased its RAM demands from 8 GB to 10 GB. That’s pretty much for environments where you test, for example, the vCSA features.

vCSA leverages dynamic memory management mechanism which allows allocating or reducing the available memory among the components of the appliance based on its current configuration. In order to check how much server RAM each component consumes, use cloudvm-ram-size.

The nuance is that services scale up and down dynamically with respect to their RAM utilization. Still, 10 GB always remains the lowest RAM consumption limit. You can always learn vCSA memory utilization limits from the /etc/vmware/service-layout.mfx file.

The only way around is to kill some services in the test environment. Note that you do that at your own risk. Still, terminating these services saves you up to 3 GB of RAM (here, we discuss only the small test environment, where these services are not used):

ServiceMemory size (MB)Description
vmware-rbd-watchdog100VMware vSphere Auto Deploy Waiter
vmware-mbcs128VMware Message Bus Configuration Service
vcha46VMware vCenter High Availability
vmware-netdumper20VMware vSphere ESXi Dump Collector
vmware-vsan-health100VMware VSAN Health Service
vmware-sps478VMware vSphere Profile-Driven Storage Service
vmware-perfcharts357VMware Performance Charts
vmware-content-library473VMware Content Library Service
vmware-updatemgr164VMware Update Manager
vsphere-ui853VMware vSphere Client (HTML5)

In order to stop unnecessary services, go to Administration > Deployment > System Configuration > Services. You need to find the necessary (I’d rather say unnecessary) services there and press “Stop“:

Afterward, disable the autostart of this service in the menu: Actions > Edit Startup Type and change the value to Manual.

2. Backing up VMware vCenter Server Appliance database

VMware has the useful video on this subject:

Let’s briefly describe this procedure.

Backup:

  1. Run vCenter Server Appliance as root
  2. Download 2091961_linux_backup_restore.zip by following the link at the end of this article and extract it.
  3. Make the backup_lin.py script executable.

You can do so by running the following command:

sudo chmod 700 /tmp/backup_lin.py

  1. Execute the backup_lin.py and specify the path to the backup file:

python /tmp/backup_lin.py -f /tmp/backup_VCDB.bak

In order to restore the database from the backup, follow the steps below:

  1. Access vCenter Server Appliance as root.
  2. Download the 2091961_linux_backup_restore.zip package by following the link provided at the end of this article.
  3. Make the restore_lin.py script executable.

You can do so by running the following command:

chmod 700 /tmp/restore_lin.py

  1. Stop vmware-vpxd and vmware-vdcs services with the following commands:

service vmware-vpxd stop

service vmware-vdcs stop

  1. Execute the restore_lin.py script and specify the path to the backup file:

python /tmp/restore_lin.py -f /tmp/backup_VCDB.bak

  1. Run vmware-vpxd and vmware-vdcs services with the following commands:

service vmware-vpxd start

Jira

service vmware-vdcs start

There are also several PowerCLI scripts for backing up and restoring the entire vCSA appliance. These scripts allow restoring not only the vCSA database, but also the appliance configuration. You can find these scripts here and here.

3. The VMware vCSA 6.5 U1 services startup order

Here is the primary vCenter Server Appliance (starting from vCSA 6.5 Update 1) services startup order:

  • lwsmd (Likewise Service Manager)
  • vmafdd (VMware Authentication Framework)
  • vmdird (VMware Directory Service)
  • vmcad (VMware Certificate Service)
  • vmware-sts-idmd (VMware Identity Management Service)
  • vmware-stsd (VMware Security Token Service)
  • vmdnsd (VMware Domain Name Service)
  • vmware-psc-client (VMware Platform Services Controller Client)
  • vmon (VMware Service Lifecycle Manager)

You may wonder where are vmware-vpostgres, vpxd, and some other services. Actually, they run with vmon, the new watchdog-service for administrating vCSA in the vSphere 6.5 environment. It grants the unified access to services with their APIs.

To find out in which order vmon launches the services, restart them on the vCSA server with the following vmon-cli commands:

/usr/lib/vmware-vmon/vmon-cli –batchstop ALL

/usr/lib/vmware-vmon/vmon-cli –batchstart ALL

You will see the following startup order:

  • eam (VMware ESX Agent Manager)
  • cis-license (VMware License Service)
  • rhttpproxy (VMware HTTP Reverse Proxy)
  • vmonapi
  • statsmonitor
  • applmgmt
  • sca (VMware Service Control Agent)
  • vsphere-client
  • cm
  • vsphere-ui
  • vmware-vpostgres (VMware Postgres)
  • vpxd-svcs
  • vapi-endpoint
  • vpxd (VMware vCenter Server)
  • sps (VMware vSphere Profile-Driven Storage Service)
  • content-library
  • vsm
  • updatemgr
  • pschealth
  • vsan-health

vmon-cli allows stopping and starting services by their name:

/usr/lib/vmware-vmon/vmon-cli -r ServiceName

The following command, for example, restarts the vSphere Client:

/usr/lib/vmware-vmon/vmon-cli -r vsphere-client

StarWind HyperConverged Appliance is a turnkey, entirely software-defined hyperconverged platform purpose-built for intensive virtualization workloads. Bringing the desired performance and reducing downtime, the solution can be deployed by organizations with limited budgets and IT team resources. Also, it requires only one onsite node to deliver HA for your applications that make the solution even more cost-efficient.
Find out more about ➡ StarWind HyperConverged Appliance

4. Identify the “trash” files and change the Log Rotation

Execute the following commands to identify logs that cause the /storage/log directory filling:

du -a /var sort -n -r head -n 10

du -a /storage/log sort -n -r head -n 10

To reduce consumed storage space, you can change the Log Rotation policy. First, open the folder where the logs are stored:

cd /etc/logrotate.d

Back up all settings:

cp dnsmasq ./dnsmasq.old

Next, open these settings:

vi dnsmasq

Change the value “weekly” to “daily” as it is shown below:

Vmware

/var/log/dnsmasq.log {

daily

missingok

notifempty

Jira Vmware Appliance

delaycompress

sharedscripts

postrotate

[ ! -f /var/run/dnsmasq.pid ] kill -USR2 cat /var/run/dnsmasq.pid

endscript

create 0640 dnsmasq dnsmasq

Afterwards, the massive old log file can be deleted, using the following commands:

cd /var/log

rm dnsmasq.log

5. How to reset the Single Sign-On vCenter password for VMware vSphere 6.x

VMware has Single Sign-On (SSO) component that is a part of Platform Service Controller (PSC) module. SSO provides the user with an authorization token, using which he connects to vCenter and use the solutions integrated with it.

If you forget your SSO password, you will be unable to manage PSC and vCenter. Also, you cannot provide users with SSO administrator rights, regardless of their current roles.

Fortunately, there is a way to restore the Single Sign-On password. That can be easily done by using the vCenter Server Appliance. First, access vCSA as root (you still remember your login and password for its root account, right?).

Access shell afterward by running the command:

shell.set –enabled true

Press Enter once you enter the shell command. Run VDC administration-tool then. The result is provided below:

Press the <3> button. Next, specify an account (Account UPN), for which the temporary password will be generated. Enter [email protected]:

Eventually, you can enter vCenter Single Sign-On with the recently set password:

Related materials:

11
45

5 out of 5, based on 1 review

Jira Vmware Appliance Service

Loading...
The following two tabs change content below.

Vmware Appliance Store

Virtualization technology professional. 10 years ago he built #1 website on virtualization in Russia. Alex runs his own virtualization-focused company VMC. He is a CEO of a mobile game publisher Nova Games and a CEO of an international dating site
  • Testing VMware vSAN cluster performance with HCIBench: How you do that? - July 18, 2019
  • VMware pioneers Service-defined Firewall – The game changer in the world of security? - May 8, 2019
  • VMware Horizon View 7.x. configuration backup & recovery - February 19, 2019
  • What’s new in the upcoming VMware vSAN version? Reviewing the coolest features - February 14, 2019
  • VMware vSphere 6.7 Network I/O Control – getting under the hood - December 18, 2018